/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Doar pe homepage, DOAR cardul cu slug-ul /slabire-si-arderea-grasimii */
body.home .category-grid-item.product-category:has(
  .wd-fill.category-link[href$="/slabire-si-arderea-grasimii"]
) .wd-entities-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;   /* ajustează dacă vrei mai mult/mai puțin */
  display: block;
}

.footer-flags{
  --flag-h: 14px;      /* ajustezi mărimea steagurilor */
  --flag-r: 3px;       /* rotunjirea colțurilor */
  display: block;
  width: 100%;
  text-align: left;
  white-space: normal;   /* permite rupere automată pe rândul 2, 3, etc. */
  overflow: visible;     /* fără scrollbar */
}

.footer-flags .flag{
  height: var(--flag-h);
  width: calc(var(--flag-h) * 1.5);  /* raport 3:2 */
  border-radius: var(--flag-r);
  vertical-align: -2px;
  margin-left: .35rem;
  display: inline-block;
}

/* Sameday: buton pastilă #e14a5d, flat + hover discret */
.sameday_select_locker.button,
.sameday_select_locker.button.alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 9999px;
  font-weight: 600;
  line-height: 1;
  border: none !important;
  color: #fff !important;
  background-color: #e14a5d !important;   /* stare normală */
  background-image: none !important;       /* fără gradient */
  text-transform: none;
  box-shadow: none !important;             /* fără umbră */
  transform: none !important;
  filter: none !important;
  transition: background-color .15s ease;  /* doar culoarea */
}

/* Hover: ușor mai închis, fără alte efecte */
.sameday_select_locker.button:hover,
.sameday_select_locker.button.alt:hover {
  background-color: #dc4355 !important;    /* ~6% mai închis */
}

/* Active: încă 1–2 trepte */
.sameday_select_locker.button:active,
.sameday_select_locker.button.alt:active {
  background-color: #c93a4a !important;
}

/* Focus: dacă vrei „fără” ring, lasă așa; dacă vrei ring, spune-mi */
.sameday_select_locker.button:focus,
.sameday_select_locker.button.alt:focus {
  outline: none;
}

/* Aliniere la dreapta (opțional) */
tr.shipping-pickup-store th { text-align: right; }

/* Mobil: full width (opțional) */
@media (max-width: 576px) {
  .sameday_select_locker.button,
  .sameday_select_locker.button.alt { width: 100%; }
}


/* GLS: buton pastilă #e14a5d, flat + hover discret */
#gls-map-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 9999px;
  font-weight: 600;
  line-height: 1;
  border: none !important;
  color: #fff !important;
  background-color: #e14a5d !important;   /* stare normală */
  background-image: none !important;       /* fără gradient */
  text-transform: none;
  box-shadow: none !important;             /* fără umbră */
  transform: none !important;
  filter: none !important;
  transition: background-color .15s ease;  /* doar culoarea */
}

/* Hover: ușor mai închis, fără alte efecte */
#gls-map-button:hover {
  background-color: #dc4355 !important;    /* ~6% mai închis */
}

/* Active: încă 1–2 trepte */
#gls-map-button:active {
  background-color: #c93a4a !important;
}

/* Focus: dacă vrei „fără” ring, lasă așa; dacă vrei ring, spune-mi */
#gls-map-button:focus {
  outline: none;
}

/* Mobil: full width (opțional) */
@media (max-width: 576px) {
  #gls-map-button { width: 100%; }
}



/* ================================
   COOKIEYES BUTTONS – COMPACT WEIDER STYLE
   ================================ */

/* Containerul butoanelor */
.cky-notice-btn-wrapper {
  display: flex !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  gap: 8px !important; /* mai puțin spațiu între ele */
  margin-top: 10px !important;
}

/* Stil general pentru butoane */
.cky-btn,
.cky-btn-reject,
.cky-btn-customize,
.cky-btn-accept {
  border-radius: 50px !important;   /* complet rotunjite */
  font-weight: 600 !important;
  text-transform: none !important;
  font-size: 14px !important;       /* font puțin mai mic */
  padding: 7px 20px !important;     /* butoane mai compacte */
  line-height: 1.3 !important;
  white-space: nowrap !important;
  transition: all 0.3s ease-in-out !important;
}

