/** Shopify CDN: Minification failed

Line 41:0 Unexpected "{"
Line 41:1 Expected identifier but found "%"
Line 42:0 Unexpected "{"
Line 42:1 Expected identifier but found "%"
Line 45:0 Unexpected "{"
Line 45:1 Expected identifier but found "%"
Line 62:0 Unexpected "{"
Line 62:1 Expected identifier but found "%"
Line 65:0 Unexpected "{"
Line 65:1 Expected identifier but found "%"
... and 18 more hidden warnings

**/
/* Layout */
.topSpace { height: 30px; }
.bnrTtl { font-size: 24px; text-transform: capitalize; }
.shopify-policy__container{max-width:1200px !important}

/* Tipografia */
.rte p a,
.rte li a { text-decoration: underline; }

/* Inputs e bordi (base, mobile-first) */
:is(
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  input[type="tel"],
  input[type="url"],
  select,
  textarea
) {
  border-radius: 5px !important;
}

/* --- Stili condizionali per product e collection (ottimizzati) */
{% assign is_product = template contains 'product' %}
{% assign is_collection = template contains 'collection' %}

/* Icone e messaggi (solo product) */
{% if is_product %}
  .fullwidth {
    width: 100vw !important;
    max-width: 100vw !important;
  }

  .at-heart,
  .at-heart-l { padding-left: 5px; }
  .at-angle-down-l { font-size: 20px; }
  .msg { padding: 5px; }
  .fl-checkbox { margin-bottom: 0; }
  .breadcrumbs.fullwidth { padding-left: 0; }
  .sumtabs summary { padding-left: 0; padding-right: 10px; }
  summary.pr.fl.f-aic.f-jcsb.wd100 span {
    text-decoration: underline;
    text-underline-offset: 5px;
  }
{% endif %}

/* Product labels e layout immagini prodotto (product o collection) */
{% if is_product or is_collection %}
  .product-labels .lbl {
    font-size: 10px;
    text-transform: uppercase;
    padding: 3px 6px;
    line-height: 1;
  }
  .pr_photoes .product-labels {
    display: flex;
    justify-content: flex-end;
    left: 50px;
    right: 0;
    pointer-events: none;
    box-sizing: border-box;
  }

  /* Swatches consolidati e corretti */
  .gridSwatches li,
  .clrFl .clrbox,
  .swatchLbl.color {
    width: 20px;
    height: 20px;
    box-sizing: border-box;
  }
  .clrFl .clrbox {
    box-shadow: 0 0 1px 1px #ddd;
    border: 2px solid #fff;
  }
  /* Swatches consolidati e corretti */
  .gridSwatches {
    margin-top: 5px !important;
    box-sizing: border-box;
  }

  /* AirReviews: unico blocco per entrambi i template */
  .AirReviews-Widget .AirReviews-StarRatingWrapper {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Star icon size */
  .AirReviews-StarRate .medium .Avada_Star-Icon {
    font-size: 14px;
  }
{% endif %}

/* Collection specific: immagini e performance */
{% if is_collection %}
  .gview-img { overflow: hidden; }
  .gitem-img {
    transition: transform .4s ease;
    backface-visibility: hidden;
    will-change: auto;
    transform-origin: center center;
    -webkit-transform: translateZ(0);
  }
  .gview-img:hover .gitem-img {
    transform: scale(.9);
    will-change: transform;
  }
{% endif %}

/* Rispetto preferenze ridotte per il movimento */
@media (prefers-reduced-motion: reduce) {
  {% if is_collection %}
    .gitem-img { transition: none !important; will-change: auto !important; }
  {% endif %}
}

/* Mobile tweaks */
@media screen and (max-width: 768px) {
  h1 { font-size: 22px; }
  h2 { font-size: 20px; }
  h3 { font-size: 18px; }
  h4 { font-size: 16px; }
  h5, h6, p { font-size: 14px; }

  {% if is_collection %}
    .grid-view-item__title,
    .group-prod h5 a { font-size: 11px; }
    .product-labels .lbl { font-size: 8px; }
    .pr_photoes .product-labels { left: 10px; }
    .AirReviews-Widget.AirReviews-Widget--Stars { display: flex; justify-content: center; }
  {% endif %}
  {% if is_product %}
    .AirReviews-Widget--AppBlockSummary .AirReviews-Widget--Stars { justify-content: flex-start; }
    .AirReviews-Widget--Stars { display: flex; justify-content: center; }
    .AirReviews-StarRatingWrapper { display: flex; align-items: center; justify-content: center; }
  {% endif %}
}