/* =========================================================
   FurnitureMEP — Woodmart Landing demo layout
   Matches https://woodmart.xtemos.com/landing/?opt=layout_landing
   ========================================================= */
:root {
  --fmep-navy: #011A72;
  --fmep-blue: #058DD4;
  --wdl-ink: #242424;
  --wdl-muted: #767676;
  --wdl-line: #e5e5e5;
  --wdl-bg: #f7f7f7;
}

.whb-top-bar .wd-dropdown,
.whb-top-bar .menu-item-language,
.wd-header-nav .wpml-ls-item,
body .whb-top-bar {
  display: none !important;
}

.wd-logo,
.wd-logo img,
.whb-header .wd-logo img,
.site-logo img,
img.custom-logo,
.fmep-footer-brand img {
  background: transparent !important;
  filter: none !important;
  box-shadow: none !important;
}

.wd-logo img,
.whb-header .wd-logo img,
img.custom-logo {
  max-height: 42px;
  width: auto;
  max-width: 210px;
}

body.fmep-home .wd-page-title,
body.fmep-home .page-title,
body.fmep-home .entry-header,
body.fmep-home #sidebar,
body.fmep-home .sidebar-container {
  display: none !important;
}

body.fmep-home .main-page-wrapper,
body.fmep-home .wd-page-content,
body.fmep-home .wd-content-area,
body.fmep-home .wd-content-layout {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.fmep-home .wd-content-layout.wd-grid-g {
  display: block !important;
}

.fmep-landing {
  background: #fff;
  color: var(--wdl-ink);
}

.wdl-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.wdl-hero {
  background: var(--wdl-bg) center/cover no-repeat;
  padding: 40px 0;
}

.wdl-hero__grid,
.wdl-split__grid,
.wdl-featured__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.wdl-brand {
  display: block;
  height: 22px;
  width: auto;
  margin-bottom: 28px;
  background: transparent;
}

.wdl-hero h1,
.wdl-split h2,
.wdl-featured h2 {
  margin: 0 0 18px;
  font-weight: 500;
  color: #333;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.wdl-hero h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.wdl-split h2,
.wdl-featured h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.wdl-hero p,
.wdl-split p,
.wdl-featured p {
  color: var(--wdl-muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 52ch;
}

.wdl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wdl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 0;
  transition: 0.2s ease;
}

.wdl-btn--solid {
  background: #242424;
  color: #fff !important;
}

.wdl-btn--solid:hover {
  background: #000;
}

.wdl-btn--ghost {
  background: transparent;
  color: #242424 !important;
  border: 2px solid #242424;
}

.wdl-btn--ghost:hover {
  background: #242424;
  color: #fff !important;
}

.wdl-hero__media img,
.wdl-split__media img,
.wdl-featured__media img {
  width: 100%;
  height: auto;
  display: block;
}

.wdl-split,
.wdl-featured {
  padding: 36px 0;
}

.wdl-split--reverse .wdl-split__grid {
  grid-template-columns: 1.15fr 1fr;
}

.wdl-specs {
  width: 100%;
  max-width: 460px;
  border-collapse: collapse;
  margin: 8px 0 24px;
}

.wdl-specs th,
.wdl-specs td {
  padding: 12px 0;
  border-bottom: 1px solid var(--wdl-line);
  font-size: 15px;
}

.wdl-specs th {
  text-align: left;
  font-weight: 700;
  color: #333;
}

.wdl-specs td {
  text-align: right;
  color: var(--wdl-muted);
}

.wdl-note {
  font-style: italic;
  color: var(--wdl-muted) !important;
}

.wdl-note a {
  color: #333 !important;
  font-weight: 700;
}

.wdl-features {
  padding: 24px 0 36px;
}

.wdl-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.wdl-features h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: #333;
}

.wdl-features p {
  margin: 0;
  color: var(--wdl-muted);
  font-size: 14px;
  line-height: 1.6;
}

.wdl-price {
  font-size: 1.6rem !important;
  font-weight: 500;
  color: #333 !important;
  margin-bottom: 22px !important;
}

.wdl-signup {
  background: var(--wdl-bg);
  text-align: center;
  padding: 44px 20px;
}

.wdl-signup h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #333;
}

.wdl-signup p {
  color: var(--wdl-muted);
  margin: 0 auto 28px;
  max-width: 52ch;
}

.wdl-privacy {
  margin-top: 18px !important;
  font-size: 13px !important;
}

.fmep-footer-brand img {
  max-width: 180px;
  height: auto;
  margin-bottom: 12px;
}

body.fmep-brand .wd-content-layout.wd-grid-g {
  --wd-col-lg: 12 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
}

