/*
Theme Name: Hello Elementor
Theme URI: https://elementor.com/hello-theme/
Description: Hello Elementor is a lightweight and minimalist theme built to work seamlessly with Elementor.
Author: Elementor Team
Author URI: https://elementor.com/
Version: 3.1.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-elementor
Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ---- RESET BAZĂ ---- */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
}
img {
  border-style: none;
  height: auto;
  max-width: 100%;
}

/* ---- STILURI PERSONALIZATE ---- */

/* Câmpuri personalizate - stil */
.cfs-field {
  font-family: "Jost";
  font-weight: 400;
  color: #656565;
  font-size: 16px;
}
.cfs-field br,
.cfs-field .name {
  display: none;
}

/* Hover pe buton listă produse */
.product-listing .product .button:hover {
  background-color: #A69557;
}

/* Eliminare margine globală */
body {
  margin: 0px;
}

/* Butoane limbă (GTranslate) */
.gtranslate_wrapper a.glink {
  text-decoration: none;
  margin-right: 5px;
}

/* Etichetă STOC EPUIZAT */
.out-of-stock-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #0A235B;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Asigură poziționarea relativă pe card produs */
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  position: relative;
}

/* Eliminare descriere duplicată */
.single-product .woocommerce-tabs .woocommerce-Tabs-panel--description > *:first-child {
  display: none;
}

/* Stilizare tab descriere */
.single-product .woocommerce-Tabs-panel--description {
  display: block;
  padding: 20px;
  font-size: 16px;
  color: #333;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
}

/* Descriere & Detalii produs */
.custom-product-description,
.custom-product-details {
  font-size: 16px;
  line-height: 1.8;
  margin-top: 20px;
}
.custom-product-description p,
.custom-product-details p {
  margin-bottom: 15px;
}
.custom-product-description ul,
.custom-product-details ul {
  margin-left: 20px;
  list-style: disc;
}

/* Secțiune informativă extra */
.custom-info-section {
  margin-top: 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.custom-info-section h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
}

/* Tab personalizat */
.woocommerce-Tabs-panel--custom_tab {
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* Buton "Afișează mai mult" */
.show-more-btn {
  background: none;
  border: none;
  color: #8c6239;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  margin-top: 10px;
  font-size: 16px;
  text-decoration: underline;
}

/* Paragraf descriere aerisită */
.custom-description p {
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Mărire imagini — doar pagini shop/produse */
body.woocommerce-page ul.products li.product img,
body.archive ul.products li.product img,
body.single-product ul.products li.product img {
  width: 100%;
  height: auto;
  transform: scale(1.08);
  transition: transform 0.3s ease;
}
body.woocommerce-page ul.products li.product img:hover,
body.archive ul.products li.product img:hover,
body.single-product ul.products li.product img:hover {
  transform: scale(1.12);
}

/* BANNERE */
.slider-class img,
.elementor-slideshow img,
.hero-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-banner .elementor-container {
  flex-wrap: wrap;
}
@media screen and (max-width: 768px) {
  .hero-banner .elementor-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* FORM WPForms */
.wpforms-container-full .wpforms-form input[type="text"],
.wpforms-container-full .wpforms-form input[type="email"],
.wpforms-container-full .wpforms-form input[type="tel"],
.wpforms-container-full .wpforms-form textarea {
  width: 100% !important;
  padding: 14px !important;
  border: 1px solid #ccc !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
  margin-bottom: 15px !important;
  background-color: white !important;
  color: #0A235B !important;
}
.wpforms-form label {
  font-weight: 600 !important;
  color: #0A235B !important;
  font-size: 15px !important;
  margin-bottom: 5px !important;
  display: block !important;
}
.wpforms-submit {
  background-color: #0A235B !important;
  color: white !important;
  padding: 12px 30px !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  border: none !important;
  transition: background-color 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}
.wpforms-submit:hover {
  background-color: #D4AF37 !important;
  color: #0A235B !important;
}

/* Reset imagini în PDF Challan Pro (siguranță) */
.challan-pdf img {
  transform: none !important;
  width: auto !important;
  height: auto !important;
  transition: none !important;
}

