/*
Theme Name: Codrii de Piatra
Theme URI: https://codriidepiatra.ro
Author: Cipo
Description: Tema WordPress responsive, optimizata pentru Elementor / PRO Elements, destinata unui complex montan cu cazare, parc de aventura si amfiteatru. Include un fallback vizual inspirat de conceptul „Un loc. Trei experiente.” si clase CSS reutilizabile in Elementor.
Version: 2.2.4
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: codrii-de-piatra
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-logo, custom-menu, featured-images, full-width-template, translation-ready, responsive-layout
*/

:root {
  --cdp-forest: #243126;
  --cdp-forest-deep: #152019;
  --cdp-cream: #f5f0e7;
  --cdp-cream-soft: #fbf8f2;
  --cdp-gold: #b98948;
  --cdp-olive: #6f7d55;
  --cdp-wine: #7a3f3d;
  --cdp-ink: #272621;
  --cdp-muted: #6d6a62;
  --cdp-line: rgba(39, 38, 33, .13);
  --cdp-radius: 18px;
  --cdp-shadow: 0 18px 55px rgba(20, 27, 21, .12);
  --cdp-content: 1240px;
  --cdp-serif: Georgia, 'Times New Roman', serif;
  --cdp-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cdp-ink);
  background: var(--cdp-cream-soft);
  font-family: var(--cdp-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
button, input, select, textarea { font: inherit; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { clip: auto !important; width: auto; height: auto; margin: 0; padding: 12px 18px; background:#fff; z-index: 100000; }

.cdp-wrap { width: min(calc(100% - 40px), var(--cdp-content)); margin-inline: auto; }
.cdp-section { padding: clamp(58px, 7vw, 108px) 0; }
.cdp-section--tight { padding: clamp(34px, 4vw, 62px) 0; }
.cdp-eyebrow { margin: 0 0 8px; letter-spacing: .13em; text-transform: uppercase; font-size: 12px; font-weight: 700; color: var(--cdp-gold); }
.cdp-title { font-family: var(--cdp-serif); font-weight: 400; font-size: clamp(38px, 5vw, 76px); line-height: 1.03; margin: 0 0 18px; }
.cdp-title--medium { font-size: clamp(31px, 3.7vw, 54px); }
.cdp-copy { color: var(--cdp-muted); max-width: 720px; }
.cdp-button,
.elementor .cdp-button .elementor-button,
.elementor a.cdp-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 12px 21px; border: 1px solid transparent; border-radius: 8px;
  background: var(--cdp-gold); color: #fff; font-weight: 700; transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.cdp-button:hover { transform: translateY(-2px); filter: brightness(.96); box-shadow: 0 10px 24px rgba(30,30,25,.14); }
.cdp-button--forest { background: var(--cdp-forest); }
.cdp-button--olive { background: var(--cdp-olive); }
.cdp-button--wine { background: var(--cdp-wine); }
.cdp-button--ghost { background: transparent; border-color: currentColor; color: var(--cdp-forest); }

/* Fallback header */
.site-header { position: relative; z-index: 50; background: rgba(21,32,25,.94); color: #fff; }
.site-header__inner { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.site-branding { flex: 0 0 auto; }
.custom-logo-link img { max-height: 56px; width: auto; }
.site-title { font-family: var(--cdp-serif); font-size: 24px; letter-spacing: .06em; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; }
.site-nav a { font-size: 14px; color: rgba(255,255,255,.92); }
.site-nav a:hover { color: #fff; }
.site-menu-toggle { display: none; margin-left: auto; border: 1px solid rgba(255,255,255,.25); background: transparent; color:#fff; padding: 8px 11px; border-radius: 7px; }

/* Fallback homepage / reusable Elementor classes */
.cdp-home-hero {
  position: relative; min-height: min(760px, 86vh); color: #fff; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17,25,20,.50) 0%, rgba(17,25,20,.20) 48%, rgba(17,25,20,.72) 100%),
    radial-gradient(circle at 50% 22%, rgba(185,137,72,.28), transparent 36%),
    linear-gradient(135deg, #33473a, #17231b 70%);
  background-size: cover; background-position: center;
}
.cdp-home-hero__inner { padding: clamp(82px, 10vw, 150px) 0 36px; }
.cdp-home-hero__intro { text-align: center; max-width: 850px; margin: 0 auto clamp(40px, 6vw, 72px); }
.cdp-home-hero__intro .cdp-title { text-shadow: 0 5px 22px rgba(0,0,0,.25); }
.cdp-home-hero__intro p { margin: 0; font-size: clamp(16px, 2vw, 22px); color: rgba(255,255,255,.88); }
.cdp-hero-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: end; }
.cdp-experience-card {
  position: relative; min-height: 390px; display: flex; align-items: flex-end; overflow: hidden;
  border-radius: var(--cdp-radius); box-shadow: var(--cdp-shadow); background: #d8d2c6;
}
.cdp-experience-card__media { position:absolute; inset:0; background: linear-gradient(145deg, #788273, #344039); background-size:cover; background-position:center; transform:scale(1.001); transition: transform .55s ease; }
.cdp-experience-card:hover .cdp-experience-card__media { transform: scale(1.035); }
.cdp-experience-card__media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(8,10,9,.03) 20%, rgba(8,10,9,.76) 100%); }
.cdp-experience-card__body { position:relative; z-index:1; width:100%; padding: 25px; }
.cdp-experience-card__icon { width:44px; height:44px; border-radius:999px; display:grid; place-items:center; margin-bottom:15px; color:#fff; background:var(--cdp-gold); box-shadow:0 8px 25px rgba(0,0,0,.2); }
.cdp-experience-card h2 { margin:0 0 8px; font: 400 clamp(31px, 3.2vw, 46px)/1 var(--cdp-serif); }
.cdp-experience-card p { margin:0 0 17px; color:rgba(255,255,255,.86); }
.cdp-experience-card--adventure .cdp-experience-card__icon { background:var(--cdp-olive); }
.cdp-experience-card--theatre .cdp-experience-card__icon { background:var(--cdp-wine); }

.cdp-action-deck { position: relative; z-index: 3; margin-top: -38px; }
.cdp-action-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); border-radius:16px; overflow:hidden; box-shadow:var(--cdp-shadow); background:#fff; }
.cdp-action-card { padding:28px; border-right:1px solid var(--cdp-line); }
.cdp-action-card:last-child { border-right:0; }
.cdp-action-card h3 { font:400 25px/1.2 var(--cdp-serif); margin:0 0 9px; }
.cdp-action-card p { margin:0 0 19px; color:var(--cdp-muted); font-size:14px; }
.cdp-inline-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:0 0 12px; }
.cdp-inline-field { border:1px solid var(--cdp-line); border-radius:7px; padding:10px 12px; color:var(--cdp-muted); font-size:13px; background:#fff; }

.cdp-three-columns { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.cdp-feature-card { background:#fff; border:1px solid var(--cdp-line); border-radius:var(--cdp-radius); overflow:hidden; box-shadow:0 12px 40px rgba(20,27,21,.07); }
.cdp-feature-card__image { min-height:290px; background:linear-gradient(145deg,#d1c2ac,#7b8a7f); background-size:cover; background-position:center; }
.cdp-feature-card__content { padding:28px; }
.cdp-feature-card h3 { margin:0 0 7px; font:400 34px/1.08 var(--cdp-serif); }
.cdp-feature-card ul { list-style:none; padding:0; margin:20px 0 25px; }
.cdp-feature-card li { position:relative; padding-left:24px; margin:8px 0; font-size:14px; }
.cdp-feature-card li::before { content:'✓'; position:absolute; left:0; top:0; width:17px; height:17px; display:grid; place-items:center; border-radius:50%; background:var(--cdp-forest); color:#fff; font-size:10px; }
.cdp-feature-card--adventure li::before { background:var(--cdp-olive); }
.cdp-feature-card--theatre li::before { background:var(--cdp-wine); }

.cdp-panorama {
  min-height:430px; display:grid; place-items:center; text-align:center; color:#fff; position:relative;
  background: linear-gradient(rgba(15,25,19,.42),rgba(15,25,19,.58)), linear-gradient(135deg,#8c7657,#2b3b31 70%);
  background-size:cover; background-position:center;
}
.cdp-panorama .cdp-title { margin-bottom:10px; }
.cdp-panorama p { color:rgba(255,255,255,.87); margin:0 0 24px; }

.cdp-cross-card { display:grid; grid-template-columns:1.1fr .9fr; min-height:210px; border:1px solid var(--cdp-line); border-radius:14px; overflow:hidden; background:#fff; }
.cdp-cross-card__text { padding:24px; display:flex; flex-direction:column; justify-content:center; }
.cdp-cross-card__text h3 { margin:0 0 10px; font:400 25px/1.12 var(--cdp-serif); }
.cdp-cross-card__text p { margin:0 0 14px; color:var(--cdp-muted); font-size:13px; }
.cdp-cross-card__media { background:linear-gradient(145deg,#b89b76,#415247); background-size:cover; background-position:center; }

.site-main { min-height:55vh; }
.cdp-content-shell { width:min(calc(100% - 40px), 920px); margin:60px auto; }
.cdp-entry-title { font:400 clamp(34px,5vw,60px)/1.05 var(--cdp-serif); }
.cdp-entry-content > * { max-width:100%; }
.cdp-entry-content a { text-decoration:underline; }
.cdp-entry-content::after { content:""; display:block; clear:both; }

/* Elementor integration */
.elementor-page .site-main { min-height:0; }
.elementor-page .cdp-content-shell { width:100%; max-width:none; margin:0; }
.elementor-page .cdp-entry-title { display:none; }
.elementor-page .cdp-entry-content > .elementor { width:100%; }
.elementor .cdp-card { border-radius:var(--cdp-radius); overflow:hidden; box-shadow:var(--cdp-shadow); }
.elementor .cdp-serif, .elementor .cdp-serif .elementor-heading-title { font-family:var(--cdp-serif); }
.elementor .cdp-bg-cream { background-color:var(--cdp-cream); }
.elementor .cdp-bg-forest { background-color:var(--cdp-forest); color:#fff; }
.elementor .cdp-accent-gold { color:var(--cdp-gold); }
.elementor .cdp-accent-olive { color:var(--cdp-olive); }
.elementor .cdp-accent-wine { color:var(--cdp-wine); }

/* Footer */
.site-footer { background:var(--cdp-forest-deep); color:rgba(255,255,255,.76); padding:52px 0 28px; }
.site-footer__grid { display:grid; grid-template-columns:1.3fr repeat(3,1fr); gap:34px; }
.site-footer h3 { color:#fff; font:400 22px/1.2 var(--cdp-serif); margin:0 0 14px; }
.site-footer ul { list-style:none; padding:0; margin:0; }
.site-footer li { margin:7px 0; font-size:14px; }
.site-footer a:hover { color:#fff; }
.site-footer__bottom { margin-top:38px; padding-top:20px; border-top:1px solid rgba(255,255,255,.12); font-size:12px; display:flex; justify-content:space-between; gap:20px; }

/* WordPress content */
.alignwide { width:min(1100px, 100%); margin-left:auto; margin-right:auto; }
.alignfull { width:100vw; max-width:100vw; margin-left:calc(50% - 50vw); }
.wp-caption, .gallery-caption { color:var(--cdp-muted); font-size:13px; }
.sticky { position:relative; }
.bypostauthor { position:relative; }

@media (max-width: 1024px) {
  .cdp-wrap { width:min(calc(100% - 30px), var(--cdp-content)); }
  .cdp-home-hero { min-height:auto; }
  .cdp-hero-grid, .cdp-three-columns { gap:16px; }
  .cdp-experience-card { min-height:340px; }
  .cdp-action-card { padding:22px; }
  .site-footer__grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 767px) {
  .cdp-wrap { width:min(calc(100% - 24px), var(--cdp-content)); }
  .site-header__inner { min-height:68px; }
  .site-menu-toggle { display:inline-flex; }
  .site-nav { display:none; position:absolute; left:0; right:0; top:100%; background:var(--cdp-forest-deep); padding:14px 18px 22px; }
  .site-nav.is-open { display:block; }
  .site-nav ul { flex-direction:column; align-items:flex-start; gap:13px; }
  .cdp-home-hero__inner { padding-top:70px; }
  .cdp-home-hero__intro { margin-bottom:30px; }
  .cdp-hero-grid, .cdp-action-grid, .cdp-three-columns { grid-template-columns:1fr; }
  .cdp-experience-card { min-height:430px; }
  .cdp-action-deck { margin-top:-20px; }
  .cdp-action-grid { border-radius:14px; }
  .cdp-action-card { border-right:0; border-bottom:1px solid var(--cdp-line); }
  .cdp-action-card:last-child { border-bottom:0; }
  .cdp-cross-card { grid-template-columns:1fr 1fr; }
  .site-footer__grid { grid-template-columns:1fr; }
  .site-footer__bottom { flex-direction:column; }
}

@media (max-width: 480px) {
  .cdp-experience-card { min-height:380px; }
  .cdp-inline-fields { grid-template-columns:1fr; }
  .cdp-cross-card { grid-template-columns:1fr; }
  .cdp-cross-card__media { min-height:155px; order:-1; }
}


/* ==========================================================
   Codrii de Piatra 1.2 - Elementor Header / Footer
   ========================================================== */

/* Elementor smart header */
.cdp-elementor-header {
  position: relative;
  z-index: 100;
  width: 100%;
  color: #fff;
  background: rgba(21,32,25,.94);
  border-bottom: 1px solid rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.cdp-header-inner {
  width: min(calc(100% - 40px), var(--cdp-content));
  min-height: 80px;
  margin-inline: auto;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 20px;
}
.cdp-header-brand {
  flex: 0 0 auto;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 11px;
  color: #fff;
}
.cdp-header-logo-icon {
  width: 38px;
  color: var(--cdp-gold);
  transition: transform .22s ease;
}
.cdp-header-logo-icon .elementor-icon {
  font-size: 29px;
  color: inherit;
}
.cdp-header-brand-copy {
  display: flex !important;
  flex-direction: column !important;
  gap: 0;
}
.cdp-header-brand-title .elementor-heading-title {
  margin: 0;
  color: #fff;
  font-family: var(--cdp-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: .12em;
  white-space: nowrap;
  transition: font-size .22s ease;
}
.cdp-header-brand-subtitle p {
  margin: 2px 0 0;
  color: rgba(255,255,255,.62);
  font-size: 9px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.cdp-header-menu {
  margin-left: auto;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}
.cdp-header-link {
  width: auto !important;
}
.cdp-header-link .elementor-button {
  min-height: 42px;
  padding: 10px 11px !important;
  border: 0 !important;
  border-radius: 7px;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255,255,255,.90) !important;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.cdp-header-link .elementor-button:hover,
.cdp-header-link .elementor-button:focus-visible {
  color: #fff !important;
  background: rgba(255,255,255,.07) !important;
}
.cdp-header-cta {
  flex: 0 0 auto;
  width: auto !important;
}
.cdp-header-cta .elementor-button {
  min-height: 44px;
  padding: 11px 16px !important;
  border-radius: 8px;
  background: var(--cdp-gold) !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.cdp-mobile-toggle {
  display: none;
  flex: 0 0 auto;
  width: auto !important;
}
.cdp-menu-toggle-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
}
.cdp-menu-toggle-lines {
  width: 20px;
  display: grid;
  gap: 4px;
}
.cdp-menu-toggle-lines i {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.cdp-smart-header-shell.is-menu-open .cdp-menu-toggle-lines i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.cdp-smart-header-shell.is-menu-open .cdp-menu-toggle-lines i:nth-child(2) {
  opacity: 0;
}
.cdp-smart-header-shell.is-menu-open .cdp-menu-toggle-lines i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Elementor footer */
.cdp-elementor-footer {
  color: rgba(255,255,255,.75);
  background:
    radial-gradient(circle at 10% 0%, rgba(185,137,72,.11), transparent 28%),
    var(--cdp-forest-deep);
}
.cdp-footer-inner {
  width: min(calc(100% - 40px), var(--cdp-content));
  margin-inline: auto;
  padding: 58px 0 24px;
}
.cdp-footer-grid {
  display: grid !important;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 44px;
}
.cdp-footer-brand {
  max-width: 330px;
}
.cdp-footer-logo-icon {
  color: var(--cdp-gold);
  margin-bottom: 14px;
}
.cdp-footer-logo-icon .elementor-icon {
  font-size: 34px;
  color: inherit;
}
.cdp-footer-brand h2,
.cdp-footer-brand .elementor-heading-title {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--cdp-serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: .09em;
}
.cdp-footer-brand p {
  margin: 0 0 18px;
  color: rgba(255,255,255,.68);
  font-size: 13px;
}
.cdp-footer-col h3,
.cdp-footer-col .elementor-heading-title {
  margin: 0 0 15px;
  color: #fff;
  font-family: var(--cdp-serif);
  font-size: 20px;
  font-weight: 400;
}
.cdp-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cdp-footer-col li {
  margin: 8px 0;
  font-size: 13px;
}
.cdp-footer-col a {
  color: rgba(255,255,255,.70);
  transition: color .18s ease;
}
.cdp-footer-col a:hover {
  color: #fff;
}
.cdp-footer-social .elementor-social-icon {
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
}
.cdp-footer-contactbar {
  margin-top: 42px;
  padding: 24px 0;
  display: grid !important;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.11);
  border-bottom: 1px solid rgba(255,255,255,.11);
}
.cdp-footer-contactitem {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 12px;
}
.cdp-footer-contactitem .elementor-icon {
  font-size: 16px;
  color: var(--cdp-gold);
}
.cdp-footer-contactitem p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  line-height: 1.55;
}
.cdp-footer-contactitem strong {
  color: #fff;
  font-size: 12px;
}
.cdp-footer-bottom {
  padding-top: 22px;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between;
  gap: 20px;
}
.cdp-footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,.48);
  font-size: 11px;
}
.cdp-footer-bottom a:hover {
  color: #fff;
}

/* Tablet */
@media (max-width: 1024px) {
  .cdp-header-inner {
    width: min(calc(100% - 28px), var(--cdp-content));
    gap: 12px;
  }
  .cdp-header-link .elementor-button {
    padding-inline: 7px !important;
    font-size: 12px;
  }
  .cdp-header-cta .elementor-button {
    padding-inline: 12px !important;
  }
  .cdp-footer-grid {
    grid-template-columns: 1.2fr repeat(3,1fr);
    gap: 26px;
  }
}

/* Mobile smart-header behavior:
   - sticky at top
   - compact after first scroll
   - hides on scroll down
   - returns on scroll up
*/
@media (max-width: 767px) {
  .cdp-smart-header-shell {
    position: sticky !important;
    top: 0;
    z-index: 9999 !important;
    width: 100%;
    transition: transform .26s ease, box-shadow .22s ease;
    will-change: transform;
  }
  body.admin-bar .cdp-smart-header-shell {
    top: 46px;
  }
  .cdp-smart-header-shell.is-hidden {
    transform: translateY(calc(-100% - 4px));
  }
  .cdp-smart-header-shell.is-scrolled .cdp-elementor-header,
  .cdp-smart-header-shell.is-scrolled.site-header {
    box-shadow: 0 10px 28px rgba(7,12,9,.18);
  }
  .cdp-elementor-header {
    background: rgba(21,32,25,.97);
  }
  .cdp-header-inner {
    position: relative;
    width: 100%;
    min-height: 72px;
    padding: 8px 13px;
    gap: 9px;
    transition: min-height .22s ease, padding .22s ease;
  }
  .cdp-smart-header-shell.is-compact .cdp-header-inner {
    min-height: 56px;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .cdp-header-logo-icon {
    width: 31px;
  }
  .cdp-header-logo-icon .elementor-icon {
    font-size: 25px;
    transition: font-size .22s ease;
  }
  .cdp-smart-header-shell.is-compact .cdp-header-logo-icon .elementor-icon {
    font-size: 20px;
  }
  .cdp-header-brand-title .elementor-heading-title {
    font-size: 15px;
  }
  .cdp-smart-header-shell.is-compact .cdp-header-brand-title .elementor-heading-title {
    font-size: 13px;
  }
  .cdp-header-brand-subtitle p {
    font-size: 7px;
  }
  .cdp-smart-header-shell.is-compact .cdp-header-brand-subtitle {
    display: none;
  }
  .cdp-mobile-toggle {
    display: block !important;
    order: 4;
  }
  .cdp-header-cta {
    margin-left: auto;
    order: 3;
  }
  .cdp-header-cta .elementor-button {
    min-height: 40px;
    padding: 9px 11px !important;
    font-size: 11px;
  }
  .cdp-smart-header-shell.is-compact .cdp-header-cta .elementor-button {
    min-height: 36px;
    padding-block: 7px !important;
  }
  .cdp-header-menu {
    display: none !important;
    position: absolute;
    z-index: 100;
    left: 12px;
    right: 12px;
    top: calc(100% + 7px);
    margin: 0;
    padding: 10px;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 3px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
    background: rgba(21,32,25,.99);
    box-shadow: 0 18px 44px rgba(7,12,9,.28);
  }
  .cdp-smart-header-shell.is-menu-open {
    transform: none !important;
  }
  .cdp-smart-header-shell.is-menu-open .cdp-header-menu {
    display: flex !important;
  }
  .cdp-header-link {
    width: 100% !important;
  }
  .cdp-header-link .elementor-button {
    width: 100%;
    justify-content: flex-start;
    min-height: 42px;
    padding: 10px 12px !important;
    font-size: 13px;
  }

  .cdp-footer-inner {
    width: min(calc(100% - 28px), var(--cdp-content));
    padding-top: 44px;
  }
  .cdp-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }
  .cdp-footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
  .cdp-footer-contactbar {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .cdp-footer-bottom {
    flex-direction: column !important;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .cdp-header-brand-title .elementor-heading-title {
    font-size: 13px;
    letter-spacing: .08em;
  }
  .cdp-header-brand-subtitle {
    display: none;
  }
  .cdp-header-cta .elementor-button-text {
    font-size: 0;
  }
  .cdp-header-cta .elementor-button-text::after {
    content: "Rezervă";
    font-size: 11px;
  }
  .cdp-footer-grid {
    grid-template-columns: 1fr;
  }
  .cdp-footer-brand {
    grid-column: auto;
  }
}


/* v1.3.0 - stronger Elementor editor/frontend isolation for imported CDP templates */
.elementor .cdp-home-hero .elementor-heading-title,
.elementor .cdp-home-hero .elementor-widget-text-editor,
.elementor .cdp-home-hero .elementor-widget-text-editor p { color: inherit; }
.elementor .cdp-experience-card__body .elementor-heading-title { color:#fff; }
.elementor .cdp-experience-card__body .elementor-widget-text-editor,
.elementor .cdp-experience-card__body .elementor-widget-text-editor p { color:rgba(255,255,255,.86); }
.elementor .cdp-feature-card__content .elementor-heading-title,
.elementor .cdp-action-card .elementor-heading-title,
.elementor .cdp-cross-card__text .elementor-heading-title { color:var(--cdp-ink); }
.elementor .cdp-panorama .elementor-heading-title,
.elementor .cdp-panorama .elementor-widget-text-editor,
.elementor .cdp-panorama .elementor-widget-text-editor p { color:#fff; }
.elementor .cdp-experience-card__media > .e-con-inner,
.elementor .cdp-feature-card__image > .e-con-inner,
.elementor .cdp-cross-card__media > .e-con-inner { min-height:inherit; }


/* Elementor containers are flex by default; force the intended CDP grid composition. */
.elementor .cdp-hero-grid,
.elementor .cdp-action-grid,
.elementor .cdp-three-columns,
.elementor .cdp-inline-fields,
.elementor .cdp-cross-card { display:grid !important; }
.elementor .cdp-wrap { width:min(calc(100% - 40px), var(--cdp-content)) !important; max-width:var(--cdp-content) !important; margin-left:auto !important; margin-right:auto !important; }
.elementor .cdp-home-hero__intro { max-width:850px !important; margin-left:auto !important; margin-right:auto !important; }
@media (max-width: 1024px) {
  .elementor .cdp-wrap { width:min(calc(100% - 30px), var(--cdp-content)) !important; }
}
@media (max-width: 767px) {
  .elementor .cdp-wrap { width:min(calc(100% - 24px), var(--cdp-content)) !important; }
}


/* ==========================================================
   Codrii de Piatra 1.5.0 - Homepage Atomic V4 / Elementor 4.1.x
   Generated from the user's own e-flexbox export schema.
   ========================================================== */

body.elementor-page { background:#fbf8f2; }
body.elementor-page .cdp-content-shell,
body.elementor-page .cdp-entry-content { width:100%; max-width:none; margin:0; }

.e-b6a7e4df-17f7455 {
  width:100%; min-height:760px; overflow:hidden; color:#fff;
  background:
    linear-gradient(180deg,rgba(16,24,19,.38),rgba(16,24,19,.72)),
    url("https://codriidepiatra.ro/wp-content/uploads/2026/06/codrii-background.jpg") center/cover no-repeat;
}
.e-15ef6f2e-4ad9052 {
  width:min(1180px,calc(100% - 44px)); min-height:760px;
  margin:0 auto; padding:82px 0 34px; gap:36px;
  justify-content:space-between;
}
.e-c00d5169-c1c4b1e { width:min(850px,100%); margin:0 auto; gap:8px; text-align:center; }
.elementor-element-8a71376c .elementor-heading-title {
  margin:0; color:#fff; font:400 clamp(48px,5vw,76px)/1.03 Georgia,"Times New Roman",serif;
  letter-spacing:-.025em; text-shadow:0 5px 25px rgba(0,0,0,.25);
}
.elementor-element-d6b03134 .elementor-heading-title {
  margin:0; color:rgba(255,255,255,.9); font:400 18px/1.5 var(--cdp-sans);
}
.e-d3444892-5e0953f { width:100%; gap:22px; align-items:stretch; }
.e-06ea8354-7ab3be5, .e-ac1e8aa7-4acb457, .e-a1b08e42-9a69868 {
  flex:1 1 0; min-width:0; height:425px; overflow:hidden;
  border-radius:12px; background:#fbf8f2; box-shadow:0 22px 54px rgba(0,0,0,.24);
}
.e-41a7cca0-fe011bf, .e-12e2e7dc-b0cf5ef, .e-9f6da4dd-09aa471 {
  flex:0 0 225px; min-height:225px; width:100%; overflow:hidden;
}
.e-41a7cca0-fe011bf img, .e-12e2e7dc-b0cf5ef img, .e-9f6da4dd-09aa471 img {
  width:100%; height:225px; object-fit:cover; display:block;
}
.e-f040f0c3-debb56a, .e-695d11ab-5fe3e77, .e-3890cfb2-7b4c622 {
  flex:1 1 auto; width:100%; padding:22px 24px 20px; gap:7px; color:#27231f; background:#fbf8f2;
}
.elementor-element-68edd217 .elementor-heading-title,
.elementor-element-e16ea890 .elementor-heading-title,
.elementor-element-29ccede6 .elementor-heading-title {
  margin:0; color:#29251f; font:400 28px/1.08 Georgia,"Times New Roman",serif;
}
.elementor-element-afaa5cbc .elementor-heading-title,
.elementor-element-a58f0af2 .elementor-heading-title,
.elementor-element-3638a9ac .elementor-heading-title {
  margin:0;
}
.elementor-element-6f85e5fb, .elementor-element-29f6363b, .elementor-element-9b3c3708 { margin-top:auto; }
.elementor-element-6f85e5fb .elementor-button,
.elementor-element-29f6363b .elementor-button,
.elementor-element-9b3c3708 .elementor-button {
  padding:7px 0; background:transparent; color:#775f42; border:0; box-shadow:none; font-weight:700;
}

/* Reservation deck */
.e-35d2e3d0-07c903e { width:100%; padding:32px 0 38px; background:#f8f4ed; }
.e-cf172e40-b881ac0 {
  width:min(1180px,calc(100% - 44px)); margin:0 auto; gap:16px; align-items:stretch;
}
.e-f7dab04a-1cda2b2, .e-1ac86116-7915210, .e-16245b47-b4e0f26 {
  flex:1 1 0; min-width:0; padding:20px; gap:10px;
  border:1px solid #d9cebd; border-radius:9px; background:rgba(255,255,255,.78);
}
.elementor-element-69e301fb .elementor-heading-title,
.elementor-element-ffc68095 .elementor-heading-title,
.elementor-element-36fd9abc .elementor-heading-title {
  margin:0; font:400 23px/1.15 Georgia,"Times New Roman",serif;
}
.elementor-element-69e301fb .elementor-heading-title { color:#9a6d34; }
.elementor-element-ffc68095 .elementor-heading-title { color:#5e6c49; }
.elementor-element-36fd9abc .elementor-heading-title { color:#744043; }
.elementor-element-bc618a3c .elementor-heading-title,
.elementor-element-1180844e .elementor-heading-title,
.elementor-element-e505c98b .elementor-heading-title {
  margin:0; color:#666057; font:400 12px/1.4 var(--cdp-sans);
}
.e-1a26d9ce-d90e84b, .e-b1597517-0f05915, .e-5a120bfd-08ee260 { gap:7px; flex-wrap:wrap; }

.e-f2f532f2-4e30bdd, .e-0a9b0210-643cdcb, .e-f4e5c964-f858f61 {
  flex:1 1 90px; min-width:0; min-height:46px; padding:10px 11px;
  border:1px solid #ded5c8; border-radius:5px; background:#fff; justify-content:center;
}
.elementor-element-d6c0415b .elementor-heading-title, .elementor-element-4147821b .elementor-heading-title, .elementor-element-15b3c79a .elementor-heading-title {
  margin:0; color:#3b3833; font:600 11px/1.25 var(--cdp-sans);
}

.e-1f0a7095-e59e3e2, .e-cd9dfb41-2ea8498, .e-8676db71-1774623 {
  flex:1 1 90px; min-width:0; min-height:46px; padding:10px 11px;
  border:1px solid #ded5c8; border-radius:5px; background:#fff; justify-content:center;
}
.elementor-element-fddd11dd .elementor-heading-title, .elementor-element-bda9ab13 .elementor-heading-title, .elementor-element-82e59e99 .elementor-heading-title {
  margin:0; color:#3b3833; font:600 11px/1.25 var(--cdp-sans);
}

.e-b96de802-7648463, .e-3a9d130d-ce88eb4 {
  flex:1 1 90px; min-width:0; min-height:46px; padding:10px 11px;
  border:1px solid #ded5c8; border-radius:5px; background:#fff; justify-content:center;
}
.elementor-element-e430a0ba .elementor-heading-title, .elementor-element-59fdbc4e .elementor-heading-title {
  margin:0; color:#3b3833; font:600 11px/1.25 var(--cdp-sans);
}

.elementor-element-3dfc64ae .elementor-button,
.elementor-element-0a905bdf .elementor-button,
.elementor-element-2169ddd7 .elementor-button {
  width:100%; min-height:42px; border:0; border-radius:6px; color:#fff; font-weight:700;
}
.elementor-element-3dfc64ae .elementor-button { background:#9c703b; }
.elementor-element-0a905bdf .elementor-button { background:#67774f; }
.elementor-element-2169ddd7 .elementor-button { background:#7a4144; }

/* Main experiences */
.e-91389a81-96fe70c {
  width:100%; padding:82px 0 90px; gap:34px; background:#fffaf3;
}
.e-7df3b590-a781d41 {
  width:min(780px,calc(100% - 44px)); margin:0 auto; gap:8px; text-align:center;
}
.elementor-element-051a5c6b .elementor-heading-title,
.elementor-element-38dbe2ba .elementor-heading-title {
  margin:0; color:#9c7441; font:800 11px/1.2 var(--cdp-sans); letter-spacing:.13em;
}
.elementor-element-625d1a59 .elementor-heading-title,
.elementor-element-30ba7128 .elementor-heading-title {
  margin:0; color:#2a261f; font:400 clamp(36px,3.4vw,50px)/1.07 Georgia,"Times New Roman",serif;
}
.elementor-element-816d952d .elementor-heading-title,
.elementor-element-01326c84 .elementor-heading-title {
  margin:0; color:#6d675e; font:400 14px/1.55 var(--cdp-sans);
}
.e-0186d314-7c48462 {
  width:min(1180px,calc(100% - 44px)); margin:0 auto; gap:20px; align-items:stretch;
}
.e-3d58d587-5b1a7d4, .e-c4aa4b33-48387a8, .e-e809eccd-de3927e {
  flex:1 1 0; min-width:0; min-height:410px; overflow:hidden;
  border:1px solid #ded5c8; border-radius:10px; background:#fff;
  box-shadow:0 14px 35px rgba(55,45,33,.08);
}
.e-bd9811e3-40b4220, .e-4c6345ee-9292583, .e-7b693250-4345a51 {
  flex:1 1 52%; min-width:0; padding:22px; gap:8px; justify-content:center;
}
.e-7742d878-71bd75d, .e-9c8c2304-3aeff4c, .e-f35e96f5-76b929d {
  flex:1 1 48%; min-width:0; overflow:hidden; background:#405347;
}
.e-7742d878-71bd75d img, .e-9c8c2304-3aeff4c img, .e-f35e96f5-76b929d img {
  width:100%; height:100%; min-height:410px; object-fit:cover;
}
.elementor-element-8a731a33 .elementor-heading-title,
.elementor-element-9071685c .elementor-heading-title,
.elementor-element-fc8e98bf .elementor-heading-title {
  margin:0; font:800 10px/1.2 var(--cdp-sans); letter-spacing:.08em;
}
.elementor-element-8a731a33 .elementor-heading-title { color:#9d733d; }
.elementor-element-9071685c .elementor-heading-title { color:#62724b; }
.elementor-element-fc8e98bf .elementor-heading-title { color:#774246; }
.elementor-element-4cd2e4fb .elementor-heading-title,
.elementor-element-8dc718d8 .elementor-heading-title,
.elementor-element-7c0988f6 .elementor-heading-title {
  margin:0; color:#2c2822; font:400 29px/1.05 Georgia,"Times New Roman",serif;
}
.elementor-element-014202fa .elementor-heading-title,
.elementor-element-adff5a0c .elementor-heading-title,
.elementor-element-a8fc4223 .elementor-heading-title {
  margin:0; color:#625d56; font:400 11.5px/1.45 var(--cdp-sans);
}
.e-13bf93d6-62a99f8, .e-9ff26b96-71c2046, .e-74785ae9-cd2c4a5 { gap:4px; margin:4px 0 7px; }

.elementor-element-bd0968f2 .elementor-heading-title, .elementor-element-c72b75bb .elementor-heading-title, .elementor-element-793c7356 .elementor-heading-title, .elementor-element-6b735e02 .elementor-heading-title, .elementor-element-b7e128bc .elementor-heading-title {
  margin:0; color:#56514b; font:500 10.5px/1.35 var(--cdp-sans);
}
.elementor-element-ff7d8147 .elementor-button {
  min-height:40px; padding:10px 15px; border:0; border-radius:6px; color:#fff; font-weight:700;
}

.elementor-element-5c99056e .elementor-heading-title, .elementor-element-3a05b358 .elementor-heading-title, .elementor-element-3fc4f64e .elementor-heading-title, .elementor-element-e943d243 .elementor-heading-title, .elementor-element-d27ec409 .elementor-heading-title {
  margin:0; color:#56514b; font:500 10.5px/1.35 var(--cdp-sans);
}
.elementor-element-bbf6f303 .elementor-button {
  min-height:40px; padding:10px 15px; border:0; border-radius:6px; color:#fff; font-weight:700;
}

.elementor-element-6c7c2f0b .elementor-heading-title, .elementor-element-a016094b .elementor-heading-title, .elementor-element-952a8632 .elementor-heading-title, .elementor-element-4f2ef863 .elementor-heading-title, .elementor-element-06798d5b .elementor-heading-title {
  margin:0; color:#56514b; font:500 10.5px/1.35 var(--cdp-sans);
}
.elementor-element-4c6185c7 .elementor-button {
  min-height:40px; padding:10px 15px; border:0; border-radius:6px; color:#fff; font-weight:700;
}

.elementor-element-ff7d8147 .elementor-button { background:#9d733d; }
.elementor-element-bbf6f303 .elementor-button { background:#67774f; }
.elementor-element-4c6185c7 .elementor-button { background:#7a4144; }

/* Panorama */
.e-30338069-9d0d510 {
  width:100%; min-height:330px; padding:70px 22px; gap:9px; align-items:center; justify-content:center;
  text-align:center; color:#fff;
  background:
    linear-gradient(rgba(20,31,24,.42),rgba(20,31,24,.66)),
    url("https://codriidepiatra.ro/wp-content/uploads/2026/06/codrii-background.jpg") center/cover no-repeat;
}
.elementor-element-3dc1ac67 .elementor-heading-title {
  margin:0; color:#fff; font:400 clamp(36px,4vw,54px)/1.05 Georgia,"Times New Roman",serif;
}
.elementor-element-2d50d7e1 .elementor-heading-title {
  margin:0; color:rgba(255,255,255,.9); font:400 14px/1.5 var(--cdp-sans);
}
.elementor-element-d7b4858f .elementor-button {
  margin-top:10px; min-height:42px; padding:10px 18px; border:0; border-radius:6px; background:#b98948; color:#fff; font-weight:700;
}

/* Continue */
.e-b9dca477-17de678 {
  width:100%; padding:76px 0 86px; gap:32px; background:#f5efe6;
}
.e-f4036f34-03b3626 {
  width:min(780px,calc(100% - 44px)); margin:0 auto; gap:8px; text-align:center;
}
.e-20de465d-7927c98 {
  width:min(1180px,calc(100% - 44px)); margin:0 auto; gap:18px; align-items:stretch;
}
.e-a42d76dd-8878f5f, .e-695e45db-7882b4f, .e-2a6a5d9d-f054932 {
  flex:1 1 0; min-width:0; min-height:190px; overflow:hidden;
  border:1px solid #dcd1c2; border-radius:9px; background:#fbf8f2;
}
.e-07678082-950c797, .e-bee6c4ab-88ce47a, .e-69db3ed9-324d761 {
  flex:1 1 60%; min-width:0; padding:18px; gap:7px; justify-content:center;
}
.e-66af53d4-e75846f, .e-b6ee71fc-2e24bea, .e-3d93b146-1e49464 {
  flex:1 1 40%; min-width:0; overflow:hidden;
}
.e-66af53d4-e75846f img, .e-b6ee71fc-2e24bea img, .e-3d93b146-1e49464 img {
  width:100%; height:100%; min-height:190px; object-fit:cover;
}
.elementor-element-4276dcf9 .elementor-heading-title,
.elementor-element-649d54cd .elementor-heading-title,
.elementor-element-7fd355b8 .elementor-heading-title {
  margin:0; color:#332e28; font:400 20px/1.1 Georgia,"Times New Roman",serif;
}
.elementor-element-660e0a48 .elementor-heading-title,
.elementor-element-95de4a75 .elementor-heading-title,
.elementor-element-b5b64199 .elementor-heading-title {
  margin:0; color:#69635b; font:400 10.8px/1.42 var(--cdp-sans);
}
.elementor-element-8d88d862 .elementor-button,
.elementor-element-4f47945e .elementor-button,
.elementor-element-c49062df .elementor-button {
  padding:7px 0; border:0; background:transparent; color:#775f42; font-weight:700;
}

/* Tablet */
@media (max-width:1024px) {
  .e-15ef6f2e-4ad9052, .e-cf172e40-b881ac0, .e-0186d314-7c48462, .e-20de465d-7927c98 {
    width:min(920px,calc(100% - 32px));
  }
  .e-b6a7e4df-17f7455, .e-15ef6f2e-4ad9052 { min-height:auto; }
  .e-15ef6f2e-4ad9052 { padding:62px 0 30px; }
  .e-d3444892-5e0953f { gap:14px; }
  .e-06ea8354-7ab3be5, .e-ac1e8aa7-4acb457, .e-a1b08e42-9a69868 { height:390px; }
  .e-41a7cca0-fe011bf, .e-12e2e7dc-b0cf5ef, .e-9f6da4dd-09aa471 { flex-basis:190px; min-height:190px; }
  .e-41a7cca0-fe011bf img, .e-12e2e7dc-b0cf5ef img, .e-9f6da4dd-09aa471 img { height:190px; }
  .e-cf172e40-b881ac0 { gap:12px; }
  .e-3d58d587-5b1a7d4, .e-c4aa4b33-48387a8, .e-e809eccd-de3927e { min-height:0; }
  .e-7742d878-71bd75d img, .e-9c8c2304-3aeff4c img, .e-f35e96f5-76b929d img { min-height:220px; max-height:260px; }
}

/* Mobile */
@media (max-width:767px) {
  .e-15ef6f2e-4ad9052, .e-cf172e40-b881ac0, .e-0186d314-7c48462, .e-20de465d-7927c98 {
    width:calc(100% - 24px);
  }
  .e-15ef6f2e-4ad9052 { padding:48px 0 24px; }
  .elementor-element-8a71376c .elementor-heading-title { font-size:40px; }
  .elementor-element-d6b03134 .elementor-heading-title { font-size:14px; }
  .e-06ea8354-7ab3be5, .e-ac1e8aa7-4acb457, .e-a1b08e42-9a69868 {
    width:100%; height:auto; min-height:390px;
  }
  .e-41a7cca0-fe011bf, .e-12e2e7dc-b0cf5ef, .e-9f6da4dd-09aa471 {
    flex-basis:205px; min-height:205px;
  }
  .e-41a7cca0-fe011bf img, .e-12e2e7dc-b0cf5ef img, .e-9f6da4dd-09aa471 img { height:205px; }
  .e-35d2e3d0-07c903e { padding:22px 0 30px; }
  .e-f7dab04a-1cda2b2, .e-1ac86116-7915210, .e-16245b47-b4e0f26 { width:100%; }
  .e-91389a81-96fe70c { padding:56px 0 62px; }
  .e-7df3b590-a781d41, .e-f4036f34-03b3626 { width:calc(100% - 24px); }
  .e-3d58d587-5b1a7d4, .e-c4aa4b33-48387a8, .e-e809eccd-de3927e { width:100%; }
  .e-7742d878-71bd75d img, .e-9c8c2304-3aeff4c img, .e-f35e96f5-76b929d img { min-height:210px; }
  .e-b9dca477-17de678 { padding:56px 0 62px; }
  .e-a42d76dd-8878f5f, .e-695e45db-7882b4f, .e-2a6a5d9d-f054932 { width:100%; }
  .e-66af53d4-e75846f img, .e-b6ee71fc-2e24bea img, .e-3d93b146-1e49464 img { min-height:150px; }
}

@media (max-width:480px) {
  .elementor-element-8a71376c .elementor-heading-title { font-size:35px; }
  .elementor-element-625d1a59 .elementor-heading-title, .elementor-element-30ba7128 .elementor-heading-title { font-size:33px; }
}


/* ==========================================================
   Codrii de Piatra 1.9.0 - header/footer
   ========================================================== */

/* Desktop: header overlays the hero, like the Montis reference. */
@media (min-width: 768px) {
  .elementor-location-header {
    position:absolute;
    z-index:9999;
    top:0;
    left:0;
    width:100%;
  }
  .elementor-element-74f1c51b {
    background:linear-gradient(180deg,rgba(12,18,15,.68),rgba(12,18,15,.05)) !important;
    transition:background .25s ease, box-shadow .25s ease, transform .25s ease;
  }
  body.cdp-header-scrolled .elementor-location-header {
    position:fixed;
  }
  body.cdp-header-scrolled .elementor-element-74f1c51b {
    background:rgba(16,32,24,.96) !important;
    box-shadow:0 10px 34px rgba(7,12,9,.18);
  }
}

/* Logo widget: transparent PNG, no background/frame. */
.elementor-element-74f1c51b .elementor-widget-image img,
.elementor-location-footer .elementor-widget-image img {
  display:block;
  height:auto;
  object-fit:contain;
  background:transparent !important;
  box-shadow:none !important;
}

/* Desktop menu links mimic the reference: white text, no visible button. */
.elementor-element-a6057b93 .e-button,
.elementor-element-a6057b93 .elementor-button {
  background:transparent !important;
  color:#fff !important;
  box-shadow:none !important;
  border:0 !important;
}
.elementor-element-a6057b93 .e-button:hover,
.elementor-element-a6057b93 .elementor-button:hover {
  color:#d8b77e !important;
}

/* Mobile smart header */
@media (max-width:767px) {
  .elementor-location-header {
    position:sticky !important;
    top:0;
    z-index:9999;
    transition:transform .26s ease;
    will-change:transform;
  }
  body.admin-bar .elementor-location-header { top:46px; }
  .elementor-location-header.cdp-mobile-hidden {
    transform:translateY(calc(-100% - 4px));
  }
  .elementor-location-header.cdp-mobile-compact .elementor-element-74f1c51b {
    box-shadow:0 8px 24px rgba(7,12,9,.18);
  }
  .elementor-element-a6057b93 {
    display:none !important;
    position:absolute;
    left:12px;
    right:12px;
    top:100%;
    z-index:10000;
    padding:10px;
    background:rgba(16,32,24,.985) !important;
    border-radius:10px;
    box-shadow:0 18px 40px rgba(0,0,0,.25);
  }
  .elementor-location-header.cdp-menu-open .elementor-element-a6057b93 {
    display:flex !important;
  }
  .elementor-element-e376a591 {
    display:flex !important;
  }
}


/* ==========================================================
   Codrii de Piatra 2.0.0
   Mobile Header Fix - generic, independent of Elementor IDs
   ========================================================== */

/* Runtime classes are assigned by assets/js/theme.js */
@media (max-width: 767px) {

  /* Fixed is used instead of sticky so the behavior is reliable even when
     Elementor wrappers have overflow/transform properties. */
  .elementor-location-header.cdp-smart-header {
    position: fixed !important;
    inset: 0 0 auto 0 !important;
    z-index: 100000 !important;
    width: 100% !important;
    transform: translateY(0);
    transition:
      transform .24s ease,
      box-shadow .20s ease,
      background-color .20s ease !important;
    will-change: transform;
  }

  body.admin-bar .elementor-location-header.cdp-smart-header {
    top: 46px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-hidden {
    transform: translateY(calc(-100% - 4px)) !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-menu-open {
    transform: translateY(0) !important;
  }

  /* The first row of the imported Montis header. */
  .elementor-location-header.cdp-smart-header .cdp-header-row {
    position: relative !important;
    min-height: 72px !important;
    width: 100% !important;
    padding: 8px 14px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    background: rgba(16,32,24,.97) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,.05) !important;
    transition:
      min-height .20s ease,
      padding .20s ease,
      box-shadow .20s ease !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-row {
    min-height: 54px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    box-shadow: 0 8px 24px rgba(7,12,9,.20) !important;
  }

  /* Logo */
  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    width: 86px !important;
    max-width: 86px !important;
    flex: 0 0 86px !important;
    margin: 0 !important;
    transition: width .20s ease, max-width .20s ease, flex-basis .20s ease !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo img {
    width: 100% !important;
    max-width: 86px !important;
    max-height: 48px !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    background: transparent !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo {
    width: 62px !important;
    max-width: 62px !important;
    flex-basis: 62px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo img {
    max-width: 62px !important;
    max-height: 36px !important;
  }

  /* Global CTA */
  .elementor-location-header.cdp-smart-header .cdp-header-cta {
    width: auto !important;
    max-width: 126px !important;
    flex: 0 1 auto !important;
    margin-left: auto !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-cta .e-button,
  .elementor-location-header.cdp-smart-header .cdp-header-cta .elementor-button,
  .elementor-location-header.cdp-smart-header .cdp-header-cta a,
  .elementor-location-header.cdp-smart-header .cdp-header-cta button {
    min-height: 40px !important;
    width: auto !important;
    padding: 9px 13px !important;
    border-radius: 8px !important;
    line-height: 1.08 !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta .e-button,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta .elementor-button,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta a,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta button {
    min-height: 34px !important;
    padding: 7px 10px !important;
    font-size: 11px !important;
  }

  /* Hamburger */
  .elementor-location-header.cdp-smart-header .cdp-header-toggle {
    width: 42px !important;
    max-width: 42px !important;
    flex: 0 0 42px !important;
    margin: 0 !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-toggle .e-button,
  .elementor-location-header.cdp-smart-header .cdp-header-toggle .elementor-button,
  .elementor-location-header.cdp-smart-header .cdp-header-toggle a,
  .elementor-location-header.cdp-smart-header .cdp-header-toggle button {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 27px !important;
    line-height: 42px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-toggle,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-toggle .e-button,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-toggle .elementor-button,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-toggle a,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-toggle button {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    line-height: 36px !important;
    font-size: 24px !important;
  }

  /* Navigation is removed from the normal header row on mobile.
     It becomes a dropdown panel only when the menu is opened. */
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    padding: 10px !important;
    margin: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 2px !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    border-radius: 12px !important;
    background: rgba(16,32,24,.995) !important;
    box-shadow: 0 18px 44px rgba(0,0,0,.28) !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-menu-open .cdp-mobile-nav {
    display: flex !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-mobile-nav > * {
    width: 100% !important;
    max-width: none !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-mobile-nav .e-button,
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav .elementor-button,
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav a,
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav button {
    width: 100% !important;
    min-height: 42px !important;
    padding: 10px 12px !important;
    justify-content: flex-start !important;
    text-align: left !important;
    background: transparent !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 7px !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-mobile-nav .e-button:hover,
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav .elementor-button:hover,
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav a:hover,
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav button:hover {
    background: rgba(255,255,255,.07) !important;
  }

  /* On very small screens, shorten the CTA further. */
  @media (max-width: 390px) {
    .elementor-location-header.cdp-smart-header .cdp-header-logo {
      width: 72px !important;
      max-width: 72px !important;
      flex-basis: 72px !important;
    }

    .elementor-location-header.cdp-smart-header .cdp-header-logo img {
      max-width: 72px !important;
    }

    .elementor-location-header.cdp-smart-header .cdp-header-cta .e-button,
    .elementor-location-header.cdp-smart-header .cdp-header-cta .elementor-button,
    .elementor-location-header.cdp-smart-header .cdp-header-cta a,
    .elementor-location-header.cdp-smart-header .cdp-header-cta button {
      max-width: 104px !important;
      font-size: 11px !important;
      padding-left: 9px !important;
      padding-right: 9px !important;
    }
  }
}


/* ==========================================================
   Codrii de Piatra 2.1.0
   Unified smart header: desktop + mobile
   - fixed on both
   - reserves layout space (no overlap)
   - compact after scroll
   - hide on scroll down
   - show compact on scroll up
   ========================================================== */

:root {
  --cdp-header-space: 78px;
}

body.cdp-has-fixed-header {
  padding-top: var(--cdp-header-space) !important;
}

.elementor-location-header.cdp-smart-header {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  z-index: 100000 !important;
  width: 100% !important;
  transform: translateY(0);
  transition:
    transform .24s ease,
    box-shadow .20s ease,
    background-color .20s ease !important;
  will-change: transform;
}

body.admin-bar .elementor-location-header.cdp-smart-header {
  top: 32px !important;
}

.elementor-location-header.cdp-smart-header.cdp-header-hidden {
  transform: translateY(calc(-100% - 6px)) !important;
}

.elementor-location-header.cdp-smart-header.cdp-menu-open {
  transform: translateY(0) !important;
}

/* Main row */
.elementor-location-header.cdp-smart-header .cdp-header-row {
  position: relative !important;
  width: 100% !important;
  min-height: 78px !important;
  padding: 10px 20px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  background: rgba(16,32,24,.97) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.05) !important;
  transition:
    min-height .20s ease,
    padding .20s ease,
    box-shadow .20s ease !important;
}

.elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-row {
  min-height: 58px !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  box-shadow: 0 9px 26px rgba(7,12,9,.20) !important;
}

/* Desktop logo */
.elementor-location-header.cdp-smart-header .cdp-header-logo {
  width: 128px !important;
  max-width: 128px !important;
  flex: 0 0 128px !important;
  margin: 0 !important;
  transition: width .20s ease, max-width .20s ease, flex-basis .20s ease !important;
}

.elementor-location-header.cdp-smart-header .cdp-header-logo img {
  width: 100% !important;
  max-width: 128px !important;
  max-height: 58px !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  background: transparent !important;
}

.elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo {
  width: 94px !important;
  max-width: 94px !important;
  flex-basis: 94px !important;
}

.elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo img {
  max-width: 94px !important;
  max-height: 42px !important;
}

/* Desktop navigation */
.elementor-location-header.cdp-smart-header .cdp-mobile-nav {
  position: static !important;
  display: flex !important;
  width: auto !important;
  flex: 1 1 auto !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.elementor-location-header.cdp-smart-header .cdp-mobile-nav > * {
  width: auto !important;
  max-width: none !important;
}

.elementor-location-header.cdp-smart-header .cdp-mobile-nav .e-button,
.elementor-location-header.cdp-smart-header .cdp-mobile-nav .elementor-button,
.elementor-location-header.cdp-smart-header .cdp-mobile-nav a,
.elementor-location-header.cdp-smart-header .cdp-mobile-nav button {
  width: auto !important;
  min-height: 40px !important;
  padding: 9px 10px !important;
  justify-content: center !important;
  text-align: center !important;
  background: transparent !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.elementor-location-header.cdp-smart-header .cdp-mobile-nav .e-button:hover,
.elementor-location-header.cdp-smart-header .cdp-mobile-nav .elementor-button:hover,
.elementor-location-header.cdp-smart-header .cdp-mobile-nav a:hover,
.elementor-location-header.cdp-smart-header .cdp-mobile-nav button:hover {
  color: #d8b77e !important;
  background: rgba(255,255,255,.05) !important;
}

/* CTA desktop */
.elementor-location-header.cdp-smart-header .cdp-header-cta {
  width: auto !important;
  max-width: 170px !important;
  flex: 0 0 auto !important;
  margin-left: 0 !important;
}

.elementor-location-header.cdp-smart-header .cdp-header-cta .e-button,
.elementor-location-header.cdp-smart-header .cdp-header-cta .elementor-button,
.elementor-location-header.cdp-smart-header .cdp-header-cta a,
.elementor-location-header.cdp-smart-header .cdp-header-cta button {
  min-height: 42px !important;
  width: auto !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  line-height: 1.08 !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}

.elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta .e-button,
.elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta .elementor-button,
.elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta a,
.elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta button {
  min-height: 36px !important;
  padding: 8px 12px !important;
  font-size: 11px !important;
}

/* Toggle hidden on desktop */
.elementor-location-header.cdp-smart-header .cdp-header-toggle {
  display: none !important;
}

/* MOBILE */
@media (max-width: 767px) {
  :root {
    --cdp-header-space: 72px;
  }

  body.admin-bar .elementor-location-header.cdp-smart-header {
    top: 46px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-row {
    min-height: 72px !important;
    padding: 8px 14px !important;
    gap: 10px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-row {
    min-height: 54px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    width: 86px !important;
    max-width: 86px !important;
    flex: 0 0 86px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo img {
    max-width: 86px !important;
    max-height: 48px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo {
    width: 62px !important;
    max-width: 62px !important;
    flex-basis: 62px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo img {
    max-width: 62px !important;
    max-height: 36px !important;
  }

  /* CTA mobile */
  .elementor-location-header.cdp-smart-header .cdp-header-cta {
    width: auto !important;
    max-width: 126px !important;
    flex: 0 1 auto !important;
    margin-left: auto !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-cta .e-button,
  .elementor-location-header.cdp-smart-header .cdp-header-cta .elementor-button,
  .elementor-location-header.cdp-smart-header .cdp-header-cta a,
  .elementor-location-header.cdp-smart-header .cdp-header-cta button {
    min-height: 40px !important;
    padding: 9px 13px !important;
    font-size: 12px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta .e-button,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta .elementor-button,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta a,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta button {
    min-height: 34px !important;
    padding: 7px 10px !important;
    font-size: 11px !important;
  }

  /* Hamburger visible on mobile */
  .elementor-location-header.cdp-smart-header .cdp-header-toggle {
    display: flex !important;
    width: 42px !important;
    max-width: 42px !important;
    flex: 0 0 42px !important;
    margin: 0 !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-toggle .e-button,
  .elementor-location-header.cdp-smart-header .cdp-header-toggle .elementor-button,
  .elementor-location-header.cdp-smart-header .cdp-header-toggle a,
  .elementor-location-header.cdp-smart-header .cdp-header-toggle button {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 27px !important;
    line-height: 42px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-toggle,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-toggle .e-button,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-toggle .elementor-button,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-toggle a,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-toggle button {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    line-height: 36px !important;
    font-size: 24px !important;
  }

  /* Mobile navigation becomes a dropdown, not part of normal row */
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    padding: 10px !important;
    margin: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 2px !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    border-radius: 12px !important;
    background: rgba(16,32,24,.995) !important;
    box-shadow: 0 18px 44px rgba(0,0,0,.28) !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-menu-open .cdp-mobile-nav {
    display: flex !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-mobile-nav > * {
    width: 100% !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-mobile-nav .e-button,
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav .elementor-button,
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav a,
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav button {
    width: 100% !important;
    min-height: 42px !important;
    padding: 10px 12px !important;
    justify-content: flex-start !important;
    text-align: left !important;
    font-size: 14px !important;
  }
}


/* ==========================================================
   Codrii de Piatra 2.1.1
   Header background transparency tuning
   ========================================================== */

/* Default state: dark green with transparency */
.elementor-location-header.cdp-smart-header .cdp-header-row {
  background: rgba(16, 32, 24, 0.72) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Compact / reappearing state: slightly more opaque for readability */
.elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-row {
  background: rgba(16, 32, 24, 0.84) !important;
}

/* Mobile dropdown menu stays more solid for readability */
@media (max-width: 767px) {
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav {
    background: rgba(16, 32, 24, 0.96) !important;
  }
}

/* Very top of page can stay a bit lighter for the premium overlay feeling */
body:not(.admin-bar) .elementor-location-header.cdp-smart-header:not(.cdp-header-compact) .cdp-header-row {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}


/* ==========================================================
   Codrii de Piatra 2.1.2
   Reliable mobile hamburger menu
   ========================================================== */
@media (max-width: 767px) {

  /* The navigation container identified at runtime must never
     occupy space in the normal header row. */
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 10px !important;
    flex: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 2px !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 12px !important;
    background: rgba(16,32,24,.98) !important;
    box-shadow: 0 18px 44px rgba(0,0,0,.30) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .elementor-location-header.cdp-smart-header.cdp-menu-open .cdp-mobile-nav {
    display: flex !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-mobile-nav > * {
    width: 100% !important;
    max-width: none !important;
    flex: 0 0 auto !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-mobile-nav .e-button,
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav .elementor-button,
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav a,
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav button {
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    white-space: normal !important;
    background: transparent !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 7px !important;
    font-size: 14px !important;
  }

  /* Hamburger always visible on mobile. */
  .elementor-location-header.cdp-smart-header .cdp-header-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}


/* ==========================================================
   Codrii de Piatra 2.1.3
   Header layout refinements
   - full bleed, no outer gaps
   - larger square logo
   - mobile CTA contained inside its background
   ========================================================== */

/* Remove any spacing inherited from Elementor/theme wrappers. */
.elementor-location-header.cdp-smart-header,
.elementor-location-header.cdp-smart-header > .elementor,
.elementor-location-header.cdp-smart-header > .elementor > .elementor-element,
.elementor-location-header.cdp-smart-header > .elementor > .e-parent:first-child {
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  left: 0 !important;
  right: 0 !important;
}

.elementor-location-header.cdp-smart-header {
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

/* The visible row itself fills the viewport edge to edge. */
.elementor-location-header.cdp-smart-header .cdp-header-row {
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}

/* Desktop logo: the uploaded file is square, so give it enough visual area. */
@media (min-width: 768px) {
  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    width: 92px !important;
    max-width: 92px !important;
    min-width: 92px !important;
    flex: 0 0 92px !important;
    height: 72px !important;
    margin-left: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo img {
    width: 72px !important;
    max-width: 72px !important;
    height: 72px !important;
    max-height: 72px !important;
    object-fit: contain !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo {
    width: 70px !important;
    max-width: 70px !important;
    min-width: 70px !important;
    flex-basis: 70px !important;
    height: 50px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo img {
    width: 50px !important;
    max-width: 50px !important;
    height: 50px !important;
    max-height: 50px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-cta {
    margin-right: 24px !important;
  }
}

/* Mobile refinements */
@media (max-width: 767px) {
  .elementor-location-header.cdp-smart-header .cdp-header-row {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    width: 68px !important;
    max-width: 68px !important;
    min-width: 68px !important;
    flex: 0 0 68px !important;
    height: 52px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo img {
    width: 52px !important;
    max-width: 52px !important;
    height: 52px !important;
    max-height: 52px !important;
    object-fit: contain !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo {
    width: 52px !important;
    max-width: 52px !important;
    min-width: 52px !important;
    flex-basis: 52px !important;
    height: 40px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo img {
    width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    max-height: 40px !important;
  }

  /* Keep the full text inside the gold button. */
  .elementor-location-header.cdp-smart-header .cdp-header-cta {
    width: 116px !important;
    min-width: 116px !important;
    max-width: 116px !important;
    flex: 0 0 116px !important;
    overflow: visible !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-cta .e-button,
  .elementor-location-header.cdp-smart-header .cdp-header-cta .elementor-button,
  .elementor-location-header.cdp-smart-header .cdp-header-cta a,
  .elementor-location-header.cdp-smart-header .cdp-header-cta button {
    width: 116px !important;
    min-width: 116px !important;
    max-width: 116px !important;
    min-height: 46px !important;
    height: auto !important;
    padding: 8px 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    line-height: 1.15 !important;
    font-size: 12px !important;
    box-sizing: border-box !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-cta .e-button *,
  .elementor-location-header.cdp-smart-header .cdp-header-cta .elementor-button *,
  .elementor-location-header.cdp-smart-header .cdp-header-cta a *,
  .elementor-location-header.cdp-smart-header .cdp-header-cta button * {
    white-space: normal !important;
    line-height: 1.15 !important;
    text-align: center !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta {
    width: 106px !important;
    min-width: 106px !important;
    max-width: 106px !important;
    flex-basis: 106px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta .e-button,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta .elementor-button,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta a,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta button {
    width: 106px !important;
    min-width: 106px !important;
    max-width: 106px !important;
    min-height: 38px !important;
    padding: 6px 8px !important;
    font-size: 11px !important;
  }

  /* Keep hamburger comfortably visible next to CTA. */
  .elementor-location-header.cdp-smart-header .cdp-header-toggle {
    margin-left: 2px !important;
    margin-right: 0 !important;
  }
}

/* Narrow phones: preserve button and hamburger without text overflow. */
@media (max-width: 380px) {
  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    width: 58px !important;
    max-width: 58px !important;
    min-width: 58px !important;
    flex-basis: 58px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo img {
    width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
    max-height: 46px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-cta {
    width: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
    flex-basis: 104px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-cta .e-button,
  .elementor-location-header.cdp-smart-header .cdp-header-cta .elementor-button,
  .elementor-location-header.cdp-smart-header .cdp-header-cta a,
  .elementor-location-header.cdp-smart-header .cdp-header-cta button {
    width: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
    font-size: 11px !important;
  }
}


/* ==========================================================
   Codrii de Piatra 2.1.4
   Premium glass header + larger transparent square logo
   ========================================================== */

/* Remove opaque backgrounds from Elementor wrappers so the visible
   glass effect is controlled only by the header row. */
.elementor-location-header.cdp-smart-header,
.elementor-location-header.cdp-smart-header > .elementor,
.elementor-location-header.cdp-smart-header > .elementor > .elementor-element,
.elementor-location-header.cdp-smart-header > .elementor > .e-parent:first-child {
  background: transparent !important;
}

/* Premium dark-green glass */
.elementor-location-header.cdp-smart-header .cdp-header-row {
  background:
    linear-gradient(
      180deg,
      rgba(18, 39, 29, 0.68) 0%,
      rgba(12, 31, 23, 0.60) 100%
    ) !important;
  -webkit-backdrop-filter: blur(14px) saturate(125%) !important;
  backdrop-filter: blur(14px) saturate(125%) !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
  box-shadow:
    0 8px 28px rgba(4, 12, 8, .12),
    inset 0 1px 0 rgba(255,255,255,.035) !important;
}

/* Compact state: a touch more opaque for better readability while moving. */
.elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-row {
  background:
    linear-gradient(
      180deg,
      rgba(17, 39, 29, 0.82) 0%,
      rgba(11, 29, 22, 0.76) 100%
    ) !important;
  -webkit-backdrop-filter: blur(16px) saturate(130%) !important;
  backdrop-filter: blur(16px) saturate(130%) !important;
  box-shadow:
    0 10px 32px rgba(4, 12, 8, .18),
    inset 0 1px 0 rgba(255,255,255,.04) !important;
}

/* Make menu text crisp over the glass background. */
.elementor-location-header.cdp-smart-header .cdp-mobile-nav .e-button,
.elementor-location-header.cdp-smart-header .cdp-mobile-nav .elementor-button,
.elementor-location-header.cdp-smart-header .cdp-mobile-nav a,
.elementor-location-header.cdp-smart-header .cdp-mobile-nav button {
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 4px rgba(0,0,0,.28) !important;
}

/* ===== DESKTOP / TABLET ===== */
@media (min-width: 768px) {

  .elementor-location-header.cdp-smart-header .cdp-header-row {
    min-height: 92px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    padding-left: 22px !important;
    padding-right: 26px !important;
  }

  /* The PNG is square and contains transparent breathing room,
     therefore the widget itself must be significantly larger. */
  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    width: 148px !important;
    max-width: 148px !important;
    min-width: 148px !important;
    flex: 0 0 148px !important;
    height: 82px !important;
    margin-left: 8px !important;
    overflow: visible !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-widget-container {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: visible !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo img {
    width: 108px !important;
    max-width: 108px !important;
    height: 108px !important;
    max-height: 108px !important;
    object-fit: contain !important;
    transform: scale(1.08);
    transform-origin: center left;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-row {
    min-height: 62px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo {
    width: 104px !important;
    max-width: 104px !important;
    min-width: 104px !important;
    flex-basis: 104px !important;
    height: 54px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo img {
    width: 72px !important;
    max-width: 72px !important;
    height: 72px !important;
    max-height: 72px !important;
    transform: scale(1.04);
  }

  .elementor-location-header.cdp-smart-header .cdp-mobile-nav .e-button,
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav .elementor-button,
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav a,
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav button {
    font-size: 13.5px !important;
    letter-spacing: .015em !important;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {

  .elementor-location-header.cdp-smart-header .cdp-header-row {
    min-height: 78px !important;
    padding: 7px 12px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    width: 92px !important;
    max-width: 92px !important;
    min-width: 92px !important;
    flex: 0 0 92px !important;
    height: 64px !important;
    overflow: visible !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-widget-container {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: visible !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo img {
    width: 70px !important;
    max-width: 70px !important;
    height: 70px !important;
    max-height: 70px !important;
    object-fit: contain !important;
    transform: scale(1.06);
    transform-origin: center left;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-row {
    min-height: 56px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo {
    width: 66px !important;
    max-width: 66px !important;
    min-width: 66px !important;
    flex-basis: 66px !important;
    height: 44px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo img {
    width: 50px !important;
    max-width: 50px !important;
    height: 50px !important;
    max-height: 50px !important;
    transform: scale(1.04);
  }

  /* CTA remains inside the gold button, but gets a more balanced aspect. */
  .elementor-location-header.cdp-smart-header .cdp-header-cta {
    width: 126px !important;
    min-width: 126px !important;
    max-width: 126px !important;
    flex: 0 0 126px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-cta .e-button,
  .elementor-location-header.cdp-smart-header .cdp-header-cta .elementor-button,
  .elementor-location-header.cdp-smart-header .cdp-header-cta a,
  .elementor-location-header.cdp-smart-header .cdp-header-cta button {
    width: 126px !important;
    min-width: 126px !important;
    max-width: 126px !important;
    min-height: 48px !important;
    padding: 8px 10px !important;
    font-size: 12px !important;
    line-height: 1.12 !important;
    border-radius: 10px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta {
    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;
    flex-basis: 112px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta .e-button,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta .elementor-button,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta a,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta button {
    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;
    min-height: 38px !important;
    font-size: 11px !important;
    padding: 6px 8px !important;
  }

  /* Dropdown remains darker than the glass header for readability. */
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav {
    background:
      linear-gradient(
        180deg,
        rgba(12,31,23,.97),
        rgba(8,24,17,.98)
      ) !important;
    -webkit-backdrop-filter: blur(16px) saturate(125%) !important;
    backdrop-filter: blur(16px) saturate(125%) !important;
  }
}

/* Extra narrow phones */
@media (max-width: 380px) {
  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    width: 78px !important;
    max-width: 78px !important;
    min-width: 78px !important;
    flex-basis: 78px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo img {
    width: 60px !important;
    max-width: 60px !important;
    height: 60px !important;
    max-height: 60px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-cta {
    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;
    flex-basis: 112px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-cta .e-button,
  .elementor-location-header.cdp-smart-header .cdp-header-cta .elementor-button,
  .elementor-location-header.cdp-smart-header .cdp-header-cta a,
  .elementor-location-header.cdp-smart-header .cdp-header-cta button {
    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;
    font-size: 11px !important;
  }
}


/* ==========================================================
   Codrii de Piatra 2.1.5
   Larger logo sizing
   Desktop source ratio: 900x500 (1.8:1)
   Mobile target display: up to 150x150
   ========================================================== */

/* Desktop / tablet */
@media (min-width: 768px) {

  .elementor-location-header.cdp-smart-header .cdp-header-row {
    min-height: 112px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    width: 210px !important;
    max-width: 210px !important;
    min-width: 210px !important;
    flex: 0 0 210px !important;
    height: 104px !important;
    margin-left: 18px !important;
    overflow: visible !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-widget-container {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: visible !important;
  }

  /* Keep the desktop logo at its natural 900x500 aspect ratio. */
  .elementor-location-header.cdp-smart-header .cdp-header-logo img {
    width: 190px !important;
    max-width: 190px !important;
    height: auto !important;
    max-height: 106px !important;
    object-fit: contain !important;
    transform: none !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-row {
    min-height: 72px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo {
    width: 145px !important;
    max-width: 145px !important;
    min-width: 145px !important;
    flex-basis: 145px !important;
    height: 64px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo img {
    width: 125px !important;
    max-width: 125px !important;
    height: auto !important;
    max-height: 70px !important;
  }
}

/* Mobile */
@media (max-width: 767px) {

  .elementor-location-header.cdp-smart-header .cdp-header-row {
    min-height: 170px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  /* Reserve a real square area for a mobile logo up to 150x150 px. */
  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    width: 150px !important;
    max-width: 150px !important;
    min-width: 150px !important;
    flex: 0 0 150px !important;
    height: 150px !important;
    margin-left: 0 !important;
    overflow: visible !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-widget-container {
    width: 150px !important;
    height: 150px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: visible !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo img {
    width: 150px !important;
    max-width: 150px !important;
    height: 150px !important;
    max-height: 150px !important;
    object-fit: contain !important;
    transform: none !important;
  }

  /* Compact mobile: smaller but still visibly larger than previous versions. */
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-row {
    min-height: 82px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo {
    width: 78px !important;
    max-width: 78px !important;
    min-width: 78px !important;
    flex-basis: 78px !important;
    height: 78px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo .elementor-widget-container {
    width: 78px !important;
    height: 78px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo img {
    width: 78px !important;
    max-width: 78px !important;
    height: 78px !important;
    max-height: 78px !important;
    object-fit: contain !important;
  }

  /* Make sure CTA + hamburger still fit next to the larger mobile logo. */
  .elementor-location-header.cdp-smart-header .cdp-header-cta {
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    flex: 0 0 118px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-cta .e-button,
  .elementor-location-header.cdp-smart-header .cdp-header-cta .elementor-button,
  .elementor-location-header.cdp-smart-header .cdp-header-cta a,
  .elementor-location-header.cdp-smart-header .cdp-header-cta button {
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    min-height: 46px !important;
    font-size: 12px !important;
  }
}

/* Smaller phones: keep the initial logo large, but prevent overflow */
@media (max-width: 390px) {
  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    width: 130px !important;
    max-width: 130px !important;
    min-width: 130px !important;
    flex-basis: 130px !important;
    height: 130px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-widget-container,
  .elementor-location-header.cdp-smart-header .cdp-header-logo img {
    width: 130px !important;
    max-width: 130px !important;
    height: 130px !important;
    max-height: 130px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-cta {
    width: 106px !important;
    min-width: 106px !important;
    max-width: 106px !important;
    flex-basis: 106px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-cta .e-button,
  .elementor-location-header.cdp-smart-header .cdp-header-cta .elementor-button,
  .elementor-location-header.cdp-smart-header .cdp-header-cta a,
  .elementor-location-header.cdp-smart-header .cdp-header-cta button {
    width: 106px !important;
    min-width: 106px !important;
    max-width: 106px !important;
    font-size: 11px !important;
  }
}


/* ==========================================================
   Codrii de Piatra 2.1.6
   Desktop header: half-height glass bar + larger logo
   ========================================================== */

@media (min-width: 768px) {

  /* Reduce the visible desktop header height from ~112px to ~58px. */
  .elementor-location-header.cdp-smart-header .cdp-header-row {
    min-height: 88px !important;
    height: 88px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    padding-left: 18px !important;
    padding-right: 24px !important;
    overflow: visible !important;
  }

  /*
   * The logo is deliberately allowed to protrude below the glass bar.
   * This lets it be larger while the header itself stays slim.
   * Source logo ratio: 900x500 (1.8:1).
   */
  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    width: 250px !important;
    max-width: 250px !important;
    min-width: 250px !important;
    flex: 0 0 250px !important;
    height: 58px !important;
    margin-left: 8px !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 5 !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-widget-container {
    width: 250px !important;
    height: 58px !important;
    overflow: visible !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo img {
    width: 230px !important;
    max-width: 230px !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    transform: translateY(-28px) !important;
    transform-origin: left top !important;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.12));
  }

  /* Menu and CTA remain vertically centered inside the slim bar. */
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav {
    align-self: center !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-cta {
    align-self: center !important;
  }

  /* Compact/reappearing state: even slimmer, logo still clearly visible. */
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-row {
    min-height: 60px !important;
    height: 60px !important;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo {
    width: 190px !important;
    max-width: 190px !important;
    min-width: 190px !important;
    flex-basis: 190px !important;
    height: 50px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo .elementor-widget-container {
    width: 190px !important;
    height: 50px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo img {
    width: 175px !important;
    max-width: 175px !important;
    height: auto !important;
    max-height: none !important;
    transform: translateY(-20px) !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-mobile-nav .e-button,
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav .elementor-button,
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav a,
  .elementor-location-header.cdp-smart-header .cdp-mobile-nav button {
    min-height: 34px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-cta .e-button,
  .elementor-location-header.cdp-smart-header .cdp-header-cta .elementor-button,
  .elementor-location-header.cdp-smart-header .cdp-header-cta a,
  .elementor-location-header.cdp-smart-header .cdp-header-cta button {
    min-height: 36px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}


/* ==========================================================
   Codrii de Piatra 2.1.7
   Remove white band under hidden/fixed header
   Header now overlays the first page section, Montis-style.
   ========================================================== */

/* Previous versions reserved space in the body for the fixed header.
   That created a white strip when the header hid on scroll.
   We intentionally remove that reservation. */
body.cdp-has-fixed-header {
  padding-top: 0 !important;
}

/* Do not reserve any top gap on the site/page wrappers either. */
body.cdp-has-fixed-header .site,
body.cdp-has-fixed-header .site-main,
body.cdp-has-fixed-header main,
body.cdp-has-fixed-header .elementor-location-single,
body.cdp-has-fixed-header .elementor-location-archive {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Header is always an overlay above the first container. */
.elementor-location-header.cdp-smart-header {
  position: fixed !important;
  top: 0 !important;
}

/* Logged-in WordPress admin bar offset only. */
body.admin-bar .elementor-location-header.cdp-smart-header {
  top: 32px !important;
}

@media (max-width: 767px) {
  body.admin-bar .elementor-location-header.cdp-smart-header {
    top: 46px !important;
  }
}


/* ==========================================================
   Codrii de Piatra 2.1.8
   Desktop logo vertical alignment
   ========================================================== */
@media (min-width: 768px) {

  /* Lower the large desktop logo without changing header height. */
  .elementor-location-header.cdp-smart-header .cdp-header-logo img {
    transform: translateY(2px) !important;
    transform-origin: left top !important;
  }

  /* When the compact header reappears on scroll-up, keep the logo lower too. */
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo img {
    transform: translateY(0) !important;
  }
}


/* ==========================================================
   Codrii de Piatra 2.1.9
   Mobile header reduced in height, less overlap on hero text
   ========================================================== */
@media (max-width: 767px) {

  /* Reduce the mobile glass band substantially. */
  .elementor-location-header.cdp-smart-header .cdp-header-row {
    min-height: 92px !important;
    height: 92px !important;
    padding: 6px 12px !important;
    align-items: center !important;
    overflow: visible !important;
  }

  /* Keep the logo visible and premium, but no longer oversized. */
  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    width: 96px !important;
    max-width: 96px !important;
    min-width: 96px !important;
    flex: 0 0 96px !important;
    height: 72px !important;
    overflow: visible !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-widget-container {
    width: 96px !important;
    height: 72px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: visible !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo img {
    width: 92px !important;
    max-width: 92px !important;
    height: auto !important;
    max-height: 72px !important;
    object-fit: contain !important;
    transform: none !important;
  }

  /* Keep CTA and burger balanced next to the smaller bar. */
  .elementor-location-header.cdp-smart-header .cdp-header-cta {
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    flex: 0 0 118px !important;
    align-self: center !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-cta .e-button,
  .elementor-location-header.cdp-smart-header .cdp-header-cta .elementor-button,
  .elementor-location-header.cdp-smart-header .cdp-header-cta a,
  .elementor-location-header.cdp-smart-header .cdp-header-cta button {
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    min-height: 44px !important;
    padding: 7px 10px !important;
    font-size: 12px !important;
    line-height: 1.12 !important;
    border-radius: 10px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-toggle {
    align-self: center !important;
  }

  /* Compact mobile header on scroll-up. */
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-row {
    min-height: 58px !important;
    height: 58px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo {
    width: 62px !important;
    max-width: 62px !important;
    min-width: 62px !important;
    flex-basis: 62px !important;
    height: 48px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo .elementor-widget-container {
    width: 62px !important;
    height: 48px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo img {
    width: 58px !important;
    max-width: 58px !important;
    height: auto !important;
    max-height: 48px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta {
    width: 106px !important;
    min-width: 106px !important;
    max-width: 106px !important;
    flex-basis: 106px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta .e-button,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta .elementor-button,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta a,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-cta button {
    width: 106px !important;
    min-width: 106px !important;
    max-width: 106px !important;
    min-height: 36px !important;
    font-size: 11px !important;
    padding: 6px 8px !important;
  }

  /* Narrow phones. */
  @media (max-width: 390px) {
    .elementor-location-header.cdp-smart-header .cdp-header-row {
      min-height: 86px !important;
      height: 86px !important;
      padding-left: 10px !important;
      padding-right: 10px !important;
    }

    .elementor-location-header.cdp-smart-header .cdp-header-logo {
      width: 86px !important;
      max-width: 86px !important;
      min-width: 86px !important;
      flex-basis: 86px !important;
      height: 66px !important;
    }

    .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-widget-container {
      width: 86px !important;
      height: 66px !important;
    }

    .elementor-location-header.cdp-smart-header .cdp-header-logo img {
      width: 82px !important;
      max-width: 82px !important;
      max-height: 66px !important;
    }

    .elementor-location-header.cdp-smart-header .cdp-header-cta {
      width: 104px !important;
      min-width: 104px !important;
      max-width: 104px !important;
      flex-basis: 104px !important;
    }

    .elementor-location-header.cdp-smart-header .cdp-header-cta .e-button,
    .elementor-location-header.cdp-smart-header .cdp-header-cta .elementor-button,
    .elementor-location-header.cdp-smart-header .cdp-header-cta a,
    .elementor-location-header.cdp-smart-header .cdp-header-cta button {
      width: 104px !important;
      min-width: 104px !important;
      max-width: 104px !important;
      font-size: 11px !important;
    }
  }
}


/* ==========================================================
   Codrii de Piatra 2.2.0
   Logo lowered further on desktop + mobile
   Added glass logo badge with 8-10px padding
   ========================================================== */

/* Shared glass badge around the logo when it extends beyond the main header bar */
.elementor-location-header.cdp-smart-header .cdp-header-logo {
  position: relative !important;
  z-index: 8 !important;
  padding: 9px !important;
  box-sizing: border-box !important;
  border-radius: 16px !important;
 /*  background:
    linear-gradient(
      180deg,
      rgba(18, 39, 29, 0.68) 0%,
      rgba(12, 31, 23, 0.60) 100%
    ) !important;
  -webkit-backdrop-filter: blur(14px) saturate(125%) !important;
  backdrop-filter: blur(14px) saturate(125%) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow:
    0 8px 22px rgba(4, 12, 8, .14),
    inset 0 1px 0 rgba(255,255,255,.035) !important; */
  overflow: visible !important;
}

.elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo {
  background:
    linear-gradient(
      180deg,
      rgba(17, 39, 29, 0.82) 0%,
      rgba(11, 29, 22, 0.76) 100%
    ) !important;
  -webkit-backdrop-filter: blur(16px) saturate(130%) !important;
  backdrop-filter: blur(16px) saturate(130%) !important;
}

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    transform: translateY(18px) !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-widget-container {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo img {
    transform: translateY(0) !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo {
    transform: translateY(12px) !important;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {
  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    transform: translateY(14px) !important;
    padding: 8px !important;
    border-radius: 14px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-widget-container {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo img {
    transform: translateY(0) !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo {
    transform: translateY(8px) !important;
    padding: 7px !important;
    border-radius: 12px !important;
  }
}


/* ==========================================================
   Codrii de Piatra 2.2.1
   Round / pill-shaped glass badge for logo
   ========================================================== */

.elementor-location-header.cdp-smart-header .cdp-header-logo {
  border-radius: 999px !important;
}

.elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-widget-container {
  border-radius: 999px !important;
}

@media (min-width: 768px) {
  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    border-radius: 999px !important;
  }
}

@media (max-width: 767px) {
  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    border-radius: 999px !important;
    padding: 8px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo {
    border-radius: 999px !important;
  }
}


/* ==========================================================
   Codrii de Piatra 2.2.2
   Center logo inside badge
   Smaller round/pill badge (2-3px padding)
   Badge disappears in scrolled compact state
   ========================================================== */

/* ---------- TOP STATE: badge visible ---------- */
.elementor-location-header.cdp-smart-header .cdp-header-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  padding: 3px !important;
  border-radius: 999px !important;
  overflow: visible !important;
}

.elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-widget-container,
.elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-image,
.elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-image a {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  text-align: center !important;
}

.elementor-location-header.cdp-smart-header .cdp-header-logo img {
  display: block !important;
  margin: 0 auto !important;
}

/* Desktop badge: centered and visually tighter around the logo */
@media (min-width: 768px) {

  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    width: 214px !important;
    max-width: 214px !important;
    min-width: 214px !important;
    flex: 0 0 214px !important;
    height: 84px !important;
    transform: translateY(2px) !important;
    padding: 3px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-widget-container {
    width: 208px !important;
    height: 78px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo img {
    width: 198px !important;
    max-width: 198px !important;
    height: auto !important;
    max-height: 72px !important;
    transform: none !important;
  }
}

/* Mobile badge: centered and smaller, hugging the logo */
@media (max-width: 767px) {
  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    width: 86px !important;
    max-width: 86px !important;
    min-width: 86px !important;
    flex: 0 0 86px !important;
    height: 86px !important;
    transform: translateY(18px) !important;
    padding: 2px !important;
    border-radius: 999px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-widget-container {
    width: 82px !important;
    height: 82px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo img {
    width: 76px !important;
    max-width: 76px !important;
    height: auto !important;
    max-height: 76px !important;
    transform: none !important;
  }
}

/* ---------- SCROLLED / COMPACT STATE: badge hidden ---------- */
.elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo {
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo .elementor-widget-container,
.elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo .elementor-image,
.elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo .elementor-image a {
  background: transparent !important;
}

@media (min-width: 768px) {
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo {
    width: 132px !important;
    max-width: 132px !important;
    min-width: 132px !important;
    flex-basis: 132px !important;
    height: 46px !important;
    transform: translateY(6px) !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo .elementor-widget-container {
    width: 132px !important;
    height: 46px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo img {
    width: 126px !important;
    max-width: 126px !important;
    max-height: 40px !important;
    transform: none !important;
  }
}

@media (max-width: 767px) {
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo {
    width: 58px !important;
    max-width: 58px !important;
    min-width: 58px !important;
    flex-basis: 58px !important;
    height: 40px !important;
    transform: translateY(4px) !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo .elementor-widget-container {
    width: 58px !important;
    height: 40px !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo img {
    width: 52px !important;
    max-width: 52px !important;
    max-height: 34px !important;
    transform: none !important;
  }
}


/* ==========================================================
   Codrii de Piatra 2.2.3
   Replace round logo badge with smaller square / box badge
   Keep logo size unchanged
   ========================================================== */

/* General: square-ish badge instead of round pill */
.elementor-location-header.cdp-smart-header .cdp-header-logo {
  border-radius: 8px !important;
  padding: 2px !important;
}

/* Remove the fully round look from all inner wrappers as well */
.elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-widget-container,
.elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-image,
.elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-image a {
  border-radius: 8px !important;
}

/* ===== DESKTOP: smaller square-edged badge, same logo size ===== */
@media (min-width: 768px) {
  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    width: 204px !important;
    max-width: 204px !important;
    min-width: 204px !important;
    flex: 0 0 204px !important;
    height: 80px !important;
    padding: 2px !important;
    border-radius: 8px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-widget-container {
    width: 200px !important;
    height: 76px !important;
    border-radius: 8px !important;
  }

  /* Keep desktop logo size unchanged from 2.2.2 */
  .elementor-location-header.cdp-smart-header .cdp-header-logo img {
    width: 198px !important;
    max-width: 198px !important;
    height: auto !important;
    max-height: 72px !important;
  }
}

/* ===== MOBILE: smaller square-edged badge, same logo size ===== */
@media (max-width: 767px) {
  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    width: 82px !important;
    max-width: 82px !important;
    min-width: 82px !important;
    flex: 0 0 82px !important;
    height: 82px !important;
    padding: 2px !important;
    border-radius: 7px !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-widget-container {
    width: 78px !important;
    height: 78px !important;
    border-radius: 7px !important;
  }

  /* Keep mobile logo size unchanged from 2.2.2 */
  .elementor-location-header.cdp-smart-header .cdp-header-logo img {
    width: 176px !important;
    max-width: 176px !important;
    height: auto !important;
    max-height: 86px !important;
	margin: 2px 0px 10px 5px !important;
  }
}

/* Compact state still has no badge */
.elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo,
.elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo .elementor-widget-container,
.elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo .elementor-image,
.elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo .elementor-image a {
  border-radius: 0 !important;
}


/* ==========================================================
   Codrii de Piatra 2.2.4
   Desktop logo fitted inside 88px glass header
   ========================================================== */

@media (min-width: 768px) {

    .elementor-location-header.cdp-smart-header .cdp-header-logo {
        width: 285px !important;
        max-width: 285px !important;
        min-width: 285px !important;
        flex: 0 0 285px !important;

        height: 80px !important;
        min-height: 80px !important;

        padding: 0 !important;
        margin: 0 0 0 8px !important;

        transform: none !important;

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

        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-widget-container,
    .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-image,
    .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-image a {

        width: 100% !important;
        height: 80px !important;

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

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

        overflow: visible !important;
    }

    .elementor-location-header.cdp-smart-header .cdp-header-logo img {
        width: auto !important;
        min-width: 0 !important;
        max-width: 275px !important;

        height: 76px !important;
        max-height: 76px !important;

        object-fit: contain !important;

        display: block !important;
        margin: 0 !important;
        padding: 0 !important;

        transform: none !important;
    }
}

/* Compact scroll state still hides the badge */
@media (min-width: 768px) {
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo {
    width: 132px !important;
    max-width: 132px !important;
    min-width: 132px !important;
    flex-basis: 132px !important;
    height: 46px !important;
    padding: 0 !important;
    transform: translateY(6px) !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo .elementor-widget-container,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo .elementor-image,
  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo .elementor-image a {
    width: 132px !important;
    max-width: 132px !important;
    min-width: 132px !important;
    height: 46px !important;
    padding-top: 0 !important;
  }

  .elementor-location-header.cdp-smart-header.cdp-header-compact .cdp-header-logo img {
    width: 126px !important;
    max-width: 126px !important;
    max-height: 0px !important;
  }
}
@media (max-width: 767px) {
  .elementor-location-header.cdp-smart-header .cdp-header-logo,
  .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-widget-container,
  .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-image,
  .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-image a {
    background: transparent !important;
    background-image: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .elementor-location-header.cdp-smart-header .cdp-header-logo {
    padding: 0 !important;
  }
}

/* ========================================================
   HERO CARDS - MONTIS STYLE
   ======================================================== */

.cdp-montis-card {
    --card-accent: #b98948;

    position: relative !important;
    overflow: visible !important;

    background: #faf6ef !important;

    border: 1px solid rgba(55,45,35,.12) !important;
    border-radius: 6px !important;

    box-shadow:
        0 12px 30px rgba(20,25,20,.12) !important;

    transition:
        transform .3s ease,
        box-shadow .3s ease !important;
}


/* Culori specifice */

.cdp-montis-card--stay {
    --card-accent: #b98948;
}

.cdp-montis-card--adventure {
    --card-accent: #67764f;
}

.cdp-montis-card--theatre {
    --card-accent: #814548;
}


/* ========================================================
   IMAGE
   ======================================================== */

.cdp-montis-card__media {
    position: relative !important;

    width: 100% !important;

    aspect-ratio: 1.58 / 1 !important;

    overflow: hidden !important;

    border-radius:
        5px
        5px
        0
        0 !important;
}


.cdp-montis-card__media img {

    width: 100% !important;
    height: 100% !important;

    display: block !important;

    object-fit: cover !important;
    object-position: center !important;

    border-radius: 0 !important;

    transition: transform .5s ease !important;
}


/* ========================================================
   BODY
   ======================================================== */

.cdp-montis-card__body {

    position: relative !important;

    width: 100% !important;

    padding:
        20px
        24px
        18px !important;

    display: flex !important;

    flex-direction: column !important;

    align-items: center !important;

    gap: 7px !important;

    background: #faf6ef !important;

border-radius:
        0
        0
        5px
        5px !important;
}


/* ========================================================
   ROUND ICON BETWEEN IMAGE / BODY
   ======================================================== */

.cdp-montis-card__icon {

    position: absolute !important;

    top: -25px !important;
    left: 15px !important;

    width: 50px !important;
    height: 50px !important;

    min-width: 50px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;

    border-radius: 50% !important;

    background: var(--card-accent) !important;

    color: #fff !important;

    border:
        2px
        solid
        rgba(255,255,255,.72) !important;

    box-shadow:
        0 5px 14px
        rgba(25,25,20,.18) !important;

    z-index: 20 !important;
}


/* SVG */

.cdp-montis-card__icon svg {

    width: 23px !important;
    height: 23px !important;

    color: #fff !important;

    fill: none !important;

    stroke: currentColor !important;

    stroke-width: 1.6 !important;
}


/* Dacă iconul SVG este fill-based */

.cdp-montis-card__icon svg path {

    color: #fff !important;
}


/* ========================================================
   TITLE
   ======================================================== */

.cdp-montis-card__title {

    width: 100% !important;

    margin: 0 !important;
}


.cdp-montis-card__title,
.cdp-montis-card__title h1,
.cdp-montis-card__title h2,
.cdp-montis-card__title h3,
.cdp-montis-card__title h4 {

    color: #312922 !important;

    font-family:
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 30px !important;

    font-weight: 500 !important;

    line-height: 1.05 !important;

    letter-spacing: -.01em !important;

    text-align: center !important;
}


/* Amfiteatru - tentă bordo */

.cdp-montis-card--theatre
.cdp-montis-card__title,
.cdp-montis-card--theatre
.cdp-montis-card__title * {

    color: #704043 !important;
}


/* ========================================================
   DESCRIPTION
   ======================================================== */

.cdp-montis-card__text {

    width: 100% !important;

    margin: 0 !important;
}


.cdp-montis-card__text p {

    max-width: 280px !important;

    margin: 0 auto !important;
}


/* ========================================================
   CTA
   Transform current big button into Montis text link
   ======================================================== */

.cdp-montis-card__cta {

    width: auto !important;

    margin-top: 7px !important;
}


.cdp-montis-card__cta a,
.cdp-montis-card__cta button,
.cdp-montis-card__cta .e-button,
.cdp-montis-card__cta .elementor-button {

    width: auto !important;

    min-width: 0 !important;

    min-height: 0 !important;

    padding: 5px 6px !important;

    background: transparent !important;

    border: 0 !important;

    border-radius: 0 !important;

    box-shadow: none !important;

    color: var(--card-accent) !important;

    font-size: 12px !important;

    font-weight: 600 !important;

    line-height: 1.3 !important;
}


/* arrow */

.cdp-montis-card__cta a::after,
.cdp-montis-card__cta button::after {

    content: " →";

    display: inline-block;

    margin-left: 5px;

    font-size: 15px;

    transition: transform .2s ease;
}


/* ========================================================
   HOVER
   ======================================================== */

@media (hover:hover) {

    .cdp-montis-card:hover {

        transform: translateY(-5px) !important;

        box-shadow:
            0 18px 38px
            rgba(20,25,20,.17) !important;
    }


    .cdp-montis-card:hover
    .cdp-montis-card__media img {

        transform: scale(1.035) !important;
    }
}


/* ========================================================
   MOBILE
   ======================================================== */

@media (max-width:767px) {

    .cdp-montis-card {

        border-radius: 8px !important;
    }


    .cdp-montis-card__media {

        aspect-ratio:
            1.55 / 1 !important;
    }


    .cdp-montis-card__body {

        padding:
            24px
            22px
            22px !important;
    }


    .cdp-montis-card__icon {

        width: 52px !important;
        height: 52px !important;

        top: -26px !important;
        left: 17px !important;
    }


    .cdp-montis-card__title,
    .cdp-montis-card__title h1,
    .cdp-montis-card__title h2,
    .cdp-montis-card__title h3 {

        font-size: 32px !important;
    }


    .cdp-montis-card__text p {
        /* Typography controlled from Elementor */
    }
}

/* =========================================================
   TABLET
   768px – 1024px
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {

    .cdp-montis-card {
        border-radius: 7px !important;
    }

    .cdp-montis-card__media {
        aspect-ratio: 1.55 / 1 !important;
    }

    .cdp-montis-card__media img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .cdp-montis-card__body {
        padding:
            22px
            20px
            20px !important;

        gap: 7px !important;
    }

    /* Icon peste linia imagine / body */
    .cdp-montis-card__icon {
        width: 48px !important;
        height: 48px !important;

        min-width: 48px !important;

        top: -24px !important;
        left: 15px !important;

        border-radius: 50% !important;
    }

    .cdp-montis-card__icon svg {
        width: 22px !important;
        height: 22px !important;
    }

    .cdp-montis-card__title,
    .cdp-montis-card__title h1,
    .cdp-montis-card__title h2,
    .cdp-montis-card__title h3,
    .cdp-montis-card__title h4,
    .cdp-montis-card__title .elementor-heading-title {
        font-size: 27px !important;
        line-height: 1.05 !important;
    }

    .cdp-montis-card__text p {
        max-width: 260px !important;
    }

    .cdp-montis-card__cta a,
    .cdp-montis-card__cta button,
    .cdp-montis-card__cta .e-button,
    .cdp-montis-card__cta .elementor-button {
        font-size: 12px !important;
    }
}


/* =========================================================
   MOBILE / TELEFON
   max 767px
   ========================================================= */

@media (max-width: 767px) {

    .cdp-montis-card {
        width: 100% !important;

        border-radius: 9px !important;

        overflow: visible !important;
    }

    /* Imagine puțin mai panoramică */
    .cdp-montis-card__media {
        width: 100% !important;

        aspect-ratio: 1.55 / 1 !important;

        overflow: hidden !important;

        border-radius:
            8px
            8px
            0
            0 !important;
    }

    .cdp-montis-card__media img {
        width: 100% !important;
        height: 100% !important;

        object-fit: cover !important;
        object-position: center !important;

        border-radius: 0 !important;
    }

    .cdp-montis-card__body {
        width: 100% !important;

        min-height: 160px !important;

        padding:
            26px
            22px
            22px !important;

        gap: 8px !important;

        align-items: center !important;

        border-radius:
            0
            0
            8px
            8px !important;
    }

    /* Icon rotund */
    .cdp-montis-card__icon {
        width: 52px !important;
        height: 52px !important;

        min-width: 52px !important;

        top: -26px !important;
        left: 17px !important;

        padding: 0 !important;

        border-radius: 50% !important;

        background: var(--card-accent) !important;
    }

    .cdp-montis-card__icon svg {
        width: 24px !important;
        height: 24px !important;
    }

    /* Titlu */
    .cdp-montis-card__title,
    .cdp-montis-card__title h1,
    .cdp-montis-card__title h2,
    .cdp-montis-card__title h3,
    .cdp-montis-card__title h4,
    .cdp-montis-card__title .elementor-heading-title {
        width: 100% !important;

        font-size: 31px !important;
        line-height: 1.05 !important;

        text-align: center !important;
    }

    /* Text */
    .cdp-montis-card__text {
        width: 100% !important;
    }

    .cdp-montis-card__text p {
        max-width: 320px !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* CTA */
    .cdp-montis-card__cta {
        margin-top: 8px !important;
    }

    .cdp-montis-card__cta a,
    .cdp-montis-card__cta button,
    .cdp-montis-card__cta .e-button,
    .cdp-montis-card__cta .elementor-button {
        width: auto !important;

        font-size: 13px !important;

        background: transparent !important;

        color: var(--card-accent) !important;
    }
}


/* =========================================================
   TELEFOANE MICI
   max 480px
   ========================================================= */

@media (max-width: 480px) {

    .cdp-montis-card__media {
        aspect-ratio: 1.45 / 1 !important;
    }

    .cdp-montis-card__body {
        padding:
            25px
            18px
            20px !important;
    }

    .cdp-montis-card__icon {
        width: 48px !important;
        height: 48px !important;

        min-width: 48px !important;

        top: -24px !important;
        left: 14px !important;
    }

    .cdp-montis-card__icon svg {
        width: 22px !important;
        height: 22px !important;
    }

    .cdp-montis-card__title,
    .cdp-montis-card__title h1,
    .cdp-montis-card__title h2,
    .cdp-montis-card__title h3,
    .cdp-montis-card__title .elementor-heading-title {
        font-size: 28px !important;
    }

    .cdp-montis-card__text p {
        /* Typography controlled from Elementor */
    }
}

/* =========================================================
   FIX - colțuri rotunjite imagini carduri pe frontend
   Desktop + Tablet + Mobile
   ========================================================= */

.cdp-montis-card__media {
    border-radius: 10px !important;
    overflow: hidden !important;
}

.cdp-montis-card__media .elementor-widget-container,
.cdp-montis-card__media .elementor-widget-image,
.cdp-montis-card__media img {
    border-radius: 10px !important;
}

.cdp-montis-card__media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* =========================================================
   FIX SVG ICON CARDS - MOBILE
   Force Montis icon style over Elementor Atomic responsive
   ========================================================= */

@media (max-width: 767px) {

    .elementor .cdp-montis-card .cdp-montis-card__body {
        position: relative !important;
    }

    .elementor .cdp-montis-card
    .cdp-montis-card__body
    .cdp-montis-card__icon {

        position: absolute !important;

        top: -26px !important;
        left: 17px !important;

        width: 52px !important;
        height: 52px !important;

        min-width: 52px !important;
        max-width: 52px !important;

        min-height: 52px !important;
        max-height: 52px !important;

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

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

        flex: 0 0 52px !important;

        background-color: var(--card-accent) !important;
        background-image: none !important;

        border: 2px solid rgba(255,255,255,.72) !important;
        border-radius: 50% !important;

        box-shadow: 0 5px 14px rgba(25,25,20,.18) !important;

        overflow: hidden !important;

        color: #fff !important;

        z-index: 30 !important;
    }


    /* Wrapper-ele interne Elementor */
    .elementor .cdp-montis-card
    .cdp-montis-card__icon .elementor-widget-container {

        width: 100% !important;
        height: 100% !important;

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

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

        background: transparent !important;
    }


    /* SVG inline */
    .elementor .cdp-montis-card
    .cdp-montis-card__icon svg {

        display: block !important;

        width: 24px !important;
        height: 24px !important;

        min-width: 24px !important;
        max-width: 24px !important;

        min-height: 24px !important;
        max-height: 24px !important;

        margin: 0 !important;

        color: #fff !important;

        fill: none !important;
        stroke: #fff !important;
        stroke-width: 1.6 !important;
    }


    /* Forțează și elementele interne din SVG */
    .elementor .cdp-montis-card
    .cdp-montis-card__icon svg path,

    .elementor .cdp-montis-card
    .cdp-montis-card__icon svg line,

    .elementor .cdp-montis-card
    .cdp-montis-card__icon svg polyline,

    .elementor .cdp-montis-card
    .cdp-montis-card__icon svg circle,

    .elementor .cdp-montis-card
    .cdp-montis-card__icon svg rect {

        fill: none !important;
        stroke: #fff !important;
        color: #fff !important;
    }
}
/* ==========================================================
   MOBILE - Logo left spacing / alignment fix
   ========================================================== */

@media (max-width: 767px) {

    .elementor-location-header.cdp-smart-header .cdp-header-logo {
        margin-left: 6px !important;
    }

    .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-widget-container,
    .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-image,
    .elementor-location-header.cdp-smart-header .cdp-header-logo .elementor-image a {
        justify-content: flex-start !important;
    }

    .elementor-location-header.cdp-smart-header .cdp-header-logo img {
        margin: 2px 0 0 18px !important;
    }
}

/* ==========================================================
   MOBILE - Hide Rezervă / Participă button
   ========================================================== */
@media (max-width: 767px) {

    .elementor-location-header.cdp-smart-header .cdp-header-cta {
        display: none !important;
    }

    /* Hamburgerul rămâne aliniat la dreapta */
    .elementor-location-header.cdp-smart-header .cdp-header-toggle,
    .elementor-location-header.cdp-smart-header .cdp-mobile-toggle {
        margin-left: auto !important;
    }
}
/* ==========================================================
   MOBILE HEADER FINAL
   Logo mare + aliniat corect + CTA ascuns
   ========================================================== */

@media (max-width: 767px) {

    /* Banda header */
    .elementor-location-header.cdp-smart-header .cdp-header-row {
        min-height: 92px !important;
        height: 92px !important;

        padding-top: 8px !important;
        padding-right: 14px !important;
        padding-bottom: 8px !important;
        padding-left: 16px !important;

        align-items: center !important;
        overflow: visible !important;
    }

    /* Ascunde Rezervă / Participă */
    .elementor-location-header.cdp-smart-header .cdp-header-cta {
        display: none !important;
    }

    /* Zona rezervată logo-ului */
    .elementor-location-header.cdp-smart-header .cdp-header-logo {
        width: 230px !important;
        max-width: 230px !important;
        min-width: 230px !important;
        flex: 0 0 230px !important;

        height: 76px !important;

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

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

        transform: none !important;
        overflow: visible !important;
    }

    /* Wrapper imagine */
    .elementor-location-header.cdp-smart-header
    .cdp-header-logo .elementor-widget-container,
    .elementor-location-header.cdp-smart-header
    .cdp-header-logo .elementor-image,
    .elementor-location-header.cdp-smart-header
    .cdp-header-logo .elementor-image a {

        width: 230px !important;
        max-width: 230px !important;
        height: 76px !important;

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

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

        overflow: visible !important;
    }

    /* Logo */
    .elementor-location-header.cdp-smart-header .cdp-header-logo img {
        width: 230px !important;
        max-width: 230px !important;
        min-width: 0 !important;

        height: auto !important;
        max-height: 68px !important;

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

        object-fit: contain !important;
        object-position: left center !important;

        transform: none !important;
    }

    /* Hamburger la dreapta */
    .elementor-location-header.cdp-smart-header .cdp-header-toggle,
    .elementor-location-header.cdp-smart-header .cdp-mobile-toggle {
        margin-left: auto !important;
        flex: 0 0 auto !important;
    }
}

/* ==========================================================
   MOBILE MENU - click + touch hover + active page
   ========================================================== */

@media (max-width: 767px) {

    /* Dropdownul trebuie să fie peste conținut */
    .elementor-location-header.cdp-smart-header .cdp-mobile-nav {
        z-index: 100001 !important;
        pointer-events: auto !important;
    }

    /* Toate elementele din meniu trebuie să accepte touch/click */
    .elementor-location-header.cdp-smart-header .cdp-mobile-nav > * {
        position: relative !important;
        z-index: 1 !important;
        pointer-events: auto !important;
    }

    .elementor-location-header.cdp-smart-header .cdp-mobile-nav a,
    .elementor-location-header.cdp-smart-header .cdp-mobile-nav .e-button,
    .elementor-location-header.cdp-smart-header .cdp-mobile-nav .elementor-button {
        position: relative !important;
        z-index: 2 !important;

        pointer-events: auto !important;
        touch-action: manipulation !important;

        cursor: pointer !important;

        color: #fff !important;
        background: transparent !important;

        transition:
            background-color .18s ease,
            color .18s ease,
            transform .18s ease !important;

        -webkit-tap-highlight-color: transparent;
    }

    /* Mouse hover + echivalent touch */
    .elementor-location-header.cdp-smart-header .cdp-mobile-nav a:hover,
    .elementor-location-header.cdp-smart-header .cdp-mobile-nav a:focus,
    .elementor-location-header.cdp-smart-header .cdp-mobile-nav a:active,

    .elementor-location-header.cdp-smart-header .cdp-mobile-nav .e-button:hover,
    .elementor-location-header.cdp-smart-header .cdp-mobile-nav .e-button:focus,
    .elementor-location-header.cdp-smart-header .cdp-mobile-nav .e-button:active,

    .elementor-location-header.cdp-smart-header .cdp-mobile-nav .elementor-button:hover,
    .elementor-location-header.cdp-smart-header .cdp-mobile-nav .elementor-button:focus,
    .elementor-location-header.cdp-smart-header .cdp-mobile-nav .elementor-button:active,

    .elementor-location-header.cdp-smart-header .cdp-mobile-nav .cdp-touch-active {
        background: rgba(255,255,255,.10) !important;
        color: #d8b77e !important;
        transform: translateX(4px);
    }

    /* Pagina curentă rămâne evidențiată */
    .elementor-location-header.cdp-smart-header
    .cdp-mobile-nav .cdp-menu-current {
        background: rgba(185,137,72,.22) !important;
        color: #d8b77e !important;
        font-weight: 700 !important;
    }
}
/* ==========================================================
   AMFITEATRU MOBILE - elimina rama exterioara crem/alba
   Page ID 1052
   ========================================================== */

@media (max-width: 767px) {

    body.page-id-1052 .site,
    body.page-id-1052 .site-main,
    body.page-id-1052 main,
    body.page-id-1052 .cdp-content-shell,
    body.page-id-1052 .cdp-entry-content,
    body.page-id-1052 .elementor-1052 {
        width: 100% !important;
        max-width: none !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Primul container Elementor al paginii */
    body.page-id-1052 .elementor-1052 > .e-con,
    body.page-id-1052 .elementor-1052 > .e-con.e-parent {
        width: 100% !important;
        max-width: none !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* ==========================================================
   PARC DE AVENTURA - MOBILE
   Imagini complete + culori niveluri trasee
   ========================================================== */

@media (max-width: 767px) {

    /* =========================
       IMAGINI TRASEE
       ========================= */

    .cdp-park2-trail-img,
    .cdp-park2-trail-img .elementor-widget-container,
    .cdp-park2-trail-img .elementor-image {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        aspect-ratio: auto !important;

        overflow: visible !important;
    }

    .cdp-park2-trail-img img {
        display: block !important;

        width: 100% !important;
        height: auto !important;

        min-height: 0 !important;
        max-height: none !important;

        object-fit: contain !important;
        object-position: center center !important;

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


    /* =========================
       NIVELURI DIFICULTATE
       ========================= */

    /* Exploratorului - ROSU */
    .cdp-park2-level.easy {
        background: #a51616 !important;
        color: #fff !important;
        border-color: #a51616 !important;
    }

    /* Aventurierului - VERDE */
    .cdp-park2-level.medium {
        background: #47772f !important;
        color: #fff !important;
        border-color: #47772f !important;
    }

    /* Curajosului - GALBEN / MUSTAR */
    .cdp-park2-level.hard {
        background: #e3a600 !important;
        color: #fff !important;
        border-color: #e3a600 !important;
    }

    /* Legendar - PORTOCALIU */
    .cdp-park2-level.extreme {
        background: #d94d0a !important;
        color: #fff !important;
        border-color: #d94d0a !important;
    }
}