/* Buton principal (roșu plin) */
.cky-btn-accept {
  background-color: #E74C4C !important;
  border: 1px solid #E74C4C !important;
  color: #FFFFFF !important;
}

.cky-btn-accept:hover {
  background-color: #cc3f3f !important;
  border-color: #cc3f3f !important;
}

/* Butoane secundare (contur roșu) */
.cky-btn-reject,
.cky-btn-customize {
  background-color: transparent !important;
  border: 2px solid #E74C4C !important;
  color: #E74C4C !important;
}

.cky-btn-reject:hover,
.cky-btn-customize:hover {
  background-color: #E74C4C !important;
  color: #FFFFFF !important;
}

/* Uniformizare dimensiune */
.cky-notice-btn-wrapper button {
  min-width: 130px !important; /* mai înguste */
  text-align: center !important;
}

/* ================================
   COOKIEYES CONTAINER – BORDER RADIUS FIX
   ================================ */

.cky-consent-container,
.cky-consent-bar {
  border-radius: 15px !important;   /* colțuri rotunjite */
  overflow: hidden !important;      /* taie eventuale umbre sau colțuri din interior */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important; /* shadow subtil, uniform */
}

/* Ajustare mică pentru poziționare și margini */
.cky-consent-bar {
  padding: 20px 24px !important;
  border: 1px solid #f0f0f0 !important;
}

/* ================================
   COOKIEYES BUTTONS – BORDER FIX FOR ACCEPT BUTTON
   ================================ */

/* Egalăm grosimea borderului pentru butonul principal */
.cky-btn-accept {
  background-color: #E74C4C !important;
  border: 2px solid #E74C4C !important; /* era 1px — acum e egal cu restul */
  color: #FFFFFF !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease-in-out !important;
}

/* Hover consistent */
.cky-btn-accept:hover {
  background-color: #cc3f3f !important;
  border-color: #cc3f3f !important;
}

/* === CookieYes – Aliniere perfectă text + butoane (Weider HU) === */

/* Ajustează marginile laterale din interiorul barei */
.cky-consent-bar {
  padding-left: 32px !important;   /* micșorat față de default pentru a alinia textul */
  padding-right: 32px !important;
}

/* Micșorează spațiul dintre butoane pentru o încadrare mai precisă */
.cky-notice-btn-wrapper {
  gap: 0px !important; /* mai puțin spațiu între butoane */
}

/* Micșorează puțin lățimea butoanelor pentru echilibru vizual */
.cky-notice-btn-wrapper button {
  min-width: 122px !important;
  padding: 6px 18px !important;
  font-size: 12.5px !important;
}

/* COOKIEYES LINK – "Süti beállítások" să arate ca celelalte din listă */
footer .elementor-widget-wd_extra_menu_list
       .cky-banner-element.cky-consent-preferences,
footer .elementor-widget-wd_extra_menu_list
       .cky-banner-element.cky-consent-preferences:visited {
    cursor: pointer !important;
    text-decoration: none !important;
    font-weight: 400 !important;                 /* la fel ca celelalte */
    font-size: 13px !important;       /* <<< ajustează aici dimensiunea exactă */
    font-size: inherit !important;
    line-height: inherit !important;
    color: rgba(255, 255, 255, 0.60) !important;  /* stare normală (ușor estompat) */
}

footer .elementor-widget-wd_extra_menu_list
       .cky-banner-element.cky-consent-preferences:hover,
footer .elementor-widget-wd_extra_menu_list
       .cky-banner-element.cky-consent-preferences:focus {
    color: #ffffff !important;                   /* hover = alb plin, ca restul */
    text-decoration: none !important;
}

/* DESKTOP – mutăm dropdown-ul pentru Municipiu/localitate (billing + shipping) puțin mai jos */
.select2-dropdown:has(#select2-billing_city-results),
.select2-dropdown:has(#select2-shipping_city-results) {
    transform: translateY(32px);
}

/* MOBIL – ajustare separată sub 768px */
@media (max-width: 767px) {
    /* fallback compatibil și pe Safari */
    #select2-billing_city-results,
    #select2-shipping_city-results {
        top: 45px;
    }

    /* dacă browserul suportă :has(), va prelua și transform-ul */
    .select2-dropdown:has(#select2-billing_city-results),
    .select2-dropdown:has(#select2-shipping_city-results) {
        transform: translateY(45px);
    }
}

/* ========= Nested carousel – săgeți custom (HP + Urmărește comanda) ========= */

/* ID-urile widget-urilor Elementor pentru ambele carusele */
.elementor-element-8ea505d .wd-arrow-inner,
.elementor-element-2b46e29 .wd-arrow-inner {
  position: relative;
  color: transparent !important;   /* ascunde icon-ul original */
  background: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}

.elementor-element-8ea505d .wd-arrow-inner::before,
.elementor-element-2b46e29 .wd-arrow-inner::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-style: solid;
  border-width: 2px 2px 0 0;
}

