/* Stage 3: cart, checkout, My Account, thank-you — v14 tokens (home.css loads first). Existing WooCommerce / Fluid Checkout fields are styled, not rebuilt. */
.cm{padding-bottom:var(--s9)}
.cm-head{padding:var(--s3) 0 var(--s3)}
.cm-h{font:700 34px/42px var(--font);text-align:left}
.cm-h::after{content:"";display:block;width:64px;height:3px;background:var(--accent);margin:12px 0 0}
.cm-body{min-width:0}

/* Notices already styled in shop.css; keep them if shop.css is not loaded */
.cm .sp-notices:empty{display:none}
.cm .woocommerce-notices-wrapper:empty,.cm .woocommerce-message:empty{display:none}
.cm .woocommerce-message,.cm .woocommerce-info,.cm .woocommerce-error,.cm .woocommerce-NoticeGroup,
.cm .whdm-bonus-notice,.cm [class*="bonus-notice"]{
  list-style:none;margin:0 0 var(--s3);padding:16px 20px;border:1px solid var(--line);border-left:4px solid #1a7f37;border-radius:4px;background:var(--surf);color:var(--ink)!important
}
.cm .woocommerce-message a,.cm .woocommerce-info a,.cm .woocommerce-error a,.cm .woocommerce-message .button,.cm .woocommerce-info .button{
  color:var(--red)!important;background:transparent!important;border:0!important;min-height:auto;padding:0;font-weight:700
}
.cm .woocommerce-error,.cm .woocommerce-NoticeGroup-checkout .woocommerce-error{border-left-color:var(--red)}
.cm .woocommerce-error li{list-style:none;margin:0}
.cm .woocommerce-message .button,.cm .woocommerce-info .button,.cm .woocommerce-error .button{
  display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border-radius:4px;background:var(--red);color:#fff;text-decoration:none;font-weight:600;margin-left:12px
}

