/* Start the header section styling */
/* padding left & right to header in desktop */
@media (min-width: 1150px) {
  hdt-sticky-header.hdt-main-header.hdt-header-logo_left.hdt-header-fullwidth-true {
    padding-left: 65px !important;
    padding-right: 65px !important;
  }
}


/* mobile menu styling */
.hdt-mb-sub-menu.hdt-menu-list.hdt-mb-sub-menu-lever-1 {
  background-color: #00000026 !important;
}

hdt-tab.hdt-mobile_header {
  background-color: rgb(var(--color-foreground2) / .1);

  button.hdt-mobile-title {
    font-size: var(--text-lg) !important;
  }

}

#sub-hdt-nav-mb {
  #hdt-nav-ul-mb {
    .hdt-menu-link {
      border: 1px solid #FFFFFF08 !important;
    }
  }
}

.hdt-mobile-other-content .hdt-site-nav_item a.hdt-inline-flex,
.hdt-mobile_bottom .hdt-mb-language_currencies .hdt-languages {
  border: 1px solid #FFFFFF08 !important;
}

/* End the header section styling */


/* footer column styling */
footer {
  .hdt-section-inner:has(#main_footer_logo) {

    /* desktop - 1250px */
    @media (min-width: 1151px) and (max-width: 1250px) {
      padding: 50px 25px;
    }

    /* tablet 1150px - 768px */
    @media (min-width: 768px) and (max-width: 1150px) {

      p,
      a,
      span:not(.hdt-footer-heading-text) {
        font-size: var(--text-xs) !important;
      }

      span.hdt-footer-heading-text {
        font-size: var(--text-sm);
      }
    }

    /* mobile 767px  */
    @media (max-width: 767px) {

      .hdt-image-wrap,
      #main_footer_contact .hdt-footer-heading .hdt-footer-heading-text {
        margin-inline: auto !important;
      }

      #main_footer_copyright .hdt-group-content {
        text-align: center;

        span,
        p {
          font-size: var(--text-sm) !important;
        }
      }
    }

    /* mobile & tablet */
    @media (max-width: 1150px) {
      .hdt-socials__size-medium {
        --width-icon: 1.3rem;
        --height-icon: 2rem;
        --width: 3.5rem;
        --height: 3.5rem;

        li a {
          border-width: .2rem !important;
        }
      }
    }

    #main_footer_logo .hdt-section-spacing {
      @media (min-width: 1151px) and (max-width: 1250px) {
        padding-right: 60px !important;
      }
    }

  }
}

/* End the footer column styling */

/* Start the product card 13 styling */
.shopify-section .hdt-section-spacing:has(.custom-card-style13-product) {
  background-color: #C6A4904D !important;
}

.hdt-container:has(.custom-card-style13-product),
.hdt-container:has(.custom-card-style11) {
  @media (max-width: 1150px) {
    padding-inline: 0;

    /* .hdt-slider__viewport {
      padding-inline-end: 35px;
    } */

    .hdt-slider__container .hdt-card-product:first-child {
      margin-inline-start: 8px;
    }

    hdt-card-product.custom-card-style13-product.hdt-slider__slide,
    hdt-card-product.custom-card-style11 {
      flex: 0 0 calc(var(--slide-size) - 4%) !important;
    }
  }

  @media (max-width: 767px) {
    hdt-card-product.custom-card-style13-product.hdt-slider__slide {
      /* flex: 0 0 calc(var(--slide-size) - 2%) !important; */
    }
  }
}