/* stânga */
.elementor-element-8ea505d .wd-btn-arrow.wd-prev .wd-arrow-inner::before,
.elementor-element-2b46e29 .wd-btn-arrow.wd-prev .wd-arrow-inner::before {
  border-color: #ff1f6e;
  transform: translate(-50%, -50%) rotate(-135deg);
}

/* dreapta */
.elementor-element-8ea505d .wd-btn-arrow.wd-next .wd-arrow-inner::before,
.elementor-element-2b46e29 .wd-btn-arrow.wd-next .wd-arrow-inner::before {
  border-color: #ff1f6e;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* hover */
.elementor-element-8ea505d .wd-btn-arrow:hover .wd-arrow-inner::before,
.elementor-element-2b46e29 .wd-btn-arrow:hover .wd-arrow-inner::before {
  border-color: #ffffff;
}

.out-of-stock.product-label {
    font-size: 11px !important;
    line-height: 1.2 !important;
    padding: 3px 10px !important;
    white-space: nowrap !important; /* nu mai rupe textul pe două rânduri */
}

/* === Tabel nutritie – versiune mobil fara suprapuneri === */
@media (max-width: 768px) {

  /* ascundem headerul */
  .nutrition-table thead {
    display: none;
  }

  .nutrition-table {
    border-collapse: separate;
    border-spacing: 0;
  }

  .nutrition-table,
  .nutrition-table tbody {
    display: block;
    width: 100%;
  }

  .nutrition-table tr {
    display: block;
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
  }

  .nutrition-table td {
    display: block;
    width: 100%;
    padding: 8px 12px;
    position: static;
    text-align: left;
    border: none; /* scoatem borderul dintre celule ca sa nu para “dublate” liniile */
    border-bottom: 1px solid #f0f0f0;
  }

  /* ultima celulă din card (valoarea) nu mai are border jos */
  .nutrition-table tr td:last-child {
    border-bottom: none;
    text-align: right; /* valoarea la dreapta */
    font-weight: 600;
  }

  /* prima celulă din card (eticheta) – bold, ca titlu */
  .nutrition-table tr td:first-child {
    font-weight: 600;
  }

  /* IMPORTANT: eliminăm complet pseudo-elementul care genera suprapunerea */
  .nutrition-table td::before {
    content: none !important;
  }
}

/* END === Tabel nutritie – versiune mobil fara suprapuneri === */

/* =========================================================
   PRODUCT META (Woodmart) – Categories & Tags as blue badges
   Markup:
   <span class="posted_in"><span class="meta-label">Categorii:</span> <a>...</a><span class="meta-sep">,</span> ...</span>
   <span class="tagged_as"><span class="meta-label">Etichete:</span> <a>...</a><span class="meta-sep">,</span> ...</span>
========================================================= */

.woocommerce div.product .product_meta {
  margin-top: 12px;
}

/* spatiu intre randuri (SKU / Categorii / Etichete) */
.woocommerce div.product .product_meta > span {
  display: block;
  margin-bottom: 14px;
}

/* ascundem separatoarele (virgule) */
.woocommerce div.product .product_meta .meta-sep {
  display: none !important;
}

/* randurile de Categorii / Etichete: titlu + badge-uri pe aceeasi linie */
.woocommerce div.product .product_meta .posted_in,
.woocommerce div.product .product_meta .tagged_as {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 12px;          /* spatiu intre titlu si primul badge */
  row-gap: 10px;             /* spatiu intre randuri cand se rupe */
}

/* titlurile (Categorii:, Etichete:) */
.woocommerce div.product .product_meta .posted_in .meta-label,
.woocommerce div.product .product_meta .tagged_as .meta-label {
  font-weight: 600;
  color: #222;
  margin-right: 8px;         /* extra spatiu dupa titlu */
  line-height: 1.4;
  white-space: nowrap;
}

/* badge-uri – DOAR pentru categorii & etichete */
.woocommerce div.product .product_meta .posted_in a,
.woocommerce div.product .product_meta .tagged_as a {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 14px;
  background: #eaf2ff;
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.18);
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

/* hover */
.woocommerce div.product .product_meta .posted_in a:hover,
.woocommerce div.product .product_meta .tagged_as a:hover {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

/* =========================================================
   PRODUCT META – fine spacing adjustments
========================================================= */

/* 1. Distanta dintre titlu si primul badge
   (aliniata cu SKU: valoare) */
.woocommerce div.product .product_meta .posted_in,
.woocommerce div.product .product_meta .tagged_as {
  column-gap: 8px;      /* era 12px */
}

/* titlurile (Categorii:, Etichete:) */
.woocommerce div.product .product_meta .meta-label {
  margin-right: 4px;   /* mai aproape de primul badge */
}

/* 2. Spatiere verticala mai compacta intre randuri */
.woocommerce div.product .product_meta > span {
  margin-bottom: 10px; /* era 14px */
}

/* ================================
   Weider Calorie Calculator – Results (right column)
   Target: #rezultate.weider-calorie-results
================================ */

/* Container logic – Elementor îl poate atinge */
#rezultate.weider-calorie-results{
  width: 100%;
}

/* Box vizual (interior) – NU este controlat de Elementor */
#rezultate .weider-results-box{
  background: #000;
  border-radius: 22px;
  padding: 28px;
  min-height: 320px;
  box-shadow: 0 14px 38px rgba(0,0,0,.35);
}