body.single-fmep_service .wd-page-title,
body.post-type-archive-fmep_service .wd-page-title {
  display: none !important;
}

.woocommerce-coming-soon-store-only,
.wp-block-woocommerce-coming-soon {
  display: none !important;
}

@media (max-width: 1024px) {
  .wdl-hero__grid,
  .wdl-split__grid,
  .wdl-featured__grid,
  .wdl-split--reverse .wdl-split__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .wdl-features__grid {
    grid-template-columns: 1fr 1fr;
  }
  .wdl-hero,
  .wdl-split,
  .wdl-featured {
    padding: 28px 0;
  }
}

@media (max-width: 640px) {
  .wdl-features__grid {
    grid-template-columns: 1fr;
  }
}

/* Compact catalogue header. Keep header containers separate from full-width content. */
body.fmep-brand .whb-header {
  --wd-header-general-h: 68px;
  --wd-header-general-sticky-h: 64px;
  --wd-header-general-sm-h: 60px;
  --wd-header-h: 68px;
  --wd-header-sm-h: 60px;
}
body.fmep-brand .whb-header .whb-general-header > .container {
  width: calc(100% - 64px) !important;
  max-width: 1280px !important;
  padding-inline: 0 !important;
  margin-inline: auto !important;
}
body.fmep-brand .wd-header-cart,
body.fmep-brand .cart-widget-side,
body.fmep-brand .wd-sticky-btn,
body.fmep-brand .wd-toolbar-shop,
body.fmep-brand .wd-toolbar-cart { display: none !important; }
body.fmep-brand .wd-header-nav .wd-nav > li > a {
  font-size: 13px;
  white-space: nowrap;
}
body.fmep-brand .whb-general-header-inner { gap: 20px; }
body.fmep-brand .whb-col-left,
body.fmep-brand .whb-col-right { margin-inline: 0; }
@media (min-width: 1025px) {
  body.fmep-brand .whb-general-header .whb-col-center { order: -1; flex: 0 0 auto; }
  body.fmep-brand .whb-general-header .whb-col-left { flex: 1 1 auto; justify-content: center; }
  body.fmep-brand .whb-general-header .whb-col-right { flex: 0 0 auto; }
  body.fmep-brand .whb-header .wd-logo img { max-width: 180px !important; }
  body.fmep-brand .wd-header-nav .wd-nav { gap: 18px; }
  body.fmep-brand .wd-header-my-account .wd-tools-text { font-size: 11px; }
}
@media (min-width: 1025px) and (max-width: 1250px) {
  body.fmep-brand .whb-general-header-inner { gap: 12px; }
  body.fmep-brand .wd-header-nav .wd-nav { gap: 12px; }
  body.fmep-brand .whb-header .wd-logo img { max-width: 145px !important; }
  body.fmep-brand .wd-header-my-account { display: none; }
}
@media (max-width: 1024px) {
  body.fmep-brand .whb-header .whb-general-header > .container { width: calc(100% - 40px) !important; }
  body.fmep-brand .whb-general-header-inner { gap: 0; }
  .wdl-brand { margin-bottom: 18px; }
  .wdl-signup { padding: 32px 20px; }
}
.wdl-btn:focus-visible { outline: 3px solid var(--fmep-blue); outline-offset: 4px; }/* Keep portrait source images from creating excessively tall sections. */
.wdl-hero__media img { height: 480px; object-fit: cover; object-position: center 60%; }
.wdl-split__media img, .wdl-featured__media img { max-height: 420px; object-fit: contain; }
@media (max-width: 1024px) {
  .wdl-hero__media img { height: auto; max-height: 420px; object-fit: cover; }
}

