/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

a.btn.btn-default {
    background: #bedb5c;
    color: #000;
    border: none 1px;
}

body#manufacturer .card {
	border:none!important; 
}

.cbp-hrmenu-tab.cbp-has-submeu:hover .cbp-hrsub, .cbp-hrsub:hover{
    display: block;
    opacity: 1;
    visibility: visible;
}

@media (min-width: 992px) {
  #desktop-header #desktop-header-container > .row {
    align-items: center;
  }

  #desktop-header #desktop_logo {
    max-width: 220px;
  }

  #desktop-header #desktop_logo img.logo {
    display: block;
    width: auto !important;
    max-width: 220px !important;
    max-height: 64px !important;
    height: auto !important;
  }

  #desktop-header .col-header-left {
    flex: 0 0 220px !important;
    width: 220px !important;
    max-width: 220px !important;
    margin-right: 1.5rem !important;
    padding-right: 0.5rem !important;
  }

  #desktop-header .col-header-center {
    flex: 1 1 0% !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding-left: 0.75rem !important;
    padding-right: 1.25rem !important;
  }

  #desktop-header .col-header-right {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    margin-left: 0.5rem !important;
  }

  #desktop-header .col-header-center .header-custom-html {
    display: none !important;
  }

  #desktop-header .col-header-center .search-widget {
    width: 75% !important;
    max-width: 75% !important;
  }

  #desktop-header .search-widget .search-btn {
    left: 0;
    right: auto;
  }

  #desktop-header .search-widget .form-search-control {
    padding-left: 2.75rem;
    padding-right: 1rem;
    border-radius: 2rem;
  }

  #desktop-header .col-header-right .row {
    flex-wrap: nowrap !important;
    align-items: center;
  }

  #desktop-header .header-btn .title,
  #desktop-header .header-user-btn .title,
  #desktop-header a.header-cart-btn .title,
  #desktop-header .header-cart-btn .title,
  #desktop-header #header-user-btn .title,
  #desktop-header #ps-shoppingcart .title {
    display: none !important;
  }
}

/* =========================================================
   Mobile header — search full width below logo
   ========================================================= */

@media (max-width: 991.98px) {
  #mobile-header .mobile-main-bar .m-nav-btn > span {
    display: none;
  }

  #mobile-header .row-mobile-header {
    align-items: center;
    flex-wrap: nowrap !important;
  }

  #mobile-header .col-mobile-btn-menu {
    flex: 0 0 auto;
    margin-right: 0.65rem;
    padding-right: 0.25rem;
  }

  #mobile-header .col-mobile-logo {
    flex: 1 1 0%;
    min-width: 0;
    text-align: center;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }

  #mobile-header .col-mobile-logo .logo {
    display: inline-block;
    width: auto !important;
    max-width: 140px !important;
    max-height: 40px !important;
    height: auto !important;
  }

  #mobile-header .col-mobile-btn-account,
  #mobile-header .col-mobile-btn-cart {
    flex: 0 0 auto;
  }

  #mobile-header .col-mobile-btn-account .m-nav-btn,
  #mobile-header .col-mobile-btn-cart .m-nav-btn {
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }

  #mobile-header .col-mobile-btn-account .m-nav-btn > i,
  #mobile-header .col-mobile-btn-cart .m-nav-btn > i,
  #mobile-header .col-mobile-btn-cart .mobile-bag-icon {
    font-size: 1.85rem !important;
  }

  #mobile-header .mobile-search-row {
    width: 100%;
    background: #f2f2f2;
    padding: 0.55rem 0 0.7rem;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
  }

  #mobile-header .mobile-search-row .container {
    max-width: 100%;
  }

  #mobile-header #mobile-btn-search.col-mobile-btn-search-inline {
    position: relative;
    width: 100%;
    padding: 0;
  }

  #mobile-header #search-widget-mobile.search-widget-mobile-inline {
    position: static;
    display: block;
    width: 100%;
    float: none;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  #mobile-header .search-widget-mobile-inline .mobile-search-field {
    position: relative;
    display: block;
    width: 100%;
  }

  #mobile-header .search-widget-mobile-inline .form-search-control {
    width: 100%;
    height: 2.75rem;
    padding: 0.65rem 1rem 0.65rem 2.75rem;
    border: 1px solid #d0d0d0;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: none;
    font-size: 0.95rem;
  }

  #mobile-header .search-widget-mobile-inline .search-btn {
    position: absolute;
    left: 0;
    right: auto;
    top: 0;
    width: 2.75rem;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #222;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
  }

  #mobile-header .search-widget-mobile-inline .autocomplete-suggestions {
    width: 100%;
    left: 0;
    right: 0;
  }
}

