/**
Theme Name: modianus-quatio
Author: Quatio di Capasso Romano
Author URI: https://quatio.it
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: modianus-quatio
Template: astra
*/
.gallery-icon{border:0!important;}
.gallery-item{padding:5px!important;}
.gallery-columns-3 .gallery-item{text-align: right;max-width: 75px!important;}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp{background:none !important; min-width: 700px!important;}
.ast-single-entry-banner[data-post-type=product] .entry-title{font-size: 3.875rem;}
.ast-sticky-add-to-cart-action-wrap .ast-sticky-add-to-cart-action-price{font-size: 1.575rem; font-weight:bold;}
.ast-sticky-add-to-cart .ast-sticky-add-to-cart-content .ast-sticky-add-to-cart-title-wrap .ast-sticky-add-to-cart-title{font-size: 1.575rem; font-weight:bold;}
.woocommerce-js ul.products li.product .woocommerce-loop-product__title, .woocommerce-page ul.products li.product .woocommerce-loop-product__title{font-size: 1.6em;}
.woocommerce-js ul.products li.product .price, .woocommerce-page ul.products li.product .price{font-size: 1.3em;}

/* ===============================
   Modianus - Product boxes (CLEAN)
   =============================== */

/* Griglia */
.md-prod-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin:16px 0;
}
@media (max-width: 768px){
  .md-prod-grid{ grid-template-columns:1fr; }
}

/* FIX: wpautop inserisce <p></p> dentro la griglia */
.md-prod-grid > p:empty{ display:none !important; margin:0 !important; padding:0 !important; }
.md-prod-grid > p{ margin:0 !important; }

/* Card base (NO min-height per evitare vuoti) */
.md-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius:16px;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
  padding:14px;
  display:flex;
  flex-direction:column;
  min-height:0;
}
.md-card--span2{ grid-column:1 / -1; }
.md-card--compact{ padding:12px; }

/* Kicker */
.md-card__kicker{
  display:inline-flex;
  align-items:center;
  font-size:11px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  opacity:.9;
  margin:0 0 8px;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.035);
  border:1px solid rgba(0,0,0,.07);
}

/* Titolo */
.md-card__title{
  font-size:20px;
  font-weight:900;
  margin:0 0 8px;
  line-height:1.15;
}

/* Contenuto */
.md-card__content{
  font-size:15px;
  line-height:1.55;
  opacity:.92;
}

/* Liste */
.md-list{ margin:0; padding-left:18px; }
.md-list li{ margin:6px 0; }
.md-list strong{ font-weight:800; }

/* Link neutri */
.md-card a{ text-decoration:none; color:inherit; }

/* ==================================
   Scheda tecnica (md-tech*) - COMPACT
   ================================== */

/* Wrapper: NIENTE cornici/sfondi (evita doppie) */
.md-techbox{
  margin-top:6px;
  padding:0;
  border:0;
  background:transparent;
}

/* Riga interna: unica cornice, molto compatta */
.md-techrow{
  display:flex;
  align-items:stretch;
  gap:10px;
  padding:10px;

  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  background:rgba(0,0,0,.02);

  /* IMPORTANTISSIMO: evita “vuoto infinito” */
  width:100%;
}

/* Icona: si stira in altezza, ma resta compatta */
.md-techicon{
  width:44px;
  min-height:44px;
  align-self:stretch;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:rgba(0,0,0,.05);
  flex:0 0 44px;
}

/* Colonna destra: bottone sopra (a destra), dimensione sotto */
.md-techmeta{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}

/* Bottone: in alto a destra sopra “Dimensione” */
.md-techbtn,
.md-techbtn:link,
.md-techbtn:visited{
  width: fit-content;
}

/* Dimensione: sotto */
.md-techsize{
  margin:0;
  font-size:12px;
  line-height:1.2;
  opacity:.7;
}

/* Mobile: riga full width + bottone pieno */
@media (max-width: 768px){
  .md-techrow{ max-width:none; }
  .md-techmeta{ max-width:none; }
}

div.woocommerce form .woocommerce-billing-fields__field-wrapper{margin-top:3%!important;}
div.woocommerce form .form-row .woocommerce-input-wrapper span.description{padding:0;}
div.woocommerce form .form-row .woocommerce-input-wrapper span.description{font-size:xx-small;color: #333;}