/* CT Course Hub - cart and checkout (WooCommerce form inside the new design) */
.cth .co-hero .ca-hero-in{padding-bottom:30px}
.cth .co-body{padding:28px 0 56px}
.cth .co-in{max-width:1180px}
.cth .co-in .woocommerce{font-family:inherit;color:var(--ink)}
.cth .co-in h2,.cth .co-in h3{font-family:inherit;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.cth .co-in h3{font-size:19px;margin:0 0 14px}
.cth .co-in a{color:var(--pink)}
/* notices */
.cth .woocommerce-message,.cth .woocommerce-info,.cth .woocommerce-error{list-style:none;margin:0 0 18px;padding:14px 18px;border-radius:12px;border:0;background:#fff0f6;color:var(--ink);font-size:14px;display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;justify-content:space-between}
.cth .woocommerce-message:before,.cth .woocommerce-info:before,.cth .woocommerce-error:before{display:none}
.cth .woocommerce-error{background:#fff1f1;color:#b3261e}
.cth .woocommerce-message .button,.cth .woocommerce-info .button{order:2;margin:0}
/* layout */
.cth form.checkout{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:28px;align-items:start}
.cth form.checkout #customer_details{grid-column:1;grid-row:1/span 3}
.cth form.checkout #customer_details .col-1,.cth form.checkout #customer_details .col-2{float:none;width:100%;max-width:none}
.cth form.checkout #order_review_heading{grid-column:2;grid-row:1;margin:0}
.cth form.checkout #order_review{grid-column:2;grid-row:2;background:#fff;border:1px solid #f1e6ec;border-radius:16px;padding:20px;box-shadow:0 8px 28px rgba(40,30,80,.07)}
.cth form.checkout .woocommerce-billing-fields,.cth form.checkout .woocommerce-additional-fields,.cth form.checkout .woocommerce-shipping-fields{background:#fff;border:1px solid #f1e6ec;border-radius:16px;padding:22px;margin-bottom:18px;box-shadow:0 8px 28px rgba(40,30,80,.05)}
/* fields */
.cth .form-row{margin:0 0 14px;padding:0}
.cth .form-row label{display:block;margin:0 0 6px;font-size:13px;font-weight:500;color:var(--ink)}
.cth .form-row .required{color:var(--pink);text-decoration:none}
.cth input.input-text,.cth textarea,.cth select,.cth .select2-container .select2-selection--single{width:100%;box-sizing:border-box;border:1px solid #e9dfe5;border-radius:10px;background:#fff;padding:12px 14px;font:inherit;font-size:14px;color:var(--ink);height:auto;min-height:46px;line-height:1.4}
.cth .select2-container .select2-selection--single .select2-selection__rendered{padding:0;line-height:22px;color:var(--ink)}
.cth .select2-container .select2-selection--single .select2-selection__arrow{height:44px}
.cth input.input-text:focus,.cth textarea:focus,.cth select:focus{outline:0;border-color:var(--pink);box-shadow:0 0 0 3px rgba(255,44,120,.12)}
.cth .form-row.woocommerce-invalid input.input-text{border-color:#e5484d}
/* order table */
.cth table.shop_table{width:100%;border:0;border-collapse:collapse;margin:0 0 14px;font-size:14px}
.cth table.shop_table th,.cth table.shop_table td{border:0;border-bottom:1px solid #f4edf0;padding:12px 4px;text-align:left;background:none;vertical-align:top}
.cth table.shop_table thead th{font-size:12px;font-weight:600;color:var(--muted)}
.cth table.shop_table td:last-child,.cth table.shop_table th:last-child{text-align:right}
.cth table.shop_table .order-total th,.cth table.shop_table .order-total td{font-size:17px;font-weight:700;color:var(--pink)}
.cth table.shop_table img{width:64px;height:auto;border-radius:8px}
.cth table.shop_table td.product-name{min-width:150px}
/* payment */
.cth #payment{background:none;border:0;border-radius:0}
.cth #payment ul.payment_methods{list-style:none;margin:0 0 14px;padding:0;border:0}
.cth #payment ul.payment_methods>li{border:1px solid #f1e6ec;border-radius:12px;padding:12px 14px;margin:0 0 10px;background:#fff}
.cth #payment ul.payment_methods>li label{display:inline;font-weight:600;font-size:14px}
.cth #payment div.payment_box{background:#fff7fa;border-radius:10px;color:var(--ink);font-size:13px;padding:12px;margin:10px 0 0}
.cth #payment div.payment_box:before{display:none}
.cth .woocommerce-privacy-policy-text{font-size:12px;color:var(--muted);line-height:1.6}
/* buttons */
.cth .co-in .button,.cth #place_order,.cth button.button.alt{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:var(--pink);color:#fff!important;font:inherit;font-size:14px;font-weight:600;padding:13px 24px;cursor:pointer;text-decoration:none;transition:filter .2s,transform .2s}
.cth .co-in .button:hover,.cth #place_order:hover{filter:brightness(1.07);color:#fff}
.cth #place_order{width:100%;padding:15px;font-size:16px;float:none}
/* cart page */
.cth .woocommerce-cart-form table.shop_table td.product-remove a{color:#999!important;font-size:22px;text-decoration:none}
.cth .woocommerce-cart-form .quantity .qty{width:70px;border:1px solid #e9dfe5;border-radius:10px;padding:10px;text-align:center}
.cth .woocommerce-cart-form .coupon{display:flex;gap:8px;flex-wrap:wrap}
.cth .woocommerce-cart-form .coupon input{width:auto;min-width:180px}
.cth .cart-collaterals{display:flex;justify-content:flex-end;margin-top:22px}
.cth .cart_totals{width:100%;max-width:420px;background:#fff;border:1px solid #f1e6ec;border-radius:16px;padding:20px;float:none}
.cth .cart_totals .checkout-button{width:100%}
/* coupon / login toggles above the form */
.cth form.checkout_coupon,.cth form.woocommerce-form-login{border:1px solid #f1e6ec;border-radius:12px;padding:16px;margin:0 0 18px}
/* order received */
.cth .woocommerce-order{max-width:760px}
.cth .woocommerce-thankyou-order-received{font-size:18px;font-weight:600;color:var(--pink)}
.cth ul.order_details{list-style:none;display:flex;flex-wrap:wrap;gap:14px 28px;padding:16px;background:#fff7fa;border-radius:12px;margin:18px 0}
@media(max-width:900px){
.cth form.checkout{grid-template-columns:1fr}
.cth form.checkout #customer_details,.cth form.checkout #order_review_heading,.cth form.checkout #order_review{grid-column:1;grid-row:auto}
.cth form.checkout #order_review_heading{margin-top:6px}
}
@media(max-width:620px){
.cth .co-body{padding:20px 0 40px}
.cth form.checkout .woocommerce-billing-fields,.cth form.checkout .woocommerce-additional-fields,.cth form.checkout .woocommerce-shipping-fields,.cth form.checkout #order_review{padding:16px}
.cth table.shop_table.shop_table_responsive tr td{display:block;text-align:right}
}
/* after payment: start learning */
.cth .co-learn{display:flex;align-items:center;justify-content:space-between;gap:20px 28px;flex-wrap:wrap;background:linear-gradient(100deg,#fff5f8,#ffe9f1);border:1px solid #ffd3e3;border-radius:16px;padding:22px 26px;margin:0 0 26px}
.cth .co-learn-t{flex:1 1 380px;min-width:0}
.cth .co-learn h2{margin:0 0 6px;font-size:20px}
.cth .co-learn p{margin:0;font-size:14px;color:#2f3a4a;line-height:1.6}
.cth .co-learn ul{margin:10px 0 0;padding-left:18px;font-size:13.5px}
.cth .co-learn-btn{display:inline-flex;align-items:center;justify-content:center;background:var(--pink);color:#fff!important;border-radius:12px;padding:15px 30px;font-size:16px;font-weight:600;box-shadow:0 10px 24px rgba(255,44,120,.3);text-decoration:none}
.cth .co-learn-btn:hover{filter:brightness(1.07)}
@media(max-width:620px){.cth .co-learn{padding:18px}.cth .co-learn-btn{width:100%}}
/* cart table: picture next to the name */
.cth table.shop_table.cart{table-layout:auto;width:100%}
.cth table.shop_table.cart th.product-thumbnail,.cth table.shop_table.cart td.product-thumbnail{width:84px;padding-right:12px}
.cth table.shop_table.cart td.product-thumbnail a{display:block}
.cth table.shop_table.cart td.product-thumbnail img{width:72px;height:auto;display:block}
.cth table.shop_table.cart th.product-name,.cth table.shop_table.cart td.product-name{width:auto;text-align:left}
.cth table.shop_table.cart th.product-price,.cth table.shop_table.cart td.product-price,.cth table.shop_table.cart th.product-quantity,.cth table.shop_table.cart td.product-quantity,.cth table.shop_table.cart th.product-subtotal,.cth table.shop_table.cart td.product-subtotal{width:1%;white-space:nowrap;padding-left:16px}
.cth table.shop_table.cart th.product-remove,.cth table.shop_table.cart td.product-remove{width:28px;padding:0}
.cth table.shop_table.cart td.product-name a{color:var(--ink);font-weight:500}
.cth table.shop_table.cart td.product-name a:hover{color:var(--pink)}
.cth table.shop_table.cart td.actions{padding:16px 0 0;border:0}
.cth table.shop_table.cart td.actions .coupon{display:flex;align-items:center;gap:10px;float:left;flex-wrap:wrap}
.cth table.shop_table.cart td.actions .coupon label{display:none}
.cth table.shop_table.cart td.actions>button{float:right}
.cth .co-hero .ca-hero-in{padding-bottom:22px}
.cth .co-body{padding-top:20px}
.cth .co-in .woocommerce-notices-wrapper:empty{display:none}
@media(max-width:620px){
.cth table.shop_table.cart td.product-thumbnail,.cth table.shop_table.cart td.product-price,.cth table.shop_table.cart td.product-quantity,.cth table.shop_table.cart td.product-subtotal{width:auto;white-space:normal}
.cth table.shop_table.cart td.actions .coupon,.cth table.shop_table.cart td.actions>button{float:none;width:100%}
}
/* cart bottom: suggestions on the left, totals on the right */
.cth .cart-collaterals{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:28px;align-items:start;margin-top:26px}
.cth .cart-collaterals .cross-sells{grid-column:1;grid-row:1;min-width:0;float:none;width:auto}
.cth .cart-collaterals .cart_totals{grid-column:2;grid-row:1;max-width:none;width:auto}
.cth .cross-sells>h2{font-size:20px;margin:0 0 14px}
.cth .cross-sells .products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0;padding:0}
.cth .cross-sells .edublink-single-product-item{width:auto;max-width:none;padding:0;margin:0;float:none;background:#fff;border:1px solid #f1e6ec;border-radius:14px;overflow:hidden;box-shadow:0 6px 20px rgba(40,30,80,.06)}
.cth .cross-sells .edublink-single-product-item:nth-child(n+5){display:none}
.cth .cross-sells .edublink-single-product-inner{display:flex;flex-direction:column;height:100%}
.cth .cross-sells .edublink-single-product-thumb-wrapper{position:relative;aspect-ratio:16/9;background:#fff}
.cth .cross-sells .edublink-single-product-thumb-wrapper img{width:100%;height:100%;object-fit:cover;display:block}
.cth .cross-sells .product-over-info{position:static;opacity:1;visibility:visible;padding:10px 12px 0;order:3}
.cth .cross-sells .product-over-info ul{list-style:none;margin:0;padding:0}
.cth .cross-sells .product-over-info .button{width:100%;padding:10px 12px;font-size:13px}
.cth .cross-sells .content{padding:12px 14px 14px;order:2}
.cth .cross-sells .content h2,.cth .cross-sells .woocommerce-loop-product__title{font-size:14px;font-weight:600;line-height:1.45;margin:0 0 6px;color:var(--ink)}
.cth .cross-sells .price{font-size:15px;font-weight:700;color:var(--pink)}
.cth .cross-sells .star-rating{display:none}
.cth .cart_totals h2{font-size:20px;margin:0 0 12px}
.cth .wc-proceed-to-checkout a.checkout-button,.cth a.checkout-button.button.alt{background:var(--pink)!important;color:#fff!important;width:100%;box-sizing:border-box;text-align:center;border-radius:10px;padding:15px;font-size:16px}
@media(max-width:900px){
.cth .cart-collaterals{grid-template-columns:1fr}
.cth .cart-collaterals .cross-sells,.cth .cart-collaterals .cart_totals{grid-column:1;grid-row:auto}
}
@media(max-width:620px){.cth .cross-sells .products{grid-template-columns:1fr}}
/* force the picture column to hug the picture and the name column to take the rest */
.cth table.shop_table.cart th.product-thumbnail,.cth table.shop_table.cart td.product-thumbnail{width:1%;white-space:nowrap}
.cth table.shop_table.cart th.product-name,.cth table.shop_table.cart td.product-name{width:100%}
/* fixed column widths: picture 96, name takes the rest */
@media(min-width:621px){
.cth table.shop_table.cart{table-layout:fixed}
.cth table.shop_table.cart th.product-thumbnail,.cth table.shop_table.cart td.product-thumbnail{width:96px;min-width:0;white-space:normal}
.cth table.shop_table.cart th.product-name,.cth table.shop_table.cart td.product-name{width:auto;min-width:0}
.cth table.shop_table.cart th.product-price,.cth table.shop_table.cart td.product-price{width:120px}
.cth table.shop_table.cart th.product-quantity,.cth table.shop_table.cart td.product-quantity{width:90px}
.cth table.shop_table.cart th.product-subtotal,.cth table.shop_table.cart td.product-subtotal{width:120px}
.cth table.shop_table.cart th.product-remove,.cth table.shop_table.cart td.product-remove{width:36px}
}
/* suggestions go under the totals, full width */
.cth .cart-collaterals{display:flex;flex-direction:column;gap:34px;align-items:stretch}
.cth .cart-collaterals .cart_totals{order:1;align-self:flex-end;width:100%;max-width:420px}
.cth .cart-collaterals .cross-sells{order:2;width:100%}
.cth .cross-sells .products{grid-template-columns:repeat(4,minmax(0,1fr))}
.cth .cross-sells .content h2,.cth .cross-sells .woocommerce-loop-product__title{display:block;color:var(--ink)}
@media(max-width:1000px){.cth .cross-sells .products{grid-template-columns:repeat(2,minmax(0,1fr))}.cth .cart-collaterals .cart_totals{align-self:stretch;max-width:none}}
@media(max-width:560px){.cth .cross-sells .products{grid-template-columns:1fr}}

/* cart actions: coupon on the left in one row, update cart on the right */
.cth table.shop_table.cart td.actions{display:table-cell;padding:18px 0 0}.cth table.shop_table.cart td.actions:after{content:"";display:block;clear:both}
.cth table.shop_table.cart td.actions .coupon{display:flex;align-items:stretch;gap:10px;float:left;width:min(100%,460px);flex-wrap:nowrap;margin:0}
.cth table.shop_table.cart td.actions .coupon .input-text{flex:1 1 auto;width:auto;min-width:0;height:48px;margin:0;padding:0 16px;border-radius:12px}
.cth table.shop_table.cart td.actions .coupon button,.cth table.shop_table.cart td.actions>button.update-cart{height:48px;margin:0;padding:0 24px;border-radius:12px;white-space:nowrap;line-height:1;display:inline-flex;align-items:center;justify-content:center;font-size:15px}
.cth table.shop_table.cart td.actions>button.update-cart{float:right;width:auto}
@media(max-width:620px){
.cth table.shop_table.cart,.cth table.shop_table.cart tbody{display:block;width:100%;max-width:100%}
.cth table.shop_table.cart td.actions{display:block;width:100%;max-width:100%;box-sizing:border-box}
.cth table.shop_table.cart td.actions .coupon{float:none;width:100%;max-width:100%;margin-bottom:10px}
.cth table.shop_table.cart td.actions>button.update-cart{float:none;width:100%}
}

/* remove (x) button clearly visible; update cart hidden while nothing can change */
.cth table.shop_table.cart td.product-remove a.remove{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#ffe3ee;color:#ff2c78!important;font-size:18px;font-weight:700;line-height:1;text-decoration:none;transition:background .15s,color .15s}
.cth table.shop_table.cart td.product-remove a.remove:hover{background:#ff2c78;color:#fff!important}
.cth table.shop_table.cart td.actions>button.update-cart[disabled]{display:none}

/* the theme icon font is not loaded here: draw the cross with plain text */
.cth table.shop_table.cart td.product-remove a.remove i{display:none}
.cth table.shop_table.cart td.product-remove a.remove:before{content:"\00d7";font-family:Prompt,system-ui,sans-serif;font-size:22px;font-weight:500;line-height:1;margin-top:-2px}
.cth table.shop_table.cart td.product-remove a.remove{background:#ffd3e3}
.cth table.shop_table.cart td.product-remove{vertical-align:top}
.cth table.shop_table.cart td.product-remove a.remove{margin-top:9px}
@media(max-width:620px){
.cth table.shop_table.cart tr.cart_item{position:relative}
.cth table.shop_table.cart td.product-remove{position:absolute;top:3px;right:0;width:auto;padding:0;border:0}
}

/* "You may be interested in": same card look as the home page */
.cth .cross-sells>h2{font-size:clamp(22px,2.4vw,28px);font-weight:700;letter-spacing:-.03em;margin:0 0 18px;color:var(--ink)}
.cth .cross-sells .products{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.cth .cross-sells .edublink-single-product-item:nth-child(n+4){display:none}
.cth .cross-sells .edublink-single-product-item{border:0;border-radius:18px;box-shadow:0 8px 28px rgba(40,30,80,.1);transition:transform .2s,box-shadow .2s}
.cth .cross-sells .edublink-single-product-item:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(40,30,80,.16)}
.cth .cross-sells .edublink-single-product-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:start;column-gap:12px;padding:0 0 18px}
.cth .cross-sells .edublink-single-product-thumb-wrapper{grid-column:1/-1;grid-row:1;margin:0;border-radius:0}
.cth .cross-sells .content{display:contents}
.cth .cross-sells .content>a{grid-column:1/-1;grid-row:2;padding:16px 18px 0;display:block}
.cth .cross-sells .content h2,.cth .cross-sells .woocommerce-loop-product__title{font-size:17px;font-weight:700;line-height:1.4;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cth .cross-sells .content .price{grid-column:1;grid-row:3;align-self:center;padding:14px 0 0 18px;font-size:18px;font-weight:700;color:var(--pink)}
.cth .cross-sells .product-over-info{grid-column:2;grid-row:3;align-self:center;padding:14px 18px 0 0}
.cth .cross-sells .product-over-info .button{width:auto;height:44px;padding:0 18px;border-radius:12px;font-size:14px;display:inline-flex;align-items:center;white-space:nowrap}
@media(max-width:1000px){.cth .cross-sells .products{grid-template-columns:repeat(2,minmax(0,1fr))}.cth .cross-sells .edublink-single-product-item:nth-child(n+3){display:none}}
@media(max-width:560px){.cth .cross-sells .products{grid-template-columns:1fr}.cth .cross-sells .edublink-single-product-item:nth-child(n+3){display:block}.cth .cross-sells .edublink-single-product-item:nth-child(n+4){display:none}}
.cth .cross-sells .edublink-single-product-thumb-wrapper{display:contents}
.cth .cross-sells .edublink-single-product-thumb-wrapper>a{grid-column:1/-1;grid-row:1;display:block;aspect-ratio:16/9;overflow:hidden}
.cth .cross-sells .edublink-single-product-thumb-wrapper>a img{width:100%;height:100%;object-fit:cover;display:block}
.cth .cross-sells .edublink-single-product-thumb-wrapper>.product-over-info{position:static;transform:none;opacity:1;visibility:visible;width:auto;background:none}

/* coupon row: drop clearfix pseudo-elements that act as flex items */
.cth table.shop_table.cart td.actions .coupon:before,.cth table.shop_table.cart td.actions .coupon:after{display:none;content:none}
@media(max-width:620px){
.cth table.shop_table.cart td.product-thumbnail{width:100%;padding:14px 0 0}
.cth table.shop_table.cart td.product-thumbnail img{width:88px;height:auto}
.cth table.shop_table.cart td.product-name{padding-top:10px}
}
@media(max-width:620px){
.cth table.shop_table.cart td.product-thumbnail,.cth table.shop_table.cart td.product-remove{text-align:left!important}
.cth table.shop_table.cart td.product-thumbnail:before,.cth table.shop_table.cart td.product-remove:before{display:none!important;content:none!important}
.cth table.shop_table.cart td.product-thumbnail img{margin:0;float:none}
.cth table.shop_table.cart td.product-thumbnail a{display:inline-block}
}
@media(max-width:620px){
.cth table.shop_table.cart td.product-thumbnail{padding:16px 0 16px;border-bottom:0}
.cth table.shop_table.cart td.product-name{display:block;text-align:left!important;padding:0 0 16px;border-bottom:1px solid #f1e6ec;font-size:16px;line-height:1.5}
.cth table.shop_table.cart td.product-name:before{display:none!important;content:none!important}
.cth table.shop_table.cart td.product-name a{font-weight:600}
.cth table.shop_table.cart td.product-remove{top:16px}
.cth table.shop_table.cart td.product-remove a.remove{margin-top:0;width:30px;height:30px}
.cth table.shop_table.cart td.product-price,.cth table.shop_table.cart td.product-quantity,.cth table.shop_table.cart td.product-subtotal{padding:13px 4px}
}
.cth table.shop_table.cart td.actions{background:transparent!important}
.cth table.shop_table.cart td.product-remove a.remove:before{font-size:26px;font-weight:400;margin-top:-3px}
@media(max-width:620px){.cth .cart-collaterals{margin-top:8px}}

/* cart list sits in a white card, like the totals box */
.cth form.woocommerce-cart-form{background:#fff;border:1px solid #f1e6ec;border-radius:18px;padding:12px 24px 24px;box-shadow:0 8px 28px rgba(40,30,80,.06)}
@media(max-width:620px){.cth form.woocommerce-cart-form{padding:6px 16px 18px;border-radius:16px}}
@media(max-width:620px){
.cth table.shop_table.cart td.product-price,.cth table.shop_table.cart td.product-quantity,.cth table.shop_table.cart td.product-subtotal{padding:14px 16px}
}
@media(max-width:620px){
.cth table.shop_table.cart td.product-thumbnail{padding:16px 16px 16px}
.cth table.shop_table.cart td.product-name{padding:0 16px 16px}
.cth table.shop_table.cart td.product-remove{right:16px}
}

/* checkout grid: wallet buttons, "OR" and error notices take their own full-width rows above the two columns */
.cth form.checkout>.woocommerce-NoticeGroup,.cth form.checkout>.woocommerce-NoticeGroup-checkout,.cth form.checkout>.wc-stripe-express-checkout-element,.cth form.checkout>#wc-stripe-express-checkout-element,.cth form.checkout>.wc-stripe-express-checkout-button-separator,.cth form.checkout>[class*="express-checkout-button-separator"],.cth form.checkout>[class*="payment-request"]{grid-column:1/-1;grid-row:auto;width:100%;max-width:none;margin:0}
.cth form.checkout>wc-order-attribution-inputs{display:none}
.cth form.checkout>.wc-stripe-express-checkout-element{display:flex;gap:12px;flex-wrap:wrap}
.cth form.checkout>[class*="express-checkout-button-separator"]{text-align:center;margin:0!important;padding:0}
.cth form.checkout #customer_details{grid-column:1;grid-row:span 2}
.cth form.checkout #order_review_heading{grid-column:2;grid-row:auto}
.cth form.checkout #order_review{grid-column:2;grid-row:auto}
@media(max-width:900px){.cth form.checkout #customer_details,.cth form.checkout #order_review_heading,.cth form.checkout #order_review{grid-column:1;grid-row:auto}}
.cth form.checkout>#wc-stripe-express-checkout-element,.cth form.checkout>#wc-stripe-express-checkout-button-separator,.cth form.checkout>.woocommerce-NoticeGroup,.cth form.checkout>.woocommerce-notices-wrapper{grid-column:1/-1!important;grid-row:auto!important;width:100%;max-width:none;margin:0!important}
.cth form.checkout>#wc-stripe-express-checkout-button-separator{text-align:center;padding:0}
.cth form.checkout>#wc-stripe-express-checkout__order-attribution-inputs{display:none}
.cth form.checkout #order_review_heading{margin-bottom:-14px;font-size:22px}

/* "Have a coupon? Click here": one tidy line, link right after the text */
.cth .woocommerce-form-coupon-toggle .woocommerce-info,.cth .woocommerce-form-login-toggle .woocommerce-info{display:block;padding:16px 20px;line-height:1.6;font-size:15px;margin-bottom:16px}
.cth .woocommerce-form-coupon-toggle .woocommerce-info a,.cth .woocommerce-form-login-toggle .woocommerce-info a{color:var(--pink);font-weight:600;text-decoration:underline;text-underline-offset:3px;margin-left:6px}
.cth form.checkout_coupon{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch;background:#fff;border:1px solid #f1e6ec;border-radius:14px;padding:16px 20px;margin:0 0 18px}
.cth form.checkout_coupon>p{margin:0}
.cth form.checkout_coupon>p:first-child{flex:1 1 100%;color:var(--muted)}
.cth form.checkout_coupon .form-row-first{flex:1 1 220px}
.cth form.checkout_coupon .form-row-first input{width:100%;height:48px;border-radius:12px}
.cth form.checkout_coupon .form-row-last button{height:48px;padding:0 24px;border-radius:12px;white-space:nowrap}
.cth form.checkout_coupon .clear{display:none}

/* fixed row slots so the "Your order" heading hugs its box and never gets stretched */
@media(min-width:901px){
.cth form.checkout{row-gap:0;column-gap:28px;grid-template-rows:auto auto auto auto 1fr;align-items:start}
.cth form.checkout>.woocommerce-NoticeGroup,.cth form.checkout>.woocommerce-notices-wrapper{grid-row:1!important;margin-bottom:18px!important}
.cth form.checkout>#wc-stripe-express-checkout-element{grid-row:2!important;margin-bottom:14px!important}
.cth form.checkout>#wc-stripe-express-checkout-button-separator{grid-row:3!important;margin-bottom:18px!important}
.cth form.checkout #customer_details{grid-column:1;grid-row:4/span 2}
.cth form.checkout #order_review_heading{grid-column:2;grid-row:4;margin:0 0 14px;align-self:end}
.cth form.checkout #order_review{grid-column:2;grid-row:5;align-self:start}
}
@media(max-width:900px){
.cth form.checkout{row-gap:16px;grid-template-rows:none}
.cth form.checkout #order_review_heading{margin:8px 0 -4px}
}

/* notices: text on the left, button on the right with a clear gap; stacks on small screens */
.cth ul.woocommerce-error,.cth .woocommerce-message,.cth .woocommerce-info{padding:16px 20px;gap:12px 20px}
.cth ul.woocommerce-error li{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;width:100%;margin:0;line-height:1.6}
.cth ul.woocommerce-error li+li{margin-top:8px}
.cth ul.woocommerce-error li .button,.cth .woocommerce-message .button{flex:0 0 auto;order:2;margin:0;padding:10px 22px;border-radius:10px;white-space:nowrap}
@media(max-width:620px){
.cth ul.woocommerce-error li,.cth .woocommerce-message{flex-direction:column;align-items:stretch}
.cth ul.woocommerce-error li .button,.cth .woocommerce-message .button{text-align:center;justify-content:center;width:100%}
}

.cth .co-learn-go{flex:1 1 100%;margin:10px 0 0;font-size:14px;color:var(--muted)}
.cth .co-learn-go b{color:var(--pink)}
.cth .co-learn-go a{color:var(--pink);font-weight:600;text-decoration:underline}

/* login and register pages */
.cth .co-account .entry-content,.cth .co-account>div,.cth .co-account>.woocommerce{max-width:520px;margin-left:auto;margin-right:auto}
.cth .co-account form{background:#fff;border:1px solid #f1e6ec;border-radius:18px;padding:26px;box-shadow:0 8px 28px rgba(40,30,80,.07)}
.cth .co-account label{display:block;font-size:14px;font-weight:600;color:var(--ink);margin:0 0 6px}
.cth .co-account form p{margin:0 0 16px}
.cth .co-account input[type=text],.cth .co-account input[type=email],.cth .co-account input[type=password],.cth .co-account input[type=tel]{width:100%;height:48px;padding:0 14px;border:1px solid #e3d5dd;border-radius:12px;font-size:15px;box-sizing:border-box;background:#fff}
.cth .co-account input[type=submit],.cth .co-account button[type=submit]{width:100%;height:50px;border:0;border-radius:12px;background:var(--pink);color:#fff;font-weight:700;font-size:16px;cursor:pointer}
.cth .co-account input[type=checkbox]{margin-right:8px}
.cth .co-account .ctsl-buttons{display:flex;flex-direction:column;gap:10px;margin:0 0 18px}
.cth .co-account a{color:var(--pink)}

/* social login buttons: same look as the other buttons */
.cth .co-account p:empty{display:none}
.cth .co-account .ctsl-buttons{gap:12px;margin:0 0 22px}
.cth .co-account .ctsl-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:52px;padding:0 18px;box-sizing:border-box;border:1px solid #e3d5dd;border-radius:12px;background:#fff;color:var(--ink)!important;font-family:inherit;font-size:15px;font-weight:600;line-height:1.2;text-decoration:none!important;box-shadow:0 2px 8px rgba(40,30,80,.05);transition:border-color .15s,background .15s,box-shadow .15s}
.cth .co-account .ctsl-button:hover{border-color:var(--pink);background:#fff7fa;box-shadow:0 6px 16px rgba(255,44,120,.12)}
.cth .co-account .ctsl-button svg,.cth .co-account .ctsl-button img{width:22px;height:22px;flex:0 0 22px}

/* same extra room above the breadcrumb on the cart, checkout and account pages */
.cth .co-hero .ca-hero-in{padding-top:44px}
@media(max-width:620px){.cth .co-hero .ca-hero-in{padding-top:32px}}
