.ac3-native-shop .ac3-shop-hero {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  padding-inline: clamp(24px, 5vw, 72px);
}

.ac3-native-shop .ac3-shop-hero h1 {
  font-size: clamp(34px, 4.6vw, 76px);
  line-height: 1.04;
  overflow-wrap: normal;
  word-break: normal;
}

@media (max-width: 999px) {
  .ac3-native-shop .ac3-shop-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ac3-native-shop__departments,
.ac3-native-shop__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 16px;
  margin-block: 20px;
}

.ac3-native-shop__departments {
  position: relative;
  z-index: 3;
  align-items: center;
  gap: 8px;
}

.ac3-native-shop__departments > a,
.ac3-native-shop__departments summary {
  padding: 8px 18px;
  border: 1px solid var(--ac3-line);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
}

.ac3-native-shop__departments [aria-current="true"] {
  background: #b81720;
  color: #fff;
}

.ac3-native-shop__departments ul {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  width: min(100%, 500px);
  max-height: 55vh;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 4px;
  padding: 10px;
  margin: 0;
  list-style: none;
  border: 1px solid var(--ac3-line);
  border-radius: 12px;
  background: #141821;
  box-shadow: 0 16px 32px #0008;
}

.ac3-native-shop__departments li a {
  display: block;
  padding: 8px 12px;
  border-radius: 7px;
  color: #fff;
}

.ac3-native-shop__departments li a:hover,
.ac3-native-shop__departments li a:focus-visible {
  background: #303847;
}

.ac3-native-shop__current {
  margin-inline-start: auto;
  color: #cbd5e1;
  font-size: 13px;
}

.ac3-native-shop__filters {
  gap: 12px;
  padding: 14px;
  border: 1px solid #d2dae4;
  border-radius: 10px;
  background: #eff1f3;
  color: #182132;
  color-scheme: light;
}

.ac3-native-shop__search,
.ac3-native-shop__sort {
  display: grid;
  min-width: 0;
  margin: 0;
  gap: 4px;
  color: #4b586c;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.ac3-native-shop__search {
  flex: 3 1 260px;
}

.ac3-native-shop__sort {
  flex: 1 1 170px;
}

.ac3-native-shop__filters input[type="search"],
.ac3-native-shop__filters select {
  width: 100%;
  min-height: 42px;
  padding-inline: 16px;
  border: 1px solid #ced7e3;
  border-radius: 999px;
  background-color: #f8fafc;
  color: #182132;
  font-size: 14px;
}

.ac3-native-shop__filters input::placeholder {
  color: #526174;
}

.ac3-native-shop__sale,
.ac3-native-shop__count,
.ac3-native-shop__filters button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.ac3-native-shop__sale {
  border: 1px solid #ced7e3;
  background: #f8fafc;
  color: #182132;
  cursor: pointer;
}

.ac3-native-shop__sale:has(input:checked) {
  border-color: #b81720;
  color: #a1121b;
}

.ac3-native-shop__count {
  background: #111827;
  color: #fff;
}

@media (max-width: 599px) {
  .ac3-native-shop__search {
    flex-basis: 100%;
  }
}

.ac3-native-shop ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 20px;
}

.ac3-native-shop .woocommerce-pagination {
  margin-block: 28px;
}

.ac3-native-shop .woocommerce-pagination[hidden] {
  display: none !important;
}

.ac3-native-shop__load-status {
  min-height: 1px;
  margin-block: 20px 0;
  color: #cbd5e1;
  text-align: center;
}

/* Blocksy can apply light-background colors to the native catalog cards. */
.ac3-native-shop ul.products li.product {
  --ac-shop-ink: #f8fafc;
  --theme-heading-color: #f8fafc;
  --theme-text-color: #d4dbe5;
  --theme-link-initial-color: #f8fafc;
}

.ac3-native-shop ul.products li.product :is(h2, .woocommerce-loop-product__title),
.ac3-native-shop ul.products li.product :is(h2, .woocommerce-loop-product__title) a {
  color: #f8fafc !important;
}

.ac3-native-shop ul.products li.product :is(.entry-meta, .ct-woo-card-taxonomies),
.ac3-native-shop ul.products li.product :is(.entry-meta, .ct-woo-card-taxonomies) a,
.ac3-native-shop ul.products li.product .price del {
  color: #cbd5e1 !important;
  opacity: 1;
}

.ac3-native-shop ul.products li.product .price ins {
  color: #ff6870 !important;
}

#ac3-native-product-grid {
  scroll-margin-top: 116px;
}

body.acustodio-modern-shop .ac3-native-shop ul.products li.product::before {
  content: none;
}
