/* Checkout only (enqueued by the child theme on is_checkout()). */
.ta-co-icon{flex:none;vertical-align:middle}
/* Summary bar, phones only (the order card stands beside the steps from 992px): bag + count + total, pencil to the cart */
.ta-checkout-summary p{display:flex;align-items:center;gap:6px;margin:0 0 16px;padding:4px 4px 4px 14px;background:var(--ta-sun-50,#fff4ea);border:1px solid var(--ta-sun-100,#ffe5cc);border-radius:10px;font-size:15px;line-height:1.4}
.ta-checkout-summary a{color:var(--ta-sun-800,#7c300d);text-decoration:none}
.ta-checkout-summary-detail{display:flex;flex:1;align-items:center;gap:8px;min-width:0;min-height:44px}.ta-checkout-summary-detail span{flex:1;min-width:0}
.ta-checkout-summary-edit{display:inline-flex;flex:none;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%}.ta-checkout-summary-edit:hover{background:var(--ta-sun-100,#ffe5cc)}
@media(min-width:992px){.ta-checkout-summary{display:none}}
.ta-checkout-import-notice p{margin:0 0 18px;padding:12px 16px;background:#fff8e6;border-left:4px solid #c99a2e;border-radius:6px;font-size:13px;line-height:1.6;color:#4a3b16}
.ta-commerce .woocommerce form .form-row .description{display:block;margin-top:6px;font-size:12px;line-height:1.5;color:#666}
/* Steps and title: completed step ticked and linked, flow-page H1 smaller than the catalogue's. Orange = the purchase (teranga-shop.css). */
.ta-shop-steps .is-done{color:var(--ta-sun-800,#7c300d);border-color:var(--ta-sun-200,#fcc999)}.ta-shop-steps .is-done a{color:inherit;text-decoration:none}.ta-shop-steps .is-done a:hover{text-decoration:underline}
.ta-commerce .ta-shop-steps~h1{font-size:clamp(30px,3vw,40px)}
/* Layout: wrappers from teranga-commerce/checkout.php replace the floats of teranga-shop.css and Storefront (55%/40%, margin-right 5.88%, clear:right). */
.ta-commerce .ta-checkout-main .col2-set,.ta-commerce .ta-checkout-side #order_review_heading,.ta-commerce .ta-checkout-side #order_review{width:auto;float:none;margin-right:0;clear:none}
.ta-checkout-side{margin-top:32px;padding:24px;border:1px solid #e6e1d4;border-radius:12px;background:#fbfaf6}
.ta-commerce .ta-checkout-side #order_review_heading{margin:0 0 14px;padding:0;font-size:24px}
.ta-commerce .ta-checkout-side table.shop_table{margin:0 0 20px}
.ta-commerce .woocommerce-checkout-review-order-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(min-width:992px){
.ta-commerce form.woocommerce-checkout{display:grid;grid-template-columns:minmax(0,860px) minmax(360px,460px);justify-content:space-between;gap:0 56px;align-items:start} /* fields stay readable on wide screens, the summary keeps the frame's right edge */
.ta-commerce form.woocommerce-checkout::before,.ta-commerce form.woocommerce-checkout::after{display:none} /* Storefront clearfix would take grid cells */
.ta-commerce form.woocommerce-checkout>:not(.ta-checkout-main):not(.ta-checkout-side){grid-column:1/-1} /* NoticeGroup prepended by checkout.js */
.ta-checkout-side{margin-top:0}
}
@media(max-width:600px){.ta-checkout-side{padding:16px}}
/* Fields */
.ta-commerce .woocommerce form .input-text,.ta-commerce .woocommerce form select,.ta-commerce .woocommerce form textarea{font-family:var(--ta-font-sans,Manrope,sans-serif);font-weight:400} /* Storefront's Source Sans Pro rendered bold here */
.ta-commerce .woocommerce form ::placeholder{color:#8a867c;font-family:var(--ta-font-sans,Manrope,sans-serif);font-weight:400;opacity:1}
.ta-commerce .woocommerce-additional-fields>h3{display:none}
.ta-commerce #ship-to-different-address{display:none} /* always ticked: the address asked is the delivery one (checkout-steps.php) */
@media(max-width:767px){.ta-commerce .woocommerce #billing_postcode_field,.ta-commerce .woocommerce #billing_city_field,.ta-commerce .woocommerce #shipping_postcode_field,.ta-commerce .woocommerce #shipping_city_field{width:100%;float:none}}
/* Inline errors (checkout.js adds .woocommerce-invalid / aria-invalid and p.checkout-inline-error-message) */
.ta-commerce .woocommerce form .form-row.woocommerce-invalid .input-text,.ta-commerce .woocommerce form .form-row.woocommerce-invalid select,.ta-commerce .woocommerce form [aria-invalid=true],.ta-commerce .woocommerce form .form-row.woocommerce-invalid .select2-selection{border-color:#b3261e;border-width:1px;box-shadow:0 0 0 1px #b3261e}
.checkout-inline-error-message{margin:6px 0 0;color:#8a342a;font-size:13px;font-weight:600}
/* Order card: thumbnail rows, total beside the button, secure line */
.ta-review-item{display:inline-flex;align-items:center;gap:12px;vertical-align:middle}
.ta-review-item img{flex:none;width:56px;height:56px;object-fit:contain;background:#f3efe4;border-radius:8px}
.ta-review-name{line-height:1.35}.ta-review-name .product-quantity{white-space:nowrap;color:#555}
.ta-commerce .woocommerce-privacy-policy-text p{position:relative;margin:0;padding-left:22px;font-size:13px;line-height:1.55;color:#555}.ta-commerce .woocommerce-privacy-policy-text p::before{content:'';position:absolute;left:0;top:1px;width:16px;height:16px;background:var(--ta-blue-700,#144b81);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v6c0 4.2 3 7.6 7 9 4-1.4 7-4.8 7-9V6l-7-3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v6c0 4.2 3 7.6 7 9 4-1.4 7-4.8 7-9V6l-7-3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center/contain no-repeat}.ta-commerce .woocommerce-privacy-policy-text a{color:var(--ta-blue-700,#144b81);text-decoration:underline} /* data stewardship is blue */
.ta-commerce .woocommerce-checkout-review-order-table .amount{color:var(--ta-sun-700,#b8450f)} /* prices are orange */
.ta-commerce .woocommerce-shipping-totals th,.ta-commerce .woocommerce-shipping-totals td,.ta-commerce .woocommerce-shipping-totals label,.ta-commerce .woocommerce-checkout-review-order-table .woocommerce-shipping-totals .amount{color:var(--ta-blue-700,#144b81)} /* delivery is blue */
.ta-commerce #payment .payment_methods li>input[type=radio]:first-child+label::before{color:var(--ta-sun-600,#c4501b)} /* Storefront's purple accent */
.ta-commerce #payment .payment_methods input[type=radio]{accent-color:var(--ta-sun-600,#c4501b)}
@media(max-width:760px){.ta-shop-shell h1{font-size:30px;margin-bottom:12px}.ta-shop-steps{margin-bottom:20px}}
.ta-commerce .ta-checkout-side table.shop_table .product-name{width:68%}
.ta-commerce .woocommerce .woocommerce-checkout-review-order-table .woocommerce-shipping-totals>*{border-bottom:0;padding-bottom:2px}
.ta-commerce .woocommerce .woocommerce-checkout-review-order-table tr.ta-review-ship td{padding-top:0;font-size:13px;line-height:1.45;color:var(--ta-blue-700,#144b81)} /* carrier and delay under « Livraison » (checkout.php); delivery is blue */
/* Three steps (plugin checkout-steps.php, js/ta-checkout.js): 1 sign-in by e-mail link, 2 delivery address, 3 payment. Orange = the purchase. */
.ta-co-step{margin:0 0 16px;padding:22px 24px;border:1px solid #e6e1d4;border-radius:14px;background:#fff}
.ta-co-step-title{display:flex;align-items:center;gap:12px;margin:0!important;font-size:22px!important;line-height:1.25}
.ta-co-num{flex:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--ta-sun-600,#c4501b);color:#fff;font:700 15px var(--ta-font-sans,Manrope,sans-serif)}
.ta-co-step.is-done .ta-co-num{background:var(--ta-sun-50,#fff4ea);color:var(--ta-sun-800,#7c300d);font-size:0}.ta-co-step.is-done .ta-co-num::before{content:'✓';font-size:16px}
.ta-co-step.is-locked{background:#fbfaf6}.ta-co-step.is-locked .ta-co-num{background:#e6e1d4;color:#6b675e}.ta-co-step.is-locked .ta-co-step-title{color:#6b675e}
.ta-co-step.is-locked .ta-co-body,.ta-co-ready .ta-co-step:not(.is-open) .ta-co-body{display:none}
.ta-co-body{margin-top:18px}
.ta-co-step-title .ta-co-icon{margin-left:auto;color:#8a867c}
.ta-co-done-line,.ta-co-summary{margin:10px 0 0 44px;font-size:15px;line-height:1.6;color:#3b3b3b}
.ta-co-done-line,.ta-co-summary{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:6px 16px}.ta-co-summary[hidden]{display:none}
.ta-co-done-who{display:inline-flex;align-items:center;gap:8px;min-width:0;overflow-wrap:anywhere}.ta-co-done-who .ta-co-icon{color:#6b675e}
.ta-co-summary-text{margin:0}.ta-co-summary-note{flex-basis:100%;margin:0;color:#6b675e;font-size:13.5px}
.ta-link-button{padding:0;border:0;background:none;color:var(--ta-sun-700,#b8450f);font-weight:700;text-decoration:underline;cursor:pointer}
.ta-co-next-row{margin:20px 0 0}.ta-commerce .ta-co-next{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;font-size:16px;background:var(--ta-sun-600,#c4501b);border-color:var(--ta-sun-600,#c4501b)}.ta-commerce .ta-co-next:hover{background:var(--ta-sun-700,#b8450f);border-color:var(--ta-sun-700,#b8450f)}
.ta-co-error{margin:10px 0 0;color:#8a342a;font-weight:600}
.ta-commerce .ta-co-billing-toggle label{display:inline-flex;align-items:center;gap:10px;margin:8px 0 0;font-weight:600;cursor:pointer}
.ta-commerce .ta-co-billing-toggle input{position:static;transform:none;flex:none;width:20px;height:20px;margin:0;accent-color:var(--ta-sun-600,#c4501b)}
.ta-co-billing{margin-top:18px;padding-top:18px;border-top:1px solid #efebe1}.ta-co-billing[hidden]{display:none}.ta-co-billing h3{font-size:18px!important;margin:0 0 12px!important}
.ta-co-billing #billing_email_field,.ta-co-billing #billing_phone_field{display:none} /* the sign-in address and the delivery phone */
.ta-co-guest #wc-stripe-express-checkout-element,.ta-co-guest #wc-stripe-express-checkout-button-separator{display:none!important} /* orders need the sign-in */
@media(max-width:600px){.ta-co-step{padding:18px 16px}.ta-co-done-line,.ta-co-summary{margin-left:0}}
/* Fields drawn like the card form: filled, no border, orange focus */
.ta-commerce .woocommerce form .form-row label{font-weight:600;font-size:14px;color:#3b3b3b}
.ta-commerce .woocommerce form .input-text,.ta-commerce .woocommerce form select,.ta-commerce .ta-login input{min-height:48px;padding:12px 14px;border:1px solid transparent;border-radius:10px;background:#f4f1ea;box-shadow:none;color:#222;font-size:15px}
.ta-commerce .woocommerce form .input-text:focus,.ta-commerce .woocommerce form select:focus,.ta-commerce .ta-login input:focus{outline:0;background:#fff;border-color:var(--ta-sun-600,#c4501b);box-shadow:0 0 0 3px rgba(196,80,27,.15)}
.ta-commerce .select2-container--default .select2-selection--single{height:48px;border:1px solid transparent;border-radius:10px;background:#f4f1ea}
.ta-commerce .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:46px;padding-left:14px;color:#222}
.ta-commerce .select2-container--default .select2-selection--single .select2-selection__arrow{height:46px;right:8px}
.ta-commerce .select2-container--open .select2-selection--single,.ta-commerce .select2-container--focus .select2-selection--single{background:#fff;border-color:var(--ta-sun-600,#c4501b)}
/* Sign-in by e-mail link (checkout step 1, « Mon compte ») */
.ta-login{margin:14px 0 0 44px;max-width:560px}
.ta-login-intro{margin:0 0 14px!important;color:#444;font-size:15px;line-height:1.6}
.ta-login label{display:block;margin:0 0 6px;font-weight:600;font-size:14px;color:#3b3b3b}
.ta-login-row{display:flex;gap:10px}.ta-login-row input{flex:1;min-width:0;width:100%}
.ta-commerce .ta-login-row .ta-shop-button{flex:none;min-height:48px;background:var(--ta-sun-600,#c4501b);border-color:var(--ta-sun-600,#c4501b)}.ta-commerce .ta-login-row .ta-shop-button:hover{background:var(--ta-sun-700,#b8450f);border-color:var(--ta-sun-700,#b8450f)}
.ta-commerce #ta-login-code{flex:0 1 190px;letter-spacing:.3em;font-size:20px;font-weight:700;text-align:center}
.ta-login-sent-title{display:flex;align-items:center;gap:10px;margin:0 0 14px!important;font-size:16px;overflow-wrap:anywhere}.ta-login-sent-title .ta-co-icon{color:#6b675e}.ta-login-sent p{color:#444;font-size:14.5px;line-height:1.55;margin:0 0 12px}
.ta-login-again{margin:12px 0 0!important}
.ta-login-status{margin:10px 0 0!important;font-size:14px;font-weight:600;color:#3b3b3b}.ta-login-status:empty{display:none}.ta-login-status.is-error{color:#8a342a}
@media(max-width:600px){.ta-login{margin-left:0}.ta-login-row{flex-direction:column}.ta-commerce .ta-login-row .ta-shop-button{width:100%}.ta-commerce #ta-login-code{flex-basis:auto}}
.ta-account-login{max-width:640px;margin:0 auto 40px;padding:24px;border:1px solid #e6e1d4;border-radius:14px;background:#fff}.ta-account-login h2{font-size:26px!important;margin:0 0 4px!important}.ta-account-login .ta-login{margin-left:0}
/* Payment step: the card form alone, then the save box, the total and the button */
.ta-commerce .woocommerce .ta-co-body #payment{padding:0;background:none;border-radius:0} /* teranga-shop.css pads a grey box; the step is the box here */
.ta-commerce #payment .payment_methods{margin:0;padding:0;border:0}
.ta-commerce #payment .payment_methods>li{padding:0;background:none!important} /* Storefront's grey band */
.ta-commerce #payment .payment_methods>li:only-child>input[type=radio]:first-child+label::before{display:none} /* one method: no radio */
.ta-commerce #payment .payment_methods>li:only-child>label{display:none} /* one method: the step title and Stripe's card icons say it */
.ta-commerce #payment .testmode-info{display:inline-flex;align-items:center;gap:6px;margin:0 0 14px;padding:4px 12px;border-radius:999px;background:#fff8e6;color:#4a3b16;font-size:13px}.ta-commerce #payment .testmode-info a{color:inherit}
.ta-commerce #payment .payment_methods>li>label{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:0;font-size:16px;font-weight:700}
.ta-commerce #payment div.payment_box{margin:0;padding:0;background:none;color:#444}.ta-commerce #payment div.payment_box::before{display:none}
.ta-commerce #payment .woocommerce-SavedPaymentMethods-saveNew{display:flex;align-items:center;gap:10px;margin:14px 0 0;padding:0}
.ta-commerce #payment .woocommerce-SavedPaymentMethods-saveNew label{flex:1;min-width:0;width:auto;margin:0;font-weight:600}
.ta-commerce #payment fieldset{margin:0;padding:0;border:0;background:none} /* Storefront's padded grey fieldset narrowed the card form on phones */
.ta-commerce .ta-checkout-main .col2-set{margin:0}.ta-commerce .ta-checkout-main .col2-set .col-2{display:none} /* the shipping form moved into step 2 */
.ta-commerce #wc-stripe-new-payment-method{position:static;transform:none;width:20px!important;height:20px;margin:0;accent-color:var(--ta-sun-600,#c4501b)}
.ta-commerce #payment .place-order{margin:18px 0 0;padding:0;background:none} /* Storefront's #fafafa band */
.ta-commerce #payment #place_order{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:54px;margin-top:14px;font-size:17px}
.ta-commerce #payment #place_order::before{content:'';flex:none;width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center/contain no-repeat}
