#ah-category-menu {
  --ah-menu-ink: #443739;
  --ah-menu-line: #e5dbdc;
  margin-bottom: 20px;
  color: var(--ah-menu-ink);
}

#ah-category-menu summary {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

#ah-category-menu summary::-webkit-details-marker {
  display: none;
}

#ah-category-menu .ah-category-toggle {
  min-height: 52px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--ah-menu-ink);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

#ah-category-menu summary::after,
#ah-category-menu .ah-category-links > li > a::after {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  margin-left: auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}

#ah-category-menu .ah-category-toggle::after,
#ah-category-menu details[open] > summary:not(.ah-category-toggle)::after {
  transform: rotate(45deg);
}

#ah-category-menu details[open] > .ah-category-toggle::after {
  transform: rotate(225deg);
}

#ah-category-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#ah-category-menu .ah-category-links {
  max-height: 60vh;
  margin-top: 8px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  background: #fff;
}

#ah-category-menu .ah-category-links > li {
  border-bottom: 1px solid var(--ah-menu-line);
}

#ah-category-menu .ah-category-links a,
#ah-category-menu .ah-category-links summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 14px;
  color: inherit;
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-decoration: none;
}

#ah-category-menu .ah-category-links li li > a {
  padding-left: 26px;
  font-size: 14px;
}

#ah-category-menu .ah-category-active > a,
#ah-category-menu .ah-category-active > details > summary,
#ah-category-menu .ah-category-links [aria-current="page"] {
  background: #eef4e9;
  font-weight: 700;
}

#ah-category-menu :focus-visible,
#ah-category-results .ah-mobile-product :focus-visible {
  outline: 2px solid #327c36;
  outline-offset: -3px;
}

#ah-category-menu .ah-category-toggle:focus-visible {
  outline-color: #fff;
}

@media (max-width: 767.98px) {
  header .ah-mobile-header {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 72px;
    margin-bottom: 10px !important;
    padding: 10px 12px !important;
    border-radius: 6px;
  }

  header .ah-mobile-header::before,
  header .ah-mobile-header::after {
    display: none;
  }

  header .ah-mobile-header > div {
    flex: 0 0 auto;
    float: none;
    width: auto;
    padding: 0;
  }

  header .ah-mobile-header > div:first-child {
    flex: 1 1 0;
    min-width: 0;
  }

  header .ah-mobile-header #logo {
    margin: 0;
  }

  header .ah-mobile-header #logo img {
    width: 240px;
    max-width: 100%;
    height: auto;
  }

  header .ah-mobile-header .swipe-control,
  header .ah-mobile-header #cart > button {
    display: grid;
    place-items: center;
    width: 44px;
    min-height: 44px;
    margin: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    box-shadow: none;
  }

  header .ah-mobile-header .swipe-control i {
    font-size: 25px;
  }

  header .ah-mobile-header #cart > button i {
    font-size: 26px;
  }

  header .ah-mobile-header #cart-total2 {
    top: -3px;
    right: -3px;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
  }

  header .ah-mobile-header .swipe-control:focus-visible,
  header .ah-mobile-header #cart > button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }

  #ah-category-results .product-layout {
    width: 100%;
  }

  #ah-category-results .ah-mobile-product[hidden] {
    display: block !important;
    position: relative;
    isolation: isolate;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #e5dbdc;
    border-radius: 9px;
    background: #fff;
    color: #443739;
  }

  #ah-category-results .ah-mobile-product ~ .product-thumb {
    display: none !important;
  }

  .ah-mobile-product-top {
    display: grid;
    grid-template-columns: clamp(91.2px, 30vw, 139.2px) minmax(0, 1fr);
    gap: 12px;
    align-items: center;
  }

  .ah-mobile-product-image {
    display: block;
    position: relative;
  }

  .ah-mobile-product-photo {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
  }

  .ah-mobile-product-icons {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: end;
    gap: 2px;
    max-width: 100%;
  }

  .ah-mobile-product-icons img {
    width: 28px;
    max-width: 33%;
    object-fit: contain;
  }

  .ah-mobile-product-icons-LT,
  .ah-mobile-product-icons-LB {
    right: auto;
    left: 0;
    justify-content: start;
  }

  .ah-mobile-product-icons-LB,
  .ah-mobile-product-icons-RB {
    top: auto;
    bottom: 0;
  }

  #ah-category-results .ah-mobile-product h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  #ah-category-results .ah-mobile-product h4 a {
    color: inherit;
  }

  .ah-mobile-product-detail::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    border-radius: 9px;
    content: "";
  }

  .ah-mobile-product-detail:focus-visible::after {
    outline: 2px solid #327c36;
    outline-offset: -2px;
  }

  #ah-category-results .ah-mobile-product p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  #ah-category-results .ah-mobile-product .ah-mobile-product-subtitle,
  #ah-category-results .ah-mobile-product .ah-mobile-product-stock {
    margin-top: 4px;
    color: #695b5d;
  }

  #ah-category-results .ah-mobile-product .ah-mobile-product-price {
    margin-top: 6px;
    color: #327c36;
    font-size: 21px;
    font-weight: 700;
  }

  .ah-mobile-product-price del,
  .ah-mobile-product-price small {
    color: #695b5d;
    font-size: 12px;
    font-weight: 400;
  }

  .ah-mobile-product-price small {
    display: block;
  }

  #ah-category-results .ah-mobile-product .ah-mobile-product-perex {
    margin-top: 9px;
  }

  #ah-category-results .ah-mobile-product-buy {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    margin-top: 10px;
    border: 0;
    border-radius: 4px;
    background: #4bae4f;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
  }

  #ah-category-results .ah-mobile-product-buy:hover {
    background: #3d9341;
  }

  #ah-category-results .ah-mobile-product-buy:focus-visible {
    outline-color: #fff;
  }
}
