/* Zoodcom header — compact top bar, olive menu, logo beside hamburger */

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10030;
  width: 100%;
  background: #f6ac4d;
  box-shadow: 0 4px 16px rgba(20, 40, 10, 0.14);
}

body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media screen and (max-width: 600px) {
  body.admin-bar .site-header {
    top: 0;
  }
}

.site-header .zoodcom-tel,
.site-header .phone a {
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-header .phone .textwidget p:before {
  content: none !important;
}

.site-header .zoodcom-tel::before {
  font-family: FontAwesome;
  content: "\f095";
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  line-height: 26px;
  width: 26px;
  height: 26px;
  text-align: center;
  background: #3f6b28;
  border-radius: 50%;
}

.back-header2 .row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.back-header2 .logo {
  order: 1;
  text-align: right;
}

.back-header2 .main-menu {
  order: 2;
  flex: 1 1 auto;
}

.back-header2 .logo img {
  height: 42px !important;
  width: auto !important;
  max-width: 118px !important;
  max-height: 42px !important;
  object-fit: contain !important;
}

#mega-menu-wrap-menu-1 .mega-menu-toggle,
#mega-menu-wrap-menu-1 .mega-menu-toggle + #mega-menu-menu-1 {
  background-color: #3f6b28 !important;
}

#mega-menu-wrap-menu-1 .mega-menu-toggle .mega-toggle-animated-inner,
#mega-menu-wrap-menu-1 .mega-menu-toggle .mega-toggle-animated-inner::before,
#mega-menu-wrap-menu-1 .mega-menu-toggle .mega-toggle-animated-inner::after {
  background-color: #fff !important;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
  color: #fff;
  font-weight: 700;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-current-menu-item > a.mega-menu-link,
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link:hover {
  color: #ffe08a;
}

@media (max-width: 768px) {
  .back-header1 {
    overflow-x: hidden;
  }

  .back-header1 .container,
  .back-header2 .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .back-header1 .container > .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    min-height: 46px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .back-header1 .phone,
  .back-header1 .login-user,
  .back-header1 .kharid {
    float: none !important;
    width: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .back-header1 .phone {
    display: block !important;
    order: 1;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 58%;
    padding: 6px 4px !important;
    text-align: right !important;
    overflow: hidden;
  }

  .back-header1 .phone p,
  .back-header1 .phone .textwidget p,
  .back-header1 .zoodcom-tel,
  .back-header1 .phone a {
    font-size: 13px !important;
    margin: 0 !important;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .back-header1 .login-user {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
    padding: 6px 4px !important;
    text-align: right !important;
    overflow: hidden;
  }

  .back-header1 .welcome {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .back-header1 .welcome > span {
    display: none;
  }

  .back-header1 .kharid {
    order: 3;
    flex: 0 0 auto;
    padding: 6px 8px !important;
  }

  .back-header2 {
    background: #3f6b28;
    position: relative;
  }

  .back-header2 .container > .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    min-height: 56px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .back-header2 .logo {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    float: none !important;
    width: auto !important;
    max-width: calc(100% - 56px);
    padding: 4px 8px !important;
    text-align: right !important;
    overflow: hidden;
  }

  .back-header2 .logo img {
    height: 36px !important;
    width: auto !important;
    max-width: 72px !important;
    display: inline-block;
    vertical-align: middle;
    flex: 0 0 auto;
  }

  .back-header2 .main-menu {
    order: 2;
    flex: 0 0 52px;
    float: none !important;
    width: 52px !important;
    max-width: 52px;
    padding: 0 4px !important;
    position: static !important;
    overflow: visible !important;
  }

  #mega-menu-wrap-menu-1.mega-menu-wrap {
    position: static !important;
    overflow: visible !important;
  }

  #mega-menu-wrap-menu-1 .mega-menu-toggle {
    width: 44px !important;
    min-width: 44px;
    height: 44px !important;
    border-radius: 10px !important;
    background-color: #355923 !important;
  }

  #mega-menu-wrap-menu-1 .mega-menu-toggle .mega-toggle-blocks-left,
  #mega-menu-wrap-menu-1 .mega-menu-toggle .mega-toggle-blocks-center,
  #mega-menu-wrap-menu-1 .mega-menu-toggle .mega-toggle-blocks-right {
    flex-basis: auto;
    flex: 0 0 auto;
  }

  #mega-menu-wrap-menu-1 .mega-menu-toggle + #mega-menu-menu-1,
  #mega-menu-wrap-menu-1 .mega-menu-toggle.mega-menu-open + #mega-menu-menu-1 {
    position: absolute !important;
    top: 100%;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    z-index: 10050;
    background-color: #3f6b28 !important;
    box-sizing: border-box;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item {
    width: 100% !important;
    display: block !important;
    float: none !important;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
    color: #fff !important;
    padding: 12px 18px;
    display: block !important;
    width: 100% !important;
    white-space: nowrap;
    box-sizing: border-box;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-current-menu-item > a.mega-menu-link,
  #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link:hover {
    background: #355923 !important;
    color: #fff !important;
  }

  .zoodcom-shipbar {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    box-sizing: border-box;
    white-space: normal;
    max-height: none;
    padding: 0;
    background: transparent;
    color: #ffe9a8;
    font-size: 10px;
    line-height: 1.35;
    text-align: right;
    gap: 1px;
  }
}