.custom-card-style13-product,
.custom-card-style11 {
  hdt-product-card-media .hdt-card-product__media-wrapp img {
    object-position: bottom !important;
  }

  .custom-card-style13-info,
  .hdt-card-product__info {
    background-color: #ffffff;
    margin-top: -30px;
    z-index: 9;
    padding: 13px 12px 18px 12px !important;
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;

    @media (max-width: 1150px) {
      padding: 14px !important;

      .hdt-compare-at-price .money,
      .hdt-price .money {
        font-size: var(--text-xs) !important;
      }
    }

    @media (max-width: 767px) {
      padding: 7px 7px 10px 7px !important;

      .hdt-compare-at-price .money,
      .hdt-price .money {
        font-size: var(--text-sm) !important;
      }
    }

    .star-rating {
      justify-self: start;
    }

    .hdt-card-product__title {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 1;
      overflow: hidden;
      min-height: 30px;

      justify-self: flex-start;
      text-align: start;

      @media (max-width: 767px) {
        min-height: 24px;
        font-size: var(--text-sm);
      }
    }

    .hdt-price-wrapp {
      justify-self: start;
    }


    .jdgm-widget {
      min-height: 22px;
    }

    .hdt-product-btns {
      width: 100%;

      wrapp-hdt-pr-frm {
        width: 100%;

        .hdt-product-form {
          width: 100%;

          .hdt-ultra_btn_parent {
            width: 100%;

            .hdt-card-product__btn-ultra {
              width: 100%;

              @media (max-width: 767px) {
                height: 33px;
              }

              &:hover {
                background-color: #C6A490;

                .hdt-truncate {
                  color: #1A2A3A;
                }
              }

              .hdt-truncate {
                color: #C6A490;
                font-weight: 600;

                @media (max-width: 767px) {
                  font-size: var(--text-sm);
                  /* color: #1A2A3A; */
                }
              }

              .hdt-pr-card-icon {
                @media (max-width: 1150px) {
                  display: none;
                }
              }

              @media (max-width:1150px) {
                .hdt-truncate {
                  transform: translateY(0) !important;
                  opacity: 1 !important;
                }

              }
            }
          }

        }
      }
    }

  }

  .hdt-price-wrapp .hdt-price__list {
    @media (max-width:767px) {
      font-size: var(--text-sm);
    }
  }
}

/* .hdt-container:has(.custom-card-style13-product){
position: relative;
}*/
.hdt-pagination-wrapper.custom-selector-13 {
  margin-top: 0 !important;
  margin-bottom: 48px;

  @media (max-width: 1150px) {
    margin-bottom: 38px;
  }

  @media (max-width: 767px) {
    margin-bottom: 16px;
  }

  a {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    color: #1A2A3A;
    font-weight: 500;
    font-size: 16px;

    @media (max-width: 767px) {
      font-size: 14px;
    }
  }

}

/* End the product card 13 styling */


/* cart drawer styling  */
.hdt-btn-tool-note__wrap hdt-tooltip .hdt-mini-cart__tool_btn {
  display: block;
  width: fit-content;
  padding: 12px 24px;
  line-height: 0;
}

.hdt-mini-cart-tool__primary {
  background-color: #a68d7f;
}



/* custom shipping section 1 */
/* 3. Shipping section */
.hdt-container:has(.custom-shipping-item) .hdt-text-base,
.hdt-container:has(.custom-shipping-item) .hdt-heading-block {
  @media (max-width: 1149px) {
    text-wrap: balance;
  }
}

.custom-shipping-selector {
  @media (max-width:1150px) {
    hdt-scrollsnap .hdt-row-grid.hdt-row-grid--modify {
      --col-width: calc(100% / var(--cols) - var(--spacing-x) * ((var(--cols) - 2) / var(--cols)));
    }
  }

  .hdt-row-grid {
    gap: 0px;

    .hdt-ship-item-wrap img {
      width: 48px;

      @media (max-width: 1150px) {
        width: 38px;
      }
    }

    @media (min-width: 768px) {

      /* Arabic RTL - original */
      .custom-shipping-item:last-child {
        .hdt-ship-item-wrap {
          border-top-left-radius: 12px;
          border-bottom-left-radius: 12px;
        }
      }

      .custom-shipping-item:first-child {
        .hdt-ship-item-wrap {
          border-top-right-radius: 12px;
          border-bottom-right-radius: 12px;
        }
      }
    }

    @media (max-width: 767px) {

      /* Arabic RTL - original */
      .custom-shipping-item:first-child .hdt-ship-item-wrap {
        border-top-right-radius: 12px !important;
      }

      .custom-shipping-item:nth-of-type(2) .hdt-ship-item-wrap {
        border-top-left-radius: 12px !important;
      }

      .custom-shipping-item:nth-of-type(3) .hdt-ship-item-wrap {
        border-bottom-right-radius: 12px !important;
      }

      .custom-shipping-item:last-child .hdt-ship-item-wrap {
        border-bottom-left-radius: 12px !important;
      }
    }

    .hdt-ship-item-wrap {
      border: none;
      background-color: #1a2a3a;
      padding-top: 23px;
      padding-bottom: 23px;

      @media (max-width: 1149px) {
        padding-top: 15px;
        padding-bottom: 12px;
      }

      @media (max-width: 767px) {
        height: 100%;
      }

      &:not(:last-child) {
        border-inline-end: 1px solid #EEE4DE80;
        border-bottom: 1px solid #EEE4DE80;
      }

      &:last-child {
        border-inline-start: 1px solid #EEE4DE80;
        border-bottom: 1px solid #EEE4DE80;
      }

      .hdt-ship-icon {
        background-color: #EEE4DE;
      }

      .hdt-ship-content p {
        color: #EEE4DE;
      }
    }

    .hdt-shipping .hdt-ship-icon {
      @media (max-width: 1149px) {
        height: 70px;
        width: 70px;
      }
    }
  }
}

