/* ==========================================================================
   AURA LUXIFY — Single Product Page
   Sage/forest-green design system, matching Shop/Cart/Checkout/Account.
   Scoped ONLY to body.single-product — homepage untouched.
   ========================================================================== */

body.single-product{
  --al-bg:#DFECE5;
  --al-surface:#FFFFFF;
  --al-dark:#2C3A32;
  --al-dark-hover:#3A4B41;
  --al-border:#CFE0D6;
  --al-text-muted:#1B211D;
  --al-radius:20px;
  --al-radius-sm:14px;
  --al-shadow: 0 8px 24px -8px rgba(44,58,50,.16);
  --al-font-heading:'Nunito', sans-serif;
  --al-font-body:'Nunito', sans-serif;

  background:var(--al-bg) !important;
}
body.single-product #primary,
body.single-product .content-area,
body.single-product .product-page-container{
  background:var(--al-bg) !important;
}

/* ---------- Breadcrumb ---------- */
body.single-product .woostify-breadcrumb,
body.single-product .woostify-breadcrumb a{
  color:var(--al-text-muted) !important;
  font-family:var(--al-font-body);
}

/* ---------- Gallery ---------- */
body.single-product .product-gallery{
  background:var(--al-surface);
  border:1px solid var(--al-border);
  border-radius:var(--al-radius);
  box-shadow:var(--al-shadow);
  padding:16px;
}
body.single-product .product-images-container,
body.single-product figure.image-item,
body.single-product figure.image-item img{
  border-radius:var(--al-radius-sm);
}
body.single-product .product-thumbnail-images .thumbnail-item{
  border-radius:10px;
  overflow:hidden;
  border:1px solid var(--al-border);
}
body.single-product .product-thumbnail-images .thumbnail-item.active,
body.single-product .product-thumbnail-images .thumbnail-item:hover{
  border-color:var(--al-dark);
}

/* ---------- Summary box (title / price / specs / add-to-cart) ---------- */
body.single-product .summary.entry-summary{
  background:var(--al-surface);
  border:1px solid var(--al-border);
  border-radius:var(--al-radius);
  box-shadow:var(--al-shadow);
  padding:32px;
  font-family:var(--al-font-body);
}
body.single-product .summary.entry-summary > *{
  margin-bottom:20px;
}
body.single-product .product_title.entry-title{
  font-family:var(--al-font-heading) !important;
  font-weight:800 !important;
  color:var(--al-dark) !important;
  font-size:clamp(24px,3vw,32px) !important;
  line-height:1.25 !important;
  margin-bottom:12px !important;
}
body.single-product .summary.entry-summary > p.price{
  font-family:var(--al-font-body);
  color:var(--al-dark) !important;
  font-size:26px !important;
  font-weight:800 !important;
  margin-bottom:20px;
}
body.single-product .summary.entry-summary .price ins{ text-decoration:none; }
body.single-product .summary.entry-summary .price del{ color:var(--al-text-muted); font-size:16px; opacity:.7; }

/* Specs table (the dense product-details block) — the "squeezed" element,
   now given real spacing, alternating rows, and a contained card of its own */
body.single-product .woocommerce-product-details__short-description{
  background:var(--al-bg);
  border:1px solid var(--al-border);
  border-radius:var(--al-radius-sm);
  padding:16px 20px;
  margin-bottom:24px !important;
}
body.single-product .woocommerce-product-details__short-description table{
  width:100%;
  border-collapse:collapse;
}
body.single-product .woocommerce-product-details__short-description table tr{
  border-bottom:1px solid var(--al-border);
}
body.single-product .woocommerce-product-details__short-description table tr:last-child{
  border-bottom:none;
}
body.single-product .woocommerce-product-details__short-description table td{
  padding:11px 6px !important;
  font-family:var(--al-font-body);
}
body.single-product .woocommerce-product-details__short-description .a-text-bold{
  color:var(--al-dark);
  font-weight:700;
}
body.single-product .woocommerce-product-details__short-description .po-break-word{
  color:var(--al-text-muted);
}

