/* Dovomi header blue band + one-row footer */
.main-header-bar,
.ast-primary-header-bar,
.site-header,
.ast-header-break-point .main-header-bar,
.elementor-location-header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: none !important;
}

body.dovomi-shad-theme header::before,
body.dovomi-shad-theme .ehf-header header::before,
body.dovomi-shad-theme #masthead::before {
  content: "" !important;
  display: block !important;
  width: 100% !important;
  height: 10px !important;
  background: #5bb8e8 !important;
  background-image: linear-gradient(90deg, #5bb8e8 0%, #7ec8ef 50%, #5bb8e8 100%) !important;
  box-shadow: 0 2px 10px rgba(91, 184, 232, 0.35);
}

body.dovomi-shad-theme .elementor-95 .elementor-element-e471210 > .elementor-widget-wrap {
  border-top: 8px solid #5bb8e8 !important;
  box-shadow: 0 8px 24px rgba(91, 184, 232, 0.14) !important;
}

body.dovomi-shad-theme .ehf-footer,
body.dovomi-shad-theme .elementor-location-footer {
  overflow: visible !important;
  padding-bottom: 4.5rem !important;
}

body.dovomi-shad-theme .elementor-394 {
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  column-gap: 1.25rem !important;
  row-gap: 0.85rem !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  padding: 1.15rem clamp(1rem, 4vw, 2.5rem) 1rem !important;
  overflow: visible !important;
}

body.dovomi-shad-theme .elementor-394 > .elementor-element-1825d96,
body.dovomi-shad-theme .elementor-394 > .elementor-element-f842a32,
body.dovomi-shad-theme .elementor-394 > .elementor-element-1825d96 > .elementor-container,
body.dovomi-shad-theme .elementor-394 > .elementor-element-f842a32 > .elementor-container {
  display: contents !important;
}

body.dovomi-shad-theme .elementor-394 > .elementor-element-a191dcc {
  order: 4;
  flex: 0 0 100% !important;
  width: 100% !important;
}

body.dovomi-shad-theme .elementor-394 .elementor-element-d1a72e9,
body.dovomi-shad-theme .elementor-394 .elementor-element-bd80a35,
body.dovomi-shad-theme .elementor-394 .elementor-element-b1f3e1f,
body.dovomi-shad-theme .elementor-394 .elementor-element-56502ad {
  display: none !important;
}

body.dovomi-shad-theme .elementor-394 .elementor-element-7290410 {
  order: 1;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
}

body.dovomi-shad-theme .elementor-394 .elementor-element-e1684a4 {
  order: 2;
  flex: 0 0 auto !important;
  width: auto !important;
  display: block !important;
}

body.dovomi-shad-theme .elementor-394 .elementor-element-e1684a4 > .elementor-widget-wrap {
  display: block !important;
}

body.dovomi-shad-theme .elementor-394 .elementor-element-83d78f6 .elementor-social-icons-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0.4rem !important;
}

body.dovomi-shad-theme .elementor-394 .elementor-element-7290410 > .elementor-widget-wrap {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.55rem 1rem !important;
}

body.dovomi-shad-theme .elementor-394 .elementor-element-bbf2494 {
  width: auto !important;
  margin: 0 !important;
}

body.dovomi-shad-theme .elementor-394 .elementor-element-bbf2494 .elementor-heading-title {
  margin: 0 !important;
  white-space: nowrap;
  font-size: 1rem !important;
}

body.dovomi-shad-theme .elementor-394 .elementor-element-29b0ab7 .elementor-icon-list-items {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 0.3rem 0.85rem !important;
  margin: 0 !important;
}

body.dovomi-shad-theme .elementor-394 .elementor-element-29b0ab7 .elementor-icon-list-item {
  margin: 0 !important;
}

body.dovomi-shad-theme .elementor-394 .elementor-element-e74178f {
  order: 3;
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex: 0 0 auto !important;
  width: 140px !important;
  max-width: 140px !important;
  min-width: 125px !important;
  min-height: 140px !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 40 !important;
  overflow: visible !important;
  background: transparent !important;
}

