/* Smouha global visual system v1.0.0
   Style-only layer: no content or markup changes. */

body.smouha-global-design {
  --sm-global-max: 1350px;
  --sm-global-gutter: clamp(18px, 3vw, 34px);
  --sm-global-radius-sm: 10px;
  --sm-global-radius: 16px;
  --sm-global-radius-lg: 22px;
  --sm-global-shadow: 0 12px 34px rgba(48, 51, 46, .065);
  --sm-global-shadow-soft: 0 8px 24px rgba(48, 51, 46, .045);

  margin: 0;
  background: var(--smouha-sand-light);
  color: var(--smouha-charcoal);
  font-family: "Cairo", sans-serif;
}

body.smouha-global-design,
body.smouha-global-design button,
body.smouha-global-design input,
body.smouha-global-design select,
body.smouha-global-design textarea {
  font-family: "Cairo", sans-serif !important;
}

/* Page canvas */
body.smouha-global-design #page,
body.smouha-global-design .site,
body.smouha-global-design .site-content,
body.smouha-global-design #content,
body.smouha-global-design main,
body.smouha-global-design .elementor {
  color: var(--smouha-charcoal);
}

body.smouha-global-design .site-content,
body.smouha-global-design #content,
body.smouha-global-design main {
  background-color: var(--smouha-sand-light);
}

/* Consistent readable content width without changing section order/content */
body.smouha-global-design :where(
  .container,
  .site-container,
  .content-container,
  .elementor-section.elementor-section-boxed > .elementor-container,
  .e-con.e-con-boxed > .e-con-inner
) {
  max-width: var(--sm-global-max);
}

/* Type hierarchy */
body.smouha-global-design :where(h1,h2,h3,h4,h5,h6),
body.smouha-global-design :where(.elementor-heading-title,.entry-title,.page-title,.post-title) {
  color: var(--smouha-charcoal);
  font-family: "Cairo", sans-serif !important;
  text-wrap: balance;
}

body.smouha-global-design h1,
body.smouha-global-design .page-title,
body.smouha-global-design .entry-title {
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.015em;
}

body.smouha-global-design h2,
body.smouha-global-design h3 {
  font-weight: 750;
  line-height: 1.45;
}

body.smouha-global-design :where(p,li,dd,dt,.elementor-widget-text-editor) {
  color: var(--smouha-muted);
}

body.smouha-global-design a {
  color: inherit;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
}

body.smouha-global-design a:hover {
  color: #8D742F;
}

/* Buttons / CTAs */
body.smouha-global-design :where(
  .elementor-button,
  .wp-element-button,
  .wp-block-button__link,
  button:not(.sfc-accordion-toggle),
  input[type="submit"],
  input[type="button"]
) {
  border: 1px solid var(--smouha-petrol) !important;
  border-radius: 11px !important;
  background: var(--smouha-petrol) !important;
  color: var(--smouha-ivory) !important;
  box-shadow: none !important;
  font-weight: 750 !important;
}

body.smouha-global-design :where(
  .elementor-button,
  .wp-element-button,
  .wp-block-button__link,
  button:not(.sfc-accordion-toggle),
  input[type="submit"],
  input[type="button"]
):hover {
  border-color: var(--smouha-petrol-hover) !important;
  background: var(--smouha-petrol-hover) !important;
  color: var(--smouha-ivory) !important;
}

/* Forms */
body.smouha-global-design :where(
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  input[type="url"],
  input[type="password"],
  select,
  textarea
) {
  border: 1px solid var(--smouha-line) !important;
  border-radius: 11px !important;
  background: var(--smouha-ivory) !important;
  color: var(--smouha-charcoal) !important;
  box-shadow: none !important;
  outline: none;
}

body.smouha-global-design :where(
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  input[type="url"],
  input[type="password"],
  select,
  textarea
):focus {
  border-color: var(--smouha-gold) !important;
  box-shadow: 0 0 0 3px var(--smouha-focus) !important;
}