hdt-predictive-search.hdt-drawer hdt-drawer .hdt-dialog-drawer__header .hdt-text-lg {
  color: #c7a591;
}



/*  Search page*/
.search {
  .custom-card-style11 {
    .hdt-price__list {
      justify-content: flex-end !important;
    }

    .hdt-card-product__btn-ultra .hdt-truncate {
      display: block;
    }

    .hdt-pr-btns-group1 {
      opacity: unset !important;
      transform: none !important;

      .hdt-card-product__btn-ultra {
        justify-content: center !important;
        background: #1A2A3A !important;

        span {
          color: #C6A490 !important;
        }

        &:hover {
          background: #C6A490 !important;

          span {
            color: #1A2A3A !important;
          }
        }
      }
    }
  }

  .hdt-container:has(.custom-card-style13-product),
  .hdt-container:has(.custom-card-style11) {
    padding-inline: 1.5rem;
  }

  .hdt-popover.hdt-popover-sort-list .hdt-popover__header {
    background: rgb(26, 43, 59);

    @media (max-width: 1150px) {
      margin-bottom: 0;

    }
  }

  .hdt-filter-group__list .hdt-filter-group__list-item .hdt-facets-checkbox,
  .hdt-filter .hdt-filter-group__list-item :checked+label .hdt-facets-checkbox {
    background: #C6A490;
    border-color: #C6A490;
    border-radius: 3px;
  }

  .hdt-filter :checked+label .hdt-facets-checkbox svg {
    transform: scale(1) !important;
  }

  .hdt-shop-control {
    margin-top: 0;
    padding-top: 26px;
    margin-bottom: 32px;

    @media (max-width: 1150px) {
      padding-top: 16px;
      margin-bottom: 16px;
    }
  }

  hdt-drawer {
    .hdt-widget .hdt-widget-title:after {
      right: 0
    }

    .hdt-dialog-drawer__header {
      background: #1A2A3A;
      color: #fff;

      .hdt-sidebar-title.hdt-filter-title {
        color: #C6A490;
      }

      .hdt-s-text.hdt-dialog-btn__close {
        background: #C6A490;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        margin-inline-end: 20px;

      }
    }

  }

  button.hdt-sidebar-btn.hdt-fixed {
    display: none;
  }

  .hdt-popover.hdt-popover-sort-list.hdt-dropdown {
    background-color: #fff;
  }

  .hdt-col.hdt-control-sorting hdt-popover-sorting>button {
    background: #F4F0EA;
    border: 1.5px solid #C6A49080;
    color: #1A2A3A;

  }

  hdt-popover dialog {
    padding-block: 0 !important;
    z-index: 9999;

    .hdt-popover__body hdt-richlist button {
      background: #FFFFFF;
      color: #1A2A3A;
      padding-block: 11px;

      &:not(:last-child) {
        border-bottom: 1px solid #C6A49080;
      }

    }
  }

  .hdt-shop-control .hdt-filter_btn {
    color: #1A2A3A !important;
  }

  .hdt-popover.hdt-popover-sort-list .hdt-popover__header {
    background: rgb(26, 43, 59);

    @media (max-width: 1150px) {
      margin-bottom: 0;

    }
  }

  .hdt-filter-group__list .hdt-filter-group__list-item .hdt-facets-checkbox,
  .hdt-filter .hdt-filter-group__list-item :checked+label .hdt-facets-checkbox {
    background: #C6A490;
    border-color: #C6A490;
    border-radius: 3px;
  }

  .hdt-filter :checked+label .hdt-facets-checkbox svg {
    transform: scale(1) !important;
  }

  button.hdt-s-text.hdt-dialog-btn__close svg.hdt-icon.hdt-icon-close {
    color: #000;
  }

  .hdt-card-product__wrapper .hdt-product-btns.hdt-pr-btns-group2 {
    --min-bottom-plus: 0 !important;
  }

  .hdt-card-product__widget .hdt-badge__wrapp {
    right: 5px !important;
    left: auto !important;
    align-items: flex-start !important;
    margin-inline-start: 10px;
  }

  .hdt-filter-group__input-price>div {
    border: 1px solid #C6A49080 !important;
  }

  .hdt-categories-list .hdt-cate-item a {
    color: #1A2A3A;
    font-weight: 500;

  }
}

