/* ICANCROCHET — cart and checkout */

:root{
  --icp:#e00189; --icp-dark:#b30070; --icp-bg:#fff7fa; --icp-bg2:#fff0f5;
  --icb:#f8c8d8; --icb2:#f3c9d6; --ict:#2b2426; --ict2:#5c5057; --icm:#8b8189;
}

/* keep the sales-page furniture off the transactional pages */
body.woocommerce-cart .ic-sticky-bar,
body.woocommerce-checkout .ic-sticky-bar,
body.woocommerce-cart .woocommerce-breadcrumb,
body.woocommerce-checkout .woocommerce-breadcrumb,
body.woocommerce-cart .ast-breadcrumbs-wrapper,
body.woocommerce-checkout .ast-breadcrumbs-wrapper,
body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title,
body.woocommerce-cart .ast-archive-description{display:none!important}

/* tighten the theme's page padding so nothing floats in space */
body.woocommerce-cart .site-content .ast-container,
body.woocommerce-checkout .site-content .ast-container{padding-top:24px;padding-bottom:24px}
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content{margin-top:0}
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce{max-width:1120px;margin:0 auto}

/* any coupon markup a gateway or add-on tries to print */
.woocommerce-form-coupon-toggle,.checkout_coupon,.coupon,.cart-discount{display:none!important}

