/* Shared mega-menu component. No per-tab selectors or inline declarations. */
@media (min-width: 992px) {
  #desktop-header .cbp-hrmenu .cbp-has-submeu > .cbp-hrsub {
    width: min(1120px, calc(100vw - 40px)) !important;
    max-width: min(1120px, calc(100vw - 40px)) !important;
    padding-top: 10px !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #desktop-header .cbp-hrmenu .cbp-hrsub-inner {
    padding: 22px !important;
    overflow: hidden;
    border: 1px solid #dfe6db !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 22px 55px rgba(47, 70, 40, .16) !important;
  }

  #desktop-header .cbp-hrmenu .pi-megamenu-title {
    margin: 0 0 14px;
    padding: 0 2px 15px;
    border-bottom: 1px solid #e4e8e1;
    color: #344d2d;
    font-family: 'Satoshi', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.3;
  }

  #desktop-header .cbp-hrmenu .iqitmegamenu-submenu-container,
  #desktop-header .cbp-hrmenu .menu_row,
  #desktop-header .cbp-hrmenu .cbp-menu-column,
  #desktop-header .cbp-hrmenu .cbp-menu-column-inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #desktop-header .cbp-hrmenu .cbp-products-list {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  #desktop-header .cbp-hrmenu .cbp-products-list > [class*='col-'] {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    flex: none !important;
  }

  #desktop-header .cbp-hrmenu .cbp-products-list .product-miniature-container {
    height: 100%;
    min-height: 116px;
    padding: 12px !important;
    border: 1px solid #e5eadf !important;
    border-radius: 14px !important;
    background: #f9faf7 !important;
    box-shadow: none !important;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
  }

  #desktop-header .cbp-hrmenu .cbp-products-list .product-miniature-container:hover {
    border-color: #c7d4c0 !important;
    background: #fff !important;
    box-shadow: 0 12px 24px rgba(47, 70, 40, .1) !important;
    transform: translateY(-2px) !important;
  }

  #desktop-header .cbp-hrmenu .cbp-products-list .product-miniature-container > .row {
    display: grid !important;
    grid-template-columns: 70px minmax(0, 1fr) !important;
    gap: 12px !important;
    height: 100%;
    margin: 0 !important;
    align-items: center !important;
  }

  #desktop-header .cbp-hrmenu .cbp-products-list .thumbnail-container {
    width: 70px !important;
    max-width: 70px !important;
    height: 78px !important;
    padding: 5px !important;
    overflow: hidden;
    border: 1px solid #e6ebe2;
    border-radius: 11px;
    background: #fff;
  }

  #desktop-header .cbp-hrmenu .cbp-products-list .product-thumbnail {
    display: flex;
    width: 100% !important;
    height: 100% !important;
    align-items: center;
    justify-content: center;
  }

  #desktop-header .cbp-hrmenu .cbp-products-list .product-thumbnail img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    object-position: center;
    border-radius: 7px;
    transition: transform .2s ease;
  }

  #desktop-header .cbp-hrmenu .cbp-products-list .product-miniature-container:hover .product-thumbnail img {
    transform: scale(1.035);
  }

  #desktop-header .cbp-hrmenu .cbp-products-list .product-description {
    display: flex;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    height: 100%;
    padding: 0 !important;
    flex: none !important;
    flex-direction: column;
  }

  #desktop-header .cbp-hrmenu .cbp-products-list .cbp-product-name {
    display: -webkit-box;
    overflow: hidden;
    color: #344d2d !important;
    font-family: 'Satoshi', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  #desktop-header .cbp-hrmenu .cbp-products-list .cbp-product-name:hover {
    color: #517a3b !important;
  }

  #desktop-header .cbp-hrmenu .cbp-products-list .product-price-and-shipping {
    display: flex;
    gap: 7px;
    align-items: baseline;
    margin-top: auto;
    padding-top: 8px;
    font-family: 'Satoshi', sans-serif !important;
  }

  #desktop-header .cbp-hrmenu .cbp-products-list .product-price {
    color: #ef6c52 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  #desktop-header .cbp-hrmenu .cbp-products-list .regular-price {
    color: #929a91 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
  }

  #desktop-header .cbp-hrmenu .cbp-column-title,
  #desktop-header .cbp-hrmenu .cbp-hrsub-inner a.cbp-column-title:link {
    margin: 0 0 10px;
    color: #344d2d !important;
    font-family: 'Satoshi', sans-serif !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: none;
  }

  #desktop-header .cbp-hrmenu .cbp-links li a {
    display: block;
    padding: 7px 0;
    color: #5f675c !important;
    font-family: 'Satoshi', sans-serif !important;
    font-size: 14px;
    font-weight: 500;
  }

  #desktop-header .cbp-hrmenu .cbp-links li a:hover {
    color: #517a3b !important;
  }
}

@media (min-width: 992px) and (max-width: 1180px) {
  #desktop-header .cbp-hrmenu .cbp-hrsub-inner {
    padding: 16px !important;
    border-radius: 15px !important;
  }

  #desktop-header .cbp-hrmenu .pi-megamenu-title {
    margin-bottom: 9px;
    padding-bottom: 12px;
    font-size: 17px;
  }

  #desktop-header .cbp-hrmenu .cbp-products-list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  #desktop-header .cbp-hrmenu .cbp-products-list .product-miniature-container {
    min-height: 108px;
    padding: 9px !important;
  }

  #desktop-header .cbp-hrmenu .cbp-products-list .product-miniature-container > .row {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    gap: 9px !important;
  }

  #desktop-header .cbp-hrmenu .cbp-products-list .thumbnail-container {
    width: 58px !important;
    max-width: 58px !important;
    height: 68px !important;
  }

  #desktop-header .cbp-hrmenu .cbp-products-list .cbp-product-name {
    font-size: 13px !important;
  }
}

@media (max-width: 991px) {
  #iqitmegamenu-mobile,
  #iqitmegamenu-mobile .mobile-menu__submenu {
    background: #fbfcf9;
    font-family: 'Satoshi', sans-serif !important;
  }

  #iqitmegamenu-mobile .mobile-menu__tab {
    min-height: 54px;
    border-bottom: 1px solid #e4e9e0 !important;
  }

  #iqitmegamenu-mobile .mobile-menu__link {
    padding-top: 15px;
    padding-bottom: 15px;
    color: #344d2d !important;
    font-size: 16px;
    font-weight: 700;
  }

  #iqitmegamenu-mobile .mobile-menu__arrow {
    padding-top: 15px;
    padding-bottom: 15px;
    color: #517a3b;
  }

  #iqitmegamenu-mobile .mobile-menu__submenu .mobile-menu__link {
    color: #5f675c !important;
    font-size: 15px;
    font-weight: 500;
  }

  #iqitmegamenu-mobile .mobile-menu__header-wrapper {
    background: #344d2d;
  }
}
