/* Buy box B — see inc/buybox.php. Every colour is a theme palette variable (Woodmart theme settings). */
.tfx .summary-inner{--tfx-h:50px}
.tfx .elementor-element-90fa539{display:none!important} /* 2021 floating bell (footer block 73 → newsletter popup 30885) */

/* price: no styling of its own — the site-wide sale rules (child functions.php triumph_card_late_css: final price
   first, regular struck after) apply exactly as on category cards. Only the layout is ours. */
.tfx .tfx-head p.price{width:auto!important;height:auto!important;margin:0!important;padding:0!important}
.tfx .summary-inner .tfx-head ~ .discount-percentage{display:block!important;width:fit-content!important;margin:0 0 12px!important} /* under the price, as on the cards */

/* title, then one row: price · promo ribbons (the % tag sits on its own line below, as on the cards) */
.tfx .summary-inner .product_title{font-size:clamp(22px,1.9vw,28px)!important;font-weight:400!important;line-height:1.25!important;margin-bottom:6px!important}
.tfx .tfx-head{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;margin:2px 0 12px}
.tfx .summary-inner .tfx-head .bogo-ribbon{display:inline-block!important;flex:0 0 auto;width:auto!important;margin:0!important;padding:4px 10px!important;font-size:13px!important;font-weight:400!important;line-height:1.3!important;
  background:var(--wd-primary-color)!important;color:var(--wd-title-color)!important;border-radius:2px!important}
.tfx .summary-inner .tfx-head .bogo-ribbon strong{font-weight:700}
.tfx .woocommerce-product-details__short-description{color:var(--color-gray-600);font-size:15px;margin-bottom:10px!important}
.tfx .tf-pf-row{gap:6px!important;margin:0 0 18px!important}
.tfx .tf-pf{min-height:36px!important;height:36px!important;padding:0 12px 0 10px!important;font-size:13px!important;border-color:var(--brdcolor-gray-300)!important;gap:4px!important}

/* options: label on top, full width */
.tfx .summary-inner table.variations,.tfx .summary-inner table.variations tbody,.tfx .summary-inner table.variations tr,
.tfx .summary-inner table.variations th,.tfx .summary-inner table.variations td{display:block!important;width:100%!important;max-width:none!important;padding:0!important;text-align:right!important}
.tfx .summary-inner table.variations{margin-bottom:0!important}
.tfx .summary-inner table.variations tr{margin:0 0 18px!important}
.tfx .summary-inner table.variations th{margin:0 0 8px!important;font-size:15px;color:var(--wd-title-color)}
.tfx .summary-inner table.variations th label{font-weight:600}
.tfx .summary-inner table.variations th label:after{content:none!important}
.tfx .summary-inner table.variations th .wd-attr-selected{font-weight:400;color:var(--color-gray-600);margin-inline-start:6px}
.tfx .wd-swatches-product{gap:10px}

/* sizes: buttons in the category filter's language; the real <select> stays hidden behind them */
.tfx .tfx-native,.tfx .tfx-sizes ~ .wd-reset-var{display:none!important}
.tfx .tfx-gt{margin:0 0 6px;font-size:13px;color:var(--color-gray-600)}
.tfx .tfx-grid + .tfx-gt{margin-top:12px}
.tfx .tfx-grid{display:grid;gap:7px;grid-template-columns:repeat(var(--tfx-cols,6),minmax(0,64px))} /* 64px squares, not stretched across the column (Meir 17.11: smaller) */
.tfx .tfx-grid.tfx-flat{display:flex;flex-wrap:wrap}
.tfx .tfx-flat .tfx-sz{flex:0 0 auto;min-width:48px;padding:0 10px!important}
.tfx .tfx-sz{height:38px;min-height:0!important;margin:0;padding:0 4px!important;background:var(--bgcolor-white);border:1px solid var(--brdcolor-gray-500);border-radius:2px;box-shadow:none;
  font:inherit;font-size:14px;color:var(--wd-title-color);font-variant-numeric:tabular-nums;text-transform:none;letter-spacing:0;cursor:pointer;-webkit-appearance:none;appearance:none}
@media (hover:hover){.tfx .tfx-sz:not(:disabled):not(.on):hover{border-color:var(--wd-title-color)}}
.tfx .tfx-sz:hover,.tfx .tfx-sz:focus,.tfx .tfx-sz:active{background-color:var(--bgcolor-white)} /* the theme greys hovered buttons, and iOS keeps :hover after a tap */
.tfx .tfx-sz.on{border-color:var(--wd-alternative-color);box-shadow:inset 0 0 0 1px var(--wd-alternative-color);color:var(--wd-alternative-color);font-weight:600}
/* sold out but open for the waitlist: just lighter. Not available at all (can't buy, can't join the waitlist): a thin diagonal.
   Not with the band/cup chosen in the other row: the same diagonal, but still tappable (buybox.js drops the other half) */
.tfx .tfx-sz.oos{color:var(--color-gray-500)}
.tfx .tfx-sz.on.oos{color:var(--wd-alternative-color)}
.tfx .tfx-sz:disabled{cursor:default}
.tfx .tfx-sz.na{color:var(--color-gray-400);background-image:linear-gradient(to top right,transparent calc(50% - .5px),var(--color-gray-400) calc(50% - .5px),var(--color-gray-400) calc(50% + .5px),transparent calc(50% + .5px))}
.tfx .tfx-sz:focus-visible,.tfx .tfx-calc-card:focus-visible{outline:2px solid var(--wd-alternative-color);outline-offset:2px}