/* Consultation and footer: contained widths and compact vertical rhythm. */
.wdl-signup {
  width: min(1080px, calc(100% - 48px));
  margin: 12px auto 32px;
  padding: 32px 24px;
  border: 1px solid #e8edf1;
  border-radius: 8px;
}
.wdl-signup .wdl-signup__inner { width: 100%; max-width: 780px; }
.wdl-signup h2 { font-size: clamp(23px, 2.2vw, 29px); text-transform: none; letter-spacing: -.02em; font-weight: 600; line-height: 1.3; }
.wdl-signup p { max-width: 65ch; margin-bottom: 20px; font-size: 15px; line-height: 1.65; }
.fmep-contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.fmep-contact-actions .wdl-btn { gap: 9px; min-height: 46px; text-transform: none; letter-spacing: 0; font-size: 14px; padding: 10px 18px; }
.fmep-contact-actions svg { flex-shrink: 0; }
.fmep-whatsapp { background: #167342; color: white !important; border: 2px solid #167342; }
.fmep-whatsapp:hover { background: #115a34; border-color: #115a34; }
.wdl-signup .wdl-privacy { margin: 16px auto 0 !important; font-size: 13px !important; }
.fmep-site-footer { background: white; border-top: 1px solid #e5e5e5; color: #626970; }
.fmep-footer-grid { width: min(1120px, calc(100% - 64px)); margin: auto; padding: 32px 0 26px; display: grid; grid-template-columns: 1.5fr 1fr 1.2fr .75fr 1.25fr; gap: 28px; }
.fmep-site-footer h2 { margin: 0 0 16px; font-size: 13px; line-height: 1.4; font-weight: 700; color: #242c36; text-transform: uppercase; }
.fmep-site-footer p, .fmep-site-footer a { font-size: 13px; line-height: 1.65; }
.fmep-site-footer a { color: #535e6b; text-decoration: none; }
.fmep-site-footer a:hover { color: var(--fmep-blue); text-decoration: underline; }
.fmep-footer-intro img { width: 180px; height: auto; margin-bottom: 16px; }
.fmep-footer-intro p { margin: 0 0 12px; }
.fmep-site-footer ul { list-style: none; margin: 0; padding: 0; }
.fmep-site-footer li { margin: 0 0 8px; }
.fmep-footer-contact p { margin: 0 0 12px; }
.fmep-footer-contact > a { display: block; margin-bottom: 8px; overflow-wrap: anywhere; }
.fmep-footer-copyright { width: min(1120px, calc(100% - 64px)); margin: auto; border-top: 1px solid #e5e5e5; padding: 16px 0; text-align: center; font-size: 12px; }
@media (max-width: 1024px) {
  .fmep-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 640px) {
  .wdl-signup { width: calc(100% - 32px); padding: 24px 16px; margin-bottom: 24px; }
  .fmep-contact-actions { flex-direction: column; }
  .fmep-contact-actions .wdl-btn { width: 100%; padding-inline: 10px; }
  .fmep-footer-grid { width: calc(100% - 40px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; padding-top: 24px; }
  .fmep-footer-intro, .fmep-footer-contact { grid-column: 1 / -1; }
  .fmep-footer-copyright { width: calc(100% - 40px); }
}

/* Two distinct service hubs, sharing the FurnitureMEP identity. */
.fmep-solutions-page { width: 100%; }
.fmep-solutions-wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.fmep-solutions-hero { padding: 44px 0; background: linear-gradient(120deg,#011a72,#057eba); color: white; }
.fmep-solutions-hero h1 { max-width: 23ch; color: white; font-size: clamp(28px,3.3vw,44px); line-height: 1.15; margin: 0 0 18px; }
.fmep-solutions-hero p { max-width: 68ch; font-size: 16px; line-height: 1.65; color: white; }
.fmep-solutions-hero .fmep-solutions-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; margin-bottom: 18px; }
.fmep-solutions-primary { background: white; color: #011a72 !important; }
.fmep-solutions-other { color: white !important; align-self: center; padding: 12px 0; }
.fmep-solutions-list { padding-block: 32px; }
.fmep-solutions-list h2 { font-size: 26px; margin-bottom: 24px; }
.fmep-solutions-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.fmep-solution-card { border: 1px solid #d7e4f2; border-radius: 8px; overflow: hidden; background: white; display: flex; flex-direction: column; text-decoration: none !important; transition: box-shadow .2s; }
.fmep-solution-card:hover { box-shadow: 0 6px 20px #011a721a; }
.fmep-solution-card:focus-visible { outline: 3px solid #058dd4; outline-offset: 3px; }
.fmep-solution-media { background: linear-gradient(135deg,#011a72,#058dd4); aspect-ratio: 2.4; overflow: hidden; }
.fmep-solution-media img { width: 100%; height: 100%; object-fit: cover; }
.fmep-solution-copy { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.fmep-solution-copy h3 { color: #011a72; font-size: 18px; line-height: 1.4; margin-bottom: 10px; }
.fmep-solution-copy p { font-size: 14px; line-height: 1.6; color: #5b6b86; margin-bottom: 16px; }
.fmep-solution-copy span { color: #011a72; font-size: 13px; font-weight: 600; margin-top: auto; }
.fmep-solutions-note { border-top: 1px solid #d7e4f2; padding: 20px 0; }
body.fmep-brand .fmep-footer-grid { grid-template-columns: 1.4fr repeat(4,1fr) 1.3fr; gap: 22px; }
@media(min-width:1025px) {
  body.fmep-brand .wd-header-my-account { display: none; }
  body.fmep-brand .wd-header-nav .wd-nav { gap: 14px; }
  body.fmep-brand .wd-header-nav .wd-dropdown-menu { max-height: calc(100vh - 100px); overflow-y: auto; }
}
@media(max-width:1100px) {
  body.fmep-brand .fmep-footer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width:700px) {
  .fmep-solutions-grid { grid-template-columns: 1fr; }
  .fmep-solutions-wrap { width: calc(100% - 40px); }
  .fmep-solutions-hero { padding: 32px 0; }
  body.fmep-brand .fmep-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
body.page-template-solutions .page-title { display: none !important; }
body.page-template-solutions .main-page-wrapper { padding-top: 0; }
.fmep-solutions-hero h1 { font-weight: 650; }

/* Specific service names instead of repeated Office Solutions thumbnails. */
.fmep-service-label { position: relative; display: flex; align-items: center; justify-content: center; padding: 22px; text-align: center; }
.fmep-service-label::before { content: ''; position: absolute; width: 140px; height: 140px; border-radius: 50%; background: #ffffff12; right: -25px; top: -65px; }
.fmep-service-label span { position: relative; color: white; font-size: clamp(19px,1.7vw,24px); font-weight: 600; line-height: 1.3; }

.fmep-solution-detail { display: flex; flex-direction: column; flex: 1; text-decoration: none !important; }
.fmep-solution-contacts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.fmep-solution-card > .fmep-solution-contacts { padding: 0 20px 18px; margin: 0; }
.fmep-solution-contacts a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 12px; border-radius: 4px; font-size: 13px; font-weight: 600; line-height: 1.3; text-decoration: none !important; }
.fmep-solution-contacts svg { width: 16px; height: 16px; flex-shrink: 0; }
.fmep-contact-whatsapp { background: #167342; border: 1px solid #167342; color: white !important; }
.fmep-contact-email { background: white; border: 1px solid #011a72; color: #011a72 !important; }
.fmep-contact-whatsapp:hover { background: #115a34; }
.fmep-contact-email:hover { background: #edf5fc; }
.fmep-solution-contacts a:focus-visible { outline: 3px solid #058dd4; outline-offset: 3px; }

/* Readable navigation: preserve label case and use two baby-blue shades. */
body.fmep-brand :is(.wd-header-nav, .mobile-nav) .woodmart-nav-link,
body.fmep-brand :is(.wd-header-nav, .mobile-nav) .nav-link-text {
  text-transform: none !important;
}
body.fmep-brand .wd-header-nav .wd-dropdown-menu {
  background: #eaf6ff;
  border: 1px solid #b8dcef;
}
body.fmep-brand .wd-header-nav .wd-dropdown-menu .wd-sub-menu,
body.fmep-brand .mobile-nav .sub-menu {
  background: #eaf6ff;
}
body.fmep-brand .wd-header-nav .wd-dropdown-menu li > a,
body.fmep-brand .mobile-nav .sub-menu li > a {
  color: #163d59 !important;
  font-weight: 500;
  line-height: 1.5;
  padding: 10px 16px;
  text-transform: none !important;
}
body.fmep-brand .wd-header-nav .wd-dropdown-menu li:nth-child(even),
body.fmep-brand .mobile-nav .sub-menu li:nth-child(even) {
  background: #d4edfc;
}
body.fmep-brand .wd-header-nav .wd-dropdown-menu li > a:hover,
body.fmep-brand .wd-header-nav .wd-dropdown-menu li > a:focus-visible,
body.fmep-brand .mobile-nav .sub-menu li > a:hover,
body.fmep-brand .mobile-nav .sub-menu li > a:focus-visible {
  background: #b9dff5;
  color: #082c48 !important;
  text-decoration: underline;
}
body.fmep-brand .wd-header-nav .wd-dropdown-menu li > a:focus-visible,
body.fmep-brand .mobile-nav .sub-menu li > a:focus-visible {
  outline: 2px solid #163d59;
  outline-offset: -2px;
}
/* Keep dropdowns connected to their triggers; scrolling must not clip a hover bridge. */
@media (min-width: 1025px) {
  body.fmep-brand .wd-header-nav .menu-item > .wd-dropdown-menu {
    margin-top: 0 !important;
    transform: none !important;
  }
  body.fmep-brand .wd-header-nav .menu-item:is(:hover, :focus-within) > .wd-dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}
/* The main header handles category browsing; retain the banner image and title. */
body.fmep-brand .page-title .wd-nav-product-cat,
body.fmep-brand .page-title .wd-btn-show-cat {
  display: none !important;
}
/* Hide public uploader/author bylines; retain authorship in WordPress. */
body.fmep-brand .wd-post-author,
body.fmep-brand .wd-meta-author { display: none !important; }

/* Full original logo remains readable in the footer on every public page. */
.fmep-footer-intro .fmep-footer-brand-logo{display:block;width:190px;max-width:100%;height:auto;margin:0 0 16px}