/* PlantMe Variation Styler 2.0 — storefront */
.fluentad-vs-product { display:block; width:100%; min-width:0; }
.fluentad-vs-product form.variations_form { width:100%; min-width:0; }
.fluentad-vs-product table.variations { width:100%; margin:0 0 14px; border:0; border-collapse:separate; border-spacing:0 14px; }
.fluentad-vs-product table.variations tr { display:block; margin:0 0 14px; }
.fluentad-vs-product table.variations th,.fluentad-vs-product table.variations td { display:block; padding:0; border:0; text-align:left; }
.fluentad-vs-product table.variations th label { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin:0 0 9px; color:var(--fav-text,#222); font-weight:600; }
.fluentad-vs-product .fav-current-value { margin-left:2px; font-weight:400; }
.fluentad-vs-product table.variations select { width:100%; min-height:44px; padding:8px 12px; border:1px solid var(--fav-border,#ddd); border-radius:5px; background:#fff; color:var(--fav-text,#222); }
.fluentad-vs-product .fav-options { display:grid; grid-template-columns:repeat(var(--fav-columns,4),minmax(0,1fr)); gap:var(--fav-gap,12px); width:100%; margin:0; padding:0; }
.fluentad-vs-product .fav-option { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; min-width:0; min-height:72px; padding:13px 9px; border:var(--fav-border-width,1px) solid var(--fav-border,#ddd); border-radius:var(--fav-radius,8px); background:var(--fav-bg,#fff); color:var(--fav-text,#222); text-align:center; line-height:1.35; cursor:pointer; transition:border-color .18s,box-shadow .18s; box-sizing:border-box; }
.fluentad-vs-product .fav-option:hover,.fluentad-vs-product .fav-option:focus-visible { border-color:var(--fav-active,#00a63c); outline:none; }
.fluentad-vs-product .fav-option.is-selected { border-color:var(--fav-active,#00a63c); box-shadow:inset 0 0 0 1px var(--fav-active,#00a63c); }
.fluentad-vs-product .fav-option.is-default { outline:1px dashed var(--fav-active,#00a63c); outline-offset:2px; }
.fluentad-vs-product .fav-option img { display:block; width:var(--fav-image-size,90px); height:var(--fav-image-size,90px); max-width:100%; object-fit:contain; border-radius:4px; }
.fluentad-vs-product .fav-option-name { display:block; max-width:100%; overflow-wrap:anywhere; font-size:14px; }
.fluentad-vs-product .fav-options.is-collapsed .fav-overflow-option { display:none !important; }
.fluentad-vs-product .fav-show-more { display:block; margin:10px 0 0 auto; padding:4px 0; border:0; background:none; color:var(--fav-active,#008b43); font-weight:600; text-decoration:underline; cursor:pointer; }
.fluentad-vs-product .fav-native-select { display:block !important; }
.fluentad-vs-product .fav-enhanced .fav-native-select { position:absolute !important; width:1px !important; height:1px !important; min-height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; opacity:0 !important; pointer-events:none !important; }
.fluentad-vs-product .reset_variations { margin-left:10px; }
.fluentad-vs-product .fav-info-trigger { position:relative; display:inline-flex; flex:0 0 18px; align-items:center; justify-content:center; width:18px; height:18px; padding:0; border:1px solid currentColor; border-radius:50%; background:transparent; color:inherit; font:600 12px/1 Arial,sans-serif; cursor:pointer; }
.fluentad-vs-product .fav-info-tooltip { display:none; position:fixed; z-index:var(--fav-tooltip-z,1); width:max-content; max-width:min(320px,calc(100vw - 20px)); padding:11px 13px; border-radius:6px; background:#222; color:#fff; font-size:13px; font-weight:400; line-height:1.5; text-align:left; white-space:normal; overflow-wrap:anywhere; box-shadow:0 4px 18px rgba(0,0,0,.22); pointer-events:none; }
.fluentad-vs-product .fav-info-trigger.is-open .fav-info-tooltip { display:block; }
.fluentad-vs-product.fav-initializing .variations_form table.variations { visibility:hidden; }
.fluentad-product-card { padding:16px; border:1px solid #e5e5e5; border-radius:8px; box-sizing:border-box; }
.fluentad-product-card img { max-width:100%; height:auto; }
.fluentad-product-card h3 { margin:12px 0; }
.fluentad-product-card .fluentad-product-price { margin:8px 0; }
@media (min-width:768px) and (max-width:1024px) { .fluentad-vs-product .fav-options { grid-template-columns:repeat(var(--fav-columns-tablet,3),minmax(0,1fr)); } }
@media (max-width:767px) { .fluentad-vs-product .fav-options { grid-template-columns:repeat(var(--fav-columns-mobile,2),minmax(0,1fr)); } .fluentad-vs-product .fav-option { padding:10px 6px; } .fluentad-vs-product .fav-option img { width:min(var(--fav-image-size,90px),70px); height:min(var(--fav-image-size,90px),70px); } }
@media (max-width:420px) { .fluentad-vs-product .fav-options { grid-template-columns:repeat(2,minmax(0,1fr)); } .fluentad-vs-product .fav-option-name { font-size:13px; } }


/* v2.1.0 configurable typography, spacing, colors and tooltip placement */
.fluentad-vs-product table.variations th label { gap:var(--fav-label-value-gap,10px); color:var(--fav-attribute-color,var(--fav-text,#222)); font-size:var(--fav-attribute-size,15px); width:100%; }
.fluentad-vs-product .fav-current-value { margin:0; padding:0; color:var(--fav-value-color,#555); font-size:var(--fav-value-size,14px); font-weight:500; }
.fluentad-vs-product .fav-info-trigger { margin-left:auto; flex:0 0 20px; width:20px; height:20px; background:var(--fav-info-bg,#fff); color:var(--fav-info-color,#333); border-color:var(--fav-info-color,#333); }
.fluentad-vs-product .fav-info-tooltip { background:var(--fav-tooltip-bg,#222); color:var(--fav-tooltip-color,#fff); font-size:var(--fav-tooltip-size,13px); width:max-content; max-width:min(320px,calc(100vw - 20px)); }
.fluentad-vs-product .fav-option { padding:var(--fav-card-padding,13px); }
.fluentad-vs-product .fav-option.is-selected { background:var(--fav-selected-bg,var(--fav-bg,#fff)); color:var(--fav-selected-text,var(--fav-text,#222)); }
/* Keep the original filled Recommended badge appearance; only its vertical position is configurable. */
.fluentad-vs-product .fav-option img { order:1; }
.fluentad-vs-product .fav-option-name { order:3; }
.fluentad-vs-product table.variations tr { margin-bottom:calc(var(--fav-info-top,10px) + var(--fav-info-bottom,14px)); }

/* Recommended badge placement: below is the default; above preserves the same filled badge styling. */
.fluentad-vs-product .fav-option { --fav-badge-order: 2; }

/* v2.1.3: keep the original v2.0.0 edge-to-edge Recommended badge treatment. */
.fluentad-vs-product .fav-option { overflow: hidden; }
.fluentad-vs-product .fav-option .fav-recommended {
  display:block; flex:0 0 auto; align-self:stretch; width:auto; max-width:none;
  box-sizing:border-box; margin:var(--fav-recommended-margin,-13px -9px 0); padding:5px 7px;
  border-radius:var(--fav-recommended-radius,calc(var(--fav-radius,8px) - 1px) calc(var(--fav-radius,8px) - 1px) 0 0);
  background:var(--fav-badge-bg,#008b43); color:var(--fav-badge-color,#fff);
  font-size:10px; font-weight:700; line-height:1.2; text-align:center;
  text-transform:uppercase; pointer-events:none;
}
.fluentad-vs-product .fav-option.is-recommended { padding-top:13px; }
.fluentad-vs-product .fav-option .fav-recommended + img { margin-top:8px; }
.fluentad-vs-product .fav-option img { order:2; }
.fluentad-vs-product .fav-option .fav-recommended { order:var(--fav-recommended-order,2); }
.fluentad-vs-product .fav-option-name { order:3; }

/* v2.1.5 refinements: full-bleed badge, no default dotted outline, inline value/info. */
.fluentad-vs-product .fav-option.is-default { outline: none !important; outline-offset: 0 !important; }
.fluentad-vs-product .fav-option.is-recommended { border-style: solid; }
.fluentad-vs-product .fav-option .fav-recommended {
  width:auto !important;
  margin-left:calc(-1 * var(--fav-card-padding,13px)) !important;
  margin-right:calc(-1 * var(--fav-card-padding,13px)) !important;
  padding-left:7px;
  padding-right:7px;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}
.fluentad-vs-product .fav-option .fav-recommended {
  margin-bottom:calc(-1 * var(--fav-card-padding,13px)) !important;
}
.fluentad-vs-product .fav-option .fav-recommended + img { margin-top:8px; }
.fluentad-vs-product table.variations th label {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  width:100%;
}
.fluentad-vs-product .fav-current-value { margin-left:2px !important; }
.fluentad-vs-product .fav-info-trigger {
  margin-left:0 !important;
  flex:0 0 20px;
}

/* v2.1.6: selected/hover typography, inline attribute info, progressive option reveal, no native-select flash. */
.fluentad-vs-product .fav-option:hover .fav-option-name,
.fluentad-vs-product .fav-option:focus-visible .fav-option-name,
.fluentad-vs-product .fav-option.is-selected .fav-option-name { font-weight:700 !important; }
.fluentad-vs-product table.variations th label { justify-content:flex-start !important; column-gap:6px !important; }
.fluentad-vs-product table.variations th label .fav-current-value { order:2; flex:0 0 auto; margin:0 !important; }
.fluentad-vs-product table.variations th label .fav-info-trigger { order:3; flex:0 0 20px; margin:0 !important; }
.fluentad-vs-product .fav-more-trigger { position:relative; }
.fluentad-vs-product .fav-more-overlay {
  position:absolute; inset:0; z-index:5; display:flex; align-items:center; justify-content:center;
  border-radius:inherit; background:rgba(0,0,0,.68); color:#fff; font-size:clamp(20px,3vw,30px);
  font-weight:700; line-height:1; pointer-events:none;
}
.fluentad-vs-product .fav-options.is-collapsed .fav-overflow-option { display:none !important; }
.fluentad-vs-product .fav-options.is-collapsed .fav-more-trigger { display:flex !important; }
.fluentad-vs-product.fav-js-pending table.variations { visibility:hidden !important; }
.fluentad-vs-product.fav-js-ready table.variations { visibility:visible !important; }

/* v2.1.7: consistent inline label order, green default selected value and configurable attribute spacing. */
.fluentad-vs-product table.variations tr { margin-bottom:var(--fav-attribute-spacing,8px) !important; }
.fluentad-vs-product table.variations th label { display:flex !important; align-items:center; justify-content:flex-start !important; flex-wrap:wrap; column-gap:6px !important; }
.fluentad-vs-product table.variations th label .fav-label-text { order:1; flex:0 0 auto; }
.fluentad-vs-product table.variations th label .fav-current-value { order:2; flex:0 0 auto; margin:0 !important; color:var(--fav-value-color,#008b43) !important; }
.fluentad-vs-product table.variations th label .fav-info-trigger { order:3; flex:0 0 22px; width:22px; height:22px; margin:0 0 0 5px !important; }
.fluentad-vs-product .fav-more-overlay { font-weight:600 !important; }


/* v2.1.9: place the colon immediately after the attribute name, before its value. */
.quickview-container .product-type-variable .variations_form.cart table tr td label:after,
.single-product .product-type-variable .variations_form.cart table tr td label:after,
.fluentad-vs-product table.variations th label:after,
.fluentad-vs-product table.variations td label:after {
  content:none !important;
  display:none !important;
}
.fluentad-vs-product table.variations th label .fav-label-text { order:1; }
.fluentad-vs-product table.variations th label .fav-label-colon { order:2; margin-left:-5px; }
.fluentad-vs-product table.variations th label .fav-current-value { order:3; margin-left:-5px !important; }
.fluentad-vs-product table.variations th label .fav-info-trigger { order:4; margin-left:6px !important; }


/* v2.2.0: consistent attribute label order, row spacing and typography controls. */
/* Disable theme-generated trailing colons in product and quick-view variation labels. */
.quickview-container .product-type-variable .variations_form.cart table tr td label:after,
.single-product .product-type-variable .variations_form.cart table tr td label:after,
.fluentad-vs-product .variations_form table.variations label:after,
.fluentad-vs-product table.variations th label:after,
.fluentad-vs-product table.variations td label:after { content:none !important; display:none !important; }

/* Keep the exact visual sequence: Height: 10px [info]. */
.fluentad-vs-product table.variations th label,
.fluentad-vs-product table.variations td label {
  display:flex !important; flex-flow:row nowrap !important; align-items:center !important;
  justify-content:flex-start !important; gap:var(--fav-label-value-gap,10px) !important;
  width:100%; color:#000 !important; font-size:var(--fav-attribute-size,15px) !important;
  white-space:nowrap;
}
.fluentad-vs-product table.variations th label .fav-label-text {
  order:1 !important; flex:0 0 auto !important; color:#000 !important; margin:0 !important;
}
.fluentad-vs-product table.variations th label .fav-label-colon {
  order:2 !important; flex:0 0 auto !important; display:inline !important; margin:0 !important;
}
.fluentad-vs-product table.variations th label .fav-current-value {
  order:3 !important; flex:0 0 auto !important; margin:0 !important;
  font-size:var(--fav-value-size,14px) !important;
}
.fluentad-vs-product table.variations th label .fav-info-trigger {
  order:4 !important; flex:0 0 20px !important; margin:0 0 0 4px !important;
}
.fluentad-vs-product table.variations tr {
  margin-bottom:var(--fav-attribute-spacing,16px) !important;
}
.fluentad-vs-product .fav-option-name {
  font-size:var(--fav-option-text-size,14px) !important;
}
.fluentad-vs-product .fav-more-overlay {
  font-size:var(--fav-more-size,24px) !important; font-weight:600 !important;
}
@media(max-width:480px) {
 .fluentad-vs-product table.variations th label,
 .fluentad-vs-product table.variations td label { gap:min(var(--fav-label-value-gap,10px),6px) !important; white-space:normal; }
}

/* v2.2.1: enforce one consistent selected border for every attribute group. */
.fluentad-vs-product .fav-options .fav-option.is-selected,
.fluentad-vs-product .fav-options .fav-option[aria-pressed="true"] {
  border-style:solid !important;
  border-width:var(--fav-selected-border-width,2px) !important;
  border-color:var(--fav-selected-border,#00a63c) !important;
  box-shadow:none !important;
}

/* v2.2.2: content-sized tooltips, mobile placement above the attribute row, configurable stacking. */
.fluentad-vs-product .fav-info-tooltip { width:max-content !important; max-width:min(320px,calc(100vw - 20px)) !important; z-index:var(--fav-tooltip-z,1) !important; }
.fluentad-vs-product .fav-info-trigger { position:relative; z-index:1; }