/* HERO placeholder (opțional, dacă folosești clasa) */
#rezultate .weider-results-box--hero{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 420px; /* ajustezi dacă vrei mai “poster-like” */
  padding: 44px 34px;
}

/* Titlu */
#rezultate .weider-results-title{
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .6px;
  line-height: 1.08;
  margin: 0 0 14px 0;

  /* AICI modifici dimensiunea titlului (responsive): */
  font-size: clamp(30px, 2.6vw, 50px);
}

/* Subtitlu */
#rezultate .weider-results-sub{
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  margin: 0;

  /* AICI modifici dimensiunea subtitlului (responsive): */
  font-size: clamp(14px, 1.1vw, 16px);
}

/* Accent Weider */
#rezultate .weider-accent{
  color: #e40046;
  font-weight: 900;
}

/* Conținut generat din JS (rezultate calculate) */
#rezultate h3,
#rezultate h4,
#rezultate p,
#rezultate strong{
  color: #fff;
}
#rezultate p{
  color: rgba(255,255,255,.82);
  margin: 6px 0;
}

/* =========================================
   Weider Calorie Calculator – number inputs
   FIX: aliniere la stânga pentru placeholder + value
========================================= */

form.elementor-form[name="Calculator Calorii"]
input[type="number"].elementor-field-textual {
  text-align: left !important;
}

/* Placeholder – left aligned */
form.elementor-form[name="Calculator Calorii"]
input[type="number"].elementor-field-textual::placeholder {
  text-align: left !important;
}

/* Safari / WebKit */
form.elementor-form[name="Calculator Calorii"]
input[type="number"].elementor-field-textual::-webkit-input-placeholder {
  text-align: left !important;
}

/* =========================================
   Weider Calorie Calculator – input padding
   Ajustare padding-left pentru number inputs
========================================= */

form.elementor-form[name="Calculator Calorii"]
input[type="number"].elementor-field-textual {
  padding-left: 18px; /* AICI ajustezi */
}

/* === RESULTS DATA === */

#rezultate .weider-results-data {
  text-align: left;
}

/* TITLU – Rezultatele tale */
#rezultate .weider-results-title--accent {
  color: #e40046;
  font-weight: 800;
  text-transform: none;      /* NU uppercase */
  font-size: 26px;           /* ⬅️ AICI controlezi mărimea */
  line-height: 1.15;
  margin-bottom: 16px;       /* ⬅️ mai puțin spațiu sub titlu */
}

/* VALORI MARI */
#rezultate .weider-results-value {
  font-size: 20px;        /* ⬅️ de la 22px */
  font-weight: 800;
  margin: 0;
  color: #fff;
}