[dir=ltr] .search {
  .hdt-card-product__widget .hdt-badge__wrapp {
    right: auto !important;
    left: 5px !important;
    align-items: flex-start !important;
    margin-inline-start: 10px;
  }
}

/* =====================================================
   Mobile full-width search bar below header
   ===================================================== */
.hdt-mobile-search-bar {
  padding: 10px;
  position: relative;
  background-color: #1a2b3b;
  z-index: 3;
}

.hdt-mobile-search-bar .hdt-search_form .hdt-search_inner {
  border: 1.5px solid #C6A49080;
  border-radius: 50px;
  padding: 0;
  background-color: #F4F0EA;
  transition: border-color 0.3s ease;
}

.hdt-mobile-search-bar .hdt-search_form .hdt-search_inner:focus-within {
  border-color: #C6A490;
}

.hdt-mobile-search-bar .hdt-search_form .hdt-search_input {
  width: 100%;
  padding-inline-start: 18px;
  padding-inline-end: 10px;
  height: 42px;
  background-color: transparent;
  border: none;
  font-size: var(--text-base);
  color: #1A2A3A;
}

.hdt-mobile-search-bar .hdt-search_form .hdt-search_input::placeholder {
  color: #1A2A3A99;
}

.hdt-mobile-search-bar .hdt-search_form .hdt-search_input:focus,
.hdt-mobile-search-bar .hdt-search_form .hdt-search_input:hover {
  border: none;
  outline: none;
}

.hdt-mobile-search-bar .hdt-search_form .hdt-search_input:focus::placeholder {
  color: transparent;
}

.hdt-mobile-search-bar .hdt-search_form .hdt-search_submit {
  padding: 0;
  width: 40px;
  height: 40px;
  background-color: transparent;
  color: #1A2A3A;
  flex: 0 0 auto;
  border: none;
  cursor: pointer;
}

.hdt-mobile-search-bar .hdt-search_form .hdt-search_submit svg {
  width: 18px;
  height: 18px;
}

.hdt-mobile-search-bar .hdt_predictive-search .hdt-cart-show-has-results {
  z-index: 100;
  background-color: rgb(var(--color-background));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 60vh;
  overflow-y: auto;
  border-radius: 12px;
  margin-top: 5px;
}

.hdt-mobile-search-bar .hdt-search-suggests-results {
  width: 100%;
  border-radius: 12px;
}

@media (min-width: 768px) and (max-width: 1149px) {
  .hdt-mobile-search-bar {
    padding: 0 15px 12px 15px;
  }

  .hdt-mobile-search-bar .hdt-search_form .hdt-search_input {
    height: 44px;
  }

  .hdt-mobile-search-bar .hdt-search_form .hdt-search_submit {
    width: 44px;
    height: 44px;
  }
}

/* =====================================================
   desktop full-width search bar full width header
   ===================================================== */
hdt-sticky-header.hdt-menu-default.hdt-header-sticky-always.is-sticky:has(.hdt-header-search_form_short) {
  .hdt-header-col {
    max-width: max-content;
  }

  .hdt-search_short_form {
    flex: 1;
  }

  @media (max-width: 1149px) {
    .hdt-site-top_nav .hdt-site-nav_icon.hdt-site-nav_search {
      display: none;
    }
  }

  .hdt-site-nav_icon.hdt-site-nav_search {
    .hdt-search_form .hdt-search_input {
      color: #fff;
    }
  }
}

