/* WooCommerce clearfix pseudo-elements must not occupy product grid cells. */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}

.woocommerce ul.products li.product {
  float: none !important;
  clear: none !important;
}

/* Product archive follows the reference shop; other WooCommerce views keep their styles. */
.stingray-shop {
  padding: 28px 4vw 80px;
}

@media (min-width: 922px) {
  body:has(.stingray-shop) .site-header__inner {
    min-height: 117.5px;
  }
}

.stingray-shop__title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.stingray-shop__categories {
  margin: 10px 0 20px;
}

.stingray-shop__ancestors {
  margin: -10px 0 22px;
  text-align: center;
  color: #000;
  font-size: 16px;
  line-height: 24px;
}

.stingray-shop__ancestors a {
  color: inherit;
  text-decoration: none;
}

.stingray-shop__ancestors a:hover,
.stingray-shop__ancestors a:focus-visible {
  text-decoration: underline;
}

.stingray-shop__categories ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stingray-shop__categories li {
  display: flex;
  align-items: center;
}

.stingray-shop__categories li:not(:last-child)::after {
  content: '';
  display: block;
  width: 1px;
  height: 12px;
  margin: 0 22px;
  background: #d8d8d8;
}

.stingray-shop__categories a {
  color: #000;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
}

.stingray-shop__categories a[aria-current="page"] {
  font-weight: 700;
}

.stingray-shop__categories a:hover,
.stingray-shop__categories a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.stingray-shop__mobile-filter {
  display: none;
}

.stingray-shop ul.products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 2vw;
  row-gap: 72px;
}

.stingray-shop ul.products li.product {
  position: relative;
  padding: 0;
  border-radius: 0;
  text-align: left;
  transition: none;
}

.stingray-shop ul.products li.product:hover {
  box-shadow: none;
  transform: none;
}

.stingray-shop ul.products li.product a img {
  display: block;
  width: 100%;
  margin: 0 0 36px !important;
  border-radius: 0;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: #fff;
}

.stingray-shop ul.products li.product .stingray-product-images {
  position: relative;
  display: block;
  margin-bottom: 36px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #fff;
}

.stingray-shop ul.products li.product a .stingray-product-images img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  aspect-ratio: auto;
}

.stingray-shop ul.products li.product a .stingray-product-images__secondary {
  opacity: 0;
  transition: opacity .25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .stingray-shop ul.products li.product a:hover .stingray-product-images__secondary,
  .stingray-shop ul.products li.product a:focus-visible .stingray-product-images__secondary {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stingray-shop ul.products li.product a .stingray-product-images__secondary {
    transition: none;
  }
}

.stingray-shop ul.products li.product .woocommerce-loop-product__title {
  padding: 0 !important;
  color: #000;
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(22px, 1.822vw, 27px) !important;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.stingray-product-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.stingray-product-heading .woocommerce-loop-product__title {
  min-width: 0;
}

.stingray-product-sold-out {
  flex: none;
  color: #8eb6dc;
  font: 400 16px / 24px "Nunito Sans", Arial, sans-serif;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .stingray-product-heading { flex-wrap: wrap; gap: 4px 12px; }
}

.stingray-shop ul.products li.product .price {
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
  align-items: baseline;
  margin: 8px 0 0;
  color: #000 !important;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.stingray-shop ul.products li.product .price ins {
  order: 0;
  font-weight: 400;
  text-decoration: none;
}

.stingray-shop ul.products li.product .price del {
  order: 1;
  opacity: 1;
  font-weight: 400;
}

.stingray-shop ul.products li.product .price .woocommerce-Price-amount {
  color: #000;
}

.stingray-shop ul.products li.product .button,
.stingray-shop ul.products li.product .added_to_cart {
  display: none;
}

.woocommerce .stingray-shop ul.products li.product .onsale {
  top: 5px;
  right: 5px;
  left: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 10px;
  border-radius: 0;
  background: #03a9f4;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.stingray-shop__pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 72px;
}

.stingray-shop__pagination a {
  color: #000;
  font-size: 16px;
  text-decoration: none;
}

.stingray-shop__pagination a:has(.stingray-shop__pagination-icon) {
  display: inline-flex;
  align-items: center;
  line-height: 24px;
}

.stingray-shop__pagination a:has(.stingray-shop__pagination-icon--next) {
  margin-left: auto;
}

.stingray-shop__pagination-icon {
  width: 9px;
  height: 16px;
  margin-left: 6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.stingray-shop__pagination-icon--previous {
  margin-right: 6px;
  margin-left: 0;
}

@media (min-width: 768px) and (max-width: 921px) {
  body:has(.stingray-shop) .site-header .sr-container.site-header__inner { gap:2.596vw; }
  .stingray-shop__categories {
    margin-bottom: 6px;
  }

  .stingray-shop__categories li:not(:last-child)::after {
    margin-inline: 12px;
  }
}

@media (max-width: 921px) {
  body:has(.stingray-shop) .site-header .site-header__inner {
    gap:27.625px;
  }
  body:has(.stingray-shop) .site-header .site-header__mobile-cart {
    flex:0 0 auto;
    width:auto;
    font-size:16px;
    line-height:24px;
  }
  body:has(.stingray-shop) .site-header .menu-toggle {
    flex-basis:50px;
    width:50px;
    height:37px;
  }
  body:has(.stingray-shop) .site-header .menu-toggle::before,
  body:has(.stingray-shop) .site-header .menu-toggle::after {
    left:9px;
    width:35px;
    margin:0;
  }
  body:has(.stingray-shop) .site-header .menu-toggle::before { top:12.5px; }
  body:has(.stingray-shop) .site-header .menu-toggle::after { top:23.5px; }
  body:has(.stingray-shop) .site-header .menu-toggle[aria-expanded="true"]::before,
  body:has(.stingray-shop) .site-header .menu-toggle[aria-expanded="true"]::after {
    top:18px;
  }
}

@media (max-width: 767px) {
  .stingray-shop {
    padding: 16.234375px 6vw 64px;
  }

  .stingray-shop__ancestors {
    margin:0;
    text-align:left;
  }

  .stingray-shop__title {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 18px;
    clip-path: none;
    overflow: visible;
    white-space: normal;
    font-size: 33.5392px;
    font-weight: 500;
    line-height: 37.3493px;
  }

  .stingray-shop__categories {
    display: none;
  }

  .stingray-shop__mobile-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
  }

  .stingray-shop__mobile-filter label {
    flex: none;
    font-size: 16px;
  }

  .stingray-shop__mobile-filter select {
    min-width: 0;
    width: 100%;
    min-height: 48px;
    padding: 8px 16px;
    border: 0;
    border-radius: 24px;
    background: #f0f0f2;
    color: #5d5d5d;
    font: inherit;
    font-size: 16px;
  }

  .stingray-shop ul.products {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 34px;
  }

  .stingray-shop ul.products li.product a img {
    margin-bottom: 9px !important;
    aspect-ratio: 1;
  }

  .stingray-shop ul.products li.product .stingray-product-images {
    margin-bottom: 9px;
    aspect-ratio: 1;
  }

  .stingray-shop ul.products li.product .woocommerce-loop-product__title {
    font-size: 21.8464px !important;
  }
}
