/*
 Theme Name:   WoodMart Child
 Template:     woodmart
 Author:       [Il tuo nome]
 Version:      1.0
*/


.newsletter-horizontal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: #e9e9e9;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 15px;
  color: #333;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  max-width: 800px;
  margin: 30px auto;
}

.newsletter-horizontal .newsletter-label {
  font-weight: bold;
  margin-right: 10px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.newsletter-horizontal form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.newsletter-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.newsletter-horizontal input[type="email"] {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  width: 220px;
  margin: 0;
  line-height: 1.2;
}

.newsletter-horizontal button {
  background-color: #2a8b47;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 0;
  line-height: 1.2;
}

.newsletter-horizontal button:hover {
  background-color: #1e7036;
}

.hide-on-mobile {
  display: inline-block;
}

/* 🔧 Mobile layout super compatto */
@media (max-width: 600px) {
  .newsletter-horizontal {
    flex-direction: column;
    text-align: center;
    padding: 6px 10px;
    margin: 10px auto;
    gap: 0;
  }

  .newsletter-horizontal .newsletter-label {
    font-size: 15px;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    justify-content: center;
  }

  .hide-on-mobile {
    display: none !important;
  }

  .newsletter-fields {
    flex-direction: column;
    gap: 0;
  }

  .newsletter-horizontal input[type="email"] {
    width: 100%;
    padding: 5px 8px;
    font-size: 13px;
    border-radius: 4px;
  }

  .newsletter-horizontal button {
    padding: 5px 8px;
    font-size: 13px;
    border-radius: 4px;
  }
}










.btn.wc-backward {
    display: none !important;
}

p.order-again {
    display: none;
}

.dgwt-wcas-overlay-mobile-on .dgwt-wcas-suggestions-wrapp {
    display: flex;
}

.dgwt-wcas-suggestions-wrapp {
    display: flex;
    flex-wrap: wrap;
}

.dgwt-wcas-suggestion-product:not(.dgwt-wcas-suggestion-history-product) {
    /* Impostazioni di base per desktop */
    flex: 1 1 25%; /* Cresce, si restringe e parte da una base del 33% */
    display: flex;
    flex-direction: column;
}

.dgwt-wcas-suggestion-product:not(.dgwt-wcas-suggestion-history-product) .dgwt-wcas-content-wrapp {
    padding: 5px 0;
    text-align: center;
    flex-direction: column;
}

.dgwt-wcas-suggestion-product:not(.dgwt-wcas-suggestion-history-product) .dgwt-wcas-has-sku .dgwt-wcas-st-title {
    margin-right: 0px;
}

.dgwt-wcas-suggestion-product:not(.dgwt-wcas-suggestion-history-product) .dgwt-wcas-si {
    width: 150px;
}

.dgwt-wcas-suggestion-product:not(.dgwt-wcas-suggestion-history-product) .dgwt-wcas-sp {
    font-size: 20px;
    font-weight: bold;
    padding: 0;
}

.dgwt-wcas-suggestion-product:not(.dgwt-wcas-suggestion-history-product) .dgwt-wcas-meta {
    margin-top: 15px;
}

/* Media query per dispositivi mobili */
@media (max-width: 768px) {
    .dgwt-wcas-suggestion-product:not(.dgwt-wcas-suggestion-history-product) {
        /* Su dispositivi mobili, parti da una base del 50% per fare spazio a due colonne */
        flex: 1 1 50%;
    }
}