/*
 * Product card v2 (Tiago, 2026-10), rendered by woocommerce/content-product.php + inc/product-card.php
 * (openspec: product-card-v2). Rules below are his, from the footer script era; the last
 * section switches the variants that his script used to add or remove per breakpoint.
 * Loaded after the page stylesheets, as the inline original was.
 */
.gf-bb-card-v2 { --gf-bb-card-padding:12px; }
.gf-bb-card-v2 > .col-inner { height:auto !important; overflow:visible; }
.gf-bb-card-v2 > .col-inner > .product-small.box {
  position:relative;
  height:var(--gf-bb-card-height,auto) !important;
  padding:var(--gf-bb-card-padding);
  overflow:visible;
}
.gf-bb-card-v2 > .col-inner > .badge-container {
  top:30px; left:-6px; margin:0; padding:0;
  display:flex; flex-direction:column; align-items:flex-start; gap:8px;
}
.gf-bb-card-v2 .badge-container .badge { width:auto; height:auto; margin:0; display:block; }
.gf-bb-card-v2 .badge-container .badge-inner {
  display:block; width:auto; min-width:69px; height:auto;
  padding:5px 20px; border-radius:999px; font-size:12px; line-height:14px;
}
.gf-bb-card-v2 .product-small.box .box-image { overflow:visible; flex-shrink:0; padding-top:0; }
.gf-bb-card-v2 .box-image .image-fade_in_back > a {
  display:block; position:relative; width:100%; aspect-ratio:1; overflow:hidden;
  border-radius:var(--bb-radius-md,10px);
}
.gf-bb-card-v2 .box-image .image-fade_in_back > a > img {
  width:100%; height:100%; object-fit:contain; object-position:center;
}
.gf-bb-card-v2 .product-small.box .image-tools.top.right {
  top:0; right:0;
  padding:0; width:34px; height:34px;
  opacity:1; transform:none; pointer-events:auto; z-index:21;
}
.gf-bb-card-v2 .product-small.box .wishlist-button {
  display:grid; place-items:center; padding:0; border-radius:50%;
  width:34px; min-width:34px; max-width:none; height:34px; min-height:34px;
}
.gf-bb-card-v2 .wishlist-button > svg {
  display:block; width:16px; height:16px; overflow:visible;
}
.gf-bb-card-v2 .wishlist-button[aria-pressed="true"] > svg {
  fill:currentColor;
}
.gf-bb-card-v2 .product-small.box .wishlist-button:focus-visible {
  outline:2px solid var(--bb-color-focus-ring,#028543); outline-offset:3px;
}
.gf-bb-card-v2 .product-small.box .box-text {
  height:auto !important; min-height:0; padding:10px 0 24px; gap:8px;
}
.gf-bb-card-v2 .product-small.box .title-wrapper { gap:6px; }
.gf-bb-card-v2 .product-small.box .product-title {
  height:36px !important; min-height:36px; max-height:36px;
}
.gf-bb-card-v2 .product-small.box .gf-bb-grade-row {
  min-height:22px; margin:0; line-height:22px; text-align:center;
}
.gf-bb-card-v2 .gf-bb-grade-row .bb-card__badge {
  position:static; display:inline-block; vertical-align:top;
  padding:3px 10px; border-radius:999px;
  background:#028543; color:#fff; font-size:11px; font-weight:700; line-height:16px;
  white-space:normal; overflow-wrap:anywhere;
}
.gf-bb-card-v2 .product-small.box .bb-card__specs {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  align-content:start; gap:6px 8px;
  min-height:var(--gf-bb-specs-height,34px); margin:4px 0 0; padding:0;
  text-align:center;
}
.gf-bb-card-v2 .product-small.box .bb-card__spec {
  align-items:flex-start; justify-content:center; min-width:0; margin:0; text-align:center;
}
.gf-bb-card-v2 .bb-card__spec.gf-bb-spec--wide { grid-column:1 / -1; }
.gf-bb-card-v2 .bb-card__spec svg { flex:0 0 14px; margin-top:0; }
.gf-bb-card-v2 .bb-card__spec-value {
  min-width:0; max-width:calc(100% - 19px);
  white-space:normal; overflow:visible; text-overflow:clip; overflow-wrap:anywhere;
}
.gf-bb-card-v2 .product-small.box .gf-bb-purchase-zone {
  position:relative; display:grid; grid-template-columns:minmax(0,1fr); gap:8px; width:100%; min-width:0; margin-top:auto;
  padding-top:8px; border-top:1px solid var(--bb-color-border-default,#dfe4e9);
  min-height:0;
}
.gf-bb-card-v2 .gf-bb-purchase-details { display:flex; flex-direction:column; gap:6px; width:100%; min-width:0; }
.gf-bb-card-v2 .product-small.box .gf-bb-purchase-details .price-wrapper {
  display:flex; flex-wrap:wrap; align-items:baseline; justify-content:center; gap:6px;
  height:auto !important; margin:0; padding:0; border:0; text-align:center;
}
.gf-bb-card-v2 .gf-bb-price-prefix {
  color:var(--bb-color-text-secondary,#687382); font-size:12px; line-height:16px; font-weight:400;
}
.gf-bb-card-v2 .product-small.box .bb-card__availability {
  justify-content:center; flex-wrap:nowrap; margin:0; font-weight:700; text-align:center;
}
.gf-bb-card-v2 .bb-card__availability > svg { flex:0 0 18px; }
.gf-bb-card-v2 .bb-card__availability > span:last-child { min-width:0; white-space:normal; }
.gf-bb-card-v2 .product-small.box .gf-bb-purchase-zone .add-to-cart-button {
  height:auto !important; margin:0; width:100%; min-width:0; opacity:1; transform:none;
}
.gf-bb-card-v2 .product-small.box .add-to-cart-button .button { min-height:44px; }
.gf-bb-card-v2 .gf-bb-spec-label { display:none; }
/* Browser comments 2-4: only desktop/tablet. Keep the captured mobile layout. */
@media (min-width:550px) {
  .gf-bb-card-v2 { container:gf-bb-card / inline-size; }
  .gf-bb-card-v2 > .col-inner > .badge-container {
    top:14px; left:14px; right:58px;
    flex-direction:row; flex-wrap:nowrap; align-items:center; gap:6px;
  }
  .gf-bb-card-v2 .badge-container .badge { flex:0 0 auto; }
  .gf-bb-card-v2 .badge-container .badge:has(.new-bubble-auto) { order:0; }
  .gf-bb-card-v2 .badge-container .badge:has(.on-sale) { order:1; }
  .gf-bb-card-v2 .badge-container .badge-inner {
    min-width:0; padding:5px 10px; border-radius:999px; font-size:11px; line-height:14px;
    white-space:nowrap;
  }
  .gf-bb-card-v2 > .col-inner > .badge-container:has(> .badge:nth-child(2)) > .badge .badge-inner {
    -webkit-mask-image:none; mask-image:none;
  }
  .gf-bb-card-v2 .product-small.box .box-text { padding-bottom:0; gap:12px; }
  .gf-bb-card-v2 .product-small.box .bb-card__specs {
    grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 14px;
    margin-top:10px; text-align:left;
  }
  .gf-bb-card-v2 .product-small.box .bb-card__spec {
    display:grid; grid-template-columns:18px minmax(0,1fr); column-gap:8px; row-gap:2px;
    align-items:start; justify-content:start; text-align:left;
  }
  .gf-bb-card-v2 .bb-card__spec.gf-bb-spec--wide { grid-column:1 / -1; }
  .gf-bb-card-v2 .bb-card__spec svg {
    grid-column:1; grid-row:1 / 3; width:18px; height:18px; margin-top:1px;
  }
  .gf-bb-card-v2 .bb-card__spec-value {
    grid-column:2; grid-row:1; max-width:100%;
    color:var(--bb-color-text-primary,#1e2327);
    font:700 13px/18px Lato,Arial,sans-serif; overflow-wrap:normal;
  }
  .gf-bb-card-v2 .gf-bb-spec-label {
    display:block; grid-column:2; grid-row:2;
    color:var(--bb-color-text-secondary,#66717c);
    font:400 11px/15px Lato,Arial,sans-serif; overflow-wrap:normal;
  }
  .gf-bb-card-v2 .product-small.box .gf-bb-purchase-zone {
    grid-template-rows:minmax(0,1fr) auto;
    gap:12px; padding-top:14px; border-top:0;
  }
  .gf-bb-card-v2 .product-small.box .gf-bb-purchase-zone .add-to-cart-button { align-self:end; }
  .gf-bb-card-v2 .gf-bb-purchase-details { gap:8px; }
  .gf-bb-card-v2 .product-small.box .gf-bb-purchase-details .price-wrapper {
    flex-direction:column; align-items:flex-start; justify-content:flex-start;
    gap:2px; text-align:left;
  }
  .gf-bb-card-v2 .gf-bb-price-prefix { font:400 12px/16px Lato,Arial,sans-serif; }
  .gf-bb-card-v2 .product-small.box .price-wrapper .price {
    display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 8px;
    color:var(--bb-color-text-primary,#1e2327);
    font:700 30px/34px Lato,Arial,sans-serif; letter-spacing:-.35px;
  }
  .gf-bb-card-v2 .product-small.box .price-wrapper ins {
    order:0; background:transparent; text-decoration:none;
  }
  .gf-bb-card-v2 .product-small.box .price-wrapper del {
    order:1; font:400 12px/16px Lato,Arial,sans-serif; letter-spacing:0;
  }
  .gf-bb-card-v2 .product-small.box .bb-card__availability {
    justify-content:flex-start; gap:6px; text-align:left; font:700 12px/16px Lato,Arial,sans-serif;
  }
  .gf-bb-card-v2 .bb-card__availability > svg { display:none; }
  .gf-bb-card-v2 .product-small.box .add-to-cart-button .button {
    min-height:44px; border-radius:8px;
    background:var(--bb-color-action-primary,#028543); color:#fff;
    font:700 14px/20px Lato,Arial,sans-serif;
  }
  .gf-bb-card-v2 .product-small.box .add-to-cart-button .button::after { display:none; }
  .gf-bb-card-v2 .product-small.box .add-to-cart-button .button:hover,
  .gf-bb-card-v2 .product-small.box .add-to-cart-button .button:focus-visible {
    background:var(--bb-color-action-primary-hover,#01713a);
  }
}
/* Fit the same two attribute columns and badge row inside narrower cards. */
@container gf-bb-card (max-width:250px) {
  .gf-bb-card-v2 .product-small.box .bb-card__specs { column-gap:8px; }
  .gf-bb-card-v2 .product-small.box .bb-card__spec { grid-template-columns:16px minmax(0,1fr); column-gap:6px; }
  .gf-bb-card-v2 .bb-card__spec svg { width:16px; height:16px; }
  .gf-bb-card-v2 .bb-card__spec-value { font-size:12px; line-height:17px; }
  .gf-bb-card-v2 .gf-bb-spec-label { font-size:10px; line-height:14px; }
  .gf-bb-card-v2 .product-small.box .price-wrapper .price { font-size:26px; line-height:30px; }
  .gf-bb-card-v2 .badge-container .badge-inner { padding:5px 8px; font-size:10px; }
}
@container gf-bb-card (max-width:220px) {
  .gf-bb-card-v2 .product-small.box .bb-card__specs { grid-template-columns:minmax(0,1fr); row-gap:10px; }
  .gf-bb-card-v2 .bb-card__spec-value { font-size:13px; line-height:18px; }
  .gf-bb-card-v2 .gf-bb-spec-label { font-size:10px; line-height:14px; }
}
@container gf-bb-card (max-width:200px) {
  .gf-bb-card-v2 > .col-inner > .badge-container { top:52px; left:12px; right:12px; gap:4px; }
  .gf-bb-card-v2 .product-small.box .price-wrapper .price { font-size:24px; line-height:28px; }
  .gf-bb-card-v2 .product-small.box .add-to-cart-button .button { padding:0 4px; gap:6px; font-size:13px; }
}
/* Desktop browser review: larger native badges and delivery at the right. */
@media (min-width:1000px) {
  .gf-bb-card-v2 .badge-container .badge-inner {
    padding:6px 12px; font-size:12px; line-height:16px;
  }
  .gf-bb-card-v2 .product-small.box .box-text { gap:6px; }
  .gf-bb-card-v2 .product-small.box .gf-bb-purchase-zone { padding-top:0; }
  .gf-bb-card-v2 .gf-bb-purchase-details {
    display:grid; grid-template-columns:minmax(0,1fr) auto;
    align-content:start; column-gap:8px; row-gap:8px;
  }
  .gf-bb-card-v2 .gf-bb-purchase-details .price-wrapper { grid-column:1 / -1; grid-row:1; }
  .gf-bb-card-v2 .gf-bb-purchase-details .bb-card__availability {
    grid-column:1; grid-row:2; align-self:center;
  }
  .gf-bb-card-v2 .gf-bb-card-delivery {
    display:flex; align-items:center; justify-content:flex-end; gap:8px;
    grid-column:2; grid-row:2; min-width:0; align-self:center;
    color:var(--bb-color-text-primary,#1e2327); text-align:left;
  }
  .gf-bb-card-v2 .gf-bb-card-delivery > svg {
    display:block; flex:0 0 22px; width:22px; height:22px;
  }
  .gf-bb-card-v2 .gf-bb-card-delivery-copy { display:flex; flex-direction:column; gap:1px; }
  .gf-bb-card-v2 .gf-bb-card-delivery-copy strong {
    font:700 13px/17px Lato,Arial,sans-serif; white-space:nowrap;
  }
  .gf-bb-card-v2 .gf-bb-card-delivery-copy > span {
    color:var(--bb-color-text-secondary,#66717c); font:400 11px/15px Lato,Arial,sans-serif;
    white-space:nowrap;
  }
  @container gf-bb-card (max-width:250px) {
    .gf-bb-card-v2 > .col-inner > .badge-container { top:52px; right:12px; }
    .gf-bb-card-v2 .badge-container .badge-inner { padding:6px 9px; font-size:11px; }
    .gf-bb-card-v2 .gf-bb-purchase-details { grid-template-columns:minmax(0,1fr); }
    .gf-bb-card-v2 .gf-bb-purchase-details .bb-card__availability { grid-column:1; grid-row:2; }
    .gf-bb-card-v2 .gf-bb-card-delivery { grid-column:1; grid-row:3; justify-self:end; }
  }
  @container gf-bb-card (max-width:200px) {
    .gf-bb-card-v2 .badge-container .badge-inner { padding:5px 8px; }
  }
}
@media (max-width:549px) {
  .gf-bb-card-v2 { --gf-bb-card-padding:10px; }
  .gf-bb-card-v2 .product-small.box .product-title {
    height:34px !important; min-height:34px; max-height:34px;
  }
  .gf-bb-card-v2 .product-small.box .bb-card__specs {
    grid-template-columns:minmax(0,1fr); gap:4px;
    min-height:0; text-align:left;
  }
  .gf-bb-card-v2 .product-small.box .bb-card__spec { justify-content:flex-start; text-align:left; }
  .gf-bb-card-v2 .product-small.box .gf-bb-purchase-zone { margin-top:0; padding-top:6px; gap:8px; }
  .gf-bb-card-v2 .product-small.box .bb-card__availability { gap:4px; font-size:10px; line-height:14px; }
  .gf-bb-card-v2 .gf-bb-price-prefix { font-size:11px; line-height:14px; }
}
@media (prefers-reduced-motion:reduce) {
  .gf-bb-card-v2 .gf-bb-purchase-details,
  .gf-bb-card-v2 .product-small.box .add-to-cart-button { transition:none; }
}
@media (max-width:360px) {
  .gf-bb-card-v2 .product-small.box .add-to-cart-button .button { gap:4px; padding:0 2px; font-size:11px; white-space:normal; line-height:1.2; }
  .gf-bb-card-v2 .product-small.box .add-to-cart-button .button::before { width:16px; height:16px; }
  .gf-bb-card-v2 .product-small.box .add-to-cart-button .button::before { width:16px; height:16px; }
}

/* BuyBack: aesthetic-grade badge colour requested for all formats. */
.gf-bb-card-v2 .gf-bb-grade-row .bb-card__badge {
  background:#028543;
  color:#fff;
}
/* Colours and discount copy belong to Flatsome's native Customizer controls.
   Multiple lateral badges can overlap the product image at either position. */
@media (max-width:549px) {
  .gf-bb-card-v2 > .col-inner > .badge-container:has(> .badge:nth-child(2)) > .badge .badge-inner {
    -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 70%,rgba(0,0,0,.6) 100%);
    mask-image:linear-gradient(90deg,#000 0%,#000 70%,rgba(0,0,0,.6) 100%);
  }
}
/* Current native Flatsome badge colours, captured with the card HTML. */
.gf-bb-card-v2 .badge-inner.on-sale{background-color: #c62a32}
.gf-bb-card-v2 .badge-inner.new-bubble-auto{background-color: #1e2327}

/* Third local review: financing, selling points and secondary card actions. */
.gf-bb-card-v2 .product-small.box .gf-bb-purchase-zone {
  grid-template-rows:auto; grid-auto-rows:auto; align-content:start; gap:8px;
}
.gf-bb-card-v2 .product-small.box .gf-bb-purchase-details .gf-bb-installments {
  display:grid; grid-template-columns:16px minmax(0,1fr); align-items:start; column-gap:6px;
  width:100%; min-width:0; margin:4px 0 0; padding:0; text-align:left;
  color:var(--bb-color-text-secondary,#66717c); font:400 12px/17px Lato,Arial,sans-serif;
}
.gf-bb-card-v2 .gf-bb-installments > svg { display:block; width:16px; height:16px; margin-top:1px; }
.gf-bb-card-v2 .gf-bb-installments > span { min-width:0; overflow-wrap:normal; }
.gf-bb-card-v2 .gf-bb-installments-tail {
  display:inline-flex; align-items:center; vertical-align:baseline; white-space:nowrap;
  gap:2px; margin-block:-3.5px;
}
.gf-bb-card-v2 .gf-bb-installments-info {
  appearance:none; display:inline-flex; align-items:center; justify-content:center; align-self:center;
  flex:0 0 24px; width:24px; min-width:24px; height:24px; min-height:24px;
  margin:0; padding:0; border:0; border-radius:50%; background:transparent;
  color:inherit; font:inherit; line-height:1; text-transform:none; letter-spacing:normal;
  box-shadow:none; cursor:pointer;
}
.gf-bb-card-v2 .gf-bb-installments-info > span {
  display:inline-flex; align-items:center; justify-content:center;
  width:14px; height:14px; border:1px solid currentColor; border-radius:50%;
  font:700 10px/1 Lato,Arial,sans-serif;
}
.gf-bb-card-v2 .gf-bb-installments-info:hover { background:transparent; color:var(--bb-color-action-primary,#028543); }
.gf-bb-card-v2 .gf-bb-installments-info:focus-visible { outline:2px solid var(--bb-color-action-primary,#028543); outline-offset:2px; }
.gf-bb-card-v2 .gf-bb-selling-points {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:start; gap:6px;
  width:100%; min-width:0; margin:0; padding:0; list-style:none; text-align:center;
}
.gf-bb-card-v2 .gf-bb-selling-points--three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.gf-bb-card-v2 .gf-bb-selling-points > li {
  display:flex; flex-direction:column; align-items:center; gap:1px;
  position:relative; align-self:stretch;
  margin:0; padding:0; min-width:0; text-align:center;
  color:var(--bb-color-text-primary,#1e2327);
}
.gf-bb-card-v2 .gf-bb-selling-points > li + li::before {
  content:''; position:absolute; top:0; bottom:0; left:-3.5px; width:1px;
  background:var(--bb-color-border-default,#dfe4e9);
}
.gf-bb-card-v2 .gf-bb-selling-points > li > svg {
  display:block; flex:0 0 20px; width:20px; height:20px; margin-bottom:4px;
  color:var(--bb-color-action-primary,#028543);
}
.gf-bb-card-v2 .gf-bb-selling-points strong { font:700 11px/15px Lato,Arial,sans-serif; }
.gf-bb-card-v2 .gf-bb-selling-points li > span {
  max-width:100%; color:var(--bb-color-text-secondary,#66717c); font:400 10px/14px Lato,Arial,sans-serif;
}
.gf-bb-card-v2 .gf-bb-card-secondary-actions {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; min-width:0;
}
.gf-bb-card-v2 .gf-bb-card-secondary-actions > a,
.gf-bb-card-v2 .gf-bb-card-secondary-actions > button {
  display:flex; align-items:center; justify-content:center; gap:6px;
  width:100%; min-width:0; min-height:32px; height:auto; padding:4px 2px; margin:0;
  border:0; border-radius:0; background:transparent; box-shadow:none;
  color:var(--bb-color-action-primary,#028543); font:700 11px/16px Lato,Arial,sans-serif;
  text-transform:none; letter-spacing:0; white-space:normal; cursor:pointer; text-decoration:none;
}
.gf-bb-card-v2 .gf-bb-card-secondary-actions > button { border-left:1px solid var(--bb-color-border-default,#dfe4e9); }
.gf-bb-card-v2 .gf-bb-card-secondary-actions svg { display:block; flex:0 0 16px; width:16px; height:16px; }
.gf-bb-card-v2 .gf-bb-card-secondary-actions > :hover { color:#01713a; text-decoration:underline; }
.gf-bb-card-v2 .gf-bb-card-secondary-actions > :focus-visible { outline:2px solid #028543; outline-offset:2px; }
@media (min-width:1000px) {
  @container gf-bb-card (max-width:280px) {
    .gf-bb-card-v2 .gf-bb-selling-points { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; }
    .gf-bb-card-v2 .gf-bb-selling-points > li { width:calc((100% - 8px)/2); }
    .gf-bb-card-v2 .gf-bb-selling-points > li:nth-child(odd)::before { content:none; }
    .gf-bb-card-v2 .gf-bb-selling-points > li:nth-child(even)::before { left:-4.5px; }
  }
}
@container gf-bb-card (max-width:220px) {
  .gf-bb-card-v2 .gf-bb-card-secondary-actions > a,
  .gf-bb-card-v2 .gf-bb-card-secondary-actions > button { gap:4px; font-size:10px; }
}
@media (max-width:549px) {
  .gf-bb-card-v2 .product-small.box .gf-bb-purchase-details .gf-bb-installments {
    flex-basis:100%; display:flex; justify-content:center; align-items:flex-start; gap:4px;
    font-size:11px; line-height:16px; text-align:center;
  }
  .gf-bb-card-v2 .gf-bb-installments > svg { width:14px; height:14px; }
  .gf-bb-card-v2 .gf-bb-installments > span { max-width:calc(100% - 18px); text-align:center; }
  .gf-bb-card-v2 .gf-bb-installments-tail { margin-block:-4px; }
}
/* One horizontal row in tablet/mobile, including the three-point price case. */
@media (max-width:999px) {
  .gf-bb-card-v2 .gf-bb-selling-points {
    display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px;
  }
  .gf-bb-card-v2 .gf-bb-selling-points--three { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .gf-bb-card-v2 .gf-bb-selling-points > li { width:auto; }
  .gf-bb-card-v2 .gf-bb-selling-points > li + li::before { content:''; left:-2.5px; }
  .gf-bb-card-v2 .gf-bb-selling-points > li > svg { flex-basis:18px; width:18px; height:18px; margin-bottom:3px; }
  .gf-bb-card-v2 .gf-bb-selling-points strong { font-size:10px; line-height:13px; }
  .gf-bb-card-v2 .gf-bb-selling-points li > span { font-size:8.5px; line-height:12px; overflow-wrap:anywhere; }
}
@media (max-width:549px) {
  .gf-bb-card-v2 .gf-bb-selling-points {
    width:100%; margin-inline:auto; column-gap:4px;
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .gf-bb-card-v2 .gf-bb-selling-points--three { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .gf-bb-card-v2 .gf-bb-selling-points--two { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .gf-bb-card-v2 .gf-bb-selling-points > li { align-items:center; text-align:center; }
  .gf-bb-card-v2 .gf-bb-selling-points > li + li::before { left:-2.5px; }
  .gf-bb-card-v2 .gf-bb-selling-points > li > svg { flex-basis:16px; width:16px; height:16px; margin-bottom:2px; }
  .gf-bb-card-v2 .gf-bb-selling-points strong { max-width:100%; font-size:9px; line-height:12px; }
  .gf-bb-card-v2 .gf-bb-selling-points li > span { font-size:clamp(6.5px,2.05vw,8px); line-height:10px; }
  .gf-bb-card-v2 .gf-bb-selling-points strong,
  .gf-bb-card-v2 .gf-bb-selling-points li > span { width:100%; text-align:center; overflow-wrap:normal; }
}
/* Local desktop review: smaller advantages and shorter, centred dividers. */
@media (min-width:1000px) {
  .gf-bb-card-v2 .gf-bb-selling-points > li > svg {
    flex-basis:18px; width:18px; height:18px; margin-bottom:2px;
  }
  .gf-bb-card-v2 .gf-bb-selling-points strong { font-size:10px; line-height:14px; }
  .gf-bb-card-v2 .gf-bb-selling-points li > span { font-size:9px; line-height:12px; }
  .gf-bb-card-v2 .gf-bb-selling-points > li + li::before {
    top:50%; bottom:auto; height:28px; transform:translateY(-50%);
  }
}
/* GF-BB-CARD-MOBILE-CTA-DARK:v1 — preserve the approved mobile appearance. */
@media (max-width:549px) {
  .gf-bb-card-v2 .product-small.box .add-to-cart-button .button,
  .gf-bb-card-v2 .product-small.box .add-to-cart-button .button:hover,
  .gf-bb-card-v2 .product-small.box .add-to-cart-button .button:focus-visible {
    background:var(--bb-color-text-primary,#1e2327);
    color:#fff;
  }
}


/* GF-BB-CARD-REVIEW-MOBILE-GRID: approved local width, two-column grids only. */
@media (max-width:549px) {
  body.wp-child-theme-buyback .products.row.small-columns-2:has(> .gf-bb-card-v2) {
    width:auto!important; max-width:none!important; margin-left:-9px!important; margin-right:-9px!important;
  }
  body.wp-child-theme-buyback .products.row.small-columns-2 > .gf-bb-card-v2 {
    padding-left:6px!important; padding-right:6px!important;
  }
}

/* GF-BB-CARD-MOBILE-INSTALLMENT-LINE:v1 — one centred group, mobile only. */
@media (max-width:549px) {
  .gf-bb-card-v2 .product-small.box .gf-bb-purchase-details .gf-bb-installments {
    display:flex; flex-wrap:nowrap; justify-content:center; align-items:center;
    gap:3px; white-space:nowrap; font-size:clamp(8px,2.5vw,11px); line-height:16px;
  }
  .gf-bb-card-v2 .gf-bb-installments > svg {
    flex:0 0 clamp(10px,3vw,12px); width:clamp(10px,3vw,12px); height:clamp(10px,3vw,12px); margin:0;
  }
  .gf-bb-card-v2 .gf-bb-installments > span {
    flex:0 0 auto; width:auto; max-width:none; white-space:nowrap; text-align:center;
  }
  .gf-bb-card-v2 .gf-bb-installments-tail { margin:0; vertical-align:baseline; }
  .gf-bb-card-v2 .gf-bb-installments-info { display:none; }
}

/* LOCAL REVIEW 2026-10-11: compact desktop with a reveal inside fixed bounds. */
@media (min-width:1000px) and (hover:hover) {
  .gf-bb-card-v2 .product-small.box .gf-bb-purchase-zone .add-to-cart-button {
    position:relative; z-index:3;
    transition:transform 280ms cubic-bezier(.22,.61,.36,1);
  }
  .gf-bb-card-v2 .product-small.box .gf-bb-purchase-zone .add-to-cart-button::before {
    content:''; position:absolute; inset:-16px 0 0; z-index:-1;
    background:linear-gradient(180deg,rgba(255,255,255,0),#fff 16px);
    opacity:0; pointer-events:none; transition:opacity 220ms ease;
  }
  .gf-bb-card-v2 .gf-bb-selling-points {
    position:absolute; inset:auto 0 0;
    padding-top:8px; background:#fff; z-index:2;
    opacity:0; transform:translateY(8px); pointer-events:none;
    transition:opacity 220ms ease,transform 280ms cubic-bezier(.22,.61,.36,1);
  }
  .gf-bb-card-v2:is(:hover,:has(.add-to-cart-button :focus-visible)) .product-small.box .gf-bb-purchase-zone .add-to-cart-button {
    transform:translateY(calc(-1 * var(--gf-bb-reveal-height,56px)));
  }
  .gf-bb-card-v2:is(:hover,:has(.add-to-cart-button :focus-visible)) .gf-bb-selling-points {
    opacity:1; transform:translateY(0);
  }
  .gf-bb-card-v2:is(:hover,:has(.add-to-cart-button :focus-visible)) .product-small.box .gf-bb-purchase-zone .add-to-cart-button::before {
    opacity:1;
  }
  /* Payment information stays uncovered while its control is targeted. */
  .gf-bb-card-v2:has(.gf-bb-installments-info:is(:hover,:focus-visible)) .product-small.box .gf-bb-purchase-zone .add-to-cart-button {
    transform:none;
  }
  .gf-bb-card-v2:has(.gf-bb-installments-info:is(:hover,:focus-visible)) .gf-bb-selling-points {
    opacity:0; transform:translateY(8px);
  }
  .gf-bb-card-v2:has(.gf-bb-installments-info:is(:hover,:focus-visible)) .product-small.box .gf-bb-purchase-zone .add-to-cart-button::before {
    opacity:0;
  }
}
/* Mobile retains natural height and every field; advantages follow the CTA. */
@media (max-width:549px) {
  .gf-bb-card-v2 .product-small.box .box-text { padding:8px 0 0; gap:6px; }
  .gf-bb-card-v2 .product-small.box .title-wrapper { gap:4px; }
  .gf-bb-card-v2 .product-small.box .product-title {
    height:auto!important; min-height:18px; max-height:none; overflow:visible;
  }
  .gf-bb-card-v2 .product-small.box .bb-card__specs { gap:3px; margin-top:2px; }
  .gf-bb-card-v2 .product-small.box .gf-bb-purchase-zone { padding-top:4px; gap:6px; }
  .gf-bb-card-v2 .product-small.box .gf-bb-purchase-details { gap:4px; }
  .gf-bb-card-v2 .product-small.box .gf-bb-purchase-details .price-wrapper { row-gap:2px; }
  .gf-bb-card-v2 .product-small.box .gf-bb-purchase-details .gf-bb-installments { margin-top:2px; }
  .gf-bb-card-v2 .gf-bb-selling-points > li + li::before {
    top:50%; bottom:auto; height:50%; transform:translateY(-50%);
  }
}
@media (min-width:1000px) and (hover:hover) and (prefers-reduced-motion:reduce) {
  .gf-bb-card-v2 .product-small.box .gf-bb-purchase-zone .add-to-cart-button,
  .gf-bb-card-v2 .product-small.box .gf-bb-purchase-zone .add-to-cart-button::before,
  .gf-bb-card-v2 .gf-bb-selling-points { transition:none; }
}
/* Reviewed image/title spacing. Only cards whose main and hover images have audited
   blank bottom space (attachment meta _bb_card_trim_bottom, class set in PHP) use the
   shorter viewport; the others keep the full square canvas. */
.gf-bb-card-v2.gf-bb-photo-audited .box-image .image-fade_in_back > a {
  aspect-ratio:10 / 9; --gf-bb-audited-photo-height:111.111111%;
}
.gf-bb-card-v2 .box-image .image-fade_in_back > a > img {
  height:var(--gf-bb-audited-photo-height,100%); max-height:none;
}
.gf-bb-card-v2 .product-small.box .box-text { padding-top:4px; }

/* Colours and discount copy belong to Flatsome's native Customizer controls.
   Multiple lateral badges can overlap the product image at either position. */
.gf-bb-card-v2 > .col-inner > .badge-container:has(> .badge:nth-child(2)) > .badge .badge-inner {
  -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 70%,rgba(0,0,0,.6) 100%);
  mask-image:linear-gradient(90deg,#000 0%,#000 70%,rgba(0,0,0,.6) 100%);
}

/* ---------- Variants by width (formerly added/removed by script) ---------- */
/* Delivery line: desktop only. */
@media (max-width:999px) {
  .gf-bb-card-v2 .gf-bb-card-delivery { display:none; }
}
/* Instalments: "ou, desde X€/mês," from 550px, "ou, X€/mês" on mobile. */
.gf-bb-card-v2 .gf-bb-installments-value--narrow { display:none; }
@media (max-width:549px) {
  .gf-bb-card-v2 .gf-bb-installments-value--wide { display:none; }
  .gf-bb-card-v2 .gf-bb-installments-value--narrow { display:inline; }
  /* "Mais sustentável" is not shown on mobile. */
  .gf-bb-card-v2 .gf-bb-selling-points > li[data-point="sustainability"] { display:none; }
}
/* "Ver detalhes" / "Comparar": tablet only. */
@media (max-width:549px), (min-width:1000px) {
  .gf-bb-card-v2 .gf-bb-card-secondary-actions { display:none; }
}
/* Tablet: selling points sit between the price and the button. */
@media (min-width:550px) and (max-width:999px) {
  .gf-bb-card-v2 .gf-bb-purchase-zone > .gf-bb-purchase-details { order:0; }
  .gf-bb-card-v2 .gf-bb-purchase-zone > .gf-bb-selling-points { order:1; }
  .gf-bb-card-v2 .gf-bb-purchase-zone > .add-to-cart-button { order:2; }
  .gf-bb-card-v2 .gf-bb-purchase-zone > .gf-bb-card-secondary-actions { order:3; }
}