/* Cards and common content surfaces */
body.smouha-global-design :where(
  .card,
  .project-card,
  .property-card,
  .post-card,
  .blog-card,
  .elementor-post,
  article.post,
  article.page,
  .woocommerce ul.products li.product
) {
  border-color: var(--smouha-line);
  border-radius: var(--sm-global-radius);
}

body.smouha-global-design :where(
  .elementor-widget-container,
  .entry-content,
  .post-content
) {
  box-sizing: border-box;
}

/* Tables */
body.smouha-global-design table {
  overflow: hidden;
  border: 1px solid var(--smouha-line);
  border-radius: var(--sm-global-radius-sm);
  background: var(--smouha-ivory);
  color: var(--smouha-charcoal);
}

body.smouha-global-design th {
  background: var(--smouha-sand);
  color: var(--smouha-charcoal);
  font-weight: 750;
}

body.smouha-global-design td,
body.smouha-global-design th {
  border-color: var(--smouha-line) !important;
}

/* Breadcrumbs / pagination */
body.smouha-global-design :where(
  .breadcrumb,
  .breadcrumbs,
  .rank-math-breadcrumb,
  .woocommerce-breadcrumb
) {
  color: var(--smouha-muted);
}

body.smouha-global-design :where(
  .pagination a,
  .pagination span,
  .page-numbers
) {
  border-color: var(--smouha-line);
  border-radius: 9px;
}

body.smouha-global-design :where(
  .pagination .current,
  .page-numbers.current
) {
  background: var(--smouha-petrol);
  color: var(--smouha-ivory);
}

/* GLOBAL HEADER
   Multiple theme/Elementor selectors are intentionally grouped so the palette follows
   whichever header source is active, without changing menu items or markup. */
body.smouha-global-design :where(
  #smouha-home-header,
  #masthead,
  .site-header,
  .main-header,
  .header-area,
  .header-wrapper,
  .elementor-location-header
) {
  --sm-header-bg: rgba(255, 252, 247, .97);
  --sm-header-text: var(--smouha-charcoal);
  --sm-header-line: rgba(216, 204, 187, .9);

  color: var(--sm-header-text);
}

body.smouha-global-design :where(
  #masthead,
  .site-header,
  .main-header,
  .header-area,
  .header-wrapper,
  .elementor-location-header
) {
  background-color: var(--sm-header-bg) !important;
  border-bottom-color: var(--sm-header-line) !important;
  box-shadow: 0 8px 26px rgba(48, 51, 46, .045);
}

body.smouha-global-design :where(
  #masthead,
  .site-header,
  .main-header,
  .header-area,
  .header-wrapper,
  .elementor-location-header
) :where(
  a,
  .menu-item > a,
  .nav-menu > li > a,
  .elementor-nav-menu a
) {
  color: var(--smouha-charcoal) !important;
  font-weight: 650;
}

body.smouha-global-design :where(
  #masthead,
  .site-header,
  .main-header,
  .header-area,
  .header-wrapper,
  .elementor-location-header
) :where(
  .current-menu-item > a,
  .current_page_item > a,
  .menu-item > a:hover,
  .elementor-item-active,
  .elementor-nav-menu a:hover
) {
  color: #8D742F !important;
}

/* Header dropdown surfaces */
body.smouha-global-design :where(
  #masthead,
  .site-header,
  .main-header,
  .header-area,
  .header-wrapper,
  .elementor-location-header
) :where(
  .sub-menu,
  .elementor-nav-menu--dropdown
) {
  border: 1px solid var(--smouha-line) !important;
  border-radius: 12px;
  background: var(--smouha-ivory) !important;
  box-shadow: var(--sm-global-shadow-soft);
}

