/*
Theme Name:   MishiLand Child v17 – Smart Sales Assistant
Theme URI:    https://mishiland.ir
Description:  نسخه ارتقایافته صفحه محصول و دستیار فروش قانون‌محور متصل به اطلاعات زنده ووکامرس، با انتقال سؤال‌های پیچیده به واتساپ فروشنده.
Author:       MishiLand
Template:     woodmart
Version:      18.1.1
Text Domain:  mishiland-child-v17
*/

/* v17.1.12 — لوگوی کامل و غیرقابل‌کلیک میشی‌لند در تمام هدرهای WoodMart. */
.whb-header a.wd-logo,
.whb-header a.woodmart-logo,
.whb-header .site-logo > a {
  cursor: default !important;
  pointer-events: none !important;
}

.whb-header .wd-logo img,
.whb-header .woodmart-logo img,
.whb-header .site-logo img {
  display: block !important;
  content: url("assets/images/mishiland-mobile-wordmark.svg") !important;
  width: 220px !important;
  height: 50px !important;
  max-width: 100% !important;
  max-height: 50px !important;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.whb-header a.wd-logo::after,
.whb-header a.woodmart-logo::after,
.whb-header .site-logo > a::after {
  content: none !important;
}

@media (max-width: 767px) {
  /* WoodMart mobile header 534530: warm premium app-style layout. */
  .whb-header .whb-general-header,
  .whb-header .whb-general-header-inner {
    height: 56px !important;
    min-height: 56px !important;
  }

  .whb-header .whb-general-header {
    background:
      radial-gradient(circle at 50% -28px, rgba(207, 163, 90, 0.18), transparent 68%),
      linear-gradient(180deg, #fffdf9 0%, #fbf7ef 100%) !important;
    border-bottom: 1px solid rgba(167, 112, 48, 0.18) !important;
    box-shadow: 0 5px 18px rgba(50, 38, 24, 0.08) !important;
  }

  .whb-header .whb-general-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
  }

  .whb-header .whb-mobile-left {
    position: absolute;
    z-index: 2;
    inset-inline-start: 0;
    top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .whb-header .whb-mobile-center {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    min-width: 0;
    overflow: visible;
  }

  .whb-header .whb-mobile-right {
    display: none !important;
  }

  .whb-header .whb-mobile-center > .whb-space-element {
    display: none !important;
  }

  .whb-header .whb-mobile-center a.wd-logo::after,
  .whb-header .whb-mobile-center a.woodmart-logo::after,
  .whb-header .whb-mobile-center .site-logo > a::after {
    content: none;
  }

  .whb-header .whb-mobile-center .wd-logo,
  .whb-header .whb-mobile-center .woodmart-logo,
  .whb-header .whb-mobile-center .site-logo,
  .whb-header .whb-mobile-center .site-logo > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(188px, calc(100% - 108px));
    max-width: 188px;
    min-width: 0;
    height: 56px;
    margin: 0 auto;
  }

  .whb-header .whb-mobile-center .wd-logo img,
  .whb-header .whb-mobile-center .woodmart-logo img,
  .whb-header .whb-mobile-center .site-logo img {
    display: block !important;
    content: url("assets/images/mishiland-mobile-wordmark.svg") !important;
    width: 188px !important;
    height: 43px !important;
    max-width: 100% !important;
    max-height: 43px !important;
    object-fit: contain;
    object-position: center;
    filter: none;
  }

  .whb-header .whb-mobile-center .wd-header-search-mobile {
    position: absolute;
    z-index: 2;
    inset-inline-end: 0;
    top: 6px;
    width: 44px;
    height: 44px;
    margin: 0;
  }

  .whb-header .whb-mobile-center .wd-header-search-mobile > a,
  .whb-header .wd-header-mobile-nav > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 44px;
    min-inline-size: 44px;
    block-size: 44px;
    min-block-size: 44px;
    padding: 0;
    color: #29272a;
    background: rgba(255, 255, 255, 0.76);
    border-radius: 14px;
    box-shadow:
      inset 0 0 0 1px rgba(164, 112, 52, 0.16),
      0 3px 10px rgba(63, 45, 24, 0.06);
    -webkit-tap-highlight-color: transparent;
    transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
  }

  .whb-header .whb-mobile-center .wd-header-search-mobile > a:hover,
  .whb-header .whb-mobile-center .wd-header-search-mobile > a:focus-visible,
  .whb-header .wd-header-mobile-nav > a:hover,
  .whb-header .wd-header-mobile-nav > a:focus-visible {
    color: #a66f31;
    background: #fff;
    transform: translateY(-1px);
  }

  .whb-header .wd-header-mobile-nav .wd-tools-icon,
  .whb-header .wd-header-search-mobile .wd-tools-icon {
    color: currentColor;
  }

  .whb-header .whb-mobile-left > div {
    margin-inline: 0;
  }
}