/* calculator card + its result note */
.tfx .tfx-calc-card{display:flex;align-items:center;gap:12px;width:100%;margin:12px 0 0;padding:10px 12px!important;min-height:0!important;background:var(--bgcolor-gray-100);border:0;border-radius:2px;box-shadow:none;
  text-align:right;font:inherit;font-size:14px;line-height:1.35;color:var(--wd-title-color);cursor:pointer;text-transform:none;letter-spacing:0}
.tfx .tfx-calc-card svg{flex:0 0 28px;height:28px;color:var(--wd-alternative-color)}
.tfx .tfx-calc-card span{flex:1}
.tfx .tfx-calc-card b{display:block;font-weight:600}
.tfx .tfx-calc-card i{font-style:normal;font-size:18px;color:var(--wd-alternative-color)}
.tfx .tfx-note{margin:8px 0 0;padding:7px 10px;font-size:13px;color:var(--wd-title-color);background:var(--bgcolor-gray-100);border-inline-start:3px solid var(--wd-primary-color)}
.tfx .tfx-note:empty{display:none}

/* add to cart before choosing: a red note right beside the missing choice's label ("היקף · יש לבחור", same line, so nothing
   below moves) and a red edge on its options. Red = WordPress's preset (the site has no error red of its own: notices are mauve) */
.tfx{--tfx-err:var(--wp--preset--color--vivid-red,#cf2e2e)}
.tfx .tfx-err{margin-inline-start:6px;font-size:13px;font-weight:600;color:var(--tfx-err)}
.tfx .tfx-err:before{content:"·";margin-inline-end:6px}
.tfx .tfx-err:empty{display:none}
.tfx .tfx-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tfx .tfx-want .tfx-sz:not(:disabled),.tfx td.tfx-want select{border-color:var(--tfx-err)}
.tfx .tfx-want .tfx-sz:not(:disabled){box-shadow:inset 0 0 0 1px var(--tfx-err)}
.tfx .wd-swatches-product.tfx-want .wd-swatch-bg{border-color:var(--tfx-err);box-shadow:0 0 0 1px var(--tfx-err)} /* the circle's own edge: Woodmart's .wd-swatch shadow out-ranks a ring there */

/* add to cart: no quantity box, one button + the wishlist heart */
.tfx .summary-inner .quantity,.tfx .summary-inner .scbrsc{display:none!important}
.tfx form:not(.tf-wtl-oos) .woocommerce-variation-add-to-cart{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;align-items:stretch}
.tfx .summary-inner .single_add_to_cart_button{flex:1 1 auto;height:var(--tfx-h)!important;min-height:0!important;margin:0!important;font-size:16px!important;border-radius:2px!important}
.tfx .woocommerce-variation-add-to-cart .wd-wishlist-btn{flex:0 0 var(--tfx-h);margin:0!important}
.tfx .woocommerce-variation-add-to-cart .wd-wishlist-btn a{display:flex!important;align-items:center;justify-content:center;width:var(--tfx-h);height:var(--tfx-h);padding:0!important;
  border:1px solid var(--brdcolor-gray-500);border-radius:2px;color:var(--wd-title-color)}
.tfx .woocommerce-variation-add-to-cart .wd-wishlist-btn .wd-action-text{display:none!important}
.tfx .woocommerce-variation-add-to-cart .wd-wishlist-btn .wd-action-icon{margin:0!important;font-size:20px}
.tfx .tfx-trust{display:flex;flex-wrap:wrap;gap:4px 14px;margin:12px 0 0!important;padding:0!important;list-style:none!important;font-size:13px;color:var(--color-gray-600)}
.tfx .tfx-trust li{margin:0!important;list-style:none}
.tfx .tfx-trust li:before{content:"✓";margin-inline-end:5px;font-weight:700;color:var(--wd-alternative-color)}
.tfx .tfx-trust a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.tfx form.tf-wtl-oos .tfx-trust{display:none}

/* sold-out size picked: the waitlist box (Woodmart, snippet 20) in the same rhythm */
.tfx .summary-inner .wd-wtl-form{margin:0 0 18px;padding:16px;border:1px solid var(--brdcolor-gray-300);border-radius:2px}
.tfx .summary-inner .wd-wtl-form p{margin:0 0 10px;font-size:14px;color:var(--color-gray-600)}
.tfx .summary-inner .wd-wtl-form .wd-wtl-title{margin:0 0 4px;font-size:16px;font-weight:600;color:var(--wd-title-color)}
.tfx .summary-inner .wd-wtl-form-fields{display:flex;flex-wrap:nowrap!important;gap:8px}
.tfx .summary-inner .wd-wtl-form-fields input{flex:1 1 auto;width:auto!important;min-width:0;height:var(--tfx-h);margin:0!important;border-radius:2px}
.tfx .summary-inner .wd-wtl-form .btn{flex:0 0 auto;margin:0!important;height:var(--tfx-h);min-height:0;display:inline-flex;align-items:center;justify-content:center;padding:0 20px;border-radius:2px;font-size:15px}

/* a colour that only lacks the chosen size: no cross, still clickable (buybox.js clears the size) */
.tfx .wd-dis-style-2 .wd-swatch.wd-disabled.tfx-reach{opacity:1;cursor:pointer}
.tfx .wd-dis-style-2 .wd-swatch.wd-disabled.tfx-reach:before{opacity:0}