/* Mobile header/menu surfaces */
body.smouha-global-design :where(
  .mobile-menu,
  .mobile-menu-wrapper,
  .offcanvas-menu,
  .off-canvas-menu,
  .elementor-menu-toggle,
  .elementor-nav-menu--dropdown
) {
  color: var(--smouha-charcoal);
}

/* Avoid recoloring intentional footer dark theme */
body.smouha-global-design #smouha-footer-clean,
body.smouha-global-design #smouha-footer-clean * {
  --smouha-charcoal: #f7f2e9;
}

/* Responsive global spacing */
@media (max-width: 767px) {
  body.smouha-global-design {
    --sm-global-gutter: 12px;
  }

  body.smouha-global-design :where(
    .elementor-section.elementor-section-boxed > .elementor-container,
    .e-con.e-con-boxed > .e-con-inner
  ) {
    width: calc(100% - 24px);
    max-width: none;
  }

  body.smouha-global-design :where(h1,.page-title,.entry-title) {
    line-height: 1.4;
  }
}


/* 2026-10-21 internal header + Elementor palette normalization */
body.smouha-global-design:not(.home) :where(
  #masthead,
  .site-header,
  .main-header,
  .header-area,
  .header-wrapper,
  .elementor-location-header
) {
  background: var(--smouha-sand-light) !important;
}

body.smouha-global-design:not(.home) .elementor-location-header > .elementor,
body.smouha-global-design:not(.home) :where(
  #masthead .container,
  #masthead .elementor-container,
  #masthead .e-con-inner,
  .site-header .container,
  .site-header .elementor-container,
  .site-header .e-con-inner,
  .elementor-location-header .elementor-section > .elementor-container,
  .elementor-location-header .e-con > .e-con-inner
) {
  background-color: var(--smouha-ivory);
}

/* Runtime-applied only to Elementor blocks using the legacy dark green. */
body.smouha-global-design:not(.home) .smouha-remap-dark-green {
  background-color: var(--smouha-charcoal) !important;
  background-image: none !important;
  border-color: rgba(196,163,75,.28) !important;
}

body.smouha-global-design:not(.home) .smouha-remap-dark-green :where(
  h1,h2,h3,h4,h5,h6,
  .elementor-heading-title
) {
  color: var(--smouha-ivory) !important;
}

body.smouha-global-design:not(.home) .smouha-remap-dark-green :where(
  p,li,span:not(.elementor-button-text)
) {
  color: #E8E1D7;
}

body.smouha-global-design:not(.home) .smouha-remap-dark-green :where(
  .elementor-button,
  .wp-element-button,
  .wp-block-button__link
) {
  border-color: var(--smouha-gold) !important;
  background: var(--smouha-sand) !important;
  color: var(--smouha-charcoal) !important;
}


/* 2026-10-21 hide duplicated legacy footer after unified global footer rollout */
body.smouha-global-design .smouha-legacy-footer-hidden {
  display: none !important;
}


/* 2026-10-21 definitive legacy footer dedup */
body.smouha-global-design .smf-footer,
body.smouha-global-design #smouha-home-footer,
body.smouha-global-design footer.smf-footer {
  display: none !important;
}


/* 2026-10-21 absolute footer dedup: keep only unified footer */
body.smouha-global-design footer:not(#smouha-footer-clean),
body.smouha-global-design #colophon,
body.smouha-global-design .site-footer:not(#smouha-footer-clean),
body.smouha-global-design .elementor-location-footer,
body.smouha-global-design [data-elementor-type="footer"] {
  display: none !important;
}

body.smouha-global-design #smouha-footer-clean {
  display: block !important;
}


/* 2026-10-21 structural legacy footer fallback */
body.smouha-global-design :is(
  .elementor-section,
  .elementor-top-section,
  .e-con,
  .footer-area,
  .footer-widget-area,
  .footer-top,
  .footer-wrap
):has(.sm-brand-footer):has(.sm-footer-links-col) {
  display: none !important;
}


/* 2026-10-21 unified ReLand header across entire site */
body.smouha-global-design header.header-style-six {
  width: 100%;
  position: relative;
  z-index: 1000;
  background: var(--smouha-sand-light) !important;
  color: var(--smouha-charcoal);
}

body.smouha-global-design header.header-style-six #sticky-default.menu-area {
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  background: rgba(255,252,247,.98) !important;
  border-bottom: 1px solid var(--smouha-line) !important;
  box-shadow: 0 8px 24px rgba(48,51,46,.055) !important;
  backdrop-filter: saturate(130%) blur(10px);
  -webkit-backdrop-filter: saturate(130%) blur(10px);
}