/* LABEL mic sub valoare */
#rezultate .weider-results-label {
  font-size: 13px;        /* ⬅️ de la 14px */
  color: rgba(255,255,255,.75);
  margin-bottom: 10px;    /* ⬅️ de la 16px */
}

/* SECTIUNI */
#rezultate .weider-results-section {
  margin-top: 18px;      /* ⬅️ mai compact */
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

/* LISTE */
#rezultate .weider-results-list {
  padding-left: 18px;
  margin: 0;
}

#rezultate .weider-results-list li {
  margin-bottom: 4px;    /* ⬅️ de la 6px */
  color: rgba(255,255,255,.85);
  font-size: 14px;
}

#rezultate .weider-results-label {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  margin-top: 2px;      /* ⬅️ ADAUGĂ */
  margin-bottom: 6px;   /* ⬅️ de la 10–16px */
}

#rezultate .weider-results-section {
  margin-top: 12px;     /* ⬅️ de la 18px */
  margin-bottom: 4px;   /* ⬅️ de la 6px */
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

#rezultate .weider-results-list {
  margin-top: 2px;      /* ⬅️ implicit era ~16px */
  margin-bottom: 6px;   /* ⬅️ mai compact */
  padding-left: 16px;
}

#rezultate .weider-results-box {
  padding-top: 18px;    /* ⬅️ de la 22px */
  padding-bottom: 18px;
}

#rezultate .weider-results-loading{
  color: #ffffff;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  letter-spacing: .3px;
  text-align: center;
  margin: 0;
}

/* Rezervă spațiu pentru mesajul de succes ca să nu mai existe shift */
form.elementor-form[name="Calculator Calorii"] .elementor-message.elementor-message-success{
  display: block !important;     /* important: să ocupe spațiu mereu */
  min-height: 22px;              /* ajustezi aici (ex: 22–28px) */
  margin-top: 10px;
  visibility: hidden;            /* invizibil implicit */
  opacity: 0;
  transition: opacity .2s ease;
}

/* Când Elementor îl afișează (de obicei pune inline style / class), îl facem vizibil */
form.elementor-form[name="Calculator Calorii"] .elementor-message.elementor-message-success[style*="display: block"],
form.elementor-form[name="Calculator Calorii"] .elementor-message.elementor-message-success:not(:empty){
  visibility: visible;
  opacity: 1;
}

/* ===== Eliminare layout shift pentru mesajul de succes (Elementor) ===== */

/* Parintele trebuie sa fie relativ ca sa putem pozitiona mesajul */
form.elementor-form[name="Calculator Calorii"]{
  position: relative;
}

/* Mesajul devine overlay, nu mai ocupa spatiu in flow */
form.elementor-form[name="Calculator Calorii"] .elementor-message.elementor-message-success{
  position: absolute !important;
  left: 0;
  right: 0;

  /* il punem sub buton, dar in interiorul formului */
  bottom: 8px;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;

  /* stilul textului */
  color: rgba(255,255,255,.75) !important;
  font-size: 14px !important;
  line-height: 1.25 !important;

  /* implicit ascuns */
  display: block !important;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease;
}

/* Cand Elementor il umple cu text, il afisam */
form.elementor-form[name="Calculator Calorii"] .elementor-message.elementor-message-success:not(:empty){
  visibility: visible;
  opacity: 1;
}

/* Pe mobil, usor mai mic si mai sus ca sa nu se lipeasca */
@media (max-width: 767px){
  form.elementor-form[name="Calculator Calorii"] .elementor-message.elementor-message-success{
    bottom: 6px;
    font-size: 13px !important;
  }
}

/* Rezervă spațiu jos ca să încapă mesajul fără overlap */
form.elementor-form[name="Calculator Calorii"] .elementor-form-fields-wrapper{
  padding-bottom: 42px; /* AICI ajustezi (ex: 36–52px) */
}

/* Mesajul apare sub buton (nu peste el) */
form.elementor-form[name="Calculator Calorii"] .elementor-message.elementor-message-success{
  bottom: 10px; /* AICI ajustezi fin: 6–14px */
}