@media (max-width: 420px) {
  .back-header1 .welcome .exit {
    display: none;
  }
}

.zoodcom-best-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0 14px;
}

.zoodcom-seo-faq {
  max-width: 920px;
  margin: 28px auto 36px;
  padding: 0 16px;
}

.zoodcom-seo-faq h2 {
  text-align: center;
  color: #243318;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 14px;
}

.zoodcom-seo-faq details {
  background: #fff;
  border: 1px solid #e4eadc;
  border-radius: 10px;
  margin: 0 0 8px;
  padding: 10px 14px;
}

.zoodcom-seo-faq summary {
  cursor: pointer;
  font-weight: 800;
  color: #3f6b28;
}

.zoodcom-seo-faq p {
  margin: 8px 0 4px;
  color: #4a5c40;
  line-height: 1.7;
}

.woocommerce-pagination ul.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.woocommerce-pagination ul.page-numbers a,
.woocommerce-pagination ul.page-numbers span {
  display: inline-block;
  min-width: 42px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #d7e3cc;
  color: #243318;
  text-decoration: none;
  font-weight: 700;
}

.woocommerce-pagination ul.page-numbers span.current,
.woocommerce-pagination ul.page-numbers a:hover {
  background: #3f6b28;
  color: #fff !important;
  border-color: #3f6b28;
}

.back-header2 .logo {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
}

.zoodcom-shipbar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  background: transparent;
  color: #ffe9a8;
  text-align: right;
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  max-height: 58px;
}

.zoodcom-shipbar span {
  display: none !important;
}

.zoodcom-shipbar::before {
  content: "ارسال رایگان روزهای عادی برای خرید بالای ۳ میلیون";
  display: block;
}

.zoodcom-shipbar::after {
  content: "روزهای پنج‌شنبه و تعطیل برای خرید بالای ۲ میلیون";
  display: block;
}

@media (min-width: 769px) {
  .zoodcom-shipbar {
    white-space: nowrap;
  }
}

.zoodcom-wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 10040;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 14px 10px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(20, 90, 40, 0.35);
}

.zoodcom-wa .fa {
  font-size: 22px;
  line-height: 1;
}

.zoodcom-wa:hover {
  background: #1ebe5d;
  color: #fff !important;
}

@media (max-width: 480px) {
  .zoodcom-wa {
    font-size: 13px;
    padding: 9px 12px 9px 14px;
    bottom: 12px;
    right: 12px;
  }
}

