/* ==========================================================================
   Allma Elementor Pages — compat layer.
   Containers reuse the theme's own classes (a-hero, a-strip, a-bigcat, a-cta …) so they follow
   the Theme Builder; this file only adapts the LEAVES (Elementor widgets) to those classes.
   ========================================================================== */
body.ae-page {
  --ae-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --ae-i-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.2v13.6a.6.6 0 0 0 .9.5l11-6.8a.6.6 0 0 0 0-1l-11-6.8a.6.6 0 0 0-.9.5z' fill='black'/%3E%3C/svg%3E");
  --ae-i-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --ae-i-cart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.7 12.4a1.5 1.5 0 0 0 1.5 1.2h8.6a1.5 1.5 0 0 0 1.5-1.1L21 8H6'/%3E%3C/svg%3E");
  --ae-i-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-8-4.8-8-11A4.5 4.5 0 0 1 12 7a4.5 4.5 0 0 1 8 2.5c0 6.2-8 11-8 11z'/%3E%3C/svg%3E");
  --ae-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --ae-i-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.8 2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2 6.3 20.3l1.2-6.4L2.8 9.5l6.4-.8z' fill='black'/%3E%3C/svg%3E");
}

/* ---------- Elementor resets (zero specificity so theme classes win) ---------- */
:where(body.ae-page) .e-con {
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
  --padding-block-start: 0px; --padding-block-end: 0px; --padding-inline-start: 0px; --padding-inline-end: 0px;
  --gap: 0px; --row-gap: 0px; --column-gap: 0px;
  --margin-top: 0px; --margin-bottom: 0px; --margin-block-start: 0px; --margin-block-end: 0px;
  --container-widget-width: 100%; --container-widget-flex-grow: 0;
}
body.ae-page .elementor-widget:not(:last-child) { margin-block-end: 0; margin-bottom: 0; }
body.ae-page .elementor-widget-container { margin: 0; padding: 0; }
body.ae-page .e-con > .elementor-widget { max-width: 100%; }
:where(body.ae-page) .elementor-widget-heading {
  font-family: var(--a-font-head); font-weight: var(--a-fw-head); line-height: 1.15; letter-spacing: -0.02em; color: var(--a-ink);
}
body.ae-page .elementor-heading-title {
  font: inherit; letter-spacing: inherit; color: inherit; margin: 0; padding: 0; text-transform: none; text-wrap: inherit;
}
body.ae-page .elementor-widget-heading .elementor-heading-title em { font-style: italic; color: var(--a-orange); }
:where(body.ae-page) .elementor-widget-text-editor { color: inherit; font: inherit; }
body.ae-page .elementor-widget-text-editor p { margin: 0; }
body.ae-page .elementor-widget-text-editor p + p { margin-top: .6em; }
body.ae-page .elementor-widget-text-editor ul, body.ae-page .elementor-widget-text-editor ol { margin: 0; padding: 0; list-style: none; }
body.ae-page .elementor-widget-image img { height: auto; max-width: 100%; border-radius: 0; box-shadow: none; vertical-align: middle; }
body.ae-page .elementor-widget-image { text-align: inherit; }
body.ae-page .elementor-element .elementor-widget-container > h1, body.ae-page .elementor-element .elementor-widget-container > h2 { margin: 0; }
body.ae-page .ae-fill, body.ae-page .ae-fill > .elementor-widget, body.ae-page .ae-fill .elementor-widget-container { height: 100%; }
body.ae-page .e-con.a-container { max-width: calc(var(--a-container) + 48px); width: 100%; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
body.ae-page .e-con.a-hero__grid.a-container { max-width: calc(var(--a-container-h) + 48px); }
body.ae-page .e-con.a-section { padding-top: var(--a-section-pt); padding-bottom: 8px; }
body.ae-page .e-con.a-section--tight { padding-top: calc(var(--a-section-pt) * 28 / 46); padding-bottom: 4px; }
body.ae-page .elementor { width: 100%; }
body.ae-page .elementor-element.e-con { min-width: 0; }

/* ---------- Buttons (mirror .a-btn on the Elementor <a>) ---------- */
body.ae-page .ae-btn { display: inline-flex; width: auto; }
body.ae-page .ae-btn .elementor-widget-container, body.ae-page .ae-btn .elementor-button-wrapper { display: flex; }
body.ae-page .ae-btn .elementor-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--a-btn-h); padding: 0 var(--a-btn-px); border-radius: var(--a-pill); border: 1.5px solid transparent;
  font-family: inherit; font-weight: var(--a-btn-fw); font-size: var(--a-btn-fs); text-transform: var(--a-btn-tt);
  line-height: 1; white-space: nowrap; text-decoration: none; box-shadow: none; fill: currentColor;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s;
}
body.ae-page .ae-btn .elementor-button-content-wrapper { display: inline-flex; align-items: center; gap: 10px; }
body.ae-page .ae-btn .elementor-button-text { color: inherit; }
body.ae-page .ae-btn--primary .elementor-button { background: var(--a-grad-h); color: #fff; box-shadow: var(--a-shadow-or); }
body.ae-page .ae-btn--primary .elementor-button:hover { transform: translateY(-1px); box-shadow: 0 16px 30px rgba(242, 100, 10, .38); filter: saturate(1.08); color: #fff; }
body.ae-page .ae-btn--outline .elementor-button { background: #fff; color: var(--a-ink); border-color: #3a3a40; }
body.ae-page .ae-btn--outline .elementor-button:hover { border-color: var(--a-orange); color: var(--a-orange); background: #fff; }
body.ae-page .ae-btn--ghost .elementor-button { background: transparent; color: var(--ae-orange-ink, #c2410c); border-color: var(--a-orange); }
body.ae-page .ae-btn--ghost .elementor-button:hover { background: var(--a-orange-soft); color: var(--ae-orange-ink, #c2410c); }
body.ae-page .ae-btn--sm .elementor-button { min-height: calc(var(--a-btn-h) - 8px); padding: 0 calc(var(--a-btn-px) - 6px); font-size: calc(var(--a-btn-fs) - 1.5px); }
body.ae-page .ae-btn--dark .elementor-button, body.ae-page .ae-btn--cta .elementor-button { background: linear-gradient(90deg, #ffa733, #ff8a1c); color: #17171a; box-shadow: 0 12px 26px rgba(255, 138, 28, .35); }
body.ae-page .ae-btn--dark .elementor-button:hover, body.ae-page .ae-btn--cta .elementor-button:hover { color: #17171a; }
body.ae-page .ae-arrow .elementor-button::after, body.ae-page .ae-play .elementor-button::before {
  content: ""; flex: none; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--ae-i-arrow) center / contain no-repeat; mask: var(--ae-i-arrow) center / contain no-repeat;
}
body.ae-page .ae-play .elementor-button::before { width: 17px; height: 17px; -webkit-mask-image: var(--ae-i-play); mask-image: var(--ae-i-play); }
body.ae-page .ae-textlink { display: inline-flex; }
body.ae-page .ae-textlink .elementor-button {
  display: inline-flex; align-items: center; gap: 8px; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none;
  color: var(--ae-orange-ink, #c2410c); font-weight: 700; font-size: 14.5px; line-height: 1.3; min-height: 0; text-decoration: none;
}
body.ae-page .ae-textlink .elementor-button::after {
  content: ""; width: 16px; height: 16px; background: currentColor; transition: transform .15s;
  -webkit-mask: var(--ae-i-arrow) center / contain no-repeat; mask: var(--ae-i-arrow) center / contain no-repeat;
}
body.ae-page .ae-textlink .elementor-button:hover { color: var(--ae-orange-ink, #c2410c); background: none; }
body.ae-page .ae-textlink .elementor-button:hover::after { transform: translateX(3px); }
/* whole card clickable through its main link */
body.ae-page .ae-stretch, body.ae-page .ae-stretch .elementor-widget-container, body.ae-page .ae-stretch .elementor-button-wrapper { position: static; }
body.ae-page .ae-stretch .elementor-button::before, body.ae-page .ae-stretch.ae-btn .elementor-button::after { }
body.ae-page .ae-stretch .elementor-button { position: static; }
body.ae-page .ae-stretch .elementor-button-content-wrapper::after { content: ""; position: absolute; inset: 0; z-index: 3; }

/* ---------- Hero ---------- */
body.ae-page .a-hero { position: relative; overflow: hidden; }
body.ae-page .a-hero__title.elementor-widget-heading { line-height: 1.06; }
body.ae-page .a-hero--home .a-hero__title.elementor-widget-heading { line-height: 1; }
body.ae-page .a-hero--categories .a-hero__title.elementor-widget-heading { line-height: .98; }
body.ae-page .a-kicker.elementor-widget-heading { display: flex; align-items: center; gap: 12px; }
body.ae-page .a-kicker.elementor-widget-heading::after { content: ""; display: block; width: 38px; height: 2px; background: var(--a-orange); border-radius: 2px; flex: none; }
body.ae-page .a-hero--news .a-kicker::after { width: 42px; height: 3px; }
body.ae-page .a-hero--contact .a-kicker::after { width: 46px; height: 3px; }
body.ae-page .a-hero__text.elementor-widget-text-editor { color: inherit; }
body.ae-page .a-hero__actions { display: flex; flex-wrap: wrap; flex-direction: row; gap: 14px; margin-top: 26px; }
body.ae-page .a-hero__art .elementor-widget-image { display: block; }
body.ae-page .a-hero__copy { display: block; }
body.ae-page .a-hero__copy > .elementor-widget { width: auto; }
body.ae-page .a-crumbs.elementor-widget-text-editor ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 14px; font-weight: 500; color: var(--a-ink); list-style: none; margin: 0; padding: 0; }
body.ae-page .a-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
body.ae-page .a-crumbs a { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
body.ae-page .a-crumbs a:hover { color: var(--a-orange); }
body.ae-page .a-crumbs img { width: 15px; height: 15px; display: inline-block; }
body.ae-page .a-crumbs .a-crumbs__sep { width: 13px; height: 13px; }
body.ae-page .a-hero--news .a-crumbs img.a-crumbs__home, body.ae-page .a-hero--contact .a-crumbs img.a-crumbs__home { width: 18px; height: 18px; }

/* ---------- Section heads ---------- */
body.ae-page .a-sechead { display: flex; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: 26px; flex-wrap: wrap; }
body.ae-page .a-sechead__main { display: block; }
body.ae-page .a-sechead__title.elementor-widget-heading { display: flex; align-items: center; gap: 16px; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.025em; line-height: 1.15; }
body.ae-page .a-sechead__title.elementor-widget-heading::before { content: ""; display: inline-block; flex: none; width: 36px; height: 3px; border-radius: 3px; background: var(--a-grad-h); }
body.ae-page .a-sechead__title .elementor-widget-container { min-width: 0; }

/* ---------- Icons as <img> ---------- */
body.ae-page .ae-icon { flex: none; display: inline-flex; line-height: 0; }
body.ae-page .ae-icon img { display: block; }

/* ---------- Strip ---------- */
body.ae-page .a-strip__item { display: flex; flex-direction: row; align-items: center; }
body.ae-page .a-strip__icon.ae-icon { width: 46px; height: 46px; align-items: center; justify-content: center; }
body.ae-page .a-strip__icon img { width: 36px; height: 36px; }
body.ae-page .a-strip__item .ae-strong { display: block; font-size: 15px; font-weight: 800; color: var(--a-ink); line-height: 1.25; letter-spacing: normal; }
body.ae-page .a-strip__item .ae-small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.4; color: var(--a-muted); font-weight: 400; }

/* ---------- Steps ---------- */
body.ae-page .a-step { display: flex; flex-direction: row; align-items: center; }
body.ae-page .a-step__num.elementor-widget-heading { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--a-grad); color: #fff; font-weight: 800; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 16px rgba(242, 100, 10, .28); letter-spacing: 0; line-height: 1; }
body.ae-page .a-step__num .elementor-widget-container { display: flex; align-items: center; justify-content: center; }
body.ae-page .a-step__num .elementor-heading-title { color: #fff; }
body.ae-page .a-step__icon.ae-icon img { width: 40px; height: 40px; }
body.ae-page .a-step__copy { display: block; }
body.ae-page .a-step .ae-strong { display: block; font-size: 17px; color: var(--a-ink); font-weight: 800; line-height: 1.25; letter-spacing: normal; }
body.ae-page .a-step .ae-small { display: block; margin-top: 5px; font-size: 13.5px; color: var(--a-muted); line-height: 1.45; font-weight: 400; }
body.ae-page .a-step__arrow.ae-icon { margin-left: auto; width: 22px; height: 22px; }
body.ae-page .a-step__arrow img { width: 22px; height: 22px; opacity: .55; }
body.ae-page .a-step:last-child .a-step__arrow { display: none; }

/* ---------- Benefits ---------- */
body.ae-page .a-benefit { display: flex; flex-direction: row; align-items: flex-start; }
body.ae-page .a-benefit__icon.ae-icon img { width: 38px; height: 38px; }
body.ae-page .a-benefit__copy { display: block; }
body.ae-page .a-benefit .ae-strong { display: block; font-size: 15.5px; color: var(--a-ink); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; }
body.ae-page .a-benefit .ae-small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--a-muted); font-weight: 400; }

/* ---------- Big categories ---------- */
body.ae-page .a-bigcat__head { display: flex; flex-direction: row; }
body.ae-page .a-bigcat__head .ae-icon img { width: 40px; height: 40px; }
body.ae-page .a-bigcats__row--3 .a-bigcat__head .ae-icon img { width: 36px; height: 36px; }
body.ae-page .a-bigcat__head .elementor-widget-heading { font-size: inherit; letter-spacing: inherit; line-height: 1.15; }
body.ae-page .a-bigcat__text.elementor-widget-text-editor { grid-area: text; }
body.ae-page .a-bigcat > .ae-btn { grid-area: btn; justify-self: start; align-self: start; margin-top: 6px; }
body.ae-page .a-bigcat .ae-btn .elementor-button { min-height: 40px; padding: 0 24px; font-size: 15px; font-weight: 800; }
body.ae-page .a-bigcats__row--3 .a-bigcat .ae-btn .elementor-button { min-height: 36px; padding: 0 20px; font-size: 14.5px; }
body.ae-page .a-bigcat__art .elementor-widget-image img { width: 100%; height: 100%; }

/* ---------- CTA banner ---------- */
body.ae-page .a-cta .elementor-widget-heading { color: #fff; line-height: 1.1; }
body.ae-page .a-cta .elementor-widget-heading .elementor-heading-title { font-size: clamp(24px, 2.6vw, 33px); font-style: italic; }
body.ae-page .a-cta--inline .elementor-widget-heading .elementor-heading-title { font-size: clamp(22px, 2.3vw, 33px); white-space: nowrap; }
body.ae-page .a-cta .elementor-widget-heading .elementor-heading-title em { color: var(--a-orange-2); }
body.ae-page .a-cta .elementor-widget-text-editor p { color: #e1e1e6; font-size: 14.5px; line-height: 1.55; padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .22); margin: 0; }
body.ae-page .a-cta--inline .elementor-widget-text-editor p { font-size: 15px; padding-left: 40px; }
body.ae-page .a-cta .ae-btn .elementor-button { min-height: var(--a-btn-h); }
body.ae-page .a-cta--inline .ae-btn .elementor-button { min-height: 44px; }
@media (max-width: 1100px) {
  body.ae-page .a-cta--inline .elementor-widget-heading .elementor-heading-title { white-space: normal; }
  body.ae-page .a-cta--inline .elementor-widget-text-editor p { padding-left: 0; border-left: 0; }
}

/* ---------- FAQ (Elementor accordion in the dark/light pill look) ---------- */
body.ae-page .a-faq__eyebrow.elementor-widget-heading { display: flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; color: var(--a-ink); margin-bottom: 8px; }
body.ae-page .a-faq__eyebrow.elementor-widget-heading::after { content: ""; width: 34px; height: 2px; background: var(--a-orange); flex: none; }
body.ae-page .a-faq__head .elementor-widget-heading h2.elementor-heading-title { font-size: clamp(28px, 3vw, 40px); line-height: 1; font-style: italic; }
body.ae-page .a-faq__head h2 em { display: block; }
body.ae-page .ae-faq .elementor-accordion { display: grid; gap: 4px; }
body.ae-page .ae-faq .elementor-accordion-item { border: 0; border-radius: 18px; overflow: hidden; background: transparent; box-shadow: none; }
body.ae-page .ae-faq .elementor-tab-title {
  display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 30px; padding: 3px 12px 3px 20px; margin: 0; border: 0; border-radius: 18px;
  background: linear-gradient(180deg, #2b2b31, #1a1a1e); box-shadow: 0 4px 10px rgba(23, 23, 26, .18); cursor: pointer;
}
body.ae-page .ae-faq .elementor-tab-title.elementor-active { border-radius: 18px 18px 0 0; }
body.ae-page .ae-faq .elementor-accordion-title { flex: 1; display: block; padding: 0; color: #fff; font-size: 15px; font-weight: 800; line-height: 1.3; text-decoration: none; letter-spacing: 0; }
body.ae-page .ae-faq .elementor-tab-title.elementor-active .elementor-accordion-title, body.ae-page .ae-faq .elementor-tab-title:hover .elementor-accordion-title { color: #fff; }
body.ae-page .ae-faq .elementor-accordion-icon { flex: none; display: inline-flex; width: 22px; height: 22px; margin: 0; padding: 0; border-radius: 50%; border: 1.5px solid var(--a-orange-2); color: var(--a-orange-2); align-items: center; justify-content: center; text-align: center; transition: transform .2s; }
body.ae-page .ae-faq .elementor-accordion-icon i, body.ae-page .ae-faq .elementor-accordion-icon svg { font-size: 10px; width: 11px; height: 11px; color: inherit; fill: currentColor; }
body.ae-page .ae-faq .elementor-accordion-icon .elementor-accordion-icon-opened, body.ae-page .ae-faq .elementor-accordion-icon .elementor-accordion-icon-closed { display: inline-flex; width: auto; align-items: center; justify-content: center; }
body.ae-page .ae-faq .elementor-tab-title .elementor-accordion-icon-opened { display: none; }
body.ae-page .ae-faq .elementor-tab-title.elementor-active .elementor-accordion-icon-opened { display: inline-flex; }
body.ae-page .ae-faq .elementor-tab-title.elementor-active .elementor-accordion-icon-closed { display: none; }
body.ae-page .ae-faq .elementor-tab-title.elementor-active .elementor-accordion-icon { transform: rotate(180deg); }
body.ae-page .ae-faq .elementor-tab-content {
  margin: 0; padding: 10px 22px 12px; border: 0; background: linear-gradient(180deg, #f7f1ec, #fbf7f3); color: #1c2438; font-weight: 500;
  font-size: 14.5px; line-height: 1.4; border-radius: 0 0 16px 16px; box-shadow: 0 4px 10px rgba(80, 40, 0, .08);
}
body.ae-page .ae-faq .elementor-tab-content p { margin: 0; color: inherit; }

/* ---------- Newsletter / forms rendered by shortcode: keep theme look ---------- */
body.ae-page .elementor-widget-shortcode .elementor-shortcode { display: block; }

/* ---------- Mobile base ---------- */
@media (max-width: 1024px) { body.ae-page .a-faq--side, body.ae-page .a-faq--card { grid-template-columns: 1fr; } }

/* Fonturi: designul (imaginile) folosește Inter pe tot; opțiunea din Allma Builder de pe site poate fi alta (ex. Lora).
   Suprascris doar pe paginile construite cu acest modul — nu modifică setarea globală. */
body.ae-page { --a-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --a-font-head: var(--a-font); }

/* ================= Acasă / carduri / pills ================= */
/* butoane „goale” (pill, coș, favorite): wrapperul poartă clasa temei, linkul Elementor devine transparent */
:where(body.ae-page) .elementor-widget-button:not(.ae-btn):not(.ae-textlink) .elementor-button {
  background: transparent; color: inherit; padding: 0; border: 0; border-radius: 0; box-shadow: none; font: inherit; line-height: inherit; min-height: 0;
}
body.ae-page .a-pill .elementor-widget-container, body.ae-page .a-pill .elementor-button-wrapper { display: flex; align-items: center; min-height: inherit; }
body.ae-page .a-pill .elementor-button { color: inherit; font-weight: inherit; font-size: inherit; letter-spacing: normal; white-space: nowrap; }
body.ae-page .a-pill.is-active .elementor-button { color: #fff; }
body.ae-page .a-pills .ae-sort-wrap { display: inline-flex; }
body.ae-page .a-sechead--filters { flex-wrap: wrap; }

body.ae-page .a-pcard__cart .elementor-widget-container, body.ae-page .a-pcard__cart .elementor-button-wrapper,
body.ae-page .a-pcard__fav .elementor-widget-container, body.ae-page .a-pcard__fav .elementor-button-wrapper { width: 100%; height: 100%; display: flex; }
body.ae-page .a-pcard__cart .elementor-button, body.ae-page .a-pcard__fav .elementor-button {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 0; color: inherit;
}
body.ae-page .a-pcard__cart .elementor-button-content-wrapper, body.ae-page .a-pcard__fav .elementor-button-content-wrapper { display: none; }
body.ae-page .a-pcard__cart .elementor-button::before {
  content: ""; width: 21px; height: 21px; background: #fff; -webkit-mask: var(--ae-i-cart) center / contain no-repeat; mask: var(--ae-i-cart) center / contain no-repeat;
}
body.ae-page .a-pcard__fav .elementor-button::before {
  content: ""; width: 17px; height: 17px; background: currentColor; -webkit-mask: var(--ae-i-heart) center / contain no-repeat; mask: var(--ae-i-heart) center / contain no-repeat;
}
body.ae-page .a-pcard__fav.is-active .elementor-button { color: var(--a-orange); }
body.ae-page .a-pcard__fav.is-active .elementor-button::before { background: var(--a-orange); }
body.ae-page .a-pcard__cart, body.ae-page .a-pcard__fav { position: relative; }
body.ae-page .a-pcard > .a-pcard__fav { position: absolute; }

body.ae-page .a-pcard__media > .elementor-widget-image, body.ae-page .a-pcard__media .elementor-widget-container, body.ae-page .a-pcard__media a { display: block; height: 100%; }
body.ae-page .a-pcard__media img, body.ae-page .a-catcard__media img, body.ae-page .a-acard__media img { width: 100%; height: 100%; object-fit: cover; }
body.ae-page .a-pcard__badge--star::before {
  content: ""; width: 13px; height: 13px; background: var(--a-orange-2); flex: none; -webkit-mask: var(--ae-i-star) center / contain no-repeat; mask: var(--ae-i-star) center / contain no-repeat;
}
body.ae-page .a-pcard__badge .elementor-heading-title { font-size: 13px; font-weight: 700; line-height: 1; color: #fff; letter-spacing: -0.01em; }
body.ae-page .a-pcard__title .elementor-heading-title a { color: inherit; }
body.ae-page .a-pcard__title .elementor-heading-title a:hover { color: var(--a-orange); }
body.ae-page .a-pcard__body > .elementor-widget { width: 100%; }
body.ae-page .a-pcard__price .elementor-widget-container, body.ae-page .a-pcard__price p { display: contents; }
body.ae-page .a-pcard__price ins { text-decoration: none; }
body.ae-page .a-pcard__text p { color: inherit; }

/* categorii (acasă) */
body.ae-page .a-catcard__title { font-size: 17.5px; font-weight: 800; letter-spacing: -0.02em; color: var(--a-ink); line-height: 1.2; }
body.ae-page .a-catcard__title .elementor-heading-title a { color: inherit; }
body.ae-page .a-catcard__sub { font-size: 14px; line-height: 1.25; color: #1c2438; font-weight: 500; }
body.ae-page .ae-link-stretch .elementor-heading-title a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
body.ae-page .a-catcard__go .ae-icon img { width: 14px; height: 14px; display: block; }
body.ae-page .a-catcard:hover .a-catcard__go .ae-icon img { filter: brightness(0) invert(1); }

/* banner „Pachete” */
body.ae-page .a-banner .elementor-widget-heading .elementor-heading-title em { color: var(--a-orange-2); font-style: italic; }
body.ae-page .a-banner .ae-btn .elementor-button { min-height: 42px; padding: 0 26px; font-size: 15px; font-weight: 800; }
body.ae-page .a-banner__art.elementor-widget-image img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
body.ae-page .a-banner__art .elementor-widget-container { height: 100%; }
body.ae-page .a-banner > .ae-btn { justify-self: start; }

/* strip plutitor (hero acasă) */
body.ae-page .a-hero-strip .a-strip__item .ae-strong { font-size: 17px; letter-spacing: -0.015em; }
body.ae-page .a-hero-strip .a-strip__item .ae-small { font-size: 14px; line-height: 1.25; color: #1c2438; font-weight: 500; }
body.ae-page .a-hero-strip .a-strip__icon img { width: 46px; height: 46px; }

/* articole pe rând */
body.ae-page .a-acard--row .a-acard__media { position: relative; }
body.ae-page .a-acard--row .a-acard__media .elementor-widget-image, body.ae-page .a-acard--row .a-acard__media .elementor-widget-container { position: absolute; inset: 0; }
body.ae-page .a-acard__title .elementor-heading-title a { color: inherit; }
body.ae-page .a-acard__title .elementor-heading-title a:hover { color: var(--a-orange); }
body.ae-page .a-acard__text p { color: inherit; }
body.ae-page .a-acard__body > .elementor-widget { width: auto; }
body.ae-page .a-acard--row .a-chip .elementor-heading-title { font-size: inherit; font-weight: inherit; color: inherit; line-height: 1.3; letter-spacing: normal; }
body.ae-page .a-acard__body .ae-textlink { margin-top: auto; }

/* contenitori copil în rânduri flex: lățime după conținut (Elementor le dă 100%) */
body.ae-page .a-sechead > .e-con { width: auto; flex: 0 1 auto; }
body.ae-page .a-sechead--filters > .a-pills { flex: 1 1 auto; justify-content: flex-end; }
body.ae-page .ae-fill > .a-pcard__badge.elementor-widget { height: 27px; width: auto; }
body.ae-page .a-pcard__badge .elementor-widget-container { height: auto; }

/* ===== Pachete / Noutăți / Contact / Produse — compat Elementor ===== */
body.ae-page :is(.a-chip, .a-pkcard__chip, .a-label, .a-pcard__badge) .elementor-heading-title { font: inherit; color: inherit; letter-spacing: inherit; line-height: inherit; }
body.ae-page .ae-fill > .a-chip.elementor-widget { height: auto; width: auto; }
body.ae-page .ae-btn--block, body.ae-page .ae-btn--block .elementor-widget-container, body.ae-page .ae-btn--block .elementor-button-wrapper, body.ae-page .ae-btn--block .elementor-button { width: 100%; }
body.ae-page .ae-btn--block .elementor-button { justify-content: center; min-height: 40px; font-size: 16px; font-weight: 800; }
body.ae-page .a-pkcard > .elementor-widget { width: 100%; }
body.ae-page .a-pkcard__chip.elementor-widget { width: auto; align-self: flex-start; }
body.ae-page .a-pkcard__top > .e-con { width: auto; }
body.ae-page .a-pkcard__top h3, body.ae-page .a-pkcard__top h3.elementor-heading-title { margin: 0; }
body.ae-page .a-pkcard__art.ae-fill > .elementor-widget, body.ae-page .a-pkcard__art .elementor-widget-container { height: auto; }
body.ae-page .a-pkcard .elementor-widget-html { width: 100%; flex: 1; }

/* strong / small → widgeturi */
body.ae-page :is(.a-goal__body, .a-help__body, .a-infocard__txt, .a-linkrow__txt, .a-checkcard) .ae-strong { display: block; font-weight: 800; color: var(--a-ink); }
body.ae-page :is(.a-goal__body, .a-help__body, .a-infocard__txt, .a-linkrow__txt) .ae-small p { margin: 0; }
body.ae-page .a-goal__body .ae-strong { font-size: 18px; letter-spacing: -0.02em; }
body.ae-page .a-goal__body .ae-small { font-size: 14px; line-height: 1.28; color: #1c2438; font-weight: 500; }
body.ae-page .a-goal__body > .elementor-widget { width: 100%; }
body.ae-page .a-goal__art.ae-fill { height: 100%; }
body.ae-page .a-goal__art .elementor-widget-container, body.ae-page .a-goal__art .elementor-widget-image { height: 100%; }
body.ae-page .a-goal__art img { height: 100%; }
body.ae-page .a-goal > .e-con { width: auto; }
body.ae-page .a-goal .ae-textlink .elementor-button { color: var(--ae-orange-ink, #c2410c); font-size: 14.5px; font-weight: 800; }

/* contact */
body.ae-page .a-infocard > .e-con { width: auto; }
body.ae-page .a-infocard__icon .ae-icon img { width: 52px; height: 52px; display: block; }
body.ae-page .a-infocard__txt { display: contents; }
body.ae-page .a-infocard__txt > .ae-strong { grid-column: 2; grid-row: 1; align-self: end; font-size: 20px; letter-spacing: -0.02em; line-height: 31px; }
body.ae-page .a-infocard__txt > .a-infocard__value { grid-column: 2; grid-row: 2; align-self: start; font-size: 15.5px; font-weight: 800; letter-spacing: -0.02em; line-height: 31px; color: var(--a-ink); }
body.ae-page .a-infocard__txt > .a-infocard__value p { margin: 0; }
body.ae-page .a-infocard__value a { color: var(--a-ink); }
body.ae-page .a-infocard__txt > .ae-small { grid-column: 1 / -1; grid-row: 3; margin-top: 8px; max-width: 290px; font-size: 14.5px; line-height: 1.28; color: #1c2438; font-weight: 500; }
body.ae-page .a-infocards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.ae-page .a-checkcard .a-checkcard__title { display: block; font-size: 21px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; color: var(--a-ink); }
body.ae-page .a-help > .elementor-widget, body.ae-page .a-help > .e-con { width: 100%; }
body.ae-page .a-help__art.ae-fill { aspect-ratio: 323 / 122; }
body.ae-page .a-help__art .elementor-widget-container, body.ae-page .a-help__art .elementor-widget-image { height: 100%; }
body.ae-page .a-help__art img { height: 100%; width: 100%; object-fit: cover; }
body.ae-page .a-help__body .ae-strong { font-size: clamp(17px, 1.4vw, 20px); letter-spacing: -0.03em; line-height: 1.1; }
body.ae-page .a-help__body .ae-strong a { color: inherit; }
body.ae-page .a-help__body .ae-small { padding-right: 24px; font-size: 14px; line-height: 1.28; color: #1c2438; font-weight: 500; }
body.ae-page .a-help__go { width: 26px; height: 26px; }
body.ae-page .a-help__go .ae-icon img { width: 12px; height: 12px; display: block; }

/* resurse utile (noutăți) */
body.ae-page .a-linkrow { position: relative; }
body.ae-page .a-linkrow > .e-con, body.ae-page .a-linkrow > .elementor-widget { width: auto; }
body.ae-page .a-linkrow > .ae-icon img { width: 38px; height: 38px; display: block; }
body.ae-page .a-linkrow__txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
body.ae-page .a-linkrow__txt .ae-strong { font-size: 17px; letter-spacing: -0.02em; line-height: 1.15; }
body.ae-page .a-linkrow__txt .ae-strong a { color: inherit; }
body.ae-page .a-linkrow__txt .ae-small { font-size: 13.5px; line-height: 1.2; color: #1c2438; font-weight: 500; }
body.ae-page .a-linkrow__go { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--a-orange); color: var(--a-orange); display: inline-flex; align-items: center; justify-content: center; }
body.ae-page .a-linkrow__go .ae-icon img { width: 12px; height: 12px; display: block; }

/* feature (articol recomandat) */
body.ae-page .a-feature > .e-con { width: auto; }
body.ae-page .a-feature__media.ae-fill { position: relative; min-height: 244px; }
body.ae-page .a-feature__media .elementor-widget-image, body.ae-page .a-feature__media .elementor-widget-container { position: absolute; inset: 0; height: 100%; }
body.ae-page .a-feature__body > .elementor-widget { width: auto; }
body.ae-page .a-feature__body .elementor-heading-title { color: var(--a-ink); }
body.ae-page .a-feature__body p { margin: 0; }

/* tabel comparativ */
body.ae-page .ae-table, body.ae-page .ae-table .elementor-widget-container { width: 100%; }

/* hero shop — listă inline */
body.ae-page .ae-hero-inline .a-hero__inline { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; margin: 18px 0 0; padding: 0; }

body.ae-page .ae-faq:not(.ae-faq--open1):not([data-ae-closed]) .elementor-tab-content { display: none !important; }

/* ===== FAQ variantă luminoasă (Produse) ===== */
body.ae-page .a-faq--light .ae-faq .elementor-accordion { gap: 8px; }
body.ae-page .a-faq--light .ae-faq .elementor-accordion-item { background: linear-gradient(180deg, #efe9e3 0%, #faf7f3 100%); border: 1px solid rgba(180, 160, 140, .22); border-radius: 14px; box-shadow: 0 4px 10px rgba(60, 28, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .8); }
body.ae-page .a-faq--light .ae-faq .elementor-tab-title { background: transparent; box-shadow: none; border-radius: 14px; min-height: 31px; padding: 3px 20px; }
body.ae-page .a-faq--light .ae-faq .elementor-tab-title.elementor-active { border-radius: 14px 14px 0 0; }
body.ae-page .a-faq--light .ae-faq .elementor-accordion-title, body.ae-page .a-faq--light .ae-faq .elementor-tab-title:hover .elementor-accordion-title, body.ae-page .a-faq--light .ae-faq .elementor-tab-title.elementor-active .elementor-accordion-title { color: var(--a-ink); font-size: 15.5px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; }
body.ae-page .a-faq--light .ae-faq .elementor-accordion-icon { border: 0; width: 24px; height: 24px; color: var(--a-ink); }
body.ae-page .a-faq--light .ae-faq .elementor-tab-title.elementor-active .elementor-accordion-icon { color: var(--a-orange); }
body.ae-page .a-faq--light .ae-faq .elementor-tab-content { background: transparent; box-shadow: none; color: var(--a-muted); }

/* ===== Contact: titlu intro, text, carduri „Cum te putem ajuta?” ===== */
body.ae-page .a-contactgrid__intro .a-sechead__title { align-items: flex-start; gap: 18px; }
body.ae-page .a-contactgrid__intro h2.elementor-heading-title { display: block; font-size: 36px; line-height: 1.03; letter-spacing: -0.035em; }
body.ae-page .a-contactgrid__intro h2 em { display: block; font-size: 38px; }
body.ae-page .a-contactgrid__lead p { margin: 14px 0 16px; max-width: 470px; font-size: 16px; line-height: 1.32; color: #1c2438; font-weight: 500; }
body.ae-page .a-help > .a-help__go { width: 26px; height: 26px; position: absolute; right: 16px; bottom: 14px; }
body.ae-page .a-help__art.ae-fill { position: relative; flex: none; height: auto; }
body.ae-page .a-help__art.ae-fill .elementor-widget-image, body.ae-page .a-help__art.ae-fill .elementor-widget-container { position: absolute; inset: 0; height: 100%; }

/* ===== FAQ: variante pe secțiuni (compat acordeon Elementor) ===== */
body.ae-page .a-faq--card .a-faq__eyebrow.elementor-widget-heading { display: none; }
body.ae-page #faq-contact .a-faq__head .ae-btn { margin: 12px 0 0 48px; }
body.ae-page #faq-contact .a-faq__head .ae-btn .elementor-button { min-height: 36px; padding: 0 20px; border: 1.5px solid var(--a-orange); background: #fff; color: var(--ae-orange-ink, #c2410c); font-size: 15px; font-weight: 800; box-shadow: none; }
body.ae-page #faq-contact .a-faq__head .elementor-widget-text-editor p { margin: 8px 0 0 50px; max-width: 320px; font-size: 15px; line-height: 1.26; color: #1c2438; font-weight: 500; }
body.ae-page #faq-contact .ae-faq .elementor-accordion { gap: 10px; }
body.ae-page #faq-contact .ae-faq .elementor-tab-title { min-height: 35px; padding: 3px 14px 3px 28px; }
body.ae-page #faq-contact .ae-faq .elementor-accordion-title { font-size: 17.5px; font-weight: 700; letter-spacing: -0.01em; }
body.ae-page #faq-contact .ae-faq .elementor-accordion-icon { width: 26px; height: 26px; }
body.ae-page #resurse-utile .ae-faq .elementor-accordion { gap: 9px; }
body.ae-page #resurse-utile .ae-faq .elementor-tab-title { min-height: 33px; padding: 3px 14px 3px 30px; }
body.ae-page #resurse-utile .ae-faq .elementor-accordion-title { font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; }
body.ae-page #resurse-utile .ae-faq .elementor-accordion-icon { width: 24px; height: 24px; }
body.ae-page #resurse-utile .a-faq__eyebrow.elementor-widget-heading { margin-bottom: 2px; font-size: 14px; letter-spacing: .06em; }
body.ae-page #resurse-utile .a-faq__eyebrow.elementor-widget-heading::after { width: 40px; }

/* liniuța (dash) din titluri, pe variante */
body.ae-page .a-contactgrid__intro .a-sechead__title.elementor-widget-heading::before { width: 50px; height: 2.5px; margin-top: 19px; }
body.ae-page #resurse-utile .a-sechead__title.elementor-widget-heading::before { width: 48px; height: 2.5px; margin-top: 15px; }

/* ---- responsive: carduri de contact + antet FAQ Contact (regulile desktop de mai sus suprascriau tema) ---- */
@media (max-width: 1180px) {
  body.ae-page .a-infocards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  body.ae-page .a-infocard:nth-child(odd)::before { display: none; }
}
@media (max-width: 720px) {
  body.ae-page .a-infocards { grid-template-columns: minmax(0, 1fr); padding: 16px 6px; }
  body.ae-page .a-infocard + .a-infocard::before { display: none; }
}
@media (max-width: 1100px) {
  body.ae-page #faq-contact .a-faq__head .ae-btn { margin: 12px 0 0 0; }
  body.ae-page #faq-contact .a-faq__head .elementor-widget-text-editor p { margin: 8px 0 0 0; max-width: none; }
  body.ae-page #faq-contact .a-faq__head .ae-btn .elementor-button { max-width: 100%; white-space: normal; }
}

/* ---- media cu aspect-ratio: să nu se întindă pe înălțimea cardului când rândul grilei e mai înalt (mobil) ---- */
body.ae-page :is(.a-catcard__media, .a-pcard__media).ae-fill,
body.ae-page .a-acard:not(.a-acard--row) .a-acard__media.ae-fill { height: auto; position: relative; }
body.ae-page :is(.a-catcard__media, .a-pcard__media).ae-fill > .elementor-widget-image,
body.ae-page .a-acard:not(.a-acard--row) .a-acard__media.ae-fill > .elementor-widget-image { position: absolute; inset: 0; width: 100%; height: 100%; }