/* cargus: buton pastilă #e14a5d, flat + hover discret */
#cargus-open-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 9999px;
  font-weight: 600;
  line-height: 1;
  border: none !important;
  color: #fff !important;
  background-color: #e14a5d !important;   /* stare normală */
  background-image: none !important;       /* fără gradient */
  text-transform: none;
  box-shadow: none !important;             /* fără umbră */
  transform: none !important;
  filter: none !important;
  transition: background-color .15s ease;  /* doar culoarea */
}

/* Hover: ușor mai închis, fără alte efecte */
.cargus-ship-and-go-select.button:hover,
.cargus-ship-and-go-select.button.alt:hover {
  background-color: #dc4355 !important;    /* ~6% mai închis */
}

/* Active: încă 1–2 trepte */
.cargus-ship-and-go-select.button:active,
.cargus-ship-and-go-select.button.alt:active {
  background-color: #c93a4a !important;
}

/* Focus: dacă vrei „fără” ring, lasă așa; dacă vrei ring, spune-mi */
.cargus-ship-and-go-select.button:focus,
.cargus-ship-and-go-select.button.alt:focus {
  outline: none;
}

/* Aliniere la dreapta (opțional) */
tr.cargus-ship-and-go-select th { text-align: right; }

/* Mobil: full width (opțional) */
@media (max-width: 576px) {
  .cargus-ship-and-go-select.button,
  .cargus-ship-and-go-select.button.alt { width: 100%; }
}