.product.zoodcom-in-cart > a.add_to_cart_button,
.product.zoodcom-in-cart a.added_to_cart {
  display: none !important;
}

.zoodcom-loop-cart {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin: 8px 0 2px;
  width: 100%;
}

.zoodcom-loop-cart[hidden] {
  display: none !important;
}

.zoodcom-loop-qty {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfe0c0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.zoodcom-loop-minus,
.zoodcom-loop-plus {
  width: 44px;
  height: 42px;
  border: 0;
  background: #3f6b28;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.zoodcom-loop-minus:hover,
.zoodcom-loop-plus:hover {
  background: #355923;
}

.zoodcom-loop-input {
  flex: 1 1 auto;
  width: 64px;
  min-width: 48px;
  height: 42px;
  border: 0;
  margin: 0;
  text-align: center;
  font-weight: 800;
  font-size: 16px;
  color: #243318;
  -moz-appearance: textfield;
}

.zoodcom-loop-input::-webkit-outer-spin-button,
.zoodcom-loop-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.zoodcom-loop-remove {
  border: 1px solid #c45c3e;
  background: #fff8f5;
  color: #b5442c;
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 800;
  cursor: pointer;
}

.woocommerce ul.products li.product {
  position: relative;
}

.zoodcom-oos-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  background: #b5442c;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
}

.zoodcom-oos {
  display: inline-block;
  color: #b5442c;
  font-weight: 800;
  margin: 8px 0 0;
}

.zoodcom-unit {
  margin: 4px 0 8px;
  color: #5b6d4e;
  font-size: 13px;
  font-weight: 700;
}

.zoodcom-unit--single {
  font-size: 15px;
  margin: 8px 0 12px;
}

li.product.outofstock a.add_to_cart_button,
li.product.outofstock a.button.product_type_simple {
  display: none !important;
}

.woocommerce ul.products li.product .over,
.woocommerce ul.products li.product .over-product,
.woocommerce ul.products li.product .product-over,
.woocommerce ul.products li.product .hover-product,
.woocommerce ul.products li.product .more-details,
.woocommerce ul.products li.product .product-hover {
  display: none !important;
}

.woocommerce-Price-amount,
.woocommerce-Price-amount bdi,
span.amount,
p.price,
.price .amount {
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
}

img {
  max-width: 100%;
  height: auto;
}

.cryout-serious-slider,
.seriousslider {
  position: relative;
}

.cryout-serious-slider .seriousslider-hloader,
.cryout-serious-slider .seriousslider-cloader,
.seriousslider .seriousslider-hloader,
.seriousslider .seriousslider-cloader {
  display: none !important;
  pointer-events: none !important;
}

.cryout-serious-slider .seriousslider-inner > .item,
.seriousslider .seriousslider-inner > .item {
  display: none;
  position: relative;
  width: 100%;
}

.cryout-serious-slider .seriousslider-inner > .item.active,
.seriousslider .seriousslider-inner > .item.active {
  display: block;
  left: 0;
  transform: none;
}

.cryout-serious-slider img.item-image,
.seriousslider img.item-image {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.cryout-serious-slider .seriousslider-control,
.cryout-serious-slider.seriousslider-overlay0 .seriousslider-control,
.cryout-serious-slider.seriousslider-overlay1 .seriousslider-control {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 40;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(45, 90, 39, 0.88) !important;
  color: #fff;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  line-height: 44px;
}

.cryout-serious-slider .seriousslider-indicators,
.cryout-serious-slider.seriousslider-overlay0 .seriousslider-indicators,
.cryout-serious-slider.seriousslider-overlay1 .seriousslider-indicators {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 40;
}

.cryout-serious-slider .seriousslider-indicators li {
  pointer-events: auto !important;
  cursor: pointer;
}

.site-footer .footer2-2,
.site-footer #nav_menu-2,
.site-footer .menu-social-container,
.site-footer #menu-social {
  display: none !important;
}