/* =========================================================
   Mobile menu ONLY — fullscreen drill-down (below header)
   ========================================================= */

@media (max-width: 991.98px) {

  body.mm-mobile-open {
    overflow: hidden !important;
    touch-action: none;
  }

  body.mm-mobile-open #mobile-header-sticky.stuck,
  body.mm-mobile-open #mobile-header-sticky.stuck-down,
  body.mm-mobile-open #mobile-header-sticky.stuck-up {
    position: relative !important;
    top: auto !important;
  }

  body.mm-mobile-open .sticky-mobile-wrapper {
    height: auto !important;
    min-height: 0 !important;
  }

  /*
   * Fullscreen panel BELOW header (logo/search stay visible).
   * Site uses mm_type = dropdown — must beat theme scaleY + height:auto.
   */
  .col-mobile-menu-push #_mobile_iqitmegamenu-mobile,
  .col-mobile-menu-dropdown #_mobile_iqitmegamenu-mobile,
  #mobile-header-sticky.stuck .col-mobile-menu-dropdown #_mobile_iqitmegamenu-mobile,
  #mobile-header-sticky .col-mobile-menu-dropdown #_mobile_iqitmegamenu-mobile,
  body.mm-mobile-open #_mobile_iqitmegamenu-mobile {
    position: fixed !important;
    display: block !important;
    width: 100vw !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    top: var(--mm-header-offset, 110px) !important;
    bottom: 0 !important;
    height: calc(100vh - var(--mm-header-offset, 110px)) !important;
    height: calc(100dvh - var(--mm-header-offset, 110px)) !important;
    min-height: calc(100vh - var(--mm-header-offset, 110px)) !important;
    max-height: none !important;
    z-index: 5004 !important;
    background: #fff !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-transform-origin: top left !important;
    transform-origin: top left !important;
  }

  /* Closed state (off-canvas) */
  .col-mobile-menu-push:not(.show) #_mobile_iqitmegamenu-mobile,
  .col-mobile-menu-dropdown:not(.show) #_mobile_iqitmegamenu-mobile {
    -webkit-transform: translate3d(-105%, 0, 0) !important;
    transform: translate3d(-105%, 0, 0) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Open: kill theme scaleY(0)/scale(1) completely */
  .col-mobile-menu-push.show #_mobile_iqitmegamenu-mobile,
  .col-mobile-menu-dropdown.show #_mobile_iqitmegamenu-mobile,
  body.mm-mobile-open #_mobile_iqitmegamenu-mobile {
    -webkit-transform: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Solid veil behind menu so home never peeks */
  .col-mobile-menu-push.show #mobile_menu_click_overlay,
  .col-mobile-menu-dropdown.show #mobile_menu_click_overlay,
  body.mm-mobile-open #mobile_menu_click_overlay {
    position: fixed !important;
    top: var(--mm-header-offset, 110px) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: calc(100vh - var(--mm-header-offset, 110px)) !important;
    background: #fff !important;
    z-index: 5003 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #iqitmegamenu-mobile.mm-panels,
  body.mm-mobile-open #iqitmegamenu-mobile.mm-panels {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
  }

  #iqitmegamenu-mobile.mm-panels img {
    display: none !important;
  }

  #iqitmegamenu-mobile.mm-panels {
    --mm-brand: #4F6400;
  }

  #iqitmegamenu-mobile.mm-panels .mm-toolbar {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 3rem;
    padding: 0.25rem 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    position: relative;
    z-index: 6;
  }

  #iqitmegamenu-mobile.mm-panels.mm-drilled > .mm-toolbar {
    display: none;
  }

  #iqitmegamenu-mobile.mm-panels .mm-close-btn {
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    flex: 0 0 auto;
  }

  #iqitmegamenu-mobile.mm-panels .mm-panels-viewport {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  #iqitmegamenu-mobile.mm-panels .mm-panel {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-bottom: calc(3.25rem + env(safe-area-inset-bottom, 0px));
    width: 100%;
    background: #fff;
    box-sizing: border-box;
  }

  #iqitmegamenu-mobile.mm-panels .mm-panel-root {
    position: relative;
    z-index: 1;
    transform: translate3d(0, 0, 0);
    transition: transform 0.3s ease;
    background: #fff;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  #iqitmegamenu-mobile.mm-panels .mm-panel:not(.mm-panel-root) {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    z-index: 2;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
    visibility: hidden;
    pointer-events: none;
    background: #fff;
  }

  #iqitmegamenu-mobile.mm-panels .mm-panel.mm-panel-current {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
    z-index: 5;
    transition: transform 0.3s ease, visibility 0s;
  }

  #iqitmegamenu-mobile.mm-panels .mm-panel.mm-panel-out {
    transform: translate3d(-30%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
  }

  #iqitmegamenu-mobile.mm-panels li ul {
    display: block;
    padding: 0;
    margin: 0;
    font-size: inherit;
  }

  #iqitmegamenu-mobile.mm-panels li {
    display: flex;
    align-items: stretch;
    position: static;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  #iqitmegamenu-mobile.mm-panels li.mm-panel-header {
    display: block;
    border-bottom: 0;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 0;
  }

  #iqitmegamenu-mobile.mm-panels .mm-panel-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.15rem 0.35rem 0.15rem 0.15rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
  }

  #iqitmegamenu-mobile.mm-panels .mm-panel-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem 0.95rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
  }

  #iqitmegamenu-mobile.mm-panels li > a {
    display: block;
    flex: 1 1 auto;
    padding: 1em 1em;
    min-height: 3em;
    line-height: 1.25;
    color: #222;
  }

  #iqitmegamenu-mobile.mm-panels li.mm-has-children > a {
    padding-right: 0.5em;
  }

  #iqitmegamenu-mobile.mm-panels .mm-expand {
    position: static;
    flex: 0 0 3rem;
    width: 3rem;
    height: auto;
    min-height: 3em;
    line-height: 1;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 1.5em;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 3;
    color: var(--mm-brand);
  }

  #iqitmegamenu-mobile.mm-panels .mm-expand .expand-icon,
  #iqitmegamenu-mobile.mm-panels li.show > .mm-expand > .expand-icon {
    display: inline-block !important;
    color: var(--mm-brand);
  }

  #iqitmegamenu-mobile.mm-panels .mm-expand .close-icon {
    display: none !important;
  }

  #iqitmegamenu-mobile.mm-panels li.show > ul {
    display: none !important;
  }

  #iqitmegamenu-mobile.mm-panels .mm-back-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    padding: 0.75em 0.75em;
    min-height: 2.75rem;
    font-size: 0.95em;
    text-align: left;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    color: var(--mm-brand);
  }

  #iqitmegamenu-mobile.mm-panels .mm-back-btn .fa {
    font-size: 1.25em;
    color: var(--mm-brand);
  }

  #iqitmegamenu-mobile.mm-panels .mm-panel-title {
    flex: 1 1 auto;
    display: block;
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 700;
    color: #111;
  }

  #iqitmegamenu-mobile.mm-panels .mm-panel-see-all {
    flex: 0 0 auto;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--mm-brand);
    text-decoration: underline;
    white-space: nowrap;
  }

  #iqitmegamenu-mobile.mm-panels a.mm-panel-see-all:hover {
    opacity: 0.75;
  }

  /* Hide floating widgets while mobile menu is open */
  body.mm-mobile-open .asagiSabit,
  body.mm-mobile-open .whatsappBlock,
  body.mm-mobile-open #trustbadge-container,
  body.mm-mobile-open [id^="trustbadge"],
  body.mm-mobile-open iframe[src*="trustedshops"],
  body.mm-mobile-open iframe[src*="etrusted"],
  body.mm-mobile-open .ts-trustbadge,
  body.mm-mobile-open .etrusted-widget {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