header {
  .hdt-menu-link-text:has(.menu_sale_badge_des) {
    position: relative
  }

  .hdt-menu-link-text:has(.menu_sale_badge_mob) .hdt-block {
    display: flex !important;
  }

  .menu_sale_badge_des {
    color: white;
    position: absolute;
    top: -95%;
    background: #d74838;
    padding: 1px 6px;
    border-radius: 6px;
    font-size: 12px;
    left: -15%;
  }

  .menu_sale_badge_mob {
    background-color: #d74838;
    padding: 0px 4px;
    border-radius: 25%;
    margin-inline-start: 12px;
  }
}

/* Custom testimonial 9 style */
@media (min-width: 1250px) {
  .hdt-section-spacing:has(.hdt-quotes-des-9) .hdt-slider .hdt-navigation.hdt-position-on_border:not(.hdt-visible-hover) {
    width: calc(var(--nav-width-visible-hv) + 2%);
    left: calc(calc(var(--nav-size) + 2%) / 2 * -1 * var(--value-logical-flip));
  }

  .dir--rtl :is(.hdt-slider .hdt-navigation.hdt-position-on_border) {
    right: calc(calc(var(--nav-size) + 2%) / 2 * -1) !important;
  }
}


.hdt-section-spacing:has(.hdt-quotes-des-9) {
  background-color: #C6A4904D;


  .hdt-subheading-block {
    text-wrap: balance;
  }

  .hdt-container {
    @media (max-width: 1149px) {
      padding-inline: 0px;
    }
  }

  /* .hdt-slider__slide{
    @media (max-width: 767px) {
      padding-inline-start: 8px;
    }
  } */
  .hdt-quotes-des-9 hdt-slider .hdt-slider__slide:first-child .testimonial-inner {
    @media (max-width: 1149px) {
      margin-inline-start: 8px;
    }
  }
}

.hdt-quotes-des-9 {
  @media (max-width: 1149px) {
    .hdt-navigation.hdt-position-on_border {
      display: none;
    }
  }

  hdt-slider {
    /* padding-inline: 20px; */

    @media (max-width: 767px) {
      padding-inline: 0px;
    }

    .hdt-slider__viewport {

      @media (min-width: 768px) and (max-width: 1149px) {
        /* padding-left: 20% !important; */
        --slide-size: 40% !important;
      }

      @media (max-width: 767px) {
        --slide-size: 75% !important;
      }
    }

    .testimonial-inner {
      padding: 20px 20px 15px 20px;
      border-radius: 10px;

      .hdt-quote-content {
        &>p {
          font-weight: 400;
          font-size: 13px;
          line-height: 24px;
        }

        .hdt-quote-author {
          font-weight: 600;
          font-size: 13px;
        }

        .hdt-quote-position {
          color: #777777;
          font-weight: 400;
          font-size: 12px;
        }
      }

      .hdt-rating-wapper {
        margin-bottom: 0px;

        svg {
          width: 12px;
          height: 12px;
          fill: #F5A623;
        }
      }
    }
  }
}


/* EN style */
[dir="ltr"] {
  .hdt-site-footer__about {
    text-align: left;
  }

  .hdt-footer-heading-text {
    text-align: left;
  }

  /* shipping custom section */
  .custom-shipping-selector {
    .hdt-row-grid {
      @media (min-width: 768px) {
        .custom-shipping-item:first-child {
          .hdt-ship-item-wrap {
            border-top-left-radius: 12px;
            border-bottom-left-radius: 12px;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
          }
        }

        .custom-shipping-item:last-child {
          .hdt-ship-item-wrap {
            border-top-right-radius: 12px;
            border-bottom-right-radius: 12px;
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
          }
        }
      }

      @media (max-width: 767px) {
        .custom-shipping-item:first-child .hdt-ship-item-wrap {
          border-top-left-radius: 12px !important;
          border-top-right-radius: 0 !important;
        }

        .custom-shipping-item:nth-of-type(2) .hdt-ship-item-wrap {
          border-top-right-radius: 12px !important;
          border-top-left-radius: 0 !important;
        }

        .custom-shipping-item:nth-of-type(3) .hdt-ship-item-wrap {
          border-bottom-left-radius: 12px !important;
          border-bottom-right-radius: 0 !important;
        }

        .custom-shipping-item:last-child .hdt-ship-item-wrap {
          border-bottom-right-radius: 12px !important;
          border-bottom-left-radius: 0 !important;
        }
      }
    }
  }
}