body.smouha-global-design header.header-style-six #sticky-default .container.custom-container {
  width: min(100% - 32px, var(--sm-global-max)) !important;
  max-width: var(--sm-global-max) !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

body.smouha-global-design header.header-style-six .menu-wrap,
body.smouha-global-design header.header-style-six .menu-nav {
  min-height: 82px;
}

body.smouha-global-design header.header-style-six .menu-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px;
}

body.smouha-global-design header.header-style-six .main-logo,
body.smouha-global-design header.header-style-six .logo a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

body.smouha-global-design header.header-style-six .main-logo img,
body.smouha-global-design header.header-style-six .logo img {
  display: block;
  width: auto !important;
  max-width: 170px !important;
  max-height: 56px !important;
  height: auto !important;
  object-fit: contain !important;
}

body.smouha-global-design header.header-style-six #split-menu.navbar-wrap {
  flex: 1 1 auto;
  min-width: 0;
  align-items: center !important;
  justify-content: center !important;
  gap: 22px;
}

body.smouha-global-design header.header-style-six #split-menu .navigation {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px;
  margin: 0 !important;
  padding: 0 !important;
}

body.smouha-global-design header.header-style-six #split-menu .navigation > li {
  margin: 0 !important;
  padding: 0 !important;
}

body.smouha-global-design header.header-style-six #split-menu .navigation > li > a,
body.smouha-global-design header.header-style-six .nav-links {
  min-height: 46px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 14px !important;
  border-radius: 10px;
  color: var(--smouha-charcoal) !important;
  font-family: "Cairo", sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

body.smouha-global-design header.header-style-six #split-menu .navigation > li > a:hover,
body.smouha-global-design header.header-style-six #split-menu .navigation > li.active > a,
body.smouha-global-design header.header-style-six #split-menu .navigation > li.current-menu-item > a,
body.smouha-global-design header.header-style-six #split-menu .navigation > li.current_page_item > a {
  background: var(--smouha-sand) !important;
  color: #8D742F !important;
}

body.smouha-global-design header.header-style-six #split-menu .sub-menu,
body.smouha-global-design header.header-style-six #split-menu .dropdown-menu {
  min-width: 220px;
  padding: 10px !important;
  border: 1px solid var(--smouha-line) !important;
  border-radius: 14px !important;
  background: var(--smouha-ivory) !important;
  box-shadow: 0 16px 34px rgba(48,51,46,.10) !important;
}

body.smouha-global-design header.header-style-six #split-menu .sub-menu a,
body.smouha-global-design header.header-style-six #split-menu .dropdown-menu a {
  display: block;
  padding: 10px 12px !important;
  border-radius: 8px;
  color: var(--smouha-charcoal) !important;
  font-family: "Cairo", sans-serif !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  text-decoration: none !important;
}

body.smouha-global-design header.header-style-six #split-menu .sub-menu a:hover,
body.smouha-global-design header.header-style-six #split-menu .dropdown-menu a:hover {
  background: var(--smouha-sand-light) !important;
  color: #8D742F !important;
}

/* sticky state */
body.smouha-global-design header.header-style-six #sticky-default.sticky-menu,
body.smouha-global-design header.header-style-six #sticky-default.sticky {
  position: fixed !important;
  inset-inline: 0;
  top: 0;
  background: rgba(255,252,247,.985) !important;
  box-shadow: 0 10px 28px rgba(48,51,46,.08) !important;
}

