/* Crafted by Christy: cart, checkout and thank-you pages (built from the canvas "Cart and checkout" row),
   plus the WooCommerce pieces those pages carry: notices, form fields, the country picker, shipping and payment.
   Loaded after shop.css, which holds the header, footer, buttons and pop-ups. */

.screen-reader-text{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cbc-woo .hint{font-size:15px;line-height:23px;color:#75505A;margin:0}
.cbc-woo .hint a{color:inherit;text-underline-offset:3px}
.cbc-main p{margin:0}

/* page heads */
.crumbs{display:flex;align-items:center;gap:10px;padding-top:28px;font-size:14px;line-height:20px;color:#75505A}
.crumbs a{color:#75505A;text-decoration:none}
.crumbs a:hover{color:#3E1C25;text-decoration:underline;text-underline-offset:3px}
.pagehead{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding-top:56px;padding-bottom:40px}
.cbc-woo .card{background:#FFFBF9;border-radius:28px;box-shadow:0 1px 2px rgba(62,28,37,0.05),0 12px 30px rgba(62,28,37,0.08)}

/* ---------- cart ---------- */
.cartwrap{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:48px;align-items:start;padding-bottom:112px}
.ctbl{padding:12px 32px 28px;min-width:0;container-type:inline-size}
.ct-head,.ct-row{display:grid;grid-template-columns:minmax(0,1fr) 110px 140px 110px;gap:20px;align-items:center}
.ct-head{padding:18px 0 14px;border-bottom:1px solid rgba(62,28,37,0.14);font-size:13px;line-height:20px;font-weight:600;letter-spacing:0.14em;text-transform:uppercase;color:#75505A}
.ct-head span:nth-child(n+2),.ct-row > :nth-child(n+2){justify-self:end}
.ct-row{padding:22px 0;border-bottom:1px solid rgba(62,28,37,0.1)}
.ctbl:not(:has(.ct-note)) .ct-row:has(+ .ct-actions),.ctbl:not(:has(.ct-note)) .ct-row:has(+ .ct-actions + *:empty){border-bottom:0;padding-bottom:6px}
.ct-set{display:flex;align-items:center;gap:18px;min-width:0}
.ct-set img{width:88px;height:110px;object-fit:cover;border-radius:16px;flex:none;display:block}
.ct-info{display:flex;flex-direction:column;gap:4px;align-items:flex-start;min-width:0}
.ct-name{font-family:'Gloock',Georgia,serif;font-size:24px;line-height:30px;color:#3E1C25;text-decoration:none;overflow-wrap:anywhere}
a.ct-name:hover{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.ct-info .ci-rm{padding:4px 0}
.ct-note{display:flex;gap:12px;align-items:flex-start;margin-top:22px !important;padding:16px 18px;border-radius:18px;background:#F6ECE8;font-size:15px;line-height:23px;color:#5E3E47}
.ct-note a{color:#3E1C25}
.ct-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding-top:18px}
.cbc-auto .ct-actions{padding-top:0}
.cbc-auto .cbc-upd{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.ct-empty{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:40px 32px;max-width:720px;margin-bottom:112px}

/* quantity: WooCommerce's number box inside the round stepper (the − and + buttons come from woo.js) */
.cstep{display:inline-flex;align-items:center;border:1px solid rgba(62,28,37,0.28);border-radius:9999px;height:48px}
.cstep button{width:44px;height:46px;border:0;background:none;font:inherit;font-size:1.25rem;color:#3E1C25;cursor:pointer;border-radius:9999px;-webkit-tap-highlight-color:transparent}
.cstep button:disabled{color:rgba(62,28,37,0.3);cursor:default}
.cstep button:focus-visible{outline:2px solid #A3405C;outline-offset:2px}
.cbc-woo .quantity{display:inline-flex}
.cbc-woo .quantity input.qty{width:40px;height:46px;padding:0;border:0;border-radius:0;background:none;font:inherit;font-size:16px;font-weight:600;color:#3E1C25;text-align:center;font-variant-numeric:tabular-nums;-moz-appearance:textfield;appearance:textfield}
.cbc-woo .quantity input.qty::-webkit-outer-spin-button,.cbc-woo .quantity input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.cbc-woo .quantity input.qty:focus-visible{outline:2px solid #A3405C;outline-offset:-2px;border-radius:8px}
.ct-qty > .quantity:not(.cstep .quantity){border:1px solid rgba(62,28,37,0.28);border-radius:9999px;padding:0 4px}

/* order summary */
.cart-collaterals{min-width:0}
.sum{display:flex;flex-direction:column;gap:16px;padding:28px}
.sum h2{margin:0;font-family:'Gloock',Georgia,serif;font-weight:400;font-size:28px;line-height:34px;color:#3E1C25}
.srow{display:flex;justify-content:space-between;gap:16px;font-size:16px;line-height:24px;color:#5E3E47;font-variant-numeric:tabular-nums}
.srow > span:last-child{text-align:right}
.srow.tot{padding-top:16px;border-top:1px solid rgba(62,28,37,0.14);font-size:19px;font-weight:600;color:#3E1C25}
.srow small,.srow .includes_tax{display:block;font-size:13px;font-weight:400;color:#75505A}
.woocommerce-remove-coupon{margin-left:6px;font-size:14px;color:#75505A}
.sum .btn,.sum .checkout-button{width:100%}
.code summary{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:15px;font-weight:600;list-style:none;color:#3E1C25;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.code summary::after{content:"";flex:none;width:14px;height:14px;background:linear-gradient(currentColor,currentColor) center / 10px 1.5px no-repeat,linear-gradient(currentColor,currentColor) center / 1.5px 10px no-repeat;transition:transform 200ms ease-out}
.code[open] summary::after{transform:rotate(45deg)}
.code summary::-webkit-details-marker{display:none}
.code summary:focus-visible{outline:2px solid #A3405C;outline-offset:3px;border-radius:4px}
.code > div{display:flex;flex-wrap:wrap;gap:10px;padding-top:12px}
.code .in{flex:1 1 140px;width:auto;min-width:0;min-height:48px}
.sum .code .btn{width:auto;flex:none}
.code .coupon-error-notice{flex-basis:100%;margin:0;font-size:14px;line-height:20px;color:#A3405C}
.code .in.has-error{border-color:#A3405C}

/* ---------- forms ---------- */
.cbc-woo .in,.cbc-woo .form-row .input-text,.cbc-woo .form-row select,.cbc-woo .form-row textarea{width:100%;min-height:52px;margin:0;padding:12px 16px;border:1px solid rgba(62,28,37,0.24);border-radius:14px;background:#FFFBF9;font:inherit;font-size:16px;line-height:24px;color:#3E1C25;box-sizing:border-box;transition:border-color 180ms ease-out,box-shadow 180ms ease-out,transform 180ms ease-out}
.cbc-woo .form-row textarea{min-height:110px;resize:vertical}
.cbc-woo .in:focus,.cbc-woo .form-row .input-text:focus,.cbc-woo .form-row select:focus,.cbc-woo .form-row textarea:focus{outline:none;border-color:#3E1C25;box-shadow:0 0 0 3px rgba(163,64,92,0.18)}
.cbc-woo .form-row .input-text:focus{transform:translateY(-1px)}
.cbc-woo .form-row{display:flex;flex-direction:column;gap:7px;margin:0;padding:0;min-width:0}
.cbc-woo .form-row > label{font-size:14px;line-height:20px;font-weight:600;color:#3E1C25;transition:color 180ms ease-out}
.cbc-woo .form-row:focus-within > label{color:#A3405C}
.cbc-woo .form-row label .optional{font-weight:400;color:#75505A}
.cbc-woo .form-row label .required{display:none}
.cbc-woo .woocommerce-input-wrapper{display:block}
.cbc-woo .form-row.woocommerce-invalid .input-text,.cbc-woo .form-row.woocommerce-invalid select,.cbc-woo .form-row.woocommerce-invalid .select2-selection{border-color:#A3405C}
.cbc-woo .form-row.woocommerce-invalid > label{color:#A3405C}
.cbc-woo .checkout-inline-error-message{margin:0;font-size:14px;line-height:20px;color:#A3405C}
.cbc-woo .chk,.cbc-woo .woocommerce-form__label-for-checkbox{display:flex;align-items:flex-start;gap:12px;font-size:15px;line-height:23px;font-weight:400;color:#5E3E47;cursor:pointer}
.cbc-woo .chk input,.cbc-woo .woocommerce-form__label-for-checkbox input{width:20px;height:20px;margin:1px 0 0;accent-color:#3E1C25;flex:none}

/* country and state pickers (WooCommerce's search box) */
.cbc-woo .select2-container{width:100% !important}
.cbc-woo .select2-container .select2-selection--single{height:52px;border:1px solid rgba(62,28,37,0.24);border-radius:14px;background:#FFFBF9}
.cbc-woo .select2-container .select2-selection--single .select2-selection__rendered{line-height:50px;padding-left:16px;padding-right:40px;color:#3E1C25;font-size:16px}
.cbc-woo .select2-container .select2-selection--single .select2-selection__arrow{height:50px;right:10px}
.cbc-woo .select2-container--focus .select2-selection--single,.cbc-woo .select2-container--open .select2-selection--single{border-color:#3E1C25;box-shadow:0 0 0 3px rgba(163,64,92,0.18)}
.cbc-woo .select2-dropdown{border:1px solid rgba(62,28,37,0.24);border-radius:14px;overflow:hidden;background:#FFFBF9;font-family:'DM Sans',ui-sans-serif,system-ui,sans-serif;color:#3E1C25}
.cbc-woo .select2-search--dropdown{padding:10px}
.cbc-woo .select2-search--dropdown .select2-search__field{padding:8px 12px;border:1px solid rgba(62,28,37,0.24);border-radius:10px;font:inherit;font-size:16px}
.cbc-woo .select2-results__option{padding:10px 16px;font-size:15px;line-height:22px}
.cbc-woo .select2-container--default .select2-results__option--highlighted[aria-selected],.cbc-woo .select2-container--default .select2-results__option--highlighted[data-selected]{background:#3E1C25;color:#F6ECE8}
.cbc-woo .select2-container--default .select2-results__option[aria-selected=true],.cbc-woo .select2-container--default .select2-results__option[data-selected=true]{background:#F6ECE8;color:#3E1C25}

/* ---------- checkout ---------- */
.co{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:24px 48px;align-items:start;padding-bottom:112px}
.co > .woocommerce-NoticeGroup{grid-column:1 / -1}
.co > .woocommerce-NoticeGroup .woocommerce-error,.co > .woocommerce-NoticeGroup .woocommerce-message,.co > .woocommerce-NoticeGroup .woocommerce-info{margin:0}
.cbc-woo .woocommerce-error li a{font-weight:600;text-decoration:none}
.co-main{display:flex;flex-direction:column;gap:24px;min-width:0}
.co-sec{border:0;margin:0;padding:28px 32px 32px;display:flex;flex-direction:column;gap:18px;min-width:0}
.co-sec legend,.co-h{float:left;width:100%;margin:0;padding:0 0 4px;display:flex;align-items:center;gap:12px;font-family:'Gloock',Georgia,serif;font-weight:400;font-size:26px;line-height:32px;color:#3E1C25}
.co-sec legend + *{clear:both}
.co-fields,.woocommerce-additional-fields__field-wrapper,.create-account{display:flex;flex-direction:column;gap:18px}
.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px 16px}
.woocommerce-billing-fields__field-wrapper > .form-row,.woocommerce-shipping-fields__field-wrapper > .form-row{grid-column:1 / -1}
.woocommerce-billing-fields__field-wrapper > .form-row-first,.woocommerce-billing-fields__field-wrapper > .form-row-last,.woocommerce-shipping-fields__field-wrapper > .form-row-first,.woocommerce-shipping-fields__field-wrapper > .form-row-last{grid-column:span 3}
.cbc-woo #billing_city_field,.cbc-woo #billing_state_field,.cbc-woo #billing_postcode_field,.cbc-woo #shipping_city_field,.cbc-woo #shipping_state_field,.cbc-woo #shipping_postcode_field{grid-column:span 2}
#ship-to-different-address{margin:0;font:inherit}
.shipping_address{padding-top:18px}
.radios{display:flex;flex-direction:column;gap:12px}
.ropt{display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid rgba(62,28,37,0.2);border-radius:16px;cursor:pointer;transition:border-color 180ms ease-out,background-color 180ms ease-out}
.ropt input{width:20px;height:20px;margin:0;accent-color:#3E1C25;flex:none}
.ropt:has(input:checked){border-color:#3E1C25;background:#F6ECE8}
.ropt .rname{flex:1;font-size:16px;line-height:24px;font-weight:600}
.ropt:focus-within{outline:2px solid #A3405C;outline-offset:2px}

/* each part ticks itself off */
.secok{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:13px;border:1.5px solid rgba(62,28,37,0.22);color:transparent;flex:none;transition:background-color 260ms ease-out,border-color 260ms ease-out,color 260ms ease-out,transform 420ms cubic-bezier(0.34,1.56,0.64,1)}
.secok svg{width:15px;height:15px}
.co-sec.done .secok{background:#3E1C25;border-color:#3E1C25;color:#F6ECE8;transform:scale(1.06)}
.co-sec.done .secok path{stroke-dasharray:24;stroke-dashoffset:24;animation:cbc-draw 420ms ease-out 80ms forwards}
.prog{display:flex;flex-direction:column;gap:8px}
.prog-bar{height:6px;border-radius:3px;background:#F3DFD9;overflow:hidden}
.prog-bar span{display:block;height:100%;width:0;border-radius:3px;background:#A3405C;transition:width 520ms cubic-bezier(0.22,1,0.36,1)}
@keyframes cbc-draw{to{stroke-dashoffset:0}}

/* your order */
.co-sum{position:sticky;top:24px}
.woocommerce-checkout-review-order{display:flex;flex-direction:column;gap:16px}
.woocommerce-checkout-review-order-table{display:flex;flex-direction:column;gap:12px}
.mini-list{display:flex;flex-direction:column;gap:16px;padding:8px 0 4px}
.mini{display:flex;align-items:center;gap:14px}
.mini .mi{position:relative;flex:none}
.mini img{width:64px;height:80px;object-fit:cover;border-radius:12px;display:block}
.mini .mq{position:absolute;top:-8px;right:-8px;min-width:24px;height:24px;padding:0 6px;border-radius:12px;background:#3E1C25;color:#F6ECE8;font-size:13px;line-height:24px;font-weight:600;text-align:center;font-variant-numeric:tabular-nums}
.mini .mn{flex:1;min-width:0;font-size:16px;line-height:23px;font-weight:600;color:#3E1C25}
.mini .mn span{display:block;font-weight:400;font-size:14px;color:#75505A}
.srow.sfirst{padding-top:16px;border-top:1px solid rgba(62,28,37,0.14)}

/* payment (methods come from her payment plugin) and Place order */
.cbc-woo #payment{display:flex;flex-direction:column;gap:16px;padding-top:16px;border-top:1px solid rgba(62,28,37,0.14)}
.cbc-woo #payment ul.payment_methods{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.cbc-woo #payment li.wc_payment_method{padding:14px 16px;border:1px solid rgba(62,28,37,0.2);border-radius:16px;transition:border-color 180ms ease-out,background-color 180ms ease-out}
.cbc-woo #payment li.wc_payment_method:has(> input:checked){border-color:#3E1C25;background:#F6ECE8}
.cbc-woo #payment li.wc_payment_method > input{width:18px;height:18px;margin:0 10px 0 0;vertical-align:middle;accent-color:#3E1C25}
.cbc-woo #payment li.wc_payment_method > label{font-size:16px;line-height:24px;font-weight:600;cursor:pointer}
.cbc-woo #payment li.wc_payment_method > label img{max-height:24px;vertical-align:middle;margin-left:6px}
.cbc-woo #payment .payment_box{margin-top:12px;font-size:15px;line-height:23px;color:#5E3E47}
.cbc-woo #payment .payment_box p{margin:0}
.cbc-woo #payment .place-order{display:flex;flex-direction:column;gap:16px;margin:0;padding:0}
.cbc-woo #place_order{width:100%;min-height:52px}
.cbc-woo #place_order:disabled{opacity:0.6;cursor:default}
.woocommerce-terms-and-conditions-wrapper{display:flex;flex-direction:column;gap:12px;font-size:14px;line-height:21px;color:#75505A}
.woocommerce-terms-and-conditions-wrapper a{color:inherit;text-underline-offset:3px}
.woocommerce-terms-and-conditions{max-height:200px;overflow:auto;padding:12px;border-radius:12px;background:#F6ECE8}

/* ---------- WooCommerce messages and small forms ---------- */
.cbc-woo .woocommerce-notices-wrapper:empty{display:none}
.cbc-woo .woocommerce-error,.cbc-woo .woocommerce-message,.cbc-woo .woocommerce-info{list-style:none;margin:0 0 20px;padding:14px 18px;border-radius:16px;background:#FFFBF9;border:1px solid rgba(62,28,37,0.16);font-size:15px;line-height:23px;color:#3E1C25;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.cbc-woo .woocommerce-error{background:#FFF6F8;border-color:rgba(163,64,92,0.35);color:#7E2A44;flex-direction:column;align-items:flex-start}
.cbc-woo .woocommerce-error li{margin:0}
.cbc-woo .woocommerce-error a{color:inherit}
.cbc-woo .woocommerce-message a,.cbc-woo .woocommerce-info a{color:#3E1C25;font-weight:600;text-underline-offset:3px}
.cbc-woo .woocommerce-message .button,.cbc-woo .woocommerce-info .button{order:2;margin-left:auto;padding:0;border:0;background:none;font:inherit;font-weight:600;color:#3E1C25;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.cbc-woo .button:not(.btn):not(.woocommerce-message .button):not(.woocommerce-info .button){display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 22px;border-radius:9999px;border:1px solid #3E1C25;background:#3E1C25;color:#F6ECE8;font:inherit;font-weight:600;cursor:pointer;text-decoration:none}
.cbc-woo form.checkout_coupon,.cbc-woo form.woocommerce-form-login{margin:0 0 20px;padding:20px 24px;border-radius:20px;background:#FFFBF9;box-shadow:0 1px 2px rgba(62,28,37,0.05),0 8px 24px rgba(62,28,37,0.06)}
.cbc-woo form.checkout_coupon p,.cbc-woo form.woocommerce-form-login p{margin:0 0 12px}
.cbc-woo .blockUI.blockOverlay{background:rgba(255,251,249,0.7) !important;border-radius:inherit}

/* tables WooCommerce prints on rarer pages (paying for a failed order, order details from plugins) */
.cbc-woo table.shop_table{width:100%;border-collapse:collapse;margin:0 0 24px;background:#FFFBF9;border-radius:20px;overflow:hidden;font-size:15px;line-height:23px}
.cbc-woo table.shop_table th,.cbc-woo table.shop_table td{padding:12px 16px;border-bottom:1px solid rgba(62,28,37,0.1);text-align:left;vertical-align:top}
.cbc-woo #order_review:not(.woocommerce-checkout-review-order) #payment{margin-top:16px}

/* ---------- thank you ---------- */
.ty{max-width:880px;margin:0 auto;padding-top:64px;padding-bottom:112px;display:flex;flex-direction:column;gap:28px}
.ty-badge{width:64px;height:64px;border-radius:32px;background:#3E1C25;color:#F6ECE8;display:flex;align-items:center;justify-content:center;animation:cbc-badge 560ms cubic-bezier(0.34,1.56,0.64,1) 120ms both}
.ty-badge svg{width:30px;height:30px}
.ty-badge path{stroke-dasharray:24;stroke-dashoffset:24;animation:cbc-draw 520ms ease-out 480ms forwards}
@keyframes cbc-badge{0%{transform:scale(0.4);opacity:0}100%{transform:none;opacity:1}}
.ph-split{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:40px}
.ph-text{display:flex;flex-direction:column;align-items:flex-start;gap:16px;min-width:0}
.turnbox{flex:none;width:300px;height:300px;margin:-36px 0}
.turn{display:block;width:100%;height:100%;object-fit:cover;-webkit-mask-image:radial-gradient(closest-side,#000 72%,transparent 100%);mask-image:radial-gradient(closest-side,#000 72%,transparent 100%)}
.steps3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;margin:0;padding:0;counter-reset:s}
.steps3 li{counter-increment:s;display:flex;flex-direction:column;gap:8px;padding:26px;border-radius:24px;background:#FFFBF9;box-shadow:0 1px 2px rgba(62,28,37,0.05),0 8px 24px rgba(62,28,37,0.06);font-size:15px;line-height:23px;color:#75505A}
.steps3 li::before{content:counter(s);font-family:'Caveat Brush',cursive;font-size:40px;line-height:1;color:#A3405C}
.steps3 li strong{font-family:'Gloock',Georgia,serif;font-weight:400;font-size:22px;line-height:28px;color:#3E1C25}
.steps3 .linkbtn{align-self:flex-start;text-align:left}
.ty-sum{padding:28px 32px;display:flex;flex-direction:column;gap:16px}
.ty-sum h2{margin:0;font-family:'Gloock',Georgia,serif;font-weight:400;font-size:26px;line-height:32px;color:#3E1C25}
.ty .woocommerce-bacs-bank-details,.ty .wc-bacs-bank-details{padding:24px 28px;border-radius:24px;background:#FFFBF9}

@media (prefers-reduced-motion:reduce){
.secok,.prog-bar span,.ropt,.cbc-woo .form-row .input-text,.cbc-woo .in{transition:none}
.co-sec.done .secok path,.ty-badge,.ty-badge path{animation:none;stroke-dashoffset:0}
}

/* ---------- tablets and phones ---------- */
@media (max-width:1279px){
.cartwrap{grid-template-columns:minmax(0,1fr) 360px;gap:32px}
}
@media (max-width:1023px){
.cartwrap{grid-template-columns:minmax(0,1fr) 340px;gap:32px}
.co{grid-template-columns:minmax(0,1fr) 360px;gap:32px}
}
@media (max-width:899px){
.cartwrap,.co{grid-template-columns:minmax(0,1fr);gap:24px;padding-bottom:72px}
.co-sum{position:static}
.pagehead{padding-top:32px;padding-bottom:28px}
.cbc-main .hl{font-size:clamp(2.25rem,10vw,2.75rem) !important;line-height:1.08 !important}
.ty{padding-top:32px;padding-bottom:72px;gap:24px}
.ph-split{flex-direction:column;align-items:flex-start}
.turnbox{width:180px;height:180px;margin:0}
.steps3{grid-template-columns:minmax(0,1fr)}
}
@container (max-width:700px){
.ct-head,.ct-row{grid-template-columns:minmax(0,1fr) 76px 124px 76px;gap:12px}
.ct-set{gap:14px}
.ct-set img{width:72px;height:90px;border-radius:14px}
.ct-name{font-size:21px;line-height:26px}
}
@container (max-width:540px){
.ct-head{display:none}
.ct-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"set set" "qty sub";gap:14px 12px;padding:18px 0}
.ct-set{grid-area:set;gap:14px}
.ct-row > .ct-price{display:none}
.ct-row > .ct-qty{grid-area:qty;justify-self:start}
.ct-row > .ct-sub{grid-area:sub;justify-self:end}
.ct-set img{width:72px;height:90px;border-radius:14px}
.ct-name{font-size:21px;line-height:26px}
.ct-note{flex-direction:column;gap:4px}
}
@media (max-width:599px){
.ctbl{padding:4px 18px 20px}
.ct-empty{padding:28px 20px}
.sum{padding:22px 20px}
.co-sec{padding:22px 20px 24px}
.co-sec legend,.co-h{font-size:23px;line-height:29px}
.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
.woocommerce-billing-fields__field-wrapper > .form-row-first,.woocommerce-billing-fields__field-wrapper > .form-row-last,.woocommerce-shipping-fields__field-wrapper > .form-row-first,.woocommerce-shipping-fields__field-wrapper > .form-row-last{grid-column:span 1}
.cbc-woo #billing_city_field,.cbc-woo #shipping_city_field{grid-column:1 / -1}
.cbc-woo #billing_state_field,.cbc-woo #billing_postcode_field,.cbc-woo #shipping_state_field,.cbc-woo #shipping_postcode_field{grid-column:span 1}
.ty-sum{padding:22px 20px}
.steps3 li{padding:22px}
}

/* ---------- motion (from the canvas): parts ease in as they come into view; the script line of each headline
   wipes in; the bag hops when its count changes; a quantity pops; Place order breathes while it works.
   woo.js adds .mo once it is watching, so without the script everything simply shows. ---------- */
.mo :is(.pagehead > *,.ph-text > *,.crumbs,.ctbl,.sum,.co-sec,.ty > *,.steps3 li,.turnbox){transition:opacity 620ms cubic-bezier(0.22,1,0.36,1) var(--d,0ms),transform 760ms cubic-bezier(0.22,1,0.36,1) var(--d,0ms)}
.mo :is(.pagehead > *,.ph-text > *,.crumbs,.ctbl,.sum,.co-sec,.ty > *,.steps3 li,.turnbox):not(.shown):not(.hl){opacity:0;transform:translateY(10px)}
.mo .hl .hl1{transition:opacity 600ms cubic-bezier(0.22,1,0.36,1) var(--d,0ms),transform 720ms cubic-bezier(0.22,1,0.36,1) var(--d,0ms)}
.mo .hl:not(.shown) .hl1{opacity:0;transform:translateY(12px)}
.mo .hl .hl2{clip-path:inset(-25% -8% -35% -2%);transition:clip-path 950ms cubic-bezier(0.65,0,0.35,1) calc(var(--d,0ms) + 240ms)}
.mo .hl:not(.shown) .hl2{clip-path:inset(-25% 100% -35% -2%)}
.cbc-woo .cartbtn.hop{animation:cbc-hop 520ms cubic-bezier(0.34,1.56,0.64,1)}
@keyframes cbc-hop{0%{transform:scale(1)}35%{transform:scale(1.16) rotate(-6deg)}70%{transform:scale(0.96) rotate(3deg)}100%{transform:none}}
.cbc-woo .quantity input.qty.pop{animation:cbc-pop 260ms cubic-bezier(0.34,1.56,0.64,1)}
@keyframes cbc-pop{0%{transform:scale(1.35)}100%{transform:scale(1)}}
.cbc-woo form.checkout.processing #place_order{pointer-events:none;animation:cbc-busy 1100ms ease-in-out infinite}
@keyframes cbc-busy{0%,100%{opacity:1}50%{opacity:0.72}}
@media (prefers-reduced-motion:reduce){
.mo :is(.pagehead > *,.ph-text > *,.crumbs,.ctbl,.sum,.co-sec,.ty > *,.steps3 li,.turnbox),.mo .hl .hl1,.mo .hl .hl2{opacity:1 !important;transform:none !important;clip-path:none !important;transition:none !important}
.cbc-woo .cartbtn.hop,.cbc-woo .quantity input.qty.pop,.cbc-woo form.checkout.processing #place_order{animation:none}
}

/* review fixes (2026-10-23) */
.cbc-woo .woocommerce-form-coupon-toggle .woocommerce-info,.cbc-woo .woocommerce-form-login-toggle .woocommerce-info{margin:0 0 24px;padding:18px 24px;border:0;border-radius:24px;box-shadow:0 1px 2px rgba(62,28,37,0.05),0 12px 30px rgba(62,28,37,0.08)}
.admin-bar .co-sum{top:56px}
.co-jump{display:none}
@media (max-width:899px){
/* phones: the order total sits at the top of checkout, with a jump to the full summary */
.co-jump{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-radius:20px;background:#FFFBF9;box-shadow:0 1px 2px rgba(62,28,37,0.05),0 8px 24px rgba(62,28,37,0.06);font-size:16px;line-height:24px;color:#3E1C25;font-variant-numeric:tabular-nums}
.co-jump strong{margin-left:6px}
.co-jump a{color:#3E1C25;font-weight:600;font-size:15px;text-underline-offset:3px}
}
@media (max-width:599px){
/* thank you: the turning nail tucks into the top corner instead of leaving a gap */
.ph-split{position:relative}
.turnbox{position:absolute;top:-10px;right:-6px;width:118px;height:118px;margin:0}
.ty-cta .btn{flex:1 1 100%}
.cbc-woo #billing_state_field,.cbc-woo #billing_postcode_field,.cbc-woo #shipping_state_field,.cbc-woo #shipping_postcode_field{grid-column:1 / -1}
}

/* code review fixes (2026-10-23) */
.co-sum{max-height:calc(100vh - 48px);overflow:auto;overscroll-behavior:contain}
.admin-bar .co-sum{max-height:calc(100vh - 80px)}
@media (max-width:899px){.co-sum,.admin-bar .co-sum{max-height:none;overflow:visible}}
/* shorter laptop screens (1280×720 and the like): the summary scrolls with the page, so Place order is never hidden inside it */
@media (max-height:879px){.co-sum,.admin-bar .co-sum{position:static;max-height:none;overflow:visible}}
.wc-proceed-to-checkout{display:flex;flex-direction:column;gap:12px}
.wc-proceed-to-checkout > *{width:100%}
.cbc-rows{width:100%;border-collapse:collapse;font-size:16px;line-height:24px;color:#5E3E47}
.cbc-rows th,.cbc-rows td{padding:2px 0;font-weight:400;text-align:left;vertical-align:top}
.cbc-rows td:last-child{text-align:right}
.cbc-woo ul.woocommerce-SavedPaymentMethods{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:8px}
.cbc-woo .woocommerce-SavedPaymentMethods-saveNew,.cbc-woo .woocommerce-SavedPaymentMethods-saveNew label{display:flex;align-items:center;gap:10px;font-size:15px}
.ct-qty > .quantity:has(input.qty[type="hidden"]){border:0;padding:0}
/* the reveal waits for the script; if it never runs, everything shows after 3 s */
.mo :is(.pagehead > *,.ph-text > *,.crumbs,.ctbl,.sum,.co-sec,.ty > *,.steps3 li,.turnbox):not(.shown):not(.hl){animation:cbc-rv-safety 1ms 3s forwards}
.mo .hl:not(.shown) .hl1,.mo .hl:not(.shown) .hl2{animation:cbc-rv-safety-h 1ms 3s forwards}
.mo.rv-live :is(.pagehead > *,.ph-text > *,.crumbs,.ctbl,.sum,.co-sec,.ty > *,.steps3 li,.turnbox):not(.shown),.mo.rv-live .hl:not(.shown) .hl1,.mo.rv-live .hl:not(.shown) .hl2{animation:none}
@keyframes cbc-rv-safety{to{opacity:1;transform:none}}
@keyframes cbc-rv-safety-h{to{opacity:1;transform:none;clip-path:inset(-25% -8% -35% -2%)}}
/* WordPress: between tablets and laptops (900–1199 wide) City gets its own line and State / ZIP share the next,
   so "Select an option…" is never cut off */
@media (min-width:900px) and (max-width:1199px){
.cbc-woo #billing_city_field,.cbc-woo #shipping_city_field{grid-column:1 / -1}
.cbc-woo #billing_state_field,.cbc-woo #billing_postcode_field,.cbc-woo #shipping_state_field,.cbc-woo #shipping_postcode_field{grid-column:span 3}
}
@media (pointer:coarse){details.code > summary{padding-block:10px;margin-block:-10px}}

/* v1.3.12: "How to apply" box on the thank-you page (Christy's steps; pictures + how to take them off are on the Fit guide) */
.ty-apply{padding:28px 32px;display:flex;flex-direction:column;gap:14px}
.ty-apply .eyebrow,.ty-apply .hl{margin:0}
.ty-steps{margin:4px 0 0;padding:0;list-style:none;counter-reset:ap;display:grid;gap:12px}
.ty-steps li{counter-increment:ap;position:relative;padding-left:40px;font-size:15px;line-height:23px;color:#5E3E47}
.ty-steps li strong{color:#3E1C25}
.ty-steps li::before{content:counter(ap);position:absolute;left:0;top:-2px;width:28px;height:28px;border-radius:9999px;background:#3E1C25;color:#F6ECE8;font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:center}
.ty-more{display:inline-flex;align-items:center;gap:8px;min-height:44px;align-self:flex-start;font-size:15px;font-weight:600;color:#3E1C25;text-decoration:none}
.ty-more svg{transition:transform 300ms cubic-bezier(0.32,0.72,0,1)}
.ty-more:focus-visible{outline:2px solid #A3405C;outline-offset:3px;border-radius:6px}
@media (hover:hover){.ty-more:hover{color:#A3405C}.ty-more:hover svg{transform:translateX(4px)}}
@media (prefers-reduced-motion:reduce){.ty-more svg{transition:none}}
@media (max-width:599px){.ty-apply{padding:22px 20px}.ty-apply .hl{font-size:clamp(2rem,9vw,2.5rem) !important;line-height:1.1 !important}}