/* Footer social icons, doar in widgetul Elementor 6369b0c */
.elementor-element-6369b0c .wd-social-icons.wd-size-large .wd-social-icon{
  width: 34px !important;
  height: 34px !important;
  line-height: 34px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* iconul efectiv, Woodmart il pune de regula pe :before */
.elementor-element-6369b0c .wd-social-icons.wd-size-large .wd-icon:before{
  font-size: 16px !important;
  line-height: 1 !important;
}

/* fallback, daca dimensiunea e pe .wd-icon direct */
.elementor-element-6369b0c .wd-social-icons.wd-size-large .wd-icon{
  font-size: 16px !important;
  line-height: 1 !important;
}

/* =========================================
   Footer Social Icons – MOBILE ONLY
========================================= */
@media (max-width: 767px){

  /* Container: spacing + aliniere */
  .elementor-element-6369b0c .wd-social-icons{
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
  }

  /* “Bula” (click area) */
  .elementor-element-6369b0c .wd-social-icons a.wd-social-icon{
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* IMPORTANT: span-ul care poarta iconul */
  .elementor-element-6369b0c .wd-social-icons a.wd-social-icon .wd-icon{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }

  /* Marim iconul: acoperim ambele variante */
  .elementor-element-6369b0c .wd-social-icons a.wd-social-icon:before,
  .elementor-element-6369b0c .wd-social-icons a.wd-social-icon .wd-icon:before{
    font-size: 30px !important;   /* urca la 24–26 daca vrei */
    line-height: 1 !important;
  }
}

/* =========================================
   Footer Social Icons – TABLET
========================================= */
@media (min-width: 768px) and (max-width: 1024px){

  /* Container */
  .elementor-element-6369b0c .wd-social-icons{
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
  }

  /* Bula */
  .elementor-element-6369b0c .wd-social-icons a.wd-social-icon{
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Iconul */
  .elementor-element-6369b0c 
  .wd-social-icons a.wd-social-icon:before,
  .elementor-element-6369b0c 
  .wd-social-icons a.wd-social-icon .wd-icon:before{
    font-size: 24px !important;
    line-height: 1 !important;
  }

}

/* =========================================
   Footer Social Icons – DESKTOP
========================================= */
@media (min-width: 1025px){

  /* Container */
  .elementor-element-6369b0c .wd-social-icons{
    display: flex !important;
    justify-content: center !important;   /* sau flex-start daca le vrei aliniate stanga */
    align-items: center !important;
    gap: 5px !important;
  }

  /* Bula */
  .elementor-element-6369b0c .wd-social-icons a.wd-social-icon{
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;

    display: flex !important;
    align-items: left !important;
    justify-content: left !important;
  }

  /* Iconul */
  .elementor-element-6369b0c 
  .wd-social-icons a.wd-social-icon:before,
  .elementor-element-6369b0c 
  .wd-social-icons a.wd-social-icon .wd-icon:before{
    font-size: 24px !important;
    line-height: 1 !important;
  }

}







/* ================================
   WVN : Nutrition table (Weider style)
================================ */

/* Wrapper */
.wvn-table-wrapper{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  overflow:hidden;
}

/* Header */
.wvn-table-wrapper .wvn-table-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:16px 20px;
  background:#000;
  border-bottom:1px solid rgba(255,255,255,.12);
}

/* Header left group : title + flavor */
.wvn-table-wrapper .wvn-table-left{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.wvn-table-wrapper .wvn-table-flavor{
  display:flex;
  align-items:center;
  gap:8px;
}

/* Label "Aromă:" */
.wvn-table-wrapper .wvn-flavor-label{
  color:#fff;
  font-weight:700;
  font-size:16px;
  line-height:1.2;
  white-space:nowrap;
}

/* Title */
.wvn-table-wrapper .wvn-table-title{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  font-weight:700;
  font-size:16px;
  color:#fff;
}

/* Per */
.wvn-table-wrapper .wvn-table-per{
  font-size:14px;
  font-weight:600;
  color:rgba(255,255,255,.85);
  white-space:nowrap;
}

/* Flavor badge */
.wvn-table-wrapper .wvn-flavor-badge{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:14px;
  background:#fff;
  color:#111;
  border:1px solid rgba(255,255,255,.35);
  font-weight:700;
  font-size:12px;
  line-height:1.2;
  letter-spacing:.3px;
  text-transform:uppercase;
  white-space:nowrap;
}

/* Table */
.wvn-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
}

.wvn-table thead th{
  padding:12px 20px;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.4px;
  color:#6b7280;
  background:#f8f9fb;
  border-bottom:1px solid #eceff3;
}

.wvn-table td{
  padding:12px 20px;
  border-bottom:1px solid #f1f1f1;
  font-size:14px;
}

.wvn-table tr:last-child td{
  border-bottom:none;
}

.wvn-head-name,
.wvn-name{
  text-align:left;
  width:52%;
}

.wvn-head-value,
.wvn-value{
  text-align:right;
  white-space:nowrap;
  width:30%;
}

.wvn-head-percent,
.wvn-percent{
  text-align:right;
  white-space:nowrap;
  width:18%;
}

.wvn-name{
  font-weight:500;
}

.wvn-value{
  font-weight:600;
}

.wvn-percent{
  color:#6b7280;
  font-size:13px;
}

/* Footnotes */
.wvn-footnotes{
  padding:12px 20px;
  font-size:12px;
  line-height:1.5;
  color:#6b7280;
  background:#fafafa;
  border-top:1px solid #e5e7eb;
}

/* Hide full section when empty */
.wvn-section-wrap.wvn-hidden{
  display:none !important;
}

/* Tablet + mobile header layout */
@media (max-width:1024px){

  .wvn-table-wrapper .wvn-table-header{
    display:grid;
    grid-template-columns:1fr auto;
    grid-template-rows:auto auto;
    gap:6px 12px;
    align-items:start;
  }

  .wvn-table-wrapper .wvn-table-left{
    grid-column:1 / 2;
    grid-row:1 / 3;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }

  .wvn-table-wrapper .wvn-table-title{
    line-height:1.2;
    margin:0;
  }

  .wvn-table-wrapper .wvn-table-flavor{
    display:flex;
    align-items:center;
    gap:8px;
  }

  .wvn-table-wrapper .wvn-table-per{
    grid-column:2 / 3;
    grid-row:2 / 3;
    justify-self:end;
    align-self:start;
    text-align:right;
    white-space:nowrap;
    margin-top:3px;
  }
}

/* Mobile: keep real table + visible header */
@media (max-width:768px){

  .wvn-table-wrapper{
    overflow-x:auto;
  }

  .wvn-table{
    width:100%;
    min-width:0;
    table-layout:fixed;
  }

  .wvn-table thead{
    display:table-header-group;
  }

  .wvn-table thead th,
  .wvn-table td{
    padding:10px 12px;
    font-size:13px;
  }

  .wvn-head-name,
  .wvn-name{
    width:50%;
    text-align:left;
  }

  .wvn-head-value,
  .wvn-value{
    width:32%;
    text-align:right;
    white-space:nowrap;
  }

  .wvn-head-percent,
  .wvn-percent{
    width:18%;
    text-align:right;
    white-space:nowrap;
  }

  .wvn-footnotes{
    padding:12px;
    font-size:12px;
  }
}