/* Quantity + Add to cart */
body.single-product .quantity .qty{
  border:1px solid var(--al-border) !important;
  border-radius:12px !important;
  height:48px;
  font-family:var(--al-font-body);
  color:var(--al-dark);
}
body.single-product form.cart{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:0 !important;
}
body.single-product .single_add_to_cart_button.button,
body.single-product .woostify-buy-now{
  font-family:var(--al-font-body) !important;
  font-weight:700 !important;
  font-size:15px !important;
  padding:13px 32px !important;
  border-radius:999px !important;
  background:var(--al-dark) !important;
  color:#fff !important;
  border:none !important;
  box-shadow:none !important;
}
body.single-product .single_add_to_cart_button.button:hover,
body.single-product .woostify-buy-now:hover{
  background:var(--al-dark-hover) !important;
  color:#fff !important;
}
body.single-product .added_to_cart.wc-forward{
  font-family:var(--al-font-body) !important;
  font-weight:700 !important;
  color:var(--al-dark) !important;
  text-decoration:underline;
}

/* Product meta (SKU / categories / tags row) */
body.single-product .product_meta{
  font-family:var(--al-font-body);
  color:var(--al-text-muted);
  font-size:13px;
  border-top:1px solid var(--al-border);
  padding-top:16px;
  margin-top:8px !important;
}
body.single-product .product_meta a{
  color:var(--al-dark);
}

/* ---------- Tabs (Description / Additional info / Reviews) ---------- */
body.single-product .woocommerce-tabs{
  background:var(--al-surface);
  border:1px solid var(--al-border);
  border-radius:var(--al-radius);
  box-shadow:var(--al-shadow);
  padding:24px 28px 28px;
  margin-top:32px;
}
body.single-product .woocommerce-tabs ul.tabs{
  border-bottom:1px solid var(--al-border) !important;
  padding:0 !important;
  margin:0 0 24px !important;
}
body.single-product .woocommerce-tabs ul.tabs li{
  background:transparent !important;
  border:none !important;
}
body.single-product .woocommerce-tabs ul.tabs li a{
  font-family:var(--al-font-heading);
  font-weight:700;
  color:var(--al-text-muted) !important;
  padding:14px 4px !important;
  margin-right:28px !important;
}
body.single-product .woocommerce-tabs ul.tabs li.active a{
  color:var(--al-dark) !important;
  border-bottom:2px solid var(--al-dark);
}
body.single-product .woocommerce-tabs .panel h2{
  font-family:var(--al-font-heading);
  color:var(--al-dark);
}

/* ---------- Related / Upsell product cards — reuse the Shop look ---------- */
body.single-product .related h2,
body.single-product .up-sells h2{
  font-family:var(--al-font-heading);
  font-weight:800;
  color:var(--al-dark);
}
body.single-product .related ul.products li.product,
body.single-product .up-sells ul.products li.product{
  background:var(--al-surface) !important;
  border:1px solid var(--al-border) !important;
  border-radius:var(--al-radius) !important;
  box-shadow:var(--al-shadow) !important;
  overflow:hidden;
}
body.single-product .related ul.products li.product .product-loop-title,
body.single-product .up-sells ul.products li.product .product-loop-title,
body.single-product .related ul.products li.product .woocommerce-loop-product__title,
body.single-product .up-sells ul.products li.product .woocommerce-loop-product__title{
  font-family:var(--al-font-heading) !important;
  color:var(--al-dark) !important;
}
body.single-product .related ul.products li.product .price,
body.single-product .up-sells ul.products li.product .price{
  color:var(--al-dark) !important;
}
body.single-product .related ul.products li.product .button,
body.single-product .up-sells ul.products li.product .button{
  background:var(--al-dark) !important;
  color:#fff !important;
  border-radius:999px !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:1024px){
  body.single-product .summary.entry-summary{
    padding:24px;
  }
  body.single-product .woocommerce-tabs{
    padding:20px 22px 24px;
  }
}

@media (max-width:640px){
  body.single-product .product-gallery{
    padding:10px;
    margin-bottom:20px;
  }
  body.single-product .summary.entry-summary{
    padding:18px;
  }
  body.single-product .summary.entry-summary > *{
    margin-bottom:14px;
  }
  body.single-product .product_title.entry-title{
    margin-bottom:8px !important;
  }
  body.single-product .woocommerce-product-details__short-description{
    padding:12px 14px;
  }
  body.single-product .woocommerce-tabs{
    padding:16px 16px 20px;
    margin-top:20px;
  }
  body.single-product .woocommerce-tabs ul.tabs li a{
    margin-right:16px !important;
    padding:10px 2px !important;
  }
  body.single-product form.cart{
    gap:10px;
  }
  body.single-product .single_add_to_cart_button.button,
  body.single-product .woostify-buy-now{
    padding:12px 24px !important;
  }
}