body.dovomi-shad-theme .elementor-394 .elementor-element-e74178f > .elementor-widget-wrap {
  display: block !important;
  width: 125px !important;
  overflow: visible !important;
}

body.dovomi-shad-theme .elementor-394 .elementor-element-02678a1,
body.dovomi-shad-theme .elementor-394 .elementor-element-02678a1 .elementor-widget-container,
body.dovomi-shad-theme .elementor-394 .elementor-element-02678a1 a {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 125px !important;
  max-width: 125px !important;
  margin: 0 !important;
  overflow: visible !important;
  line-height: 0 !important;
}

body.dovomi-shad-theme .elementor-394 .elementor-element-02678a1 img,
body.dovomi-shad-theme .elementor-394 img.dovomi-enamad-img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 125px !important;
  max-width: 125px !important;
  height: auto !important;
  min-width: 125px !important;
  min-height: 125px !important;
  object-fit: contain !important;
  background: #ffffff !important;
  border-radius: 10px !important;
  padding: 6px !important;
  box-shadow: 0 4px 14px rgba(42, 51, 64, 0.14) !important;
}

/* ---------- جست‌وجوی هدر: دکمه حذف کوچک در انتهای فیلد ---------- */
body.dovomi-shad-theme .hfe-search-form__container,
body.dovomi-shad-theme .hfe-search-button-wrapper .hfe-search-form__container {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

body.dovomi-shad-theme .hfe-search-form__input {
  padding-inline-end: 2rem !important;
}

body.dovomi-shad-theme #clear-with-button,
body.dovomi-shad-theme button#clear-with-button,
body.dovomi-shad-theme .hfe-search-form__container #clear-with-button {
  position: absolute !important;
  top: 50% !important;
  inset-inline-start: auto !important;
  inset-inline-end: 3.15rem !important;
  transform: translateY(-50%) !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #7a8794 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 4 !important;
  opacity: 0.85 !important;
}

body.dovomi-shad-theme #clear-with-button:hover,
body.dovomi-shad-theme button#clear-with-button:hover {
  color: #2a3340 !important;
  background: rgba(42, 51, 64, 0.08) !important;
  opacity: 1 !important;
}

body.dovomi-shad-theme #clear-with-button i,
body.dovomi-shad-theme #clear-with-button .fa,
body.dovomi-shad-theme #clear-with-button .fas {
  font-size: 10px !important;
  line-height: 1 !important;
  width: auto !important;
  height: auto !important;
}

/* عنوان نتایج جست‌وجو روی پس‌زمینه تیره */
body.dovomi-shad-theme.search .ast-archive-description .page-title,
body.dovomi-shad-theme.search .woocommerce-products-header__title,
body.dovomi-shad-theme.search .page-title,
body.dovomi-shad-theme.search h1.woocommerce-products-header__title {
  color: #ffffff !important;
}

body.dovomi-shad-theme.search ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

body.dovomi-shad-theme.search ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

/* نوار جست‌وجوی موبایل — پیش‌فرض مخفی روی دسکتاپ */
body.dovomi-shad-theme .dovomi-mobile-search {
  display: none;
}

@media (max-width: 900px) {
  body.dovomi-shad-theme .elementor-394 {
    justify-content: center !important;
    flex-direction: column !important;
    align-items: center !important;
    row-gap: 1rem !important;
  }

  body.dovomi-shad-theme .elementor-394 .elementor-element-7290410,
  body.dovomi-shad-theme .elementor-394 .elementor-element-e1684a4,
  body.dovomi-shad-theme .elementor-394 .elementor-element-e74178f {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
  }

  body.dovomi-shad-theme .elementor-394 .elementor-element-7290410 > .elementor-widget-wrap {
    justify-content: center !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  body.dovomi-shad-theme .elementor-394 .elementor-element-e74178f {
    min-height: 0 !important;
  }
}
