/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.20.2
*/
/* --- PBMEK: Caratteristiche nella breve descrizione --- */
.woocommerce-product-details__short-description .pbmek-specs {
  margin: 16px 0;
}

.woocommerce-product-details__short-description .pbmek-specs h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: #333;
}

/* --- PBMEK: Varianti summary nella breve descrizione --- */
.woocommerce-product-details__short-description .pbmek-variants-summary-short {
  margin: 16px 0;
  padding: 12px;
  background: #f9f9f9;
  border-radius: 4px;
  border-left: 3px solid #007cba;
}

.woocommerce-product-details__short-description .pbmek-variants-summary-short h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #333;
}

/* --- Sezione varianti nella descrizione prodotto --- */
.pbmek-product-variants {
  margin-top: 2rem;
}

/* --- Miglioramento spacing generale --- */
.woocommerce-product-details__short-description {
  margin-bottom: 2rem;
}

/* --- Mobile responsive per la nuova struttura --- */
@media (max-width: 768px) {
  .woocommerce-product-details__short-description .pbmek-specs,
  .woocommerce-product-details__short-description .pbmek-variants-summary-short {
    margin: 12px 0;
  }
  
  .woocommerce-product-details__short-description .pbmek-variants-summary-short {
    padding: 10px;
  }
}
/* Forza allineamento sinistra e larghezza 100% */
.product-info.entry-summary .description {
  text-align: left !important;
}

.pbmek-specs-moved,
.pbmek-variants-common-moved {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

/* Se serve, resetta eventuali flex centering */
.product-info.entry-summary {
  display: block !important;
}
/* ===== Scroll orizzontale solo per le tabelle varianti ===== */
.pbmek-variants .table-wrap,
.pbmek-product-variants .table-wrap {
  width: 100% !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  box-shadow: inset 0 -1px 0 #eee !important;
}

.pbmek-variants table,
.pbmek-product-variants table {
  min-width: 720px !important;
}
/* Stile per le tabelle varianti */
.pbmek-table {
  width: 100%;
  border: 1px solid #ddd;
  border-collapse: collapse;
}
.pbmek-table thead tr {
  background: #fff;
}
.pbmek-table th,
.pbmek-table td {
  padding: 5px;
  border: 1px solid #ddd;
}
