@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//detergentlarobinet.ro/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.4.1") format("woff2");
}

:root {
	--wd-text-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 15px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(68, 68, 68);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: #007bc4;
	--wd-alternative-color: #7ab532;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(0,123,196);
	--btn-accented-bgcolor-hover: rgb(122,181,50);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://detergentlarobinet.ro/wp-content/uploads/2025/05/green-word.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
	--wd-popup-padding: 15px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
	font-weight: 600;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 12px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: #0a0a0a;
}

/* === Custom Patch: Stilizare tabele comparative === */

/* Stil general tabel în descriere produs WooCommerce */
.woocommerce-Tabs-panel table {
  display: block;                /* pentru responsive scroll */
  width: 100%;
  overflow-x: auto;              /* scroll pe mobil */
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
  background-color: #f7f7f7;     /* fond gri deschis */
  border-radius: 15px;
  margin: 15px 0;
  font-size: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* mic efect de ridicare */
}

/* Header tabel */
.woocommerce-Tabs-panel table thead tr {
  background-color: #e0e0e0;     /* gri mai închis pentru header */
  text-align: left;
  font-weight: bold;
}

.woocommerce-Tabs-panel table thead th {
  padding: 10px;
  border: none;
}

/* Celule body */
.woocommerce-Tabs-panel table tbody td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

/* Elimin ultima linie */
.woocommerce-Tabs-panel table tbody tr:last-child td {
  border-bottom: none;
}

/* Rotunjire colțuri header */
.woocommerce-Tabs-panel table thead tr:first-child th:first-child {
  border-top-left-radius: 15px;
}
.woocommerce-Tabs-panel table thead tr:first-child th:last-child {
  border-top-right-radius: 15px;
}

/* Responsive: micșorare font pe ecrane mici */
@media (max-width: 480px) {
  .woocommerce-Tabs-panel table {
    font-size: 14px;
  }
}


/* pentru modulul Advanced Custom Fields (ACF)*/
.product-logos {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.product-logos img.prod-logo {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.prod-logo[title]:hover:after {
  content: attr(title);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #0F172A;
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 10;
}


/*aplicăm efectul „citește mai mult” cu CSS + JS, fără să modificăm tema.*/
.woocommerce .term-description {
  position: relative;
  max-width: 900px; /* poți ajusta */
  margin-bottom: 20px;
}

.woocommerce .term-description .desc-text {
  max-height: 140px; /* cât se vede inițial */
  overflow: hidden;
  position: relative;
  transition: max-height 0.5s ease;
}

.woocommerce .term-description .desc-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(to top, #fff, transparent);
  pointer-events: none;
}

.woocommerce .term-description.expanded .desc-text {
  max-height: 2000px;
}

.woocommerce .term-description.expanded .desc-text::after {
  display: none;
}

.woocommerce .term-description .read-more {
  display: inline-block;
  margin-top: 8px;
  background: #0ea5e9;
  color: #fff;
  border: none;
  padding: 8px 20px;       /* proporții mai echilibrate */
  border-radius: 5px;      /* colțuri puțin rotunjite */
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}

.woocommerce .term-description .read-more:hover {
  background: #0284c7;
  transform: translateY(-2px); /* mic efect de „ridicare” la hover */
}


/*modificare culorii de la cosul de cumparaturi si love.*/
/* Badge număr produse din coș */
.wd-header-cart .wd-tools-count {
  background-color: #0ea5e9 !important; /* culoare fundal badge */
  color: #fff !important;              /* culoare text */
  font-weight: bold;                   /* opțional: text mai vizibil */
}

/* Badge număr produse din wishlist */
.wd-header-wishlist .wd-tools-count {
  background-color: #0ea5e9 !important; /* gri neutru */
  color: #fff !important;
  font-weight: bold;
}

/* reduce spatiul intre alineate in descrierea produselor*/
.woocommerce-Tabs-panel ul li,
.woocommerce-product-details__description ul li {
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
}



/* eliminarea badge-ului SALE din shop , categorie, produs */
.onsale,
.product-label.sale {
    display: none !important;
}


/* --- Add to cart: Italia (30/40/30) -> România (30/40/30) --- */

.woocommerce a.button.add_to_cart_button,
.woocommerce a.added_to_cart,
.woocommerce a.button.product_type_simple,
.woocommerce a.button.product_type_variable,
.woocommerce button.single_add_to_cart_button,
.woocommerce .single_add_to_cart_button.button{
  background-image: linear-gradient(90deg,
    #009246 0% 30%,
    #ffffff 30% 70%,
    #ce2b37 70% 100%
  );
  background-color: transparent !important;
  border: 1px solid rgba(0,0,0,0.15);
  color: #000 !important;
	padding: 5px 85px !important;
	border-radius: 10px;
  transition: background-image .25s ease, transform .15s ease, filter .25s ease;
}

.woocommerce a.button.add_to_cart_button:hover,
.woocommerce a.added_to_cart:hover,
.woocommerce a.button.product_type_simple:hover,
.woocommerce a.button.product_type_variable:hover,
.woocommerce button.single_add_to_cart_button:hover,
.woocommerce .single_add_to_cart_button.button:hover{
  background-image: linear-gradient(90deg,
    #002B7F 0% 30%,
    #FCD116 30% 70%,
    #CE1126 70% 100%
  );
  color: #111 !important;
  filter: brightness(1.02);
  transform: translateY(-1px);
}

/* Ascunde Add to cart pe mobil in categorii */
@media (max-width: 768px){
  
  .products .wd-add-btn,
  .products .add-to-cart-loop,
  .products .product-add-to-cart,
  .products .button.product_type_simple,
  .products .ajax_add_to_cart {
      display: none !important;
  }

}

