/* New 2: reusable Best Seller variant tiles on compact product cards.
   Fully scoped to the homepage; product page styling is untouched. */
.f1-home .f1-bestsellers .anp-card-variation{
 display:flex!important;flex-direction:column!important;gap:8px!important;
 width:100%!important;margin:8px 0 0!important;padding:0!important;
 border:0!important;box-shadow:none!important;min-height:0!important;
}
.f1-home .f1-bestsellers .anp-card-select-note{
 display:block!important;font:700 10px/1.3 'DM Sans',Arial,sans-serif!important;
 color:#667869!important;letter-spacing:0!important;margin:0 0 1px!important;
}
.f1-home .f1-bestsellers .anp-card-variation form.variations_form{
 display:block!important;position:relative!important;
 padding:0!important;margin:0!important;
 border:0!important;background:transparent!important;box-shadow:none!important;
 width:100%!important;max-width:100%!important;
}
.f1-home .f1-bestsellers .anp-card-variation .variations{
 display:block!important;width:100%!important;margin:0 0 9px!important;
 padding:0!important;border:0!important;background:transparent!important;
 border-spacing:0!important;
}
.f1-home .f1-bestsellers .anp-card-variation .variations tbody{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 gap:8px!important;width:100%!important;
}
.f1-home .f1-bestsellers .anp-card-variation .variations tr,
.f1-home .f1-bestsellers .anp-card-variation .variations th,
.f1-home .f1-bestsellers .anp-card-variation .variations td{
 display:block!important;width:100%!important;padding:0!important;
 margin:0!important;border:0!important;float:none!important;
 background:transparent!important;line-height:1.3!important;
}
.f1-home .f1-bestsellers .anp-card-variation .variations th label{
 display:block!important;margin:0 0 5px!important;
 font:850 10px/1.3 'DM Sans',Arial,sans-serif!important;
 color:#24432e!important;text-transform:none!important;
}
.f1-home .f1-bestsellers .anp-card-variation .variations select:not(.anp-card-select-tiled){
 display:block!important;width:100%!important;min-height:37px!important;
 background:#f8faf5!important;border:1px solid #b7cbb2!important;
 border-radius:7px!important;padding:5px 10px!important;
 font-size:11px!important;color:#25442f!important;
}
.f1-home .f1-bestsellers .anp-card-variation .variations select.anp-card-select-tiled{
 display:block!important;position:absolute!important;width:1px!important;
 height:1px!important;min-height:1px!important;max-width:1px!important;
 padding:0!important;margin:0!important;border:0!important;
 opacity:0!important;clip-path:inset(50%)!important;
 pointer-events:none!important;overflow:hidden!important;
}
.f1-home .f1-bestsellers .anp-card-choice-group{
 display:flex!important;flex-wrap:wrap!important;gap:6px!important;
 align-items:stretch!important;width:100%!important;margin:0!important;
}
.f1-home .f1-bestsellers .anp-card-choice{
 position:relative!important;display:flex!important;flex:1 1 30%!important;
 min-width:48px!important;min-height:33px!important;
 cursor:pointer!important;padding:0!important;margin:0!important;
 background:transparent!important;
}
.f1-home .f1-bestsellers .anp-card-choice input[type=radio]{
 position:absolute!important;left:50%!important;top:50%!important;
 width:1px!important;height:1px!important;opacity:0!important;
 margin:0!important;padding:0!important;
}
.f1-home .f1-bestsellers .anp-card-choice-face{
 position:relative;display:flex!important;justify-content:center!important;
 align-items:center!important;gap:5px!important;
 flex:1!important;min-width:0!important;min-height:35px!important;
 padding:7px 8px!important;border:1.5px solid #c5d3bd!important;
 border-radius:7px!important;background:#f7faf3!important;
 color:#284a33!important;box-shadow:none!important;
 font:800 11px/1.2 'DM Sans',Arial,sans-serif!important;
 text-align:center!important;white-space:normal!important;overflow-wrap:break-word;
 transition:border-color .15s,background .15s,box-shadow .15s!important;
}
.f1-home .f1-bestsellers .anp-card-choice-check{display:none!important;font-size:11px!important;color:#eac987!important}
.f1-home .f1-bestsellers .anp-card-choice:hover input:not(:disabled) + .anp-card-choice-face{
 background:#e9f1e5!important;border-color:#9cb398!important;
}
.f1-home .f1-bestsellers .anp-card-choice input:checked + .anp-card-choice-face{
 background:#193e2b!important;color:#fffaf0!important;
 border-color:#193e2b!important;box-shadow:0 4px 10px #153d292a!important;
}
.f1-home .f1-bestsellers .anp-card-choice input:checked + .anp-card-choice-face .anp-card-choice-check{
 display:inline!important;
}
.f1-home .f1-bestsellers .anp-card-choice input:focus-visible + .anp-card-choice-face{
 outline:3px solid #c5a069!important;outline-offset:2px!important;
}
.f1-home .f1-bestsellers .anp-card-choice input:disabled + .anp-card-choice-face{
 opacity:.38!important;cursor:not-allowed!important;text-decoration:line-through!important;
}
/* Existing compact flavour icons by the price are the ONLY flavour UI.
   card-cart.js marks the redundant WooCommerce flavour row hidden. This
   selector overrides generic card table rules that previously revealed it. */
.f1-home .f1-bestsellers .anp-card-variation table.variations tr.anp-hidden-option{
 display:none!important;
}
.f1-home .f1-bestsellers .anp-card-variation .reset_variations,
.f1-home .f1-bestsellers .anp-card-variation .anp-card-select-note{
 display:none!important;
}
/* Selected weights are shown by the dark green tile alone. */
.f1-home .f1-bestsellers .anp-card-variation .anp-card-choice-check{
 display:none!important;
}
.f1-home .f1-bestsellers .anp-card-variation .single_variation_wrap{
 display:block!important;width:100%!important;margin:0!important;padding:0!important;
}
.f1-home .f1-bestsellers .anp-card-variation .single_variation{
 margin:0!important;padding:0!important;
}
.f1-home .f1-bestsellers .anp-card-variation .woocommerce-variation-price{
 display:none!important;
}
.f1-home .f1-bestsellers .anp-card-variation .woocommerce-variation-availability .stock.in-stock{
 display:none!important;
}
.f1-home .f1-bestsellers .anp-card-variation .woocommerce-variation-add-to-cart{
 display:flex!important;align-items:stretch!important;
 justify-content:space-between!important;flex-wrap:wrap!important;
 gap:7px!important;width:100%!important;margin:8px 0 0!important;
 padding:0!important;min-height:0!important;
}
.f1-home .f1-bestsellers .anp-card-variation .quantity{
 display:none!important;
}
.f1-home .f1-bestsellers .anp-card-variation button.single_add_to_cart_button,
.f1-home .f1-bestsellers .anp-card-variation button.anp-buy-now{
 flex:1 1 95px!important;min-width:0!important;min-height:39px!important;
 height:auto!important;padding:10px 9px!important;margin:0!important;
 border-radius:7px!important;
 font:850 10px/1.2 'DM Sans',Arial,sans-serif!important;
 white-space:normal!important;line-height:1.25!important;
 opacity:1;
}
.f1-home .f1-bestsellers .anp-card-variation button.single_add_to_cart_button{
 background:#214a31!important;color:#fffaf0!important;border:1px solid #214a31!important;
}
.f1-home .f1-bestsellers .anp-card-variation button.anp-buy-now{
 background:#c5a069!important;color:#213625!important;border:1px solid #c5a069!important;
}
.f1-home .f1-bestsellers .anp-card-variation button.single_add_to_cart_button:disabled,
.f1-home .f1-bestsellers .anp-card-variation button.anp-buy-now:disabled{
 opacity:.54!important;cursor:not-allowed!important;
}
.f1-home .f1-bestsellers .anp-product{
 min-width:0!important;
}
.f1-home .f1-bestsellers .anp-product-info{
 display:flex!important;flex-direction:column!important;min-width:0!important;
}
.f1-home .f1-bestsellers .anp-product-bottom{
 margin-top:auto!important;
}
@media(max-width:760px){
 .f1-home .f1-bestsellers .anp-card-choice-face{font-size:10px!important;min-height:34px!important;padding:7px 5px!important}
 .f1-home .f1-bestsellers .anp-card-variation button.single_add_to_cart_button,
 .f1-home .f1-bestsellers .anp-card-variation button.anp-buy-now{font-size:10px!important;padding:10px 7px!important}
}
