/*
 Theme Name: Aman Immo
 Template: hello-elementor
 Version: 1.0.6
*/

/***********color & font class***********/

.color-primary {
  color: var(--e-global-color-primary) !important;
}
.color-secondary {
  color: var(--e-global-color-secondary) !important;
}
.color-red {
  color: red !important;
}
.color-seccuss {
  color: var(--e-global-color-c4d26f1) !important;
}
.bold {
  font-weight: 700 !important;
}

/*****header style*******/

.elementor:has(header#header) {
  position: sticky;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 999;
}

.elementor-widget-container:has(.cw-language) {
  display: flex;
}

body .header-mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  z-index: 99999;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.35s ease,
    visibility 0s linear 0.35s;
}

#footer .cw-nav__menu,
body .header-mobile-menu .cw-nav__menu {
  align-items: flex-start !important;
}

@media (max-width: 425px) {
  body .bottom-footer .cw-nav__menu {
    align-items: center !important;
  }
}

/*****site chrome: drawer open state, logo, nav, language, footer*****/

/* Mobile drawer open state (script.js toggles .is-open and body.mobile-menu-open).
   core-widgets mobile-menu.css only targets .cw-mobile-menu, so it does not apply here. */
body .header-mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition:
    opacity 0.35s ease,
    visibility 0s linear 0s;
}

body.mobile-menu-open {
  overflow: hidden;
}

@media (min-width: 761px) {
  body .header-mobile-menu {
    display: none;
  }
}

/* Drawer links: full width rows with a hairline (design .mnav a) */
body .header-mobile-menu .cw-nav,
body .header-mobile-menu .cw-nav__menu,
body .header-mobile-menu .cw-nav__item {
  width: 100%;
}

body .header-mobile-menu .cw-nav__menu {
  gap: 0 !important;
}

body .header-mobile-menu .cw-nav__link {
  width: 100%;
  padding-block: 14px;
  padding-inline: 8px;
  border-bottom: 1px solid var(--n200);
  font-size: 17px;
  font-weight: 500;
}

/* Logo wordmark: heading title inherits .wm (design ardi.css .logo / .wm) */
body .elementor-element.logo.wm .elementor-heading-title {
  font-family: var(--f-head);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

body .elementor-element.logo.wm .elementor-heading-title a {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

body .logo.wm .stop {
  display: inline-block;
  width: 0.26em;
  height: 0.26em;
  margin-inline-start: 0.05em;
  background: var(--clay);
  clip-path: polygon(8% 24%, 74% 4%, 100% 82%, 22% 100%);
}

body .logo.wm.on-dark .stop {
  background: var(--clay-300);
}

/* Header nav (design .nav a / a.on) */
#header .cw-nav__link {
  padding-block: 24px;
  box-shadow: inset 0 -2px 0 transparent;
}

#header .cw-nav__item--active > .cw-nav__link,
#header .cw-nav__item.current-menu-item > .cw-nav__link {
  box-shadow: inset 0 -2px 0 var(--cedar);
}

/* Language switcher: quiet pill (design .lang) */
body .cw-language .cw-language__button {
  gap: 8px;
  min-height: 34px;
  padding-block: 3px;
  padding-inline: 12px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--n300);
  border-radius: 999px;
  font-weight: 600;
}

body .cw-language .cw-language__button:hover,
body .cw-language .cw-language__button:focus-visible {
  background: var(--n100);
  color: var(--ink);
}

body .cw-language .cw-language__button:focus-visible {
  outline: 2px solid var(--cedar);
  outline-offset: 2px;
}

body .cw-language .cw-language__current {
  font-size: 13px;
  letter-spacing: 0;
}

body .cw-language .cw-language__dropdown {
  /* Core Widgets sets a physical right:0: the logical pair replaces it in both directions. */
  inset-inline-start: auto;
  inset-inline-end: 0;
  min-width: 120px;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--n200);
  border-radius: var(--r-m);
  box-shadow: var(--sh-2);
}

body .cw-language .cw-language__link {
  padding: 10px;
  border-radius: 8px;
  color: var(--ink);
}

body .cw-language .cw-language__link:hover {
  background: var(--n100);
  color: var(--ink);
}

body .cw-language .cw-language__link.is-active {
  color: var(--cedar);
  font-weight: 500;
}

#footer .cw-language .cw-language__button {
  background: transparent;
  color: var(--n300);
  border-color: var(--n700);
}

#footer .cw-language .cw-language__button:hover,
#footer .cw-language .cw-language__button:focus-visible {
  background: transparent;
  border-color: var(--n500);
}

#footer .cw-language .cw-language__current {
  color: var(--sand);
}

/* Footer: link underline on hover, quiet bottom bar */
#footer .cw-nav__link {
  text-decoration: none;
}

#footer .cw-nav__link:hover {
  text-decoration: underline;
}

/* The drawer sits inside #header: keep the desktop underline out of it */
#header .header-mobile-menu .cw-nav__link {
  box-shadow: none;
}

#header .header-mobile-menu .cw-nav__item--active > .cw-nav__link {
  box-shadow: none;
  color: var(--cedar);
}

/* Header at tablet width (761-1100 px). Design: .nav gap 18, .hdr-in gap 20 (ardi.css tablet block).
   Buttons and the language pill never wrap; the left group (logo + nav) may shrink, never overlap. */
#header .elementor-button,
#header .elementor-button-text,
#header .cw-language__button {
  white-space: nowrap;
}

#header .cw-nav__link,
#header .logo.wm .elementor-heading-title {
  white-space: nowrap;
}

#header > .e-con > .e-con-inner > .e-con {
  width: auto;
  min-width: 0;
}

#header > .e-con > .e-con-inner > .e-con:last-child {
  flex-shrink: 0;
}

#header .mobile-menu-trigger a.elementor-button.elementor-button-link.elementor-size-sm {
  display: flex;
  justify-content: center;
  align-items: center;
}

#header .mobile-menu-close a.elementor-button.elementor-button-link.elementor-size-sm {
  display: flex;
  justify-content: center;
  align-items: center;
}

#header .mobile-menu-close .elementor-button-content-wrapper {
  align-items: center;
}

#header .elementor-button:focus {
background-color: unset !important;
color: unset !important;
border-radius: unset !important;
}

@media (max-width: 1100px) {
  #header > .e-con > .e-con-inner {
    gap: 12px;
  }

  #header > .e-con > .e-con-inner > .e-con:first-child {
    gap: 20px;
  }

  #header .cw-nav__menu {
    gap: 18px;
  }

  #header > .e-con > .e-con-inner > .e-con:last-child {
    gap: 8px;
  }

  #header .elementor-button.elementor-size-sm {
    padding-inline: 12px;
    font-size: 14px;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  #header > .e-con {
    padding-inline: 16px;
  }

  #header > .e-con > .e-con-inner {
    gap: 8px;
  }

  #header > .e-con > .e-con-inner > .e-con:first-child {
    gap: 14px;
  }

  #header .cw-nav__menu {
    gap: 12px;
  }

  #header .logo.wm .elementor-heading-title {
    font-size: 22px;
  }

  #header .cw-language__button {
    padding-inline: 8px;
  }

  #header .elementor-button.elementor-size-sm {
    padding-inline: 10px;
  }
}
