/* FLY V84: the existing catalogue and native product folio, with a shared rhythm. */

/* Keep browsing, the commercial state and the result controls together. */
body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-v40-sales-status {
  padding-top:14px;
}
body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-filters {
  padding-block:20px!important;
}
body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-catalog-status {
  margin:18px 0 24px;
}

/* The model link and the optional purchase strip are separate native actions.
   Do not stretch a link into the space left by a missing purchase strip. */
body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-products {
  align-items:start;
}
body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-product-card {
  min-height:0;
}
body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-product-card>a {
  height:auto!important;
  flex:0 0 auto;
}
body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-product-card-body {
  padding-top:20px!important;
}
body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-product-card h3 {
  margin-bottom:10px!important;
  font-size:clamp(24px,1.9vw,28px)!important;
  line-height:1.18!important;
  letter-spacing:-.02em!important;
  text-wrap:pretty;
  overflow-wrap:normal;
}
body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-product-card .fly-v56-card-description {
  max-width:42ch;
  margin-bottom:12px!important;
}
body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-product-card-body>p:last-of-type {
  margin-bottom:18px!important;
}
body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-v40-card-action {
  min-height:46px;
  padding:11px 20px;
  margin-top:auto;
  font-size:15px;
}
body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-v64-card-buy {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:16px 0 0;
  padding:16px 0 0;
  border-top:1px solid var(--fly-v56-rule);
}
body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-v64-card-buy>p {
  flex:0 0 auto;
  margin:0!important;
}
body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-v64-card-buy strong {
  font-size:22px;
  line-height:1.3;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-v64-card-buy .fly-v64-demo-form {
  min-width:0;
  margin:0;
}
body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-v64-card-buy .fly-v64-demo-form button {
  min-height:46px;
  padding:11px 14px;
  font-size:14px;
  line-height:1.4;
  white-space:normal;
  text-wrap:balance;
}

/* Share image, reading and purchase rows across each real catalogue row.
   Older engines retain the compact, intrinsic-height cards above. */
@supports (grid-template-rows:subgrid) {
  @media (min-width:681px) {
    body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-products {
      row-gap:0!important;
      align-items:stretch;
    }
    body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-product-card {
      display:grid!important;
      grid-row:span 3;
      grid-template-rows:subgrid;
      padding-bottom:44px!important;
    }
    body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-product-card>a {
      display:grid!important;
      grid-row:1/3;
      grid-template-rows:subgrid;
      min-width:0;
    }
    body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-product-card-media {
      grid-row:1;
    }
    body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-product-card-body {
      grid-row:2;
    }
    body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-v64-card-buy {
      grid-row:3;
      align-self:start;
    }
  }
}

/* The source A2130 sheet already contains its own complete white border.
   Remove only the extra drawn outline; the original raster stays untouched. */
body.fly-product-page.postid-2958 #contenido .product.fly-product-v56 [data-fly-v62-frame="product"]>.fly-v62-contour,
body.fly-product-page.postid-2958 #contenido .product.fly-product-v56 [data-fly-v62-frame="product"]::before,
body.fly-product-page.postid-2958 #contenido .product.fly-product-v56 [data-fly-v62-frame="product"]::after {
  display:none!important;
  visibility:hidden!important;
}

/* The older 100% !important width plus the folio margins exceeded the page.
   Fit the native tabs and accordions inside those same folio gutters. */
body.fly-product-page #contenido .product.fly-product-v56.fly-product-v46>:is(.woocommerce-tabs,.fly-product-accordions--wide) {
  width:auto!important;
  min-width:0;
  max-width:none!important;
  margin-inline:var(--fly-folio-edge)!important;
}
body.fly-product-page #contenido .product.fly-product-v56.fly-product-v46 .fly-product-accordions--wide details {
  min-width:0;
}
body.fly-product-page #contenido .product.fly-product-v56.fly-product-v46 .fly-product-accordions--wide summary {
  overflow-wrap:anywhere;
}
body.fly-product-page #contenido .product.fly-product-v56.fly-product-v46 .fly-v46-more-model {
  display:flex;
  flex-direction:column;
  min-width:0;
}
body.fly-product-page #contenido .product.fly-product-v56.fly-product-v46 .fly-v46-more-model h3 {
  margin:18px 0 12px;
  font-size:clamp(24px,1.9vw,28px);
  line-height:1.2;
  text-wrap:pretty;
}
body.fly-product-page #contenido .product.fly-product-v56.fly-product-v46 .fly-v46-more-model>span {
  min-height:44px;
  margin-top:auto;
  padding-block:12px;
}

@media (max-width:980px) {
  body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-v15-filter-panel>summary {
    margin-top:18px;
  }
}
@media (max-width:680px) {
  body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-product-card h3 {
    font-size:26px!important;
    line-height:1.18!important;
  }
  body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-product-card-body {
    padding-top:18px!important;
  }
  body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-v64-card-buy {
    flex-direction:row;
    gap:14px;
  }
  body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-v64-card-buy .fly-v64-demo-form {
    width:auto;
    flex:1 1 auto;
    max-width:260px;
  }
  body.fly-storefront-v40.fly-storefront-v56.fly-storefront-v62 #contenido .fly-v64-card-buy .fly-v64-demo-form button {
    width:100%;
  }
  body.fly-product-page #contenido .product.fly-product-v56.fly-product-v46 .summary :is(.fly-club-status,.fly-club-empty,.product_meta) {
    margin-top:20px;
  }
}