/* the shared payment-mark row */
.ic-pay-icons{list-style:none;display:flex;flex-wrap:wrap;gap:7px;align-items:center;justify-content:center;margin:0;padding:0}
.ic-pay-mark{display:flex;align-items:center;justify-content:center;width:50px;height:33px;background:#fff;
  border:1px solid #f0dde6;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.ic-pay-mark img{height:21px;width:auto;max-width:36px;display:block}

/* ======================================================================
   CART
   ====================================================================== */
.ic-cartpage{max-width:1080px;margin:0 auto;padding:0 0 32px;color:var(--ict)}
.ic-cart-head{text-align:center;margin:0 0 22px}
.ic-cart-h1{font-family:'Concert One',cursive;font-weight:400;font-size:36px;line-height:1.15;margin:0 0 5px}
.ic-cart-sub{margin:0;font-size:13.5px;color:var(--icm)}

.ic-cart-cols{display:grid;grid-template-columns:1fr 120px 130px;gap:16px;padding:0 4px 9px;
  font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--icm);border-bottom:1px solid #f0e2ea}
.ic-cart-cols span:nth-child(2){text-align:center}
.ic-cart-cols span:nth-child(3){text-align:right}

.ic-cart-row{display:grid;grid-template-columns:1fr 120px 130px;gap:16px;align-items:center;
  padding:18px 4px;border-bottom:1px solid #f6ecf1}
.ic-cart-prod{display:flex;align-items:flex-start;gap:15px;min-width:0}
.ic-cart-thumb{flex:0 0 auto;display:block;line-height:0;border-radius:12px;overflow:hidden;border:1px solid #f2e0e9;background:#fff}
.ic-cart-thumb img{width:92px;height:auto;display:block}
.ic-cart-meta{min-width:0}
.ic-cart-name{margin:0 0 5px;font-size:16px;font-weight:700;line-height:1.35}
.ic-cart-name a{color:inherit;text-decoration:none}
.ic-cart-name a:hover{color:var(--icp)}
.ic-cart-price{margin:0 0 8px;display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
.ic-cart-now{font-size:17px;font-weight:800;color:var(--icp)}
.ic-cart-was,.ic-cart-was .amount{color:var(--icm);font-size:14px;font-weight:400;text-decoration:line-through}
.ic-cart-perks{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.ic-cart-perks li{font-size:11.5px;color:var(--ict2);background:var(--icp-bg);border:1px solid #f7e2ec;border-radius:99px;padding:4px 10px}

.ic-cart-qty{text-align:center}
.ic-cart-qty-n{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;
  border:1px solid #eddbe5;border-radius:10px;font-size:15px;font-weight:700;background:#fff}
.ic-cart-remove{display:block;margin-top:7px;font-size:12.5px;color:var(--icm);text-decoration:underline}
.ic-cart-remove:hover{color:var(--icp)}

.ic-cart-line{text-align:right;display:flex;flex-direction:column;gap:2px;align-items:flex-end}
.ic-cart-linetot{font-size:18px;font-weight:800}
.ic-cart-update{display:none}

.ic-cart-foot{display:flex;justify-content:flex-end;margin-top:22px}
.ic-cart-sum{width:100%;max-width:400px;background:var(--icp-bg);border:1px solid var(--icb2);border-radius:18px;padding:20px 20px 18px;text-align:center}
.ic-cart-sumrow{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 7px;font-size:14px;color:var(--ict2)}
.ic-cart-sumdisc span:last-child{color:#1c9d57;font-weight:700}
.ic-cart-total{margin:11px 0 5px;padding-top:11px;border-top:1px solid #f0dbe6;font-size:16px;font-weight:700;color:var(--ict)}
.ic-cart-total strong,.ic-cart-total .amount{font-size:25px;font-weight:800;color:var(--ict)}
.ic-cart-saved{margin:2px 0 10px;font-size:13.5px;font-weight:700;color:#1c9d57}
.ic-cart-saved .amount{color:#1c9d57}
.ic-cart-secure{display:flex;align-items:center;justify-content:center;gap:7px;margin:0 0 13px;font-size:12.5px;color:var(--ict2)}
.ic-cart-lock{color:var(--icp);flex:0 0 auto}
.ic-cart-checkout{display:block;background:var(--icp);color:#fff;border-radius:99px;padding:16px 24px;
  font-size:17px;font-weight:800;text-decoration:none;
  box-shadow:0 8px 22px rgba(224,1,137,.28);transition:transform .15s,background .15s,box-shadow .15s}
.ic-cart-checkout:hover{background:var(--icp-dark);color:#fff;transform:translateY(-2px);box-shadow:0 12px 26px rgba(224,1,137,.32)}
.ic-cart-express{margin:11px 0 0}
.ic-cart-express .wc-proceed-to-checkout{padding:0;margin:0}
.ic-cart-express .checkout-button{display:none!important}
.ic-cart-sum .ic-pay-icons{margin-top:14px}
.ic-cart-guarantee{margin:11px 0 0;font-size:11.5px;color:var(--icm);line-height:1.5}
.ic-cart-back{display:inline-block;margin-top:12px;font-size:13px;color:var(--icm);text-decoration:none}
.ic-cart-back:hover{color:var(--icp)}
.ic-cart-empty{text-align:center;padding:40px 0 60px}
.ic-cart-empty .ic-cart-checkout{display:inline-block;margin-top:18px;padding:15px 34px}

/* ======================================================================
   CHECKOUT
   ====================================================================== */
.woocommerce-checkout .ic-co-top{max-width:1120px;margin:0 auto 20px;text-align:center}
.ic-co-steps{list-style:none;display:flex;align-items:center;justify-content:center;gap:9px;margin:0 0 12px;padding:0;flex-wrap:wrap}
.ic-co-steps li{display:flex;align-items:center;gap:7px;font-size:12.5px;font-weight:700;color:var(--icm)}
.ic-co-steps li+li::before{content:'';width:24px;height:1px;background:#eddbe5;display:block;margin-right:2px}
.ic-co-steps span{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;
  border:1.5px solid #eddbe5;font-size:11px;background:#fff}
.ic-co-steps .is-on{color:var(--icp)}
.ic-co-steps .is-on span{border-color:var(--icp);background:var(--icp);color:#fff}
.ic-co-steps .is-done{color:var(--ict2)}
.ic-co-steps .is-done span{border-color:#1c9d57;color:#1c9d57}
.ic-co-save{margin:0 0 14px;font-size:15px;color:#1c9d57;font-weight:700}
.ic-co-save .amount{color:#1c9d57}
.ic-co-trust{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0;padding:0;text-align:left}
.ic-co-trust li{background:var(--icp-bg);border:1px solid var(--icb2);border-radius:12px;padding:11px 14px;
  font-size:12px;line-height:1.45;color:var(--ict2)}
.ic-co-trust strong{display:block;font-size:13px;color:var(--ict);margin-bottom:2px}

/* express row */
.ic-co-express{max-width:1120px;margin:0 auto}
.ic-co-express:empty{display:none}
.ic-co-xcap{display:none;text-align:center;font-size:13px;color:var(--ict2);margin:0 0 10px}
.ic-co-express.has-express .ic-co-xcap{display:block}
.ic-co-express #wc-stripe-express-checkout-element,
.ic-co-express .wc-stripe-express-checkout-element,
.ic-co-express .ppcp-button-container{max-width:520px;margin:0 auto}
.ic-co-express #wc-stripe-express-checkout-button-separator,
.ic-co-express .wc-stripe-express-checkout-button-separator{max-width:520px;margin:16px auto 22px;color:var(--icm);
  font-size:11.5px;letter-spacing:.14em;text-transform:uppercase}

/* the two real columns */
.ic-co-form{margin:0}
.ic-co-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:26px;align-items:start;max-width:1120px;margin:0 auto}
.ic-co-left{display:flex;flex-direction:column;gap:16px;min-width:0}
.ic-co-right{min-width:0;position:sticky;top:24px}

/* kill WooCommerce's own two-up split inside our left column */
.ic-co-left .col2-set{width:100%;margin:0}
.ic-co-left .col2-set .col-1,
.ic-co-left .col2-set .col-2{width:100%!important;float:none!important;max-width:none;padding:0;margin:0}
.ic-co-left .col2-set .col-2:empty{display:none}

/* cards */
.ic-co-left .woocommerce-billing-fields,
.ic-co-payblock,
.ic-co-card{background:#fff;border:1px solid #f0e2ea;border-radius:16px;padding:22px;box-shadow:0 3px 14px rgba(0,0,0,.035)}
.woocommerce-checkout .ic-co-left h3,
.woocommerce-checkout .ic-co-h,
.woocommerce-checkout #order_review_heading{font-family:'Concert One',cursive!important;font-weight:400!important;
  font-size:21px!important;line-height:1.25;margin:0 0 4px!important;padding:0!important;background:none!important;
  border:0!important;color:var(--ict)}
.woocommerce-checkout .ic-co-left .woocommerce-billing-fields h3{margin-bottom:14px!important}
.ic-co-h-sub{margin:0 0 14px;font-size:12.5px;color:var(--icm)}
.woocommerce-checkout #order_review_heading{margin-bottom:14px!important}

/* fields */
.woocommerce-checkout .form-row{margin:0 0 14px;padding:0;width:100%}
.woocommerce-checkout .form-row:last-child{margin-bottom:0}
.woocommerce-checkout .form-row label{display:block;font-size:13.5px;font-weight:700;margin:0 0 6px;color:var(--ict)}
.woocommerce-checkout .form-row .required{color:#d0021b;text-decoration:none}
.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout .select2-container .select2-selection--single{width:100%!important;border:1px solid #ddd3c6!important;
  border-radius:10px!important;padding:12px 13px!important;font-size:15px!important;background:#fff;color:var(--ict);
  height:auto!important;line-height:1.4!important;box-shadow:none!important}
.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus{outline:0;border-color:var(--icp)!important;box-shadow:0 0 0 3px rgba(224,1,137,.15)!important}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:1.4;padding:0;color:var(--ict)}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{height:100%;right:8px}
.woocommerce-checkout .form-row .description,
.woocommerce-checkout .form-row small,
.woocommerce-checkout span.description{display:block;margin-top:5px;font-size:11.5px;line-height:1.45;color:var(--icm);background:none;border:0;padding:0}

/* payment box */
.woocommerce-checkout #payment{background:none!important;border-radius:0;padding:0}
.woocommerce-checkout #payment ul.payment_methods{background:#fdf9fb;border:1px solid #f2e4ec;border-radius:12px;padding:12px 14px;margin:0 0 12px;list-style:none}
.woocommerce-checkout #payment ul.payment_methods li{margin:0;padding:6px 0;list-style:none}
.woocommerce-checkout #payment ul.payment_methods li label{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:700;margin:0;cursor:pointer}
.woocommerce-checkout #payment ul.payment_methods li img{max-height:24px;width:auto;margin-left:6px;display:inline-block}
.woocommerce-checkout #payment div.payment_box{background:#fff!important;border:1px solid #f0e2ea;border-radius:12px;
  padding:14px!important;margin:10px 0 0!important;font-size:13px;color:var(--ict2)}
.woocommerce-checkout #payment div.payment_box::before{display:none!important}
.woocommerce-checkout #payment div.payment_box p{margin:0 0 8px}
.woocommerce-checkout #payment div.payment_box p:last-child{margin-bottom:0}
.woocommerce-checkout #payment div.form-row{padding:0;margin:0}
.woocommerce-checkout #payment .place-order{padding:0;margin:0}
.woocommerce-checkout #payment .wc-stripe-card-field,
.woocommerce-checkout #payment .wc-stripe-upe-element,
.woocommerce-checkout #payment .StripeElement{width:100%;min-width:0}

/* guarantee + submit */
.ic-co-guarantee{background:var(--icp-bg);border:1px dashed var(--icb);border-radius:12px;padding:13px 15px;margin:12px 0 14px;text-align:left}
.ic-co-g-t{margin:0 0 3px;font-size:13.5px;font-weight:800;color:var(--ict)}
.ic-co-g-b{margin:0;font-size:12px;line-height:1.5;color:var(--ict2)}
.ic-co-g-b a{color:var(--icp)}
.woocommerce-checkout #place_order{width:100%;background:var(--icp)!important;color:#fff!important;border:0!important;
  border-radius:99px!important;padding:17px 24px!important;font-size:17px!important;font-weight:800!important;
  line-height:1.2!important;box-shadow:0 8px 22px rgba(224,1,137,.28);transition:transform .15s,background .15s,box-shadow .15s;
  white-space:normal;height:auto!important}
.woocommerce-checkout #place_order:hover{background:var(--icp-dark)!important;transform:translateY(-2px);box-shadow:0 12px 26px rgba(224,1,137,.32)}
.ic-co-secure{display:flex;align-items:center;justify-content:center;gap:7px;margin:12px 0 10px;font-size:11.5px;color:var(--icm);text-align:center}
.ic-co-lock{color:var(--icp);flex:0 0 auto}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper{margin:0 0 12px;font-size:12px;color:var(--icm)}

/* order summary table */
.woocommerce-checkout #order_review{background:none;border:0;padding:0}
.woocommerce-checkout #order_review table.shop_table{border:0!important;background:none;margin:0;width:100%;border-collapse:collapse}
.woocommerce-checkout #order_review table.shop_table thead{display:none}
.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td{border:0;padding:9px 0;font-size:13.5px;color:var(--ict2);background:none}
.woocommerce-checkout #order_review table.shop_table th{text-align:left;font-weight:600}
.woocommerce-checkout #order_review table.shop_table td{text-align:right;white-space:nowrap}
.woocommerce-checkout #order_review .cart_item th,
.woocommerce-checkout #order_review .cart_item td{padding:0 0 14px;border-bottom:1px solid #f4e3ec;vertical-align:top}
.woocommerce-checkout #order_review tfoot tr:first-child th,
.woocommerce-checkout #order_review tfoot tr:first-child td{padding-top:14px}
.woocommerce-checkout #order_review tfoot .order-total th,
.woocommerce-checkout #order_review tfoot .order-total td{border-top:1px solid #f0dbe6;padding-top:13px;font-size:17px;font-weight:800;color:var(--ict)}
.woocommerce-checkout #order_review tfoot .order-total .amount{font-weight:800;font-size:22px}
.ic-co-saverow th{color:#1c9d57!important}
.ic-co-saverow td{color:#1c9d57!important;font-weight:700}
.ic-co-line{display:flex;align-items:flex-start;gap:11px;text-align:left}
.ic-co-thumb{width:56px;height:auto;border-radius:10px;display:block;border:1px solid #f2e0e9;background:#fff;flex:0 0 auto}
.ic-co-line-t{font-size:13px;font-weight:700;color:var(--ict);line-height:1.35}
.woocommerce-checkout .product-quantity{display:block;font-size:11.5px;color:var(--icm);font-weight:400;margin-top:3px}
.ic-co-includes{list-style:none;margin:16px 0 0;padding:14px 0 0;border-top:1px solid #f4e3ec}
.ic-co-includes li{position:relative;padding-left:22px;margin:0 0 7px;font-size:12.5px;color:var(--ict2);line-height:1.45}
.ic-co-includes li:last-child{margin-bottom:0}
.ic-co-includes li::before{content:'\2713';position:absolute;left:0;top:0;color:#1c9d57;font-weight:800}

.ic-co-quote{max-width:1120px;margin:22px auto 0;text-align:center;background:var(--icp-bg);border:1px solid var(--icb2);border-radius:14px;padding:18px 20px}
.ic-co-q-stars{color:#ffb400;font-size:15px;letter-spacing:2px}
.ic-co-q-t{margin:7px 0 5px;font-size:14.5px;font-style:italic;line-height:1.55;color:var(--ict2)}
.ic-co-q-w{margin:0;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--icp)}

/* notices, on brand */
.woocommerce-cart .woocommerce-message,.woocommerce-checkout .woocommerce-message,
.woocommerce-cart .woocommerce-info,.woocommerce-checkout .woocommerce-info{border-top-color:var(--icp);background:var(--icp-bg);border-radius:10px}
.woocommerce-cart .woocommerce-message::before,.woocommerce-checkout .woocommerce-info::before{color:var(--icp)}

/* ------------------------------------------------------------- tablet */
@media (max-width:980px){
  .ic-co-grid{grid-template-columns:1fr;gap:16px}
  .ic-co-right{position:static;order:-1}
  .ic-co-trust{grid-template-columns:1fr}
}

/* ------------------------------------------------------------- mobile */
@media (max-width:640px){
  .ic-cartpage{padding:0 0 26px}
  .ic-cart-h1{font-size:28px}
  .ic-cart-cols{display:none}
  .ic-cart-row{grid-template-columns:1fr;gap:12px;padding:15px 0}
  .ic-cart-thumb img{width:76px}
  .ic-cart-name{font-size:15px}
  .ic-cart-qty{display:flex;align-items:center;gap:14px;text-align:left}
  .ic-cart-qty-n{width:34px;height:34px;font-size:14px}
  .ic-cart-remove{margin-top:0}
  .ic-cart-line{flex-direction:row;align-items:baseline;justify-content:flex-start;gap:10px;text-align:left}
  .ic-cart-foot{margin-top:16px}
  .ic-cart-sum{max-width:none;padding:18px 15px 16px}
  .ic-cart-checkout{padding:15px 20px;font-size:16px}

  .ic-co-left .woocommerce-billing-fields,
  .ic-co-payblock,
  .ic-co-card{padding:17px 15px;border-radius:14px}
  .ic-co-steps li{font-size:11.5px}
  .ic-co-steps li+li::before{width:14px}
  .ic-co-q-t{font-size:13.5px}
  .ic-pay-mark{width:45px;height:30px}
  .ic-pay-mark img{height:19px;max-width:33px}
}

/* --- beat Astra's floated two-up checkout layout ------------------------ */
body.woocommerce-checkout .ic-co-left #customer_details,
body.woocommerce-checkout .ic-co-left #customer_details.col2-set,
body.woocommerce-checkout .ic-co-left .col2-set{width:100%!important;max-width:none!important;float:none!important;
  margin:0!important;padding:0!important;display:block!important}
body.woocommerce-checkout .ic-co-left #customer_details .col-1,
body.woocommerce-checkout .ic-co-left #customer_details .col-2{width:100%!important;max-width:none!important;
  float:none!important;margin:0!important;padding:0!important}
body.woocommerce-checkout .ic-co-left .woocommerce-billing-fields{width:100%!important;max-width:none!important;float:none!important}
body.woocommerce-checkout .ic-co-left .woocommerce-billing-fields__field-wrapper{width:100%!important;max-width:none!important}
body.woocommerce-checkout #place_order:not(.ppcp-hidden){float:none!important;display:block!important}
body.woocommerce-checkout #place_order.ppcp-hidden{display:none!important}
body.woocommerce-checkout .ic-co-payblock,
body.woocommerce-checkout #payment,
body.woocommerce-checkout #payment ul.payment_methods{width:100%!important;max-width:none!important;float:none!important}
body.woocommerce-checkout form.checkout::after,
body.woocommerce-checkout .ic-co-grid::after{content:none!important}

/* tighten what Stripe and the theme leave behind */
body.woocommerce-checkout #payment .wc-stripe-savecard-checkbox,
body.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew,
body.woocommerce-checkout .woocommerce-privacy-policy-text{margin-top:8px}
body.woocommerce-checkout #payment .payment_box > p:first-child{margin-top:0}
body.woocommerce-checkout .ic-co-left > * + *{margin-top:0}
body.woocommerce-checkout .woocommerce-NoticeGroup{margin-bottom:14px}
body.woocommerce-checkout .blockUI.blockOverlay{border-radius:14px}

/* the order summary is a column, not a float */
body.woocommerce-checkout .ic-co-right #order_review,
body.woocommerce-checkout .ic-co-right #order_review_heading,
body.woocommerce-checkout .ic-co-right .woocommerce-checkout-review-order,
body.woocommerce-checkout .ic-co-right .ic-co-includes{width:100%!important;max-width:none!important;float:none!important;
  clear:both!important;padding-left:0!important;padding-right:0!important}
body.woocommerce-checkout .ic-co-right #order_review{margin:0!important}
body.woocommerce-checkout .ic-co-card{overflow:hidden}
body.woocommerce-checkout .ic-co-card::after{content:'';display:table;clear:both}

/* summary table must never outgrow its card */
body.woocommerce-checkout .ic-co-right #order_review table.shop_table{width:100%!important;max-width:100%!important;
  table-layout:fixed;min-width:0}
body.woocommerce-checkout .ic-co-right #order_review table.shop_table th{white-space:normal;word-break:break-word;
  width:auto;padding-right:10px}
body.woocommerce-checkout .ic-co-right #order_review table.shop_table td{white-space:nowrap;width:34%}
body.woocommerce-checkout .ic-co-line{min-width:0}
body.woocommerce-checkout .ic-co-line-t{word-break:break-word;overflow-wrap:anywhere}

/* WooCommerce's own subtotal duplicates the total on a one-item order */
body.woocommerce-checkout #order_review tfoot .cart-subtotal{display:none}
body.woocommerce-checkout .ic-co-valuerow th{color:var(--icm)!important;font-weight:600}
body.woocommerce-checkout .ic-co-valuerow td,
body.woocommerce-checkout .ic-co-valuerow del,
body.woocommerce-checkout .ic-co-valuerow .amount{color:var(--icm)!important;text-decoration:line-through}

body.woocommerce-checkout .ic-co-line-t{flex:1 1 auto;min-width:0;white-space:normal;word-break:break-word;overflow-wrap:anywhere}
body.woocommerce-checkout .ic-co-right #order_review table.shop_table .product-name{white-space:normal!important}

/* final word on the summary table geometry */
body.woocommerce-checkout .ic-co-right #order_review table.shop_table{table-layout:auto!important;width:100%!important;max-width:100%!important}
body.woocommerce-checkout .ic-co-right #order_review table.shop_table th{width:62%!important;white-space:normal!important;
  word-break:normal!important;overflow-wrap:break-word!important;text-align:left}
body.woocommerce-checkout .ic-co-right #order_review table.shop_table td{width:38%!important;white-space:nowrap!important;text-align:right}
body.woocommerce-checkout .ic-co-line-t{word-break:normal!important;overflow-wrap:break-word!important;hyphens:auto}
body.woocommerce-checkout .ic-co-thumb{width:48px!important}

/* the product cell is a TD, not a TH — size by class */
body.woocommerce-checkout .ic-co-right #order_review table.shop_table td.product-name,
body.woocommerce-checkout .ic-co-right #order_review table.shop_table th.product-name{width:62%!important;
  white-space:normal!important;text-align:left!important;word-break:normal!important;overflow-wrap:break-word!important}
body.woocommerce-checkout .ic-co-right #order_review table.shop_table td.product-total,
body.woocommerce-checkout .ic-co-right #order_review table.shop_table th.product-total{width:38%!important;
  white-space:nowrap!important;text-align:right!important;vertical-align:top}
body.woocommerce-checkout .ic-co-right #order_review tfoot th{width:62%!important;text-align:left!important;white-space:normal!important}
body.woocommerce-checkout .ic-co-right #order_review tfoot td{width:38%!important;text-align:right!important;white-space:nowrap!important}

/* give the pattern title a little more room to breathe */
body.woocommerce-checkout .ic-co-right #order_review table.shop_table td.product-name,
body.woocommerce-checkout .ic-co-right #order_review table.shop_table th.product-name,
body.woocommerce-checkout .ic-co-right #order_review tfoot th{width:68%!important}
body.woocommerce-checkout .ic-co-right #order_review table.shop_table td.product-total,
body.woocommerce-checkout .ic-co-right #order_review tfoot td{width:32%!important}
body.woocommerce-checkout .ic-co-thumb{width:44px!important;border-radius:8px}
body.woocommerce-checkout .ic-co-line{gap:9px}
body.woocommerce-checkout .ic-co-line-t{font-size:12.5px;line-height:1.4}
body.woocommerce-checkout .ic-co-right #order_review table.shop_table td.product-total{font-size:13.5px;font-weight:700;color:var(--ict)}

/* ======================================================================
   CHECKOUT — clear sections on a tinted page so the cards actually read
   ====================================================================== */
body.woocommerce-checkout #content,
body.woocommerce-checkout .site-content{background:#fdf4f8}
body.woocommerce-cart #content,
body.woocommerce-cart .site-content{background:#fdf4f8}

/* cards sit ON the tint, so give them real edges */
body.woocommerce-checkout .ic-co-sec,
body.woocommerce-checkout .ic-co-card{background:#fff!important;border:1px solid #f0dbe7!important;border-radius:18px!important;
  padding:0!important;box-shadow:0 6px 22px rgba(157,20,96,.07)!important;overflow:hidden}

/* numbered section header */
body.woocommerce-checkout .ic-co-sechead{display:flex;align-items:flex-start;gap:13px;padding:17px 22px;
  background:linear-gradient(90deg,#fff2f8 0%,#fff9fc 100%);border-bottom:1px solid #f4e3ec}
body.woocommerce-checkout .ic-co-num{flex:0 0 auto;width:30px;height:30px;border-radius:50%;background:var(--icp);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:800;line-height:1;
  box-shadow:0 3px 10px rgba(224,1,137,.3)}
body.woocommerce-checkout .ic-co-sect{min-width:0}
body.woocommerce-checkout .ic-co-sect strong{display:block;font-family:'Concert One',cursive;font-weight:400;
  font-size:20px;line-height:1.25;color:var(--ict)}
body.woocommerce-checkout .ic-co-sect em{display:block;font-style:normal;font-size:12.5px;color:var(--icm);margin-top:3px;line-height:1.45}
body.woocommerce-checkout .ic-co-secbody{padding:20px 22px 22px}
body.woocommerce-checkout .ic-co-sec h3{display:none!important}

/* the order card gets the same header treatment */
body.woocommerce-checkout .ic-co-card > #order_review_heading{display:flex!important;align-items:center;gap:11px;
  margin:0!important;padding:17px 22px!important;background:linear-gradient(90deg,#fff2f8 0%,#fff9fc 100%)!important;
  border-bottom:1px solid #f4e3ec!important;font-family:'Concert One',cursive!important;font-weight:400!important;
  font-size:20px!important;color:var(--ict)!important;border-radius:0!important}
body.woocommerce-checkout .ic-co-card > #order_review_heading::before{content:'\1F9F6';font-size:17px;line-height:1}
body.woocommerce-checkout .ic-co-card > #order_review,
body.woocommerce-checkout .ic-co-card > .ic-co-includes{padding-left:22px!important;padding-right:22px!important}
body.woocommerce-checkout .ic-co-card > #order_review{padding-top:18px!important}
body.woocommerce-checkout .ic-co-card > .ic-co-includes{padding-bottom:20px!important;margin-top:14px!important}

/* product line inside the summary */
body.woocommerce-checkout .ic-co-meta{display:flex;align-items:center;gap:8px;margin-top:5px;flex-wrap:wrap}
body.woocommerce-checkout .ic-co-meta del,
body.woocommerce-checkout .ic-co-meta del .amount{color:var(--icm);font-size:12.5px;font-weight:400;text-decoration:line-through}
body.woocommerce-checkout .ic-co-off{background:#e8f7ee;color:#1c7a45;border:1px solid #cfeadb;border-radius:99px;
  padding:2px 8px;font-size:10.5px;font-weight:800;letter-spacing:.02em;white-space:nowrap}
body.woocommerce-checkout .ic-co-thumb{width:52px!important;border-radius:10px}

/* the guarantee + button belong to section 2, so pull them inside it */
body.woocommerce-checkout .ic-co-guarantee{background:#fffaf5;border:1px dashed #f0d3b8;border-radius:12px}
body.woocommerce-checkout .ic-co-g-t::before{content:'\1F6E1\FE0F';margin-right:7px}

/* trust strip and quote match the new card language */
body.woocommerce-checkout .ic-co-trust li{background:#fff;border:1px solid #f0dbe7;box-shadow:0 3px 12px rgba(157,20,96,.05)}
body.woocommerce-checkout .ic-co-quote{background:#fff;border:1px solid #f0dbe7;box-shadow:0 3px 12px rgba(157,20,96,.05)}
body.woocommerce-checkout .ic-co-save{background:#e8f7ee;border:1px solid #cfeadb;border-radius:99px;display:inline-block;
  padding:8px 18px;color:#1c7a45;font-size:14px}

/* express row reads as its own step */
body.woocommerce-checkout .ic-co-xcap{color:var(--ict2);font-weight:600}
body.woocommerce-checkout .ic-co-express #wc-stripe-express-checkout-button-separator,
body.woocommerce-checkout .ic-co-express .wc-stripe-express-checkout-button-separator{color:var(--icm)}

/* cart page picks up the same card language */
body.woocommerce-cart .ic-cart-row{background:#fff;border:1px solid #f0dbe7;border-radius:16px;margin-bottom:12px;
  padding:18px;box-shadow:0 4px 16px rgba(157,20,96,.05)}
body.woocommerce-cart .ic-cart-cols{border-bottom:0;padding-bottom:6px}
body.woocommerce-cart .ic-cart-sum{box-shadow:0 6px 22px rgba(157,20,96,.07);background:#fff;border-color:#f0dbe7}

@media (max-width:640px){
  body.woocommerce-checkout .ic-co-sechead{padding:14px 15px;gap:11px}
  body.woocommerce-checkout .ic-co-num{width:27px;height:27px;font-size:14px}
  body.woocommerce-checkout .ic-co-sect strong{font-size:17.5px}
  body.woocommerce-checkout .ic-co-secbody{padding:16px 15px 18px}
  body.woocommerce-checkout .ic-co-card > #order_review_heading{padding:14px 15px!important;font-size:18px!important}
  body.woocommerce-checkout .ic-co-card > #order_review,
  body.woocommerce-checkout .ic-co-card > .ic-co-includes{padding-left:15px!important;padding-right:15px!important}
}

/* no lonely “OR” when no wallet button rendered */
body.woocommerce-checkout .ic-co-express #wc-stripe-express-checkout-button-separator,
body.woocommerce-checkout .ic-co-express .wc-stripe-express-checkout-button-separator{display:none}
body.woocommerce-checkout .ic-co-express.has-express #wc-stripe-express-checkout-button-separator,
body.woocommerce-checkout .ic-co-express.has-express .wc-stripe-express-checkout-button-separator{display:block}
body.woocommerce-checkout .ic-co-express:not(.has-express){margin-bottom:0}

/* quantity sits with the title, not adrift under the price */
body.woocommerce-checkout .ic-co-right #order_review .product-quantity{margin-top:6px;font-weight:600}

@media (max-width:640px){
  /* on a phone the price needs only its own width — give the title the rest */
  body.woocommerce-checkout .ic-co-right #order_review table.shop_table td.product-total,
  body.woocommerce-checkout .ic-co-right #order_review tfoot td{width:96px!important}
  body.woocommerce-checkout .ic-co-right #order_review table.shop_table td.product-name,
  body.woocommerce-checkout .ic-co-right #order_review tfoot th{width:auto!important}
  body.woocommerce-checkout .ic-co-thumb{width:44px!important}
  body.woocommerce-checkout .ic-co-line{gap:10px}
  body.woocommerce-checkout .ic-co-line-t{font-size:13px}
}

/* ======================================================================
   PAYMENT METHOD ROWS — one framed list, the selected row opens inside it
   ====================================================================== */
body.woocommerce-checkout #payment ul.payment_methods{background:#fff!important;border:1px solid #e3d7dd!important;
  border-radius:14px!important;padding:0!important;margin:0 0 16px!important;overflow:hidden;list-style:none}
body.woocommerce-checkout #payment ul.payment_methods > li{margin:0!important;padding:0!important;list-style:none;
  border-top:1px solid #f0e6eb;position:relative}
body.woocommerce-checkout #payment ul.payment_methods > li:first-child{border-top:0}

/* the clickable row */
body.woocommerce-checkout #payment ul.payment_methods > li > label{display:flex!important;align-items:center;gap:12px;
  margin:0!important;padding:16px 18px!important;font-size:15px!important;font-weight:700!important;color:#2b2426;
  cursor:pointer;transition:background .15s;line-height:1.3;min-height:58px}
body.woocommerce-checkout #payment ul.payment_methods > li > label:hover{background:#fffafc}

/* the radio, as a real circle */
body.woocommerce-checkout #payment ul.payment_methods > li > input[type=radio]{position:absolute;left:18px;top:22px;
  width:18px;height:18px;margin:0;accent-color:#e00189;cursor:pointer;z-index:2}
body.woocommerce-checkout #payment ul.payment_methods > li > label{padding-left:48px!important}

/* brand marks pushed to the right */
body.woocommerce-checkout .ic-gw-marks{margin-left:auto;display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end}
body.woocommerce-checkout .ic-gw-marks img{height:21px;width:auto;max-width:34px;display:block;border:1px solid #efe3e9;
  border-radius:5px;background:#fff;padding:1px 3px;box-sizing:content-box}
body.woocommerce-checkout #payment ul.payment_methods > li > label img:not(.ic-gw-marks img){max-height:22px;width:auto;margin-left:auto}

/* the selected row: pink frame + tinted head, like the black frame on Shopify */
body.woocommerce-checkout #payment ul.payment_methods > li.ic-on{border-top-color:transparent}
body.woocommerce-checkout #payment ul.payment_methods > li.ic-on::before{content:'';position:absolute;inset:-1px;
  border:2px solid #e00189;border-radius:12px;pointer-events:none;z-index:1}
body.woocommerce-checkout #payment ul.payment_methods > li.ic-on > label{background:#fff4fa}

/* the panel that opens under the selected row */
body.woocommerce-checkout #payment div.payment_box{background:#fff!important;border:0!important;border-top:1px solid #f0e6eb!important;
  border-radius:0!important;margin:0!important;padding:16px 18px 18px!important;font-size:13.5px;color:#5c5057;position:relative;z-index:1}
body.woocommerce-checkout #payment div.payment_box::before,
body.woocommerce-checkout #payment div.payment_box::after{display:none!important}
body.woocommerce-checkout #payment div.payment_box p{margin:0 0 10px}
body.woocommerce-checkout #payment div.payment_box p:last-child{margin-bottom:0}
body.woocommerce-checkout #payment div.payment_box fieldset{border:0;padding:0;margin:0}

/* Stripe's own element gets room to breathe */
body.woocommerce-checkout #payment .wc-stripe-upe-element,
body.woocommerce-checkout #payment #wc-stripe-upe-element,
body.woocommerce-checkout #payment .StripeElement{width:100%;min-width:0;margin:0}
body.woocommerce-checkout #payment .wc-stripe-test-mode-notice,
body.woocommerce-checkout #payment .woocommerce-info{background:#fffaf0;border:1px solid #f3ddc4;border-radius:10px;
  color:#8a5a1e;font-size:12px;line-height:1.55;padding:10px 12px;margin:0 0 12px}
body.woocommerce-checkout #payment .wc-stripe-test-mode-notice::before,
body.woocommerce-checkout #payment .woocommerce-info::before{display:none}

/* the “save my card” line is quiet, not a headline */
body.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew label,
body.woocommerce-checkout #payment .wc-stripe-savecard-checkbox label,
body.woocommerce-checkout #payment .form-row.woocommerce-SavedPaymentMethods-saveNew label{font-size:12.5px!important;
  font-weight:400!important;color:#8b8189!important;display:flex;align-items:flex-start;gap:8px}

@media (max-width:640px){
  body.woocommerce-checkout #payment ul.payment_methods > li > label{padding:14px 14px 14px 44px!important;font-size:14.5px!important;min-height:52px}
  body.woocommerce-checkout #payment ul.payment_methods > li > input[type=radio]{left:15px;top:19px}
  body.woocommerce-checkout .ic-gw-marks img{height:18px;max-width:29px}
  body.woocommerce-checkout #payment div.payment_box{padding:14px!important}
}

/* the selected row's frame, drawn inside so the list's rounded corners keep it */
body.woocommerce-checkout #payment ul.payment_methods > li.ic-on::before{display:none}
body.woocommerce-checkout #payment ul.payment_methods > li.ic-on{box-shadow:inset 0 0 0 2px #e00189;border-top-color:#e00189}
body.woocommerce-checkout #payment ul.payment_methods > li.ic-on + li{border-top-color:#e00189}

/* PayPal's pay-later strip belongs on the cart, not stacked above the card form */
body.woocommerce-checkout .ic-co-payblock .ppcp-messages{display:none!important}
body.woocommerce-checkout .ic-co-secbody > div:empty{display:none!important}
body.woocommerce-checkout .ic-co-payblock .ppc-button-wrapper:empty{display:none!important}
body.woocommerce-checkout .ic-co-payblock .ppc-button-wrapper{margin-top:12px}

/* keep the currency pill off the pay button on the checkout */
body.woocommerce-checkout .ic-fx{bottom:14px}
@media (max-width:900px){ body.woocommerce-checkout .ic-fx{bottom:12px} }

/* ---- the “+N” overflow chip on the card row -------------------------- */
body.woocommerce-checkout .ic-gw-more{position:relative;display:inline-flex;align-items:center;justify-content:center;
  min-width:34px;height:23px;padding:0 6px;border:1px solid #dcdfe4;border-radius:5px;background:#fff;
  font-size:11.5px;font-weight:700;color:#4a5563;cursor:pointer;line-height:1;outline:none}
body.woocommerce-checkout .ic-gw-more:hover,
body.woocommerce-checkout .ic-gw-more:focus-visible{border-color:#b9c0c9;color:#1f2733}
body.woocommerce-checkout .ic-gw-more-n{pointer-events:none}

body.woocommerce-checkout .ic-gw-pop{position:absolute;bottom:calc(100% + 10px);right:-6px;display:none;
  background:#15181d;border-radius:10px;padding:8px;box-shadow:0 12px 30px rgba(0,0,0,.3);z-index:40;
  grid-template-columns:repeat(4,auto);gap:6px;width:max-content;max-width:min(78vw,260px)}
body.woocommerce-checkout .ic-gw-more:hover .ic-gw-pop,
body.woocommerce-checkout .ic-gw-more:focus-within .ic-gw-pop,
body.woocommerce-checkout .ic-gw-more.is-open .ic-gw-pop{display:grid}
body.woocommerce-checkout .ic-gw-pop img{height:24px;width:auto;max-width:44px;border:0;border-radius:5px;
  background:#fff;padding:2px 3px;display:block;box-sizing:content-box}
body.woocommerce-checkout .ic-gw-pop::after{content:'';position:absolute;top:100%;right:16px;border:6px solid transparent;
  border-top-color:#15181d}

@media (max-width:640px){
  body.woocommerce-checkout .ic-gw-more{min-width:30px;height:20px;font-size:10.5px;padding:0 5px}
  body.woocommerce-checkout .ic-gw-pop{grid-template-columns:repeat(3,auto);right:-4px}
  body.woocommerce-checkout .ic-gw-pop img{height:21px;max-width:38px}
}

/* the currency pill has no business on the checkout — the charge currency rules there */
body.woocommerce-checkout .ic-fx{display:none!important}

/* ---- the order summary is the card itself, not a box inside a box ------ */
body.woocommerce-checkout .ic-co-right #order_review,
body.woocommerce-checkout .ic-co-right .woocommerce-checkout-review-order{border:0!important;background:none!important;
  box-shadow:none!important;border-radius:0!important;outline:0!important}
body.woocommerce-checkout .ic-co-right #order_review table.shop_table,
body.woocommerce-checkout .ic-co-right #order_review table.shop_table td,
body.woocommerce-checkout .ic-co-right #order_review table.shop_table th,
body.woocommerce-checkout .ic-co-right #order_review table.shop_table tbody,
body.woocommerce-checkout .ic-co-right #order_review table.shop_table tfoot{border-left:0!important;border-right:0!important;
  background:none!important;box-shadow:none!important}

/* PayPal's express button now sits with Apple Pay and Google Pay */
body.woocommerce-checkout .ic-co-express .ppc-button-wrapper{max-width:520px;margin:12px auto 0}
body.woocommerce-checkout .ic-co-express .ppc-button-wrapper:empty{display:none}
body.woocommerce-checkout .ic-co-express #ppc-button-ppcp-applepay,
body.woocommerce-checkout .ic-co-express #ppc-button-ppcp-googlepay{max-width:520px;margin:0 auto}

/* nothing PayPal-shaped below the policy links */
body.woocommerce-checkout #payment .place-order .ppc-button-wrapper{display:none!important}

/* ---------------------------------------------------------------------------
   Order summary geometry — single source of truth.
   The review-order table is redrawn by WooCommerce over AJAX, so the column
   widths have to be deterministic rather than content-derived: fixed layout
   with an explicit money column, the title taking whatever is left.
   --------------------------------------------------------------------------- */
body.woocommerce-checkout .ic-co-right #order_review table.shop_table {
  table-layout: fixed !important;
  width: 100% !important;
  margin: 0 !important;
  border-collapse: collapse !important;
}

body.woocommerce-checkout .ic-co-right #order_review table.shop_table td.product-name,
body.woocommerce-checkout .ic-co-right #order_review table.shop_table th.product-name,
body.woocommerce-checkout .ic-co-right #order_review table.shop_table tfoot th {
  width: auto !important;
  text-align: left !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
  padding-right: 10px !important;
}

body.woocommerce-checkout .ic-co-right #order_review table.shop_table td.product-total,
body.woocommerce-checkout .ic-co-right #order_review table.shop_table th.product-total,
body.woocommerce-checkout .ic-co-right #order_review table.shop_table tfoot td {
  width: 104px !important;
  text-align: right !important;
  white-space: nowrap !important;
  padding-left: 0 !important;
}

@media (max-width: 480px) {
  body.woocommerce-checkout .ic-co-right #order_review table.shop_table td.product-total,
  body.woocommerce-checkout .ic-co-right #order_review table.shop_table th.product-total,
  body.woocommerce-checkout .ic-co-right #order_review table.shop_table tfoot td {
    width: 88px !important;
  }
}

body.woocommerce-checkout .ic-co-line {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

body.woocommerce-checkout .ic-co-line-t {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

body.woocommerce-checkout .ic-co-thumb {
  flex: 0 0 auto !important;
  width: 46px !important;
  height: auto !important;
  border-radius: 8px !important;
}

/* Payment section order: submit, PayPal wallet button, then the trust row. */
body.woocommerce-checkout .ic-co-payblock .ic-co-secbody{display:flex;flex-direction:column}
body.woocommerce-checkout .ic-co-payblock .ic-co-secbody > #payment{order:1}
body.woocommerce-checkout .ic-co-payblock .ic-co-secbody > .ppc-button-wrapper{order:2}
body.woocommerce-checkout .ic-co-payblock .ic-co-secbody > #ppc-button-ppcp-applepay{order:3}
body.woocommerce-checkout .ic-co-payblock .ic-co-secbody > #ppc-button-ppcp-googlepay{order:4}
body.woocommerce-checkout .ic-co-payblock .ic-co-secbody > .ic-co-aftersubmit{order:5}
body.woocommerce-checkout .ic-co-payblock .ic-co-secbody > .ic-policy-links{order:6}
body.woocommerce-checkout .ic-co-payblock .ic-co-secbody > #wc-stripe-checkout-session-data{order:0}