/* mobile header */
@media (max-width: 991px) {
  body.smouha-global-design header.header-style-six #sticky-default.menu-area {
    min-height: 70px;
  }

  body.smouha-global-design header.header-style-six #sticky-default .container.custom-container {
    width: calc(100% - 16px) !important;
  }

  body.smouha-global-design header.header-style-six .menu-wrap,
  body.smouha-global-design header.header-style-six .menu-nav {
    min-height: 70px !important;
  }

  body.smouha-global-design header.header-style-six .menu-nav {
    justify-content: space-between !important;
    gap: 12px !important;
  }

  body.smouha-global-design header.header-style-six .main-logo img,
  body.smouha-global-design header.header-style-six .logo img {
    max-width: 138px !important;
    max-height: 46px !important;
  }

  body.smouha-global-design header.header-style-six :where(
    .mobile-nav-toggler,
    .navbar-toggler,
    .menu-toggle,
    .hamburger-menu
  ) {
    width: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid var(--smouha-line) !important;
    border-radius: 11px !important;
    background: var(--smouha-ivory) !important;
    color: var(--smouha-charcoal) !important;
    box-shadow: none !important;
  }

  body.smouha-global-design :where(
    .mobile-menu,
    .mobile-menu-wrapper,
    .offcanvas-menu,
    .off-canvas-menu
  ) {
    background: var(--smouha-ivory) !important;
    color: var(--smouha-charcoal) !important;
  }

  body.smouha-global-design :where(
    .mobile-menu,
    .mobile-menu-wrapper,
    .offcanvas-menu,
    .off-canvas-menu
  ) a {
    color: var(--smouha-charcoal) !important;
    font-family: "Cairo", sans-serif !important;
    font-weight: 700 !important;
  }
}

@media (max-width: 767px) {
  body.smouha-global-design header.header-style-six #sticky-default .container.custom-container {
    width: calc(100% - 12px) !important;
  }

  body.smouha-global-design header.header-style-six .main-logo img,
  body.smouha-global-design header.header-style-six .logo img {
    max-width: 128px !important;
  }
}


/* 2026-10-21 source-level unified global header */
body.smouha-global-design > header.header-style-six,
body.smouha-global-design #smouha-home-header:not(#smouha-global-header) {
  display: none !important;
}

body.smouha-global-design #smouha-global-header.smgh {
  position: relative;
  z-index: 9990;
  width: 100%;
  background: var(--smouha-sand-light);
  font-family: "Cairo", sans-serif !important;
}

body.smouha-global-design #smouha-global-header .smgh-shell {
  width: min(calc(100% - 32px), var(--sm-global-max));
  min-height: 82px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 180px minmax(0,1fr) 52px;
  align-items: center;
  gap: 20px;
  padding-inline: 18px;
  border: 1px solid var(--smouha-line);
  border-radius: 0 0 18px 18px;
  background: rgba(255,252,247,.985);
  box-shadow: 0 8px 26px rgba(48,51,46,.055);
  backdrop-filter: saturate(130%) blur(10px);
  -webkit-backdrop-filter: saturate(130%) blur(10px);
}

body.smouha-global-design #smouha-global-header .smgh-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  text-decoration: none !important;
}

body.smouha-global-design #smouha-global-header .smgh-brand img {
  display: block;
  width: auto;
  max-width: 160px;
  max-height: 56px;
  height: auto;
  object-fit: contain;
}

body.smouha-global-design #smouha-global-header .smgh-nav {
  min-width: 0;
}

body.smouha-global-design #smouha-global-header .smgh-menu,
body.smouha-global-design #smouha-global-header .smgh-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.smouha-global-design #smouha-global-header .smgh-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

body.smouha-global-design #smouha-global-header .smgh-menu > li {
  position: relative;
  margin: 0;
}