/* Shared form controls */
.cm .input-text,.cm input[type=text],.cm input[type=email],.cm input[type=tel],.cm input[type=password],.cm input[type=number],.cm input[type=search],.cm select,.cm textarea,.cm .select2-container .select2-selection--single{
  font:400 16px/24px var(--font);color:var(--ink);min-height:48px;padding:0 12px;border:1px solid #8c8c8c;border-radius:4px;background:#fff;width:100%;max-width:100%;box-sizing:border-box
}
.cm textarea{padding:12px;min-height:96px}
.cm label,.cm .form-row label{font:600 14px/20px var(--font);display:block;margin-bottom:6px}
.cm .form-row{margin:0 0 16px;padding:0}
.cm .form-row-first,.cm .form-row-last{width:calc(50% - 8px);float:left}
.cm .form-row-last{float:right}
.cm .form-row-wide{clear:both;width:100%}
.cm #billing_address_2_field label,.cm .optional{color:var(--muted);font-weight:400}
.cm .required{color:var(--red)}
.cm button,.cm .button,.cm input[type=submit],.cm .woocommerce-button{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:4px;background:var(--red);color:#fff;border:1px solid var(--red);font:600 16px/24px var(--font);text-decoration:none;cursor:pointer;text-align:center
}
.cm button:hover,.cm .button:hover,.cm input[type=submit]:hover{background:var(--red-h);border-color:var(--red-h);color:#fff}
.cm .button.alt,.cm #place_order{width:100%}
.cm a.button.secondary,.cm .woocommerce-Button--secondary,.cm button[name=apply_coupon],.cm .woocommerce-button[name=apply_coupon],.cm a.edit{
  background:#fff;color:var(--red)
}
.cm a.button.secondary:hover,.cm button[name=apply_coupon]:hover{background:#fff;color:var(--red-h);border-color:var(--red-h)}
.cm .quantity{display:inline-flex;align-items:stretch;border:1px solid #8c8c8c;border-radius:4px;height:48px;overflow:hidden}
.cm .quantity .qty{width:56px;min-height:46px;border:0;text-align:center;padding:0}
.cm .remove,.cm a.remove{color:var(--muted);font-size:28px;line-height:1;text-decoration:none}
.cm a.remove:hover{color:var(--red)}

/* Cart */
.woocommerce-cart-form,.woocommerce-checkout,.woocommerce-account{min-width:0}
.shop_table{width:100%;border-collapse:collapse;margin:0 0 var(--s4)}
.shop_table th,.shop_table td{padding:16px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
.shop_table th{font:600 14px/20px var(--font);color:var(--muted)}
.shop_table .product-thumbnail img{width:72px;height:72px;object-fit:contain;border:1px solid #eee;border-radius:4px;background:#fff}
.shop_table .product-name a{color:var(--ink);font:600 16px/24px var(--font);text-decoration:none}
.shop_table .product-name a:hover{color:var(--red)}
.shop_table .product-price,.shop_table .product-subtotal{font-weight:600;white-space:nowrap}
.shop_table del{color:var(--muted);font-weight:400;margin-right:6px}
.shop_table ins{text-decoration:none;color:var(--red)}
.cart-collaterals,.cart-summary,.fc-cart-totals,.woocommerce-checkout-review-order{
  background:var(--surf);border:1px solid var(--line);border-radius:4px;padding:24px;margin:0 0 var(--s4)
}
.cart_totals h2,.fc-checkout-order-review-title,h3#order_review_heading{font:700 20px/28px var(--font);margin:0 0 16px}
.cart_totals table,.shop_table.woocommerce-checkout-review-order-table{margin:0}
.order-total th,.order-total td,.order-total strong{font:700 20px/28px var(--font)}
.woocommerce-shipping-totals td,.woocommerce-shipping-methods{font:400 16px/24px var(--font)}
.woocommerce-shipping-methods li{list-style:none;margin:0 0 8px;display:flex;align-items:center;gap:8px;min-height:44px}
.cart-subtotal .amount,.order-total .amount{white-space:nowrap}
/* Promo / discount lines: same money style as home/shop/product (e.g. -RM15, -RM15.5) */
.cart_totals .fee td,.cart_totals .cart-discount td,.shop_table .cart-discount td,.shop_table .fee td,
.woocommerce-Price-amount.amount{font-variant-numeric:tabular-nums}
.coupon{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:16px 0}
.coupon label{width:100%}
.coupon .input-text{flex:1;min-width:160px}
.wc-proceed-to-checkout{margin-top:16px}
.wc-proceed-to-checkout .checkout-button{width:100%}
.cart-empty,.cart-empty.woocommerce-info{border-left-color:var(--line);min-height:0}
.cph14s-cart .cm-body,.cph14s-cart .woocommerce,.cph14s-cart .woocommerce-cart-form{min-height:0!important}
.return-to-shop{margin-top:16px;margin-bottom:24px}
.cm a.button.wc-backward,.cm .return-to-shop .button{
  background:var(--red)!important;color:#fff!important;border-color:var(--red)!important;
  min-height:48px;width:auto;display:inline-flex
}
/* Keep the empty-cart "Return to shop" button above the phone bar at scroll 0 */
.cph14s-cart .cart-empty::before,.cph14s-cart .wc-empty-cart-message::before,
.cph14s-cart .wd-empty-icon{display:none!important}
.cph14s-cart .cart-empty,.cph14s-cart .wc-empty-cart-message{padding-top:0;margin-bottom:12px}
@media (max-width:768px){
  .cph14s-cart .return-to-shop{margin-bottom:calc(var(--cph-bnav,64px) + 16px)}
}

/* Checkout + Fluid Checkout */
.woocommerce-checkout .col2-set:after,.cm .form-row:after{content:"";display:table;clear:both}
#order_review,#customer_details,.fc-wrapper,.fc-inner,.fc-step,.fc-sidebar{min-width:0}
.wc_payment_methods{list-style:none;margin:0;padding:0}
.wc_payment_methods>li{border:1px solid var(--line);border-radius:4px;padding:16px;margin:0 0 12px;background:#fff}
.wc_payment_methods>li.woocommerce-notice{border-left-width:4px}
.payment_box{margin:12px 0 0;color:var(--muted);font-size:14px;line-height:22px}
.woocommerce-privacy-policy-text,.woocommerce-terms-and-conditions-wrapper{font-size:14px;line-height:22px;color:var(--muted);margin:16px 0}
#place_order{margin-top:8px}
.fc-wrapper .fc-checkout-steps,.fc-progress-bar{margin-bottom:var(--s4)}
.cph14s-co .fc-wrapper a{color:var(--red)}
/* Staging test gateway notice */
#payment .payment_method_carpro_staging_test .payment_box{border-left:3px solid var(--red);padding-left:12px;color:var(--ink)}

/* My Account */
.woocommerce-account .woocommerce{display:grid;grid-template-columns:220px minmax(0,1fr);gap:var(--s6);align-items:start}
.woocommerce-MyAccount-navigation{background:var(--surf);border:1px solid var(--line);border-radius:4px;padding:8px 0}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
.woocommerce-MyAccount-navigation a{display:flex;align-items:center;min-height:44px;padding:0 16px;color:var(--ink);text-decoration:none;font:600 14px/20px var(--font)}
.woocommerce-MyAccount-navigation a:hover{color:var(--red)}
.woocommerce-MyAccount-navigation .is-active a{color:var(--red);box-shadow:inset 3px 0 0 var(--red)}
.woocommerce-MyAccount-content h2,.woocommerce-MyAccount-content h3{font:700 20px/28px var(--font);margin:0 0 16px}
.woocommerce-orders-table{width:100%}
.woocommerce-Address{border:1px solid var(--line);border-radius:4px;padding:20px;margin:0 0 16px}
.u-column1,.u-column2{width:calc(50% - 8px);float:left}
.u-column2{float:right}
.woocommerce-address-fields:after,.u-columns:after{content:"";display:table;clear:both}
.woocommerce-form-login,.woocommerce-form-register,.woocommerce-ResetPassword{
  border:1px solid var(--line);border-radius:4px;padding:24px;background:#fff;margin:0 0 var(--s4)
}
.woocommerce-form-login-toggle,.woocommerce-form-register-toggle{margin-bottom:16px}
.show-password-input{min-height:44px}
.woocommerce-form-row .woocommerce-password-strength{margin-top:8px}

/* Thank-you */
.woocommerce-order{max-width:820px}
.woocommerce-order-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px;list-style:none;margin:0 0 var(--s4);padding:0}
.woocommerce-order-overview li{background:var(--surf);border-radius:4px;padding:16px}
.woocommerce-thankyou-order-received{font:700 20px/28px var(--font);margin:0 0 16px}
.woocommerce-customer-details,.woocommerce-order-details{margin-bottom:var(--s4)}

/* Hide leftover WoodMart / Elementor chrome if a handle slipped through */
.wd-page-title,.whb-main-header,.whb-header,.wd-toolbar,.wd-sticky-toolbar,.website-wrapper>.main-page-wrapper>header,
.cm .elementor-location-header,.cm .elementor-location-footer{display:none!important}

@media (max-width:1023px){
  .woocommerce-account .woocommerce{grid-template-columns:1fr}
  .woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap}
  .woocommerce-MyAccount-navigation .is-active a{box-shadow:inset 0 -3px 0 var(--red)}
}
@media (max-width:768px){
  .cm-h{font-size:28px;line-height:36px}
  .cm .form-row-first,.cm .form-row-last,.u-column1,.u-column2{width:100%;float:none}
  .shop_table thead{display:none}
  .shop_table.shop_table_responsive tr{display:block;border-bottom:1px solid var(--line);padding:12px 0}
  .shop_table.shop_table_responsive td{display:flex;justify-content:space-between;align-items:center;border:0;padding:6px 0}
  .shop_table .product-thumbnail img{width:64px;height:64px}
  .cart-collaterals,.cart-summary,.fc-cart-totals,.woocommerce-checkout-review-order{padding:16px}
  /* Keep pay / totals / fields clear of the phone bar and Vivi */
  .cm{padding-bottom:calc(var(--s9) + var(--cph-bnav,64px))}
}

/* WHDM / membership cart table: stack on phone, keep live discount columns, no overlap */
.whdm-cart-shell .carpro-top-checkout{display:inline-flex;margin:0 0 16px}
.whdm-product-cell-inner{display:flex;gap:12px;align-items:flex-start;min-width:0}
.whdm-product-thumb{flex:0 0 72px}
.whdm-product-thumb img,.cm .whdm-product-thumb img{width:72px;height:72px;object-fit:contain;display:block}
.whdm-product-details{flex:1;min-width:0}
.whdm-product-details a{display:block;font:600 14px/20px var(--font);color:var(--ink);text-decoration:none;overflow-wrap:break-word;word-break:normal}
@media (max-width:768px){
  .cm table.shop_table_responsive.whdm-cart-table thead{display:none}
  .cm table.shop_table_responsive.whdm-cart-table tbody tr.cart_item{display:block;position:relative;padding:16px 28px 16px 0;border-bottom:1px solid var(--line)}
  .cm table.shop_table_responsive.whdm-cart-table tbody td{display:flex;justify-content:space-between;align-items:center;width:100%;float:none;border:0;padding:8px 0;clear:both}
  .cm table.shop_table_responsive.whdm-cart-table tbody td::before{content:attr(data-title);font:600 12px/16px var(--font);color:var(--muted);flex:0 0 42%;max-width:42%;padding-right:8px}
  .cm table.shop_table_responsive.whdm-cart-table tbody td.product-thumbnail,
  .cm table.shop_table_responsive.whdm-cart-table tbody td.product-remove,
  .cm table.shop_table_responsive.whdm-cart-table tbody td.whdm-product-cell{display:block}
  .cm table.shop_table_responsive.whdm-cart-table tbody td.product-thumbnail::before,
  .cm table.shop_table_responsive.whdm-cart-table tbody td.product-remove::before,
  .cm table.shop_table_responsive.whdm-cart-table tbody td.whdm-product-cell::before{content:none}
  .cm table.shop_table_responsive.whdm-cart-table tbody td.product-remove{position:absolute;right:0;top:12px;width:auto;padding:0}
  .cm .quantity .minus,.cm .quantity .plus{width:44px;min-width:44px;height:44px;border:0;background:var(--surf);color:var(--ink);font:600 18px/1 var(--font)}
}
@media (min-width:769px){
  .whdm-cart-table-wrap{overflow-x:visible;max-width:100%}
  body.cph14s-cart table.whdm-cart-table,
  body.cph14s-cart .whdm-cart-shell,
  body.cph14s-cart .whdm-cart-table-wrap,
  body.cph14s-cart .woocommerce-cart-form{
    width:100%!important;max-width:100%!important;box-sizing:border-box
  }
  body.cph14s-cart table.whdm-cart-table{table-layout:auto}
  /* Product name wraps normally; keep the row inside the reserved Vivi dock */
  body.cph14s-cart table.whdm-cart-table td.whdm-product-cell,
  body.cph14s-cart table.whdm-cart-table td.product-name{
    min-width:200px;width:28%;white-space:normal;vertical-align:middle
  }
  body.cph14s-cart .whdm-product-cell-inner{min-width:180px;align-items:center}
  body.cph14s-cart .whdm-product-details{min-width:140px;flex:1 1 auto;max-width:none}
  body.cph14s-cart .whdm-product-details a{word-break:normal;overflow-wrap:break-word;white-space:normal}
}

@media (max-width:768px){
  /* WHDM in-table subtotal grid is a desktop multi-column row; hide it on phone (cart_totals already shows subtotal/total). Keep the Bonus line. */
  .whdm-cart-table tr.whdm-cart-column-subtotals,.whdm-cart-column-subtotals{display:none!important}
  .cm table.shop_table_responsive.whdm-cart-table tbody td.product-price,
  .cm table.shop_table_responsive.whdm-cart-table tbody td.whdm-line-subtotal,
  .cm table.shop_table_responsive.whdm-cart-table tbody td.product-subtotal,
  .cm table.shop_table_responsive.whdm-cart-table tbody td.product-quantity,
  .cm table.shop_table_responsive.whdm-cart-table tbody td.whdm-discount-type,
  .cm table.shop_table_responsive.whdm-cart-table tbody td.whdm-discount-amount{
    position:static!important;display:flex!important;float:none!important;width:100%!important;left:auto!important;top:auto!important;right:auto!important;transform:none!important
  }
  .cm table.shop_table_responsive.whdm-cart-table tbody tr.cart_item{padding-right:36px}
  .whdm-cart-summary-row,.whdm-cart-bonus-summary-row,.whdm-cart-summary-line{
    display:flex!important;justify-content:space-between;align-items:baseline;gap:12px;width:100%;padding:10px 0;position:static!important
  }
  .whdm-cart-summary-label,.whdm-cart-summary-value{position:static!important;width:auto!important;float:none!important}
  .cart-collaterals,.whdm-cart-collaterals,.whdm-cart-actions{margin-bottom:16px}
}

/* whdm-price-no-overlap: unit price is a stacked row, never over the product name */
@media (max-width:768px){
  body.cph14s-cart table.shop_table_responsive.whdm-cart-table tbody tr.cart_item{
    position:relative;display:block;padding:16px 36px 16px 0
  }
  body.cph14s-cart table.shop_table_responsive.whdm-cart-table tbody tr.cart_item td.product-price,
  body.cph14s-cart table.shop_table_responsive.whdm-cart-table tbody tr.cart_item td.product-price .amount,
  body.cph14s-cart table.shop_table_responsive.whdm-cart-table tbody tr.cart_item td.product-price .woocommerce-Price-amount{
    position:static!important;inset:auto!important;float:none!important;transform:none!important;
    display:flex!important;width:100%!important;max-width:100%!important;margin:0!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important
  }
  /* Hide any WHDM-cloned price badge that sits inside the name/thumb cell */
  body.cph14s-cart table.whdm-cart-table td.whdm-product-cell .woocommerce-Price-amount,
  body.cph14s-cart table.whdm-cart-table .whdm-product-details .amount,
  body.cph14s-cart table.whdm-cart-table .whdm-product-cell-inner>.woocommerce-Price-amount,
  body.cph14s-cart table.whdm-cart-table td.whdm-product-cell>.product-price{
    display:none!important
  }
  body.cph14s-cart table.whdm-cart-table .whdm-product-cell-inner{padding-right:28px;align-items:flex-start}
  body.cph14s-cart table.whdm-cart-table .whdm-product-details{position:relative;z-index:1;padding-right:0;min-width:0;max-width:100%}
  body.cph14s-cart table.whdm-cart-table td.product-remove{position:absolute;right:0;top:12px;z-index:2;width:auto}
}

/* whdm-row-stack: stack every cart-item cell so the unit price cannot share the title's box */
@media (max-width:768px){
  body.cph14s-cart table.shop_table_responsive.whdm-cart-table tbody tr.cart_item{
    display:flex!important;flex-direction:column!important;align-items:stretch;height:auto!important
  }
  body.cph14s-cart table.shop_table_responsive.whdm-cart-table tbody tr.cart_item>td{
    display:flex!important;position:static!important;float:none!important;width:100%!important;max-width:100%!important;height:auto!important;overflow:visible!important
  }
  body.cph14s-cart table.shop_table_responsive.whdm-cart-table tbody tr.cart_item>td.whdm-product-cell,
  body.cph14s-cart table.shop_table_responsive.whdm-cart-table tbody tr.cart_item>td.product-thumbnail{
    display:block!important
  }
}

/* Stop WoodMart pulling My Account content off the left edge (phone only) */
@media (max-width:768px){
  body.cph14s-acc .woocommerce,
  body.cph14s-acc .woocommerce-MyAccount-content,
  body.cph14s-acc .woocommerce-MyAccount-navigation,
  body.cph14s-acc .u-columns,
  body.cph14s-acc .woocommerce-MyAccount-content p,
  body.cph14s-acc .woocommerce-table{
    width:auto!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;left:auto!important;right:auto!important;transform:none!important;box-sizing:border-box
  }
  body.cph14s-acc .woocommerce-my-account-wrapper{
    width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;display:block!important
  }
  body.cph14s-acc .woocommerce-MyAccount-content,
  body.cph14s-acc .wd-my-account-sidebar,
  body.cph14s-acc .woocommerce-MyAccount-navigation{
    width:100%!important;max-width:100%!important;padding-left:0!important;padding-right:0!important;margin:0 0 16px!important
  }
  body.cph14s-acc .woocommerce-MyAccount-content{overflow-wrap:anywhere}
}

/* ========== reqc-gary-stage3 (11 Nov 2026) ========== */

/* 1. One remove icon per cart line */
body.cph14s-cart tr.cart_item td.whdm-product-cell a.remove,
body.cph14s-cart tr.cart_item td.product-name a.remove,
body.cph14s-cart tr.cart_item .whdm-product-cell-inner>a.remove,
body.cph14s-cart tr.cart_item .whdm-product-details a.remove,
body.cph14s-cart tr.cart_item a.remove:not(:first-of-type),
body.cph14s-cart tr.cart_item td.product-remove a.remove:not(:first-child){display:none!important}
body.cph14s-cart tr.cart_item td.product-remove a.remove:first-child{display:inline-flex!important}

/* 2. Info "i" icon sits in the left gutter, never on the notice copy */
.cm .woocommerce-info,.cm .woocommerce-message,.cm .woocommerce-error,
.cm .carpro-po-note,.cm .whdm-bonus-notice,.cm [class*="bonus-notice"]{
  position:relative!important;
  padding:16px 16px 16px 52px!important
}
.cm .woocommerce-info::before,.cm .woocommerce-message::before,.cm .woocommerce-error::before,
.cm .carpro-po-note::before,.cm .whdm-bonus-notice::before,.cm [class*="bonus-notice"]::before{
  position:absolute!important;left:16px!important;top:16px!important;right:auto!important;bottom:auto!important;
  margin:0!important;width:20px!important;height:20px!important;line-height:20px!important;
  font-size:16px!important;transform:none!important;display:block!important
}
.cm .woocommerce-info>i,.cm .woocommerce-info>.icon,.cm .woocommerce-info .wd-notice-icon,
.cm .whdm-bonus-notice>i,.cm .whdm-bonus-notice>.icon,.cm [class*="bonus-notice"]>i,
.cm .woocommerce-info>svg{
  position:absolute!important;left:16px!important;top:16px!important;margin:0!important;width:20px;height:20px
}

/* 3. My Account > Orders on phone: stacked cards, ACTIONS and VIEW fully readable */
@media (max-width:768px){
  body.cph14s-acc table.woocommerce-orders-table thead,
  body.cph14s-acc table.shop_table.account-orders-table thead{display:none}
  body.cph14s-acc table.woocommerce-orders-table,
  body.cph14s-acc table.shop_table.account-orders-table,
  body.cph14s-acc table.woocommerce-orders-table tbody,
  body.cph14s-acc table.shop_table.account-orders-table tbody{display:block;width:100%;max-width:100%}
  body.cph14s-acc table.woocommerce-orders-table tr.woocommerce-orders-table__row,
  body.cph14s-acc table.shop_table.account-orders-table tbody tr{
    display:block;width:100%;box-sizing:border-box;
    border:1px solid var(--line);border-radius:4px;padding:16px;margin:0 0 16px;background:#fff
  }
  body.cph14s-acc table.woocommerce-orders-table td,
  body.cph14s-acc table.shop_table.account-orders-table td{
    display:flex!important;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;
    width:100%!important;max-width:100%!important;border:0;padding:8px 0;float:none!important;position:static!important
  }
  body.cph14s-acc table.woocommerce-orders-table td::before,
  body.cph14s-acc table.shop_table.account-orders-table td::before{
    content:attr(data-title);font:600 12px/16px var(--font);color:var(--muted);flex:0 0 auto;padding-right:8px
  }
  body.cph14s-acc table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions,
  body.cph14s-acc table.shop_table.account-orders-table td.order-actions,
  body.cph14s-acc table.shop_table.account-orders-table td[data-title="Actions"],
  body.cph14s-acc table.woocommerce-orders-table td[data-title="Actions"]{
    display:flex!important;flex-wrap:wrap;gap:8px;align-items:center
  }
  body.cph14s-acc table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions::before,
  body.cph14s-acc table.shop_table.account-orders-table td.order-actions::before,
  body.cph14s-acc table.woocommerce-orders-table td[data-title="Actions"]::before,
  body.cph14s-acc table.shop_table.account-orders-table td[data-title="Actions"]::before{
    flex:0 0 100%;max-width:100%;content:attr(data-title)
  }
  body.cph14s-acc table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button,
  body.cph14s-acc table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions a,
  body.cph14s-acc table.shop_table.account-orders-table td.order-actions .button,
  body.cph14s-acc table.shop_table.account-orders-table td.order-actions a{
    white-space:nowrap!important;flex:0 1 auto;min-height:44px;padding:0 14px
  }
}

/* 4. Thank-you overview: long emails get a full-width row and wrap at @, never as a lone letter */
.woocommerce-order-overview{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:stretch}
.woocommerce-order-overview li{min-width:0;overflow-wrap:break-word;word-break:normal;overflow:hidden;hyphens:manual}
.woocommerce-order-overview .woocommerce-order-overview__email,
.woocommerce-order-overview li.woocommerce-order-overview__email,
.woocommerce-order-overview li.email{
  grid-column:1 / -1;
  overflow-wrap:break-word;
  word-break:normal;
  hyphens:manual
}
.woocommerce-order-overview .woocommerce-order-overview__email strong,
.woocommerce-order-overview li.email strong{
  display:inline-block;max-width:100%;
  overflow-wrap:break-word;word-break:normal;hyphens:manual;
  font-size:inherit;line-height:1.4
}

/* 5. Totals: on phone, flex label/amount with a gap. On desktop leave the WHDM grid alone
   and only add cell padding + keep the checkout button out of Vivi's dock. */
@media (max-width:768px){
  .whdm-cart-summary-row,.whdm-cart-bonus-summary-row,.whdm-cart-summary-line{
    display:flex!important;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px 16px;
    width:100%;position:static!important;box-sizing:border-box
  }
  .whdm-cart-summary-label,.whdm-cart-summary-value{position:static!important;float:none!important;width:auto!important}
  .whdm-cart-summary-label{margin-right:auto;padding-right:12px}
  .whdm-cart-summary-value{text-align:right;white-space:normal}
}
@media (min-width:769px){
  body.cph14s-cart{--cph-dock:140px}
  body.cph14s-cart .cm>.wrap{overflow-x:hidden}
  body.cph14s-cart .whdm-cart-column-subtotals>td{padding:10px 16px;vertical-align:top}
  body.cph14s-cart .whdm-cart-summary-label{padding-right:12px}
  body.cph14s-cart .whdm-cart-summary-value{padding-left:8px}
  body.cph14s-cart .whdm-cart-actions,
  body.cph14s-cart .wc-proceed-to-checkout,
  body.cph14s-cart .coupon{
    display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;max-width:100%
  }
  body.cph14s-cart .checkout-button,body.cph14s-cart a.checkout-button{
    margin-left:0;margin-right:auto
  }
}
/* Hidden zero-discount rows (JS also sets this class) */
.cm .is-zero-discount{display:none!important}

/* 1b. One glyph in the remove control (WHDM draws × in both the text and a ::before) */
body.cph14s-cart tr.cart_item a.remove{
  display:inline-flex!important;align-items:center;justify-content:center;
  width:28px;height:28px;max-width:28px;overflow:hidden;white-space:nowrap;
  font-size:28px;line-height:1;letter-spacing:0;text-indent:0
}
body.cph14s-cart tr.cart_item a.remove::before,
body.cph14s-cart tr.cart_item a.remove::after{content:none!important;display:none!important;background:none!important}

/* 6. Place order is the same CARPRO red as the other purchase buttons */
body.cph14s-co #place_order,
body.cph14s-co button#place_order,
body.cph14s-co #payment #place_order,
body.cph14s-co button[name=woocommerce_checkout_place_order],
body.cph14s-co .fc-place-order button,
body.cph14s-co .fc-place-order #place_order,
body.cph14s-co .fc-place-order-button,
body.cph14s-co #place_order.button,
body.cph14s-co #place_order.button.alt,
body.cph14s-co button.alt#place_order,
body.cph14s-co .fc-wrapper #place_order{
  background:#E3171F!important;background-color:#E3171F!important;background-image:none!important;
  border-color:#E3171F!important;color:#fff!important;opacity:1!important;filter:none!important
}
body.cph14s-co #place_order:hover,
body.cph14s-co button#place_order:hover,
body.cph14s-co .fc-place-order button:hover{
  background:var(--red-h)!important;border-color:var(--red-h)!important;color:#fff!important
}

/* 8. Pre-order note in the cart line is its own block, never under the qty stepper */
body.cph14s-cart .cart_item .stock,
body.cph14s-cart .cart_item .availability,
body.cph14s-cart .cart_item .carpro-preorder,
body.cph14s-cart .whdm-product-details .stock,
body.cph14s-cart .whdm-product-details .carpro-preorder,
body.cph14s-cart .whdm-product-details .carpro-po-tag{
  display:block!important;position:static!important;float:none!important;clear:both;
  width:100%!important;max-width:100%;margin:8px 0 0!important;z-index:auto
}
@media (max-width:768px){
  body.cph14s-cart tr.cart_item td.product-quantity{
    position:static!important;z-index:auto;margin-top:4px
  }
}

/* 10. Guest thank-you VERIFY: normal flow (field above button), not pinned.
   Bottom padding is the phone bar height + 24px so both clear the bar when scrolled.
   On 390, tighten space above the form so the field and button are fully visible
   above the bar on first load. Required copy stays visible. 1366 is unchanged. */
@media (max-width:768px){
  body.cph14s-thanks .crumbs ol{
    display:flex;flex-wrap:wrap;align-items:center;gap:0;margin:0 0 8px;padding:0;
    list-style:none;font:400 14px/22px var(--font)
  }
  body.cph14s-thanks .crumbs li{display:inline;margin:0}
  body.cph14s-thanks .crumbs li+li::before{content:"/";margin:0 8px;color:var(--line)}
  body.cph14s-thanks .cm-head{padding:12px 0 8px}
  body.cph14s-thanks .cm-h{margin:0}
  body.cph14s-thanks .cm-h::after{margin:8px 0 0}
  body.cph14s-thanks .woocommerce-thankyou-order-received,
  body.cph14s-thanks .woocommerce-notice{
    margin:0 0 12px!important;
    padding:8px 12px!important
  }
  body.cph14s-thanks form.woocommerce-verify-email > p,
  body.cph14s-thanks form.woocommerce-form-verify-email > p{
    margin:0 0 12px
  }
  body.cph14s-thanks .cm{
    padding-bottom:calc(var(--cph-bnav, 64px) + 24px)!important
  }
  body.cph14s-thanks form.woocommerce-verify-email,
  body.cph14s-thanks form.woocommerce-form-verify-email{
    padding-bottom:calc(var(--cph-bnav, 64px) + 24px)!important;
    margin-bottom:0
  }
  body.cph14s-thanks form.woocommerce-verify-email button,
  body.cph14s-thanks form.woocommerce-verify-email .button,
  body.cph14s-thanks form.woocommerce-form-verify-email button,
  body.cph14s-thanks form.woocommerce-form-verify-email .button,
  body.cph14s-thanks button[name=verify]{
    position:static!important;
    left:auto;right:auto;bottom:auto!important;
    width:100%;
    z-index:auto;
    margin-bottom:0!important;
    box-shadow:none
  }
}

/* Hide empty / zero discount columns once JS marks the table */
.whdm-cart-table.hide-zero-disc-cols th.whdm-discount-type,
.whdm-cart-table.hide-zero-disc-cols td.whdm-discount-type,
.whdm-cart-table.hide-zero-disc-cols th.whdm-discount-amount,
.whdm-cart-table.hide-zero-disc-cols td.whdm-discount-amount,
.is-zero-discount{display:none!important}
@media (min-width:769px){
  body.cph14s-cart .whdm-cart-column-subtotals td,
  body.cph14s-cart .whdm-cart-column-subtotals th{overflow-wrap:anywhere;word-break:break-word}
  body.cph14s-cart .order-total,
  body.cph14s-cart .whdm-cart-order-total,
  body.cph14s-cart .cart-subtotal{padding-right:12px}
}

@media (min-width:769px){
  body.cph14s-cart .whdm-cart-column-subtotals .woocommerce-Price-amount,
  body.cph14s-cart .whdm-cart-column-subtotals .amount{
    white-space:nowrap!important;overflow-wrap:normal!important;word-break:keep-all!important;display:inline-block
  }
}
@media (max-width:768px){
  body.cph14s-co #place_order,
  body.cph14s-co .fc-place-order,
  body.cph14s-co .place-order,
  body.cph14s-co .fc-place-order-wrapper,
  body.cph14s-co [class*="place-order"]{
    margin-bottom:calc(var(--cph-bnav) + 16px)
  }
  body.cph14s-co .fc-sidebar,
  body.cph14s-co .fc-sidebar-right,
  body.cph14s-co .fc-place-order,
  body.cph14s-co .fc-checkout-place-order,
  body.cph14s-co .form-row.place-order{
    bottom:calc(var(--cph-bnav) + 8px)!important
  }
}


/* reqc2: commerce footer My Account / Contact Us buttons must match home exactly
   (outlined title-case on black, not a filled light uppercase pill). */
body.cph14s-cart footer.ft .ft-btns .btn.btn-w,
body.cph14s-co footer.ft .ft-btns .btn.btn-w,
body.cph14s-thanks footer.ft .ft-btns .btn.btn-w,
body.cph14s-acc footer.ft .ft-btns .btn.btn-w,
body.cph14s-cart .ft .btn.btn-w,
body.cph14s-co .ft .btn.btn-w,
body.cph14s-thanks .ft .btn.btn-w,
body.cph14s-acc .ft .btn.btn-w{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:48px!important;
  padding:0 24px!important;
  border-radius:4px!important;
  background:transparent!important;
  background-image:none!important;
  color:#fff!important;
  border:1px solid #fff!important;
  font:600 16px/24px var(--font)!important;
  text-decoration:none!important;
  text-transform:none!important;
  letter-spacing:normal!important;
  box-shadow:none!important;
  opacity:1!important;
  text-shadow:none!important
}
body.cph14s-cart .ft .btn.btn-w:hover,
body.cph14s-co .ft .btn.btn-w:hover,
body.cph14s-thanks .ft .btn.btn-w:hover,
body.cph14s-acc .ft .btn.btn-w:hover{
  background:#fff!important;
  background-image:none!important;
  color:var(--ink)!important;
  border-color:#fff!important
}

/* ========== reqc3 (11 Nov 2026) — cart shipment stack + checkout Place order above the phone bar ========== */

/* 1. Cart at 390: the shipment cell was a horizontal flex row
   (generic .shop_table_responsive td), so Delivery / Self pickup /
   "Shipping options will be updated…" / "Calculate shipping" sat
   on top of one another. Stack them; each radio gets its own row. */
@media (max-width:768px){
  body.cph14s-cart .shop_table.shop_table_responsive tr.woocommerce-shipping-totals,
  body.cph14s-cart .shop_table.shop_table_responsive tr.shipping,
  body.cph14s-cart .cart_totals tr.woocommerce-shipping-totals,
  body.cph14s-cart .cart_totals tr.shipping{
    display:block!important;
    width:100%;
    padding:12px 0!important
  }
  body.cph14s-cart .shop_table.shop_table_responsive tr.woocommerce-shipping-totals td,
  body.cph14s-cart .shop_table.shop_table_responsive tr.shipping td,
  body.cph14s-cart .cart_totals tr.woocommerce-shipping-totals td,
  body.cph14s-cart .cart_totals tr.shipping td{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:10px;
    width:100%!important;
    max-width:100%!important;
    float:none!important;
    position:static!important;
    padding:0!important
  }
  /* WooCommerce responsive tables hide the <th> and print data-title on ::before.
     Keep that heading as a full-width first row, never a 42% side column. */
  body.cph14s-cart tr.woocommerce-shipping-totals td::before,
  body.cph14s-cart tr.shipping td::before{
    content:attr(data-title)!important;
    display:block!important;
    float:none!important;
    position:static!important;
    flex:0 0 auto!important;
    width:100%!important;
    max-width:100%!important;
    padding:0 0 4px!important;
    margin:0!important;
    font:600 14px/20px var(--font)!important;
    color:var(--ink)!important;
    text-align:left
  }
  body.cph14s-cart ul.woocommerce-shipping-methods,
  body.cph14s-cart ul#shipping_method{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    float:none!important
  }
  body.cph14s-cart ul.woocommerce-shipping-methods li{
    display:flex!important;
    flex-direction:row;
    align-items:flex-start;
    gap:8px;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 10px!important;
    min-height:44px;
    position:static!important;
    float:none!important
  }
  body.cph14s-cart ul.woocommerce-shipping-methods li:last-child{margin-bottom:0!important}
  body.cph14s-cart ul.woocommerce-shipping-methods li input.shipping_method{
    flex:0 0 auto;
    margin:2px 0 0!important
  }
  body.cph14s-cart ul.woocommerce-shipping-methods li label{
    display:block;
    flex:1 1 auto;
    min-width:0;
    white-space:normal!important;
    overflow-wrap:break-word;
    word-break:normal;
    line-height:20px
  }
  body.cph14s-cart .woocommerce-shipping-destination,
  body.cph14s-cart .woocommerce-shipping-calculator,
  body.cph14s-cart a.shipping-calculator-button{
    display:block!important;
    position:static!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    float:none!important;
    white-space:normal;
    overflow-wrap:break-word;
    text-align:left!important
  }
  body.cph14s-cart tr.woocommerce-shipping-totals td,
  body.cph14s-cart tr.shipping td,
  body.cph14s-cart ul.woocommerce-shipping-methods,
  body.cph14s-cart ul.woocommerce-shipping-methods li,
  body.cph14s-cart ul.woocommerce-shipping-methods li label{
    text-align:left!important
  }
}

/* 2. Checkout at 390: only the Place order button itself sticks, just
   above the phone bar. Do not stick the tall place-order section or the
   Proceed action rows (those were stacking and overlapping the bar). */
@media (max-width:768px){
  body.cph14s-co [data-sticky-states].is-sticky--bottom > [data-sticky-states-inner],
  body.cph14s-co .has-flyout.has-flyout--open-fc-checkout-order-review .fc-checkout-order-review__actions-mobile{
    bottom:calc(var(--cph-bnav, 64px) + 8px)!important
  }
  body.cph14s-co.fc-checkout-step-current--payment #place_order,
  body.cph14s-co.fc-checkout-step-current-last #place_order,
  body.cph14s-co.fc-checkout-step-current--payment button.fc-place-order-button,
  body.cph14s-co.fc-checkout-step-current-last button.fc-place-order-button{
    position:sticky!important;
    bottom:calc(var(--cph-bnav, 64px) + 8px)!important;
    z-index:70;
    box-shadow:0 0 0 8px #fff, 0 -8px 16px -8px rgba(0,0,0,.14)
  }
  body.cph14s-co .cm,
  body.cph14s-co .fc-checkout-order-review,
  body.cph14s-co #order_review,
  body.cph14s-co .fc-sidebar{
    padding-bottom:calc(var(--s9, 24px) + var(--cph-bnav, 64px) + 72px)!important
  }
}

/* ===== Batch A 12 Nov: cart / checkout / account polish ===== */

/* Crumbs live in shop.css, which commerce pages do not load. Without these rules the
   <ol> breadcrumbs render as a numbered vertical list (William: "numbered vertical breadcrumbs"). */
body.cph14s .crumbs{padding:var(--s2, 8px) 0}
body.cph14s .crumbs ol{display:flex;flex-wrap:wrap;gap:4px 0;margin:0;padding:0;list-style:none;font:400 14px/22px var(--font,Poppins,sans-serif);color:var(--muted,#666)}
body.cph14s .crumbs li{display:inline;margin:0}
body.cph14s .crumbs li+li::before{content:"/";margin:0 8px;color:var(--line,#ddd)}
body.cph14s .crumbs a{color:var(--ink,#171717);text-decoration:none}
body.cph14s .crumbs a:hover{text-decoration:underline}
@media (max-width: 768px){
  body.cph14s .crumbs ol{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
}

/* Empty checkout (Fluid Checkout prints nothing when the cart is empty). */
body.cph14s-co .cph14s-empty-co{max-width:560px;margin:8px auto 40px;text-align:center;padding:24px 8px 8px}
body.cph14s-co .cph14s-empty-co .cart-empty{font:600 20px/28px var(--font,Poppins,sans-serif);color:var(--ink,#171717);margin:0 0 10px;border:0;background:none;padding:0}
body.cph14s-co .cph14s-empty-co-sub{font:400 16px/24px var(--font,Poppins,sans-serif);color:var(--muted,#555);margin:0 0 24px}
body.cph14s-co .cph14s-empty-co .return-to-shop{margin:0}
body.cph14s-co .cph14s-empty-co a.button,
body.cph14s-cart a.button.wc-backward{
  display:inline-block;background:var(--red,#ed1823);color:#fff;border:0;border-radius:4px;
  padding:14px 28px;font:700 16px/1 var(--font,Poppins,sans-serif);text-decoration:none;min-height:44px
}
body.cph14s-co .cph14s-empty-co a.button:hover,
body.cph14s-cart a.button.wc-backward:hover{background:var(--red-h,#c81019);color:#fff}
/* Hide WoodMart empty-cart extras (stylesheet is injected inside the shortcode). */
body.cph14s-cart .wd-empty-page-text,
body.cph14s-cart .wd-empty-icon,
body.cph14s-cart .wd-empty-cart{display:none!important}

/* My Account login / register / community: WoodMart tabs + 3rd column left a large unused gap
   once WoodMart's tab JS was dequeued. Rebuild as intro + two equal columns. */
body.cph14s-acc .wd-registration-page{max-width:none;width:100%;margin:0}
body.cph14s-acc .wd-registration-page #customer_login.row{
  display:grid;grid-template-columns:1fr 1fr;gap:28px 48px;margin:0;width:100%;max-width:100%
}
body.cph14s-acc .wd-registration-page .col-login,
body.cph14s-acc .wd-registration-page .col-register,
body.cph14s-acc .wd-registration-page .col-register-text{
  width:auto;max-width:none;flex:none;padding:0;float:none
}
body.cph14s-acc .wd-registration-page .col-register-text{grid-column:1/-1;grid-row:1}
body.cph14s-acc .wd-login-divider,
body.cph14s-acc a.wd-switch-to-register{display:none!important}
body.cph14s-acc .col-register-text .title,
body.cph14s-acc .col-register-text .wd-login-divider{display:none!important}
body.cph14s-acc .col-register-text .wd-login-title{font:700 22px/28px var(--font,Poppins,sans-serif);margin:0 0 8px;color:var(--ink,#171717)}
body.cph14s-acc .registration-info,
body.cph14s-acc .carpro-registration-welcome{max-width:none!important;margin:0!important;text-align:left!important}
body.cph14s-acc .carpro-registration-welcome{
  display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px 24px
}
body.cph14s-acc .carpro-registration-welcome > p:first-child{grid-column:1/-1;margin:0 0 4px!important;color:var(--muted,#555)!important}
body.cph14s-acc .carpro-registration-welcome > p:last-child{grid-column:1/-1;margin:8px 0 0!important}
body.cph14s-acc .carpro-registration-welcome > div{margin:0!important;align-items:flex-start}
body.cph14s-acc .wd-login-title{font:700 20px/28px var(--font,Poppins,sans-serif);margin:0 0 16px}
body.cph14s-acc .woocommerce-form-login,
body.cph14s-acc .woocommerce-form-register{
  background:#fafafa;border:1px solid var(--line,#e5e5e5);border-radius:8px;padding:24px;margin:0
}
body.cph14s-acc .woocommerce-form-row,
body.cph14s-acc .form-row{margin:0 0 14px}
body.cph14s-acc .woocommerce-form-row label,
body.cph14s-acc .form-row label{display:block;font:600 14px/20px var(--font,Poppins,sans-serif);margin:0 0 6px}
body.cph14s-acc .woocommerce-Input,
body.cph14s-acc input.input-text,
body.cph14s-acc input[type=text],
body.cph14s-acc input[type=email],
body.cph14s-acc input[type=password]{
  width:100%;max-width:100%;box-sizing:border-box;min-height:44px;padding:8px 12px;
  border:1px solid #ccc;border-radius:4px;font:16px/1.4 var(--font,Poppins,sans-serif);background:#fff
}
body.cph14s-acc .woocommerce-form-login__submit,
body.cph14s-acc .woocommerce-form-register .woocommerce-Button,
body.cph14s-acc .woocommerce-form-register button[name=register]{
  width:100%;background:var(--red,#ed1823)!important;color:#fff!important;border:0!important;
  border-radius:4px;min-height:44px;font:700 16px/1 var(--font,Poppins,sans-serif)!important
}
body.cph14s-acc .woocommerce-form-login__submit:hover,
body.cph14s-acc .woocommerce-form-register .woocommerce-Button:hover{background:var(--red-h,#c81019)!important;color:#fff!important}
body.cph14s-acc .login-form-footer{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;justify-content:space-between;margin:12px 0 0}
@media (max-width: 768px){
  body.cph14s-acc .wd-registration-page #customer_login.row{grid-template-columns:1fr;gap:24px}
  body.cph14s-acc .wd-registration-page .col-login{grid-row:1}
  body.cph14s-acc .wd-registration-page .col-register{grid-row:2}
  body.cph14s-acc .wd-registration-page .col-register-text{grid-row:3;grid-column:1;order:3}
  body.cph14s-acc .carpro-registration-welcome{grid-template-columns:1fr}
}


/* Empty-cart message must stay visible: the <p> also has WoodMart's .wd-empty-page class. */
body.cph14s-cart p.cart-empty,
body.cph14s-cart p.wc-empty-cart-message,
body.cph14s-cart p.wd-empty-page.cart-empty{
  display:block!important;font:600 20px/28px var(--font,Poppins,sans-serif);
  text-align:center;color:var(--ink,#171717);margin:8px auto 16px;background:none;border:0;padding:0;max-width:560px
}
body.cph14s-cart .return-to-shop{text-align:center;margin:0 0 24px}
body.cph14s-cart .wd-empty-page-text{display:none!important}

/* WoodMart register-tabs hides .col-register until its switch JS runs (JS is dequeued). Force both forms. */
body.cph14s-acc .wd-registration-page .col-login,
body.cph14s-acc .wd-registration-page .col-register,
body.cph14s-acc .wd-register-tabs .col-login,
body.cph14s-acc .wd-register-tabs .col-register{
  display:block!important;visibility:visible!important;opacity:1!important;
  height:auto!important;overflow:visible!important;position:relative!important;
  left:auto!important;right:auto!important;float:none!important;max-height:none!important;
  pointer-events:auto!important;clip:auto!important;width:auto!important
}
body.cph14s-acc .wd-registration-page #customer_login.row{display:grid!important}
@media (max-width: 768px){
  body.cph14s-acc .cm{padding-bottom:calc(var(--s9, 24px) + var(--cph-bnav, 64px) + 16px)!important}
}
body.cph14s-acc .col-register-text{border:0!important}


/* =====================================================================
   V14 header resets for commerce pages (cart / checkout / my-account).
   These pages set wp_head=true so WooCommerce / WoodMart / Bootstrap
   button styles leak onto the shared V14 header. home/shop do not.
   home.css is also re-linked in css_late; these rules are more specific
   so they still win. Phone (max-width:1023 nav/MMP, max-width:767 pause)
   stays intact.
   ===================================================================== */
@media (min-width: 1024px){
  body.cph14s header a.btn.hd-mmp,
  body.cph14s .hd-tools a.btn.hd-mmp,
  body.cph14s a.btn.hd-mmp{
    display:inline-flex;align-items:center;justify-content:center;
    min-height:44px;padding:0 16px;border-radius:4px;
    background:var(--red,#D60000);color:#fff;
    border:1px solid var(--red,#D60000);
    font:600 14px/20px var(--font,Poppins,sans-serif);
    text-decoration:none;text-transform:none;letter-spacing:normal;
    box-shadow:none;appearance:none;-webkit-appearance:none
  }
  body.cph14s header a.btn.hd-mmp:hover,
  body.cph14s .hd-tools a.btn.hd-mmp:hover,
  body.cph14s a.btn.hd-mmp:hover{
    background:var(--red-h,#B80000);border-color:var(--red-h,#B80000);color:#fff
  }
  body.cph14s header button.nav-a,
  body.cph14s header a.nav-a,
  body.cph14s .nav button.nav-a,
  body.cph14s .nav a.nav-a,
  body.cph14s button.nav-a,
  body.cph14s a.nav-a{
    display:flex;align-items:center;gap:6px;min-height:44px;padding:0 10px;
    background:none;background-color:transparent;border:0;border-radius:0;
    box-shadow:none;color:var(--ink,#171717);text-decoration:none;
    text-transform:none;letter-spacing:normal;
    font:600 14px/20px var(--font,Poppins,sans-serif);
    appearance:none;-webkit-appearance:none
  }
  body.cph14s header button.nav-a:hover,
  body.cph14s header a.nav-a:hover,
  body.cph14s .nav button.nav-a:hover,
  body.cph14s .nav a.nav-a:hover,
  body.cph14s button.nav-a:hover,
  body.cph14s a.nav-a:hover,
  body.cph14s .nav-i:focus-within>.nav-a{
    color:var(--red,#D60000);background:none;background-color:transparent
  }
  @media (max-width: 1240px){
    body.cph14s header button.nav-a,
    body.cph14s header a.nav-a,
    body.cph14s .nav button.nav-a,
    body.cph14s .nav a.nav-a,
    body.cph14s button.nav-a,
    body.cph14s a.nav-a{padding:0 7px;font-size:13px}
  }
}

/* Pause animations: outline on the red bar, sentence case. All widths,
   then re-assert the compact 44x44 icon-only control at max-width 767px. */
body.cph14s .bs button.bs-pause,
body.cph14s button.bs-pause,
body.cph14s .bs-pause{
  display:flex;align-items:center;gap:6px;
  background:none;background-color:transparent;
  border:1px solid rgba(255,255,255,.7);border-radius:4px;color:#fff;
  min-height:36px;padding:0 10px;
  font:600 13px/18px var(--font,Poppins,sans-serif);
  text-transform:none;letter-spacing:normal;
  box-shadow:none;appearance:none;-webkit-appearance:none;cursor:pointer
}
@media (max-width: 768px){
  body.cph14s .bs button.bs-pause,
  body.cph14s button.bs-pause,
  body.cph14s .bs-pause{
    width:44px;height:44px;justify-content:center;padding:0;border:0
  }
}

/* Hidden-at-phone typography reset: .hd-mmp is display:none ≤1023px, but
   Woo/Bootstrap still set text-transform:uppercase on the hidden node. */
body.cph14s a.btn.hd-mmp,
body.cph14s .hd-tools a.btn.hd-mmp,
body.cph14s a.hd-mmp{
  text-transform:none;letter-spacing:normal
}


/* V14 content pages: keep the V14 header/benefits bar; hide leftover WoodMart / Elementor chrome and the orange promo ticker. */
body.cph14s-pg .elementor-location-header,
body.cph14s-pg .elementor-location-footer,
body.cph14s-pg .promo-marquee,
body.cph14s-pg .whb-header,
body.cph14s-pg .whb-main-header,
body.cph14s-pg .whb-top-bar,
body.cph14s-pg .wd-toolbar,
body.cph14s-pg .woodmart-toolbar{display:none!important}
body.cph14s-pg .cph14s-page{min-width:0;max-width:100%}
body.cph14s-pg .cph14s-page img{max-width:100%;height:auto}
body.cph14s-pg .elementor-section.elementor-section-stretched{left:0!important;width:100%!important}

/* Cart: "Subtotal after Bonus Discount" row — label left, amount right, same as other total rows. */
@media (max-width:768px){
  body.cph14s-cart .whdm-subtotal-total-frame,
  body.cph14s-cart .whdm-cart-after-bonus-value,
  body.cph14s-cart tr.whdm-cart-bonus-summary-row,
  body.cph14s-cart .whdm-cart-bonus-summary-row,
  body.cph14s-cart table.shop_table_responsive tbody tr.whdm-subtotal-total,
  body.cph14s-cart .cart_totals tr[class*="bonus"],
  body.cph14s-cart .cart_totals tr[class*="after-bonus"]{
    display:flex!important;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box;
    text-align:left;
    flex-wrap:nowrap
  }
  body.cph14s-cart table.whdm-cart-table,
  body.cph14s-cart table.shop_table,
  body.cph14s-cart .whdm-cart-table-wrap,
  body.cph14s-cart .woocommerce-cart-form,
  body.cph14s-cart .whdm-cart-shell{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box
  }

  body.cph14s-cart .whdm-subtotal-total-frame th,
  body.cph14s-cart .whdm-subtotal-total-frame td,
  body.cph14s-cart .cart_totals tr[class*="bonus"] th,
  body.cph14s-cart .cart_totals tr[class*="after-bonus"] th,
  body.cph14s-cart .cart_totals tr[class*="bonus"] td,
  body.cph14s-cart .cart_totals tr[class*="after-bonus"] td,
  body.cph14s-cart table.shop_table_responsive tbody tr[class*="bonus"] th,
  body.cph14s-cart table.shop_table_responsive tbody tr[class*="bonus"] td,
  body.cph14s-cart table.shop_table_responsive tbody tr[class*="after"] th,
  body.cph14s-cart table.shop_table_responsive tbody tr[class*="after"] td{
    display:block!important;
    float:none!important;
    width:auto!important;
    max-width:none!important;
    text-align:left;
    padding:0;
    border:0
  }
  body.cph14s-cart table.shop_table_responsive tbody tr[class*="bonus"] td::before,
  body.cph14s-cart table.shop_table_responsive tbody tr[class*="after"] td::before,
  body.cph14s-cart .cart_totals tr[class*="bonus"] td::before,
  body.cph14s-cart .cart_totals tr[class*="after-bonus"] td::before{
    content:none!important;
    display:none!important
  }
  body.cph14s-cart .whdm-subtotal-total-frame th,
  body.cph14s-cart .cart_totals tr[class*="bonus"] th,
  body.cph14s-cart .cart_totals tr[class*="after-bonus"] th,
  body.cph14s-cart table.shop_table_responsive tbody tr[class*="bonus"] th,
  body.cph14s-cart table.shop_table_responsive tbody tr[class*="after"] th{
    flex:1 1 auto;min-width:0;text-align:left!important;white-space:normal!important;overflow-wrap:break-word
  }
  body.cph14s-cart .whdm-subtotal-total-frame td,
  body.cph14s-cart .whdm-cart-after-bonus-value,
  body.cph14s-cart .cart_totals tr[class*="bonus"] td,
  body.cph14s-cart .cart_totals tr[class*="after-bonus"] td,
  body.cph14s-cart table.shop_table_responsive tbody tr[class*="bonus"] td,
  body.cph14s-cart table.shop_table_responsive tbody tr[class*="after"] td{
    flex:0 0 auto;text-align:right!important;white-space:nowrap
  }
}

/* 12 Nov: phone cart showed a 136px empty white block — thead stayed display:block (WHDM override). */
@media (max-width:768px){
  body.cph14s-cart table.shop_table thead,
  body.cph14s-cart table.shop_table_responsive thead,
  body.cph14s-cart table.whdm-cart-table thead,
  body.cph14s-cart table.shop_table thead tr,
  body.cph14s-cart table.whdm-cart-table thead tr{
    display:none!important;height:0!important;min-height:0!important;overflow:hidden!important;
    padding:0!important;margin:0!important;border:0!important;line-height:0!important
  }
}

/* 16 Nov: remove nested obsolete Vivi gutters from cart; preserve all totals and controls. */
body.cph14s-cart #main .whdm-cart-table-wrap{padding:0!important;overflow-x:auto!important}
body.cph14s-cart #main .cart-collaterals{padding:24px!important;min-width:0;box-sizing:border-box}
body.cph14s-cart #main .cart_totals{padding:0!important;border:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box}
body.cph14s-cart #main .cart_totals th{width:40%;white-space:normal;word-break:normal}
body.cph14s-cart #main .cart_totals td{width:60%;white-space:normal;word-break:normal}
body.cph14s-cart #main .cart_totals .woocommerce-shipping-methods li{align-items:flex-start}
body.cph14s-cart #main .cart_totals .woocommerce-shipping-methods label{text-align:left;word-break:normal;overflow-wrap:normal}
@media(max-width:768px){body.cph14s-cart #main .cart-collaterals{padding:16px!important}}

body.cph14s-cart #main .cart-totals-inner{padding:0!important;border:0!important}


/* Hidden coupon labels must not create a full-width overflow box. */
body.cph14s-cart #main .screen-reader-text{width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);position:absolute!important}

@media(max-width:768px){body.cph14s-cart #main .cart_totals td{width:100%!important;gap:12px;text-align:right}body.cph14s-cart #main .cart_totals td:before{float:none;text-align:left;flex:1;min-width:0}body.cph14s-cart #main .cart_totals td .amount{white-space:nowrap}}

/* Shared site gutters: commerce content/footer align with header. */
body.cph14s-cart .ft .wrap,body.cph14s-co .cm>.wrap,body.cph14s-co .ft .wrap{padding-left:var(--gut)!important;padding-right:var(--gut)!important}

/* Cart feedback spans the content row; only the inner cart shell may use columns. */
body.cph14s-cart #main .cm-body>.woocommerce{display:block!important;width:100%!important;min-width:0!important}
body.cph14s-cart #main .woocommerce-notices-wrapper{display:block!important;float:none!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box;grid-column:1/-1;flex:0 0 100%!important}
body.cph14s-cart #main .woocommerce-notices-wrapper:empty{display:none!important}
body.cph14s-cart #main .woocommerce-cart-form>.woocommerce-info,body.cph14s-cart #main .woocommerce-cart-form>.woocommerce-message,body.cph14s-cart #main .woocommerce-notices-wrapper>.woocommerce-message,body.cph14s-cart #main .woocommerce-notices-wrapper>.woocommerce-info,body.cph14s-cart #main .woocommerce-notices-wrapper>.woocommerce-error{display:block!important;float:none!important;width:100%!important;max-width:100%!important;box-sizing:border-box;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word;clear:both}
body.cph14s-cart #main .woocommerce-message a.restore-item{display:none!important}

/* Keep checkout totals within their own summary card. */
body.cph14s-co #order_review table.woocommerce-checkout-review-order-table{width:100%!important;max-width:100%!important;table-layout:fixed!important}
body.cph14s-co #order_review table tfoot th,body.cph14s-co #order_review table tfoot td{width:auto!important;white-space:normal!important;overflow-wrap:break-word;box-sizing:border-box;padding-left:10px;padding-right:10px}
body.cph14s-co #order_review table .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(1px,1px,1px,1px);clip-path:inset(50%)}

/* My Account signed-out entry — Sam mockup 23 Nov 2026 (staging). Solid title bar, welcome, two equal cards. */
body.cph14s-acc .cm-account-banner{
  background:#111;
  color:#fff;
  padding:16px 0 14px;
  margin:0 0 6px;
  min-height:0;
  overflow:hidden;
  position:relative;
  isolation:auto;
  display:block;
}
body.cph14s-acc .cm-account-banner::before,
body.cph14s-acc .cm-account-banner::after{content:none!important;display:none!important;background:none!important}
body.cph14s-acc .cm-account-banner .wrap{width:100%;text-align:right}
body.cph14s-acc .cm-account-banner h1{
  color:#fff;
  font-size:clamp(22px,2.4vw,32px);
  line-height:1.15;
  font-weight:700;
  letter-spacing:0;
  margin:0;
}
body.cph14s-acc .cm-account-banner h1::after{
  content:"";
  display:block;
  width:46px;
  height:3px;
  margin:8px 0 0 auto;
  background:#e31324;
}
@media(max-width:500px){
  body.cph14s-acc .cm-account-banner{padding:13px 0 12px}
  body.cph14s-acc .cm-account-banner h1{font-size:22px}
  body.cph14s-acc .cm-account-banner h1::after{margin-top:6px}
}

body.cph14s-acc .cm-account-welcome{display:block;width:100%;max-width:none;margin:0 0 22px;padding:0;text-align:left}
body.cph14s-acc .cm-account-welcome h2{margin:0 0 8px;font-size:clamp(24px,3.2vw,34px);line-height:1.2;font-weight:800;color:#111;letter-spacing:-.02em}
body.cph14s-acc .cm-account-welcome p{margin:0 0 6px;line-height:1.55;font-size:clamp(15px,1.4vw,18px);color:#333}
body.cph14s-acc .cm-account-welcome .cm-account-reminder{color:#60646b;font-size:.92rem;margin-bottom:0}
body.cph14s-acc .cm-body:has(>.cm-account-welcome) #customer_login.row>.col-register-text{display:none!important}

body.cph14s-acc #customer_login.row,
body.cph14s-acc .wd-registration-page #customer_login.row{
  width:100%;
  max-width:none;
  margin:0;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:20px;
  align-items:stretch;
}
body.cph14s-acc #customer_login.row::before,
body.cph14s-acc #customer_login.row::after{content:none!important;display:none!important}
body.cph14s-acc #customer_login.row>.col-login,
body.cph14s-acc #customer_login.row>.col-register{
  position:relative;
  float:none;
  width:100%;
  max-width:none;
  min-width:0;
  min-height:0;
  height:100%;
  align-self:stretch;
  margin:0;
  padding:22px 22px 22px;
  box-sizing:border-box;
  display:flex!important;
  flex-direction:column;
  border:1px solid #d5dce5;
  border-radius:12px;
  background:#fff;
}
@media(min-width:769px){
  body.cph14s-acc #customer_login.row,
  body.cph14s-acc .wd-registration-page #customer_login.row{grid-auto-rows:1fr}
  body.cph14s-acc #customer_login.row>.col-login{grid-row:1;grid-column:1}
  body.cph14s-acc #customer_login.row>.col-register{grid-row:1;grid-column:2}
  body.cph14s-acc #customer_login > .col-login .cvv-signin,
  body.cph14s-acc #customer_login > .col-login .cvv-signin-form[data-cvv-signin="request"],
  body.cph14s-acc #customer_login > .col-login .cp-login-code-chain,
  body.cph14s-acc #customer_login > .col-register .woocommerce-form-register{
    flex:1 1 auto;
    display:flex;
    flex-direction:column;
    min-height:0;
  }
  body.cph14s-acc #customer_login > .col-login .cvv-signin-form[data-cvv-signin="request"] .cvv-signin-go,
  body.cph14s-acc #customer_login > .col-login .cp-login-send,
  body.cph14s-acc #customer_login > .col-register .woocommerce-form-register>button[type=submit]{
    margin-top:auto!important;
  }
}
@media(max-width:768px){
  body.cph14s-acc #customer_login.row,
  body.cph14s-acc .wd-registration-page #customer_login.row{
    grid-template-columns:minmax(0,1fr);
    grid-auto-rows:auto;
    gap:14px;
  }
  body.cph14s-acc #customer_login.row>.col-login{grid-row:1;grid-column:1}
  body.cph14s-acc #customer_login.row>.col-register{grid-row:2;grid-column:1}
  body.cph14s-acc #customer_login.row>.col-login,
  body.cph14s-acc #customer_login.row>.col-register{padding:16px 16px 18px;height:auto}
  body.cph14s-acc .cm-account-welcome{margin-bottom:14px}
}

body.cph14s-acc #customer_login .wd-login-title,
body.cph14s-acc #customer_login .col-login .wd-login-title,
body.cph14s-acc #customer_login .col-register .wd-login-title{
  font-size:clamp(20px,2.4vw,28px)!important;
  font-weight:800;
  line-height:1.16;
  letter-spacing:-.025em;
  text-transform:none!important;
  text-align:left;
  margin:0 0 16px!important;
  color:#111;
}
body.cph14s-acc #customer_login :is(.cp-login-code-chain,.woocommerce-form-register,.cvv-signin){
  flex:1;
  display:flex;
  flex-direction:column;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:0!important;
  min-width:0;
}
body.cph14s-acc #customer_login :is(#cp-reg-name,#cp-reg-email,#cp-reg-otp,.cp-login-email,input[name="email"],input[name="code"],input[name="nickname"]){
  display:block;
  width:100%!important;
  max-width:none!important;
  min-height:45px;
  padding:0 13px;
  border:1px solid #c6cfdb;
  border-radius:7px;
  box-sizing:border-box;
  font:inherit;
  background:#fff;
}
body.cph14s-acc #customer_login label{display:block;font-size:15px;font-weight:700;line-height:1.25;margin:0 0 5px;color:#111}
body.cph14s-acc #customer_login .cp-reg-note,
body.cph14s-acc #customer_login .cp-reg-address>p:not(.form-row){
  margin:8px 0 14px;
  color:#60646b;
  font-size:.92rem;
  line-height:1.45;
  font-weight:400;
}
body.cph14s-acc #customer_login :is(.cp-login-send,.cvv-signin-go,.woocommerce-form-register>button[type=submit]){
  width:100%!important;
  min-height:46px;
  margin-top:auto!important;
  margin-bottom:0;
  border:0!important;
  border-radius:8px!important;
  text-transform:none!important;
  font-size:17px;
  font-weight:700;
  background:#e31324!important;
  color:#fff!important;
}
body.cph14s-acc #customer_login :is(.cp-login-send,.cvv-signin-go,.woocommerce-form-register>button[type=submit]):hover{
  background:#c4101e!important;color:#fff!important
}
body.cph14s-acc #customer_login .cvv-signin-intro,
body.cph14s-acc #customer_login .cvv-signin-links,
body.cph14s-acc #customer_login .cvv-signin-pw,
body.cph14s-acc #customer_login .cp-login-forgot,
body.cph14s-acc #customer_login .cvv-signin-title{display:none!important}
body.cph14s-acc #customer_login .cp-reg-status:empty,
body.cph14s-acc #customer_login [hidden]{display:none!important}
body.cph14s-acc #customer_login .cp-reg-status{margin:8px 0;font-size:.92rem;line-height:1.45;color:#333}
body.cph14s-acc #customer_login .cp-reg-actions{margin:8px 0 0;display:flex;flex-wrap:wrap;gap:8px}
body.cph14s-acc #customer_login .cp-reg-actions button,
body.cph14s-acc #customer_login .cvv-signin-resend{
  padding:7px 12px;
  color:#9d1018;
  background:#fff;
  border:1px solid #ddd;
  border-radius:5px;
  width:auto!important;
  min-height:40px;
  margin-top:8px!important;
  font-size:14px;
  font-weight:600;
}
@media(max-width:768px){
  body.cph14s-acc #customer_login .wd-login-title{font-size:21px!important;margin-bottom:10px!important}
  body.cph14s-acc #customer_login :is(.cp-login-send,.cvv-signin-go,.woocommerce-form-register>button[type=submit]){margin-top:12px!important;min-height:44px}
}

/* Cards must share the same .wrap content width as the welcome block (Sam mockup). */
body.cph14s-acc .cm-body,
body.cph14s-acc .cm-body > .cm-account-welcome,
body.cph14s-acc .cm-body > .woocommerce,
body.cph14s-acc .wd-registration-page,
body.cph14s-acc .woocommerce.wd-registration-page,
body.cph14s-acc #customer_login,
body.cph14s-acc #customer_login.row{
  width:100%;
  max-width:none;
  margin-left:0;
  margin-right:0;
  box-sizing:border-box;
}



/* Code-only public login (Sam 23 Nov 2026, newws). Fields may sit outside the Woo form after the browser repairs nested forms. */
body.cph14s-acc .form-row-username,
body.cph14s-acc .form-row-password,
body.cph14s-acc input#username,
body.cph14s-acc input#password,
body.cph14s-acc button[name="login"],
body.cph14s-acc .woocommerce-form-login__submit,
body.cph14s-acc .woocommerce-LostPassword,
body.cph14s-acc .lost_password,
body.cph14s-acc .woocommerce-form-login__rememberme,
body.cph14s-acc .login-form-footer,
body.cph14s-co .form-row-username,
body.cph14s-co .form-row-password,
body.cph14s-co input#username,
body.cph14s-co input#password,
body.cph14s-co button[name="login"],
body.cph14s-co .woocommerce-form-login__submit,
body.cph14s-co .woocommerce-LostPassword,
body.cph14s-co .lost_password,
body.cph14s-co .woocommerce-form-login__rememberme,
body.cph14s-co .login-form-footer,
body.woocommerce-account .form-row-username,
body.woocommerce-account .form-row-password,
body.woocommerce-account input#username,
body.woocommerce-account input#password,
body.woocommerce-account button[name="login"],
body.woocommerce-account .woocommerce-form-login__submit,
body.woocommerce-account .woocommerce-LostPassword,
body.woocommerce-account .login-form-footer,
body.cph14s-acc .cvv-signin-pw,
body.cph14s-co .cvv-signin-pw,
body.cph14s-acc .cvv-signin-use-pw,
body.cph14s-co .cvv-signin-use-pw{display:none!important}


/* 390 bottom-nav clearance + save notices (Sam 23 Nov 2026, newws). */
body.cph14s-acc .sp-notices .woocommerce-message,
body.cph14s-acc .woocommerce-message,
body.cph14s-acc .woocommerce-info{
  display:block!important;margin:0 0 16px!important;padding:14px 16px!important;
  border:1px solid var(--line,#e5e5e5)!important;border-left:4px solid #1a7f37!important;
  background:#f3faf5!important;color:#111!important;font:600 15px/1.45 var(--font,Poppins,sans-serif)!important
}
@media (max-width: 768px){
  body.cph14s-acc,
  body.cph14s-co,
  body.cph14s-cart,
  body.cph14s-thanks{
    padding-bottom:0
  }
  body.cph14s-acc .cm,
  body.cph14s-co .cm,
  body.cph14s-cart .cm,
  body.cph14s-thanks .cm{
    padding-bottom:calc(var(--cph-bnav, 64px) + env(safe-area-inset-bottom, 0px) + 32px)!important
  }
  body.cph14s-acc .woocommerce-MyAccount-content{
    padding-bottom:calc(var(--cph-bnav, 64px) + env(safe-area-inset-bottom, 0px) + 24px)!important
  }
  body.cph14s-acc footer.ft,
  body.cph14s-acc .ft,
  body.cph14s-co footer.ft,
  body.cph14s-co .ft,
  body.cph14s-cart footer.ft,
  body.cph14s-thanks footer.ft{
    padding-bottom:calc(var(--cph-bnav, 64px) + env(safe-area-inset-bottom, 0px) + 28px)!important
  }
}

/* Claude 30 Nov: zero-discount cells on a mixed cart keep their column (no row shift). */
@media (min-width:769px){.whdm-cart-table tr.cart_item td.is-zero-discount-cell{display:table-cell!important;visibility:hidden}}
@media (max-width:768px){.whdm-cart-table tr.cart_item td.is-zero-discount-cell,body.cph14s-cart table.shop_table_responsive.whdm-cart-table tbody tr.cart_item > td.is-zero-discount-cell{display:none!important}}
