/* v1.6.114 — shared desktop/mobile purchase UI. */
.tc-size-modal[hidden]{display:none!important}
.tc-size-modal{position:fixed;inset:0;z-index:999998;display:flex;align-items:center;justify-content:center;padding:20px}
.tc-size-backdrop{position:absolute;inset:0;background:rgba(23,40,54,.5)}
.tc-size-dialog{position:relative;display:flex;flex-direction:column;width:min(560px,100%);max-height:90vh;max-height:90dvh;background:#fff;color:#253942;border-radius:20px;box-shadow:0 20px 70px #0003;overflow:hidden}
.tc-size-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #e9eceb}
.tc-size-header h2{font:750 22px/1.25 Inter,Arial,sans-serif;margin:0;color:#253942}
.tc-size-close{border:0;background:transparent;color:#253942;cursor:pointer;font:30px/1 Arial;padding:6px;min-width:44px;min-height:44px}
.tc-size-scroll{padding:16px 24px;overflow:auto;overscroll-behavior:contain}
#tc-size-product{margin:0 0 20px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.tc-size-group{border:0;padding:0;margin:0 0 18px;min-width:0}
.tc-size-group legend{margin-bottom:12px;padding:0;font-size:14px;font-weight:650}
.tc-size-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tc-size-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:72px;padding:12px 6px;border:1px solid #d8e3df;border-radius:10px;background:#fff;color:#203a32;cursor:pointer;font:inherit;line-height:1.3;overflow-wrap:anywhere}
.tc-size-label{font-size:15px;font-weight:750}
.tc-size-stock{font-size:11px;font-weight:750;color:#236b4a}
.tc-size-choice:hover:not(:disabled){border-color:#367d69;background:#f1f7f4}
.tc-size-choice[aria-pressed=true]{border:2px solid #367d69;background:#edf6f1;box-shadow:0 0 0 1px #367d69}
.tc-size-choice.is-unavailable{color:#747b7e;border-color:#e3e5e6;background:#f4f5f5;cursor:not-allowed;opacity:1}
.tc-size-choice.is-unavailable .tc-size-stock{color:#747b7e;font-weight:500}
.tc-size-message{font-size:13px;line-height:1.5;min-height:1.5em;margin:8px 0 0;color:#405b60}
.tc-size-footer{padding:14px 24px calc(20px + env(safe-area-inset-bottom,0px));border-top:1px solid #e9eceb;background:#fff}
.tc-size-guide{display:inline-flex;align-items:center;min-height:44px;margin:0!important;padding:4px 0!important;font-size:14px!important}
.tc-size-guide[hidden]{display:none!important}
.tc-size-price{font-size:19px;font-weight:750;color:#294f56;margin:6px 0 12px}
html body .tc-size-confirm{display:block;width:100%;min-height:50px;border:0!important;border-radius:999px!important;background:#3e747c!important;color:#fff!important;font:750 15px/1.3 Inter,Arial,sans-serif;padding:14px 20px!important;cursor:pointer;margin:0!important}
html body .tc-size-confirm:disabled{background:#e3e9e9!important;color:#596b6e!important;cursor:not-allowed;opacity:1}
.tc-size-opened{overflow:hidden!important}
html body .tc-size-open{display:flex!important;justify-content:center;align-items:center;gap:8px;width:100%;min-height:48px;cursor:pointer}
html body .tc-size-picker-source{margin-top:10px!important;gap:0!important}
html body .tc-size-picker-source > .tc-size-open{margin:0!important;width:100%!important}
html body ul.products > li.product .tc-size-picker-source{margin:10px 12px 0!important;width:calc(100% - 24px)!important;padding:0!important}
html body .tc-size-picker-source > :not(.tc-size-open),html body .tc-size-native-fields{display:none!important}
/* Leave source controls available without JavaScript; only enhanced forms hide them. */
html body ul.products > li.product .woocommerce-loop-product__title,
html body .woocommerce ul.products > li.product .woocommerce-loop-product__title,
html body .tc-home-products ul.products > li.product .woocommerce-loop-product__title,
html body .ths-page .ths-products .woocommerce ul.products > li.product .woocommerce-loop-product__title{
 display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;min-height:0!important;height:auto!important;max-height:none!important;font-size:13px!important;line-height:1.5!important;max-width:100%!important;word-break:normal!important;overflow-wrap:normal!important
}
html body.single-product .tc-single-summary-column .product_title,
html body.single-product div.product .summary .product_title{font-size:26px!important;line-height:1.4!important;display:block!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0!important}
/* More visible active actions; disabled buttons retain a distinct state. */
html body ul.products > li.product :is(.tc-size-open,.product_type_simple.add_to_cart_button),
html body.single-product .summary :is(.tc-size-open,.single_add_to_cart_button),
html body .checkout-button,html body #place_order{background:#3e747c!important;color:#fff!important;opacity:1!important}
html body ul.products > li.product :is(.tc-size-open,.product_type_simple.add_to_cart_button):hover,
html body.single-product .summary :is(.tc-size-open,.single_add_to_cart_button):hover,
html body .checkout-button:hover,html body #place_order:hover{background:#2c5960!important}
html body.single-product .summary .single_add_to_cart_button:disabled{background:#dce6e6!important;color:#536367!important;cursor:not-allowed}
html body .tc-size-dialog :focus-visible,html body .tc-size-open:focus-visible{outline:3px solid #254f57;outline-offset:3px}
.tc-purchase-reassurance{font-size:13px;line-height:1.6;margin:12px 0 20px;color:#405b60}
.tc-purchase-reassurance p{margin:3px 0!important}.tc-purchase-reassurance a{text-decoration:underline;text-underline-offset:3px}
/* Prevent the previous toolbar/card minimum widths from overflowing the viewport. */
html body .tc-shop-toolbar,html body .tc-managed-filters,html body .tc-managed-filter{min-width:0!important;max-width:100%!important}
html body .woocommerce-ordering,html body .woocommerce-ordering select{min-width:0!important;max-width:100%!important}
html body ul.products > li.product,html body ul.products > li.product > a,html body .tc-single-summary-column{min-width:0!important;max-width:100%!important}
html body .tc-shop-toolbar{flex-wrap:wrap!important}
html body .tc-managed-filter{flex-basis:170px}
html body.tc-purchase-quiet{background-image:none!important;background-color:#fbf8f6!important}
html body.tc-purchase-quiet .tc-main{background:transparent!important}
@media(max-width:600px){
 .tc-size-modal{padding:12px;align-items:flex-end}
 .tc-size-dialog{max-height:92vh;max-height:92dvh;border-radius:18px}
 .tc-size-header{padding:12px 16px}.tc-size-header h2{font-size:20px}
 .tc-size-scroll{padding:14px 16px}.tc-size-footer{padding:10px 16px calc(14px + env(safe-area-inset-bottom,0px))}
 .tc-size-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body.single-product .tc-single-summary-column .product_title,html body.single-product div.product .summary .product_title{font-size:22px!important}
 html body ul.products > li.product .woocommerce-loop-product__title,html body .woocommerce ul.products > li.product .woocommerce-loop-product__title,html body .ths-page .ths-products .woocommerce ul.products > li.product .woocommerce-loop-product__title{font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){.tc-size-modal *{scroll-behavior:auto!important;transition:none!important}}

/* Higher specificity than historical inline footer rules. */
html body :is(#tc-purchase-titles,ul.products) > li.product .woocommerce-loop-product__title{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;min-height:0!important;height:auto!important;max-height:none!important;font-size:13px!important;line-height:1.5!important;max-width:100%!important;word-break:normal!important;overflow-wrap:normal!important}
html body.single-product :is(#tc-purchase-single,.tc-single-summary-column) .product_title{font-size:26px!important;line-height:1.4!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
@media(max-width:600px){html body :is(#tc-purchase-titles,ul.products) > li.product .woocommerce-loop-product__title{font-size:12px!important}html body.single-product :is(#tc-purchase-single,.tc-single-summary-column) .product_title{font-size:22px!important}}

/* Beat the earlier WooCommerce color overrides, including Home Studio grids. */
html body.tc-purchase-experience ul.products li.product .tc-size-picker-source button.tc-size-open.button,
html body.tc-purchase-experience ul.products li.product a.product_type_simple.add_to_cart_button.button,
html body.tc-purchase-experience.single-product div.product .tc-single-summary-column form.cart button.button:is(.tc-size-open,.single_add_to_cart_button),
html body.tc-purchase-experience a.checkout-button.button,
html body.tc-purchase-experience #place_order.button,
html body #tc-size-modal .tc-size-confirm{background:#3e747c!important;color:#fff!important;opacity:1!important;min-height:48px!important}
html body.tc-purchase-experience ul.products li.product .tc-size-picker-source button.tc-size-open.button:hover,
html body.tc-purchase-experience ul.products li.product a.product_type_simple.add_to_cart_button.button:hover,
html body.tc-purchase-experience.single-product div.product .tc-single-summary-column form.cart button.button:is(.tc-size-open,.single_add_to_cart_button):hover,
html body #tc-size-modal .tc-size-confirm:hover:not(:disabled){background:#2c5960!important}
html body #tc-size-modal .tc-size-confirm:disabled,
html body.tc-purchase-experience.single-product div.product .tc-single-summary-column form.cart button.single_add_to_cart_button.button:disabled{background:#e3e9e9!important;color:#596b6e!important;cursor:not-allowed;opacity:1!important}
.tribu-pickup-next{color:#405b60;font-weight:600}
/* v1.6.115 — small basket beside every purchase action. */
html body #tc-size-modal .tc-size-confirm{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
html body .tc-size-open .tc-add-basket-icon,html body #tc-size-modal .tc-size-confirm .tc-add-basket-icon{display:block!important;width:20px!important;height:20px!important;flex:0 0 20px;pointer-events:none}
/* Shipping choices use both columns; no redundant Expédition heading. */
html body.tc-purchase-experience tr.woocommerce-shipping-totals > th,
html body.tc-purchase-experience tr.shipping > th,
html body.tc-purchase-experience.woocommerce-cart .tc-cart-shipping .shop_table th{display:none!important}
html body.tc-purchase-experience tr.woocommerce-shipping-totals > td,
html body.tc-purchase-experience tr.shipping > td{width:auto!important;max-width:none!important;text-align:left!important}
html body.tc-purchase-experience tr.woocommerce-shipping-totals > td::before,
html body.tc-purchase-experience tr.shipping > td::before{display:none!important;content:none!important}
html body.tc-purchase-experience .woocommerce-checkout-review-order-table .woocommerce-shipping-methods{width:100%!important;padding:0!important;margin:0!important;list-style:none}
html body.tc-purchase-experience .woocommerce-checkout-review-order-table .tribu-pickup-information{width:100%!important;max-width:none!important;box-sizing:border-box}
html body.tc-purchase-experience .woocommerce-checkout-review-order-table .tribu-pickup-info-title{flex-wrap:nowrap!important}
@media(max-width:767px){html body.tc-purchase-experience .woocommerce-checkout-review-order-table .tribu-pickup-information{font-size:13px!important;padding:12px!important}html body.tc-purchase-experience .woocommerce-checkout-review-order-table .woocommerce-shipping-methods label{font-size:14px!important}}

/* v1.6.116 — compact purchase buttons, keeping their existing width. */
html body.tc-purchase-experience ul.products li.product .tc-size-picker-source button.tc-size-open.button,
html body.tc-purchase-experience ul.products li.product a.product_type_simple.add_to_cart_button.button,
html body.tc-purchase-experience.single-product div.product .tc-single-summary-column form.cart button.button:is(.tc-size-open,.single_add_to_cart_button),
html body #tc-size-modal .tc-size-confirm{
 box-sizing:border-box!important;height:36px!important;min-height:36px!important;
 padding:6px 14px!important;font-size:14px!important;line-height:1.2!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
}
html body.tc-purchase-experience .tc-size-open .tc-add-basket-icon,
html body.tc-purchase-experience .single_add_to_cart_button .tc-add-basket-icon,
html body.tc-purchase-experience ul.products .product_type_simple.add_to_cart_button .tc-add-basket-icon,
html body #tc-size-modal .tc-size-confirm .tc-add-basket-icon{width:18px!important;height:18px!important;flex:0 0 18px!important}

/* v1.6.117 — full card-content width, without the extra lateral button margins. */
html body.tc-purchase-experience ul.products > li.product .tc-size-picker-source{
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;
 margin:8px 0 0!important;padding:0!important;align-self:stretch!important;
}
html body.tc-purchase-experience ul.products > li.product .tc-size-picker-source > button.tc-size-open.button{
 width:100%!important;max-width:100%!important;margin:0!important;align-self:stretch!important;
}
html body.tc-purchase-experience ul.products > li.product > a.product_type_simple.add_to_cart_button.button{
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;
 margin:8px 0 0!important;align-self:stretch!important;
}

/* v1.6.124: gallery thumbnails stay inside the image, including short desktop cards. */
html body ul.products li.product .tc-loop-gallery{overflow:hidden!important;isolation:isolate}
html body ul.products li.product .tc-loop-gallery-dots{bottom:8px!important;max-height:calc(100% - 16px)!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scrollbar-width:thin}
html body ul.products li.product .tc-loop-gallery-dot{flex-shrink:0!important}
html body ul.products li.product .tc-loop-add-feedback{font-size:12px!important;line-height:1.4;margin:8px 12px 0;color:#264d53}
html body ul.products li.product .tc-loop-add-feedback a{text-decoration:underline;font-weight:700}