body.smouha-global-design #smouha-global-header .smgh-menu > li > a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--smouha-charcoal) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none !important;
  white-space: nowrap;
}

body.smouha-global-design #smouha-global-header .smgh-menu > li > a:hover,
body.smouha-global-design #smouha-global-header .smgh-menu > li.current-menu-item > a,
body.smouha-global-design #smouha-global-header .smgh-menu > li.current_page_item > a,
body.smouha-global-design #smouha-global-header .smgh-menu > li.current-menu-ancestor > a {
  background: var(--smouha-sand);
  color: #8D742F !important;
}

body.smouha-global-design #smouha-global-header .smgh-menu .sub-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  min-width: 230px;
  display: none;
  padding: 10px;
  border: 1px solid var(--smouha-line);
  border-radius: 14px;
  background: var(--smouha-ivory);
  box-shadow: 0 16px 34px rgba(48,51,46,.10);
}

body.smouha-global-design #smouha-global-header .smgh-menu li:hover > .sub-menu,
body.smouha-global-design #smouha-global-header .smgh-menu li:focus-within > .sub-menu {
  display: block;
}

body.smouha-global-design #smouha-global-header .smgh-menu .sub-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--smouha-charcoal) !important;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none !important;
}

body.smouha-global-design #smouha-global-header .smgh-menu .sub-menu a:hover {
  background: var(--smouha-sand-light);
  color: #8D742F !important;
}

body.smouha-global-design #smouha-global-header .smgh-toggle {
  width: 44px !important;
  height: 44px !important;
  display: none !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0 !important;
  border: 1px solid var(--smouha-line) !important;
  border-radius: 11px !important;
  background: var(--smouha-ivory) !important;
  box-shadow: none !important;
  cursor: pointer;
}

body.smouha-global-design #smouha-global-header .smgh-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 3px;
  background: var(--smouha-charcoal);
}

body.smouha-global-design #smouha-global-header .smgh-mobile-panel {
  width: min(calc(100% - 16px), var(--sm-global-max));
  margin: 8px auto 0;
  padding: 10px;
  border: 1px solid var(--smouha-line);
  border-radius: 14px;
  background: var(--smouha-ivory);
  box-shadow: 0 16px 34px rgba(48,51,46,.10);
}

body.smouha-global-design #smouha-global-header .smgh-mobile-menu,
body.smouha-global-design #smouha-global-header .smgh-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.smouha-global-design #smouha-global-header .smgh-mobile-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 9px;
  color: var(--smouha-charcoal) !important;
  font-weight: 700;
  text-decoration: none !important;
}

body.smouha-global-design #smouha-global-header .smgh-mobile-menu a:hover,
body.smouha-global-design #smouha-global-header .smgh-mobile-menu .current-menu-item > a {
  background: var(--smouha-sand-light);
  color: #8D742F !important;
}

body.smouha-global-design #smouha-global-header .smgh-mobile-menu .sub-menu {
  padding-inline-start: 12px;
}

@media (max-width: 991px) {
  body.smouha-global-design #smouha-global-header .smgh-shell {
    width: calc(100% - 16px);
    min-height: 70px;
    grid-template-columns: minmax(0,1fr) 52px;
    padding-inline: 12px;
    border-radius: 0 0 14px 14px;
  }

  body.smouha-global-design #smouha-global-header .smgh-nav {
    display: none;
  }

  body.smouha-global-design #smouha-global-header .smgh-toggle {
    display: inline-flex !important;
  }

  body.smouha-global-design #smouha-global-header .smgh-brand img {
    max-width: 138px;
    max-height: 46px;
  }
}

@media (max-width: 767px) {
  body.smouha-global-design #smouha-global-header .smgh-shell {
    width: calc(100% - 10px);
  }

  body.smouha-global-design #smouha-global-header .smgh-mobile-panel {
    width: calc(100% - 10px);
  }

  body.smouha-global-design #smouha-global-header .smgh-brand img {
    max-width: 128px;
  }
}


