/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
/* Stili CSS per il template */
.single-product-custom-layout {
  padding: 20px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-right {
  font-size: 28px;
  font-weight: bold;
  color: #333;
}

.product-title {
  font-size: 32px;
  margin: 20px 0 10px;
}

.product-address {
  color: #666;
  margin: 10px 0;
}

.product-address i {
  margin-right: 8px;
}

.product-categories {
  margin: 15px 0;
}

.category-badge {
  display: inline-block;
  background: var(--wd-primary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  margin-right: 10px;
  font-size: 14px;
}

.category-badge:hover {
  background: var(--wd-primary-color);
  color: #fff !important;
}


/************ overview & description  ****/
.overview-section,
.description-section,
.details-section,
.features-section {
  padding: 36px 40px;
  background-color: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
  margin-bottom: 30px;
}

/* Titolo di sezione con accento */
.overview-header h2,
.description-section h2 {
  position: relative;
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #1f2429;
  padding-bottom: 14px;
}

.overview-header h2::after,
.description-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 3px;
  background: var(--wd-primary-color);
}

.overview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid #ececec;
  margin-bottom: 28px;
  padding-bottom: 18px;
}

.property-id {
  color: #8a8f96;
  font-size: 13px;
  font-weight: 600;
  background: #f5f6f8;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.overview-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fafbfc;
  border: 1px solid #eef0f2;
  border-radius: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.overview-box:hover {
  transform: translateY(-3px);
  border-color: var(--wd-primary-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.attributo-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 9px;
  box-sizing: border-box;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eef0f2;
  object-fit: contain;
}

.overview-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.overview-value {
  font-size: 13px;
  font-weight: 700;
  color: #1f2429;
  margin-bottom: 3px;
  line-height: 1.3;
}

.overview-label {
  font-size: 12px;
  color: #8a8f96;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Descrizione */
.description-section h2 {
  margin-bottom: 24px;
}

.description-content {
  color: #4a4f55;
  font-size: 16px;
  line-height: 1.8;
}

.description-content p {
  margin: 0 0 18px;
}

.description-content p:last-child {
  margin-bottom: 0;
}
/************************/

.details-grid {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  margin-top: 20px;
}

.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
}

.detail-label {
  font-weight: 600;
  color: #333;
}

.detail-value {
  color: #666;
  text-align: right;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
}

.feature-item i {
  color: #4caf50;
  margin-right: 10px;
}

/* Stili per la tabella degli attributi WooCommerce */
.woocommerce-product-attributes {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-product-attributes tr {
  border-bottom: 1px solid #e0e0e0;
}

.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
  padding: 12px 15px;
  text-align: left;
}

.woocommerce-product-attributes th {
  font-weight: 600;
  color: #333;
  width: 40%;
}

.woocommerce-product-attributes td {
  color: #666;
}
.details-section.wd-grid-col {
  display: none;
}


a.tag-badge {
    display: inline-block;
    background: #c3c3c3;
    color: #393636;
    padding: 5px 15px;
    border-radius: 20px;
    margin-right: 10px;
    font-size: 14px;
    font-weight: 700;
}
@media (max-width: 800px) {
.attributi-prodotto,h5.item-address {
    display: none!important;
}

}