/* Old ReLand header is retired; the plugin header is the single global source. */
body.smouha-global-design header.header-style-six:not(#smouha-global-header) {
  display: none !important;
}


/* 2026-10-21 restore premium language switch affordance */
body.smouha-global-design #smouha-global-header .smgh-menu > li > a[href*="/en/"],
body.smouha-global-design #smouha-global-header .smgh-menu > li > a[href$="/en"] {
  min-height: 46px !important;
  padding: 0 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: 1px solid #D5C39B !important;
  border-radius: 11px !important;
  background: #FFFCF7 !important;
  color: #6F5716 !important;
  box-shadow: 0 3px 10px rgba(196,163,75,.08) !important;
}

body.smouha-global-design #smouha-global-header .smgh-menu > li > a[href*="/en/"]::before,
body.smouha-global-design #smouha-global-header .smgh-menu > li > a[href$="/en"]::before {
  content: "" !important;
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  display: inline-block !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238D742F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E") !important;
}

body.smouha-global-design #smouha-global-header .smgh-menu > li > a[href*="/en/"]:hover,
body.smouha-global-design #smouha-global-header .smgh-menu > li > a[href$="/en"]:hover {
  border-color: #B9922D !important;
  background: #F4EBDD !important;
  color: #6C5415 !important;
}

/* mobile language switch */
@media (max-width: 991px) {
  body.smouha-global-design #smouha-global-header .smgh-mobile-menu a[href*="/en/"],
  body.smouha-global-design #smouha-global-header .smgh-mobile-menu a[href$="/en"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 48px !important;
    margin-top: 8px !important;
    border: 1px solid #D5C39B !important;
    border-radius: 10px !important;
    background: #F8F1E5 !important;
    color: #6F5716 !important;
    font-weight: 800 !important;
  }

  body.smouha-global-design #smouha-global-header .smgh-mobile-menu a[href*="/en/"]::before,
  body.smouha-global-design #smouha-global-header .smgh-mobile-menu a[href$="/en"]::before {
    content: "◎" !important;
    color: #8D742F !important;
    font-size: 17px !important;
    line-height: 1 !important;
  }
}


/* 2026-10-21 language icon: only on actual language switch links */
body.smouha-global-design #smouha-global-header .smgh-menu > li > a::before,
body.smouha-global-design #smouha-global-header .smgh-mobile-menu a::before {
  content: none !important;
  display: none !important;
  background-image: none !important;
}

body.smouha-global-design #smouha-global-header .smgh-menu > li > a.smgh-language-switch {
  min-height: 46px !important;
  padding: 0 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: 1px solid #D5C39B !important;
  border-radius: 11px !important;
  background: #FFFCF7 !important;
  color: #6F5716 !important;
  box-shadow: 0 3px 10px rgba(196,163,75,.08) !important;
}

body.smouha-global-design #smouha-global-header .smgh-menu > li > a.smgh-language-switch::before {
  content: "" !important;
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  display: inline-block !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238D742F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E") !important;
}

body.smouha-global-design #smouha-global-header .smgh-menu > li > a.smgh-language-switch:hover {
  border-color: #B9922D !important;
  background: #F4EBDD !important;
  color: #6C5415 !important;
}

@media (max-width: 991px) {
  body.smouha-global-design #smouha-global-header .smgh-mobile-menu a.smgh-language-switch {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 48px !important;
    margin-top: 8px !important;
    border: 1px solid #D5C39B !important;
    border-radius: 10px !important;
    background: #F8F1E5 !important;
    color: #6F5716 !important;
    font-weight: 800 !important;
  }

  body.smouha-global-design #smouha-global-header .smgh-mobile-menu a.smgh-language-switch::before {
    content: "" !important;
    width: 17px !important;
    height: 17px !important;
    display: inline-block !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238D742F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E") !important;
  }
}
