/* Collection-only preview: independent from PDP builder and cart typography. */
body.axe-collection-preview ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 28px;
  align-items: stretch;
  clear: both;
}
body.axe-collection-preview ul.products::before,
body.axe-collection-preview ul.products::after {
  display: none;
}
html
  body.axe-collection-preview.woocommerce
  ul.products
  li.product.axe-shop-card {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none;
  min-width: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  font:
    400 16px/1.5 Roboto,
    sans-serif;
}
html body .axe-shop-card__image {
  position: relative;
  display: block;
  aspect-ratio: 1;
  background: #f5f4f0;
  overflow: hidden;
  margin-bottom: 18px;
}
/* Keep compact commerce controls out of the theme's global headline rule. */
html
  body.axe-collection-preview
  :is(
    .axe-shop-button,
    .axe-shop-size,
    .axe-shop-filter,
    .axe-shop-swatch--text
  ) {
  font-family: Roboto, sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-transform: none !important;
}
html body.axe-collection-preview .axe-quick-shop__close {
  font:
    400 34px/1 Roboto,
    sans-serif !important;
}
html body.axe-collection-preview .axe-shop-button:not(:disabled) {
  background-color: #003a58 !important;
  opacity: 1;
}
html body .axe-shop-card .axe-shop-card__title {
  font-size: 25px !important;
  line-height: 1.25 !important;
}
body.axe-collection-preview
  ul.products
  li.axe-shop-card
  .axe-shop-card__image
  img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0;
  mix-blend-mode: multiply;
  transform: none;
}
body .axe-shop-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  color: #654e27;
  background: #f6f0e4;
  padding: 5px 9px;
  font:
    500 12px/1.4 Roboto,
    sans-serif;
}
body .axe-shop-card .axe-shop-card__title {
  font:
    600 25px/1.25 Oswald,
    sans-serif;
  letter-spacing: 0;
  text-transform: none;
  padding: 0;
  margin: 0 0 6px;
}
body .axe-shop-card__title a {
  color: #1c2225;
  text-decoration: none;
}
body .axe-shop-card p {
  padding: 0;
  margin: 0;
}
body .axe-shop-card .axe-shop-card__facts {
  color: #75603e;
  font:
    400 14px/1.5 Roboto,
    sans-serif;
  margin-bottom: 8px;
}
body .axe-shop-card__facts:empty {
  display: none;
}
body .axe-shop-price,
body .axe-shop-price * {
  color: #202628;
  font:
    500 19px/1.5 Roboto,
    sans-serif;
  letter-spacing: 0;
}
body .axe-shop-price del,
body .axe-shop-price del * {
  color: #76716a;
  font-size: 15px;
}
body .axe-shop-price ins {
  background: transparent;
  text-decoration: none;
}
body .axe-shop-card .axe-shop-rating {
  color: #806234;
  font-size: 13px;
  margin-top: 6px;
}
body .axe-shop-swatches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 10px 0;
}
body .axe-shop-swatch {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 5px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  box-shadow: none;
}
body .axe-shop-swatch::before {
  content: "";
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--swatch, #fff);
  box-shadow: inset 0 0 0 1px #0002;
}
body .axe-shop-swatch[aria-pressed="true"] {
  border-color: #003a58;
}
body .axe-shop-swatch--text {
  width: auto;
  border-radius: 3px;
  padding: 7px;
  font:
    400 13px/1.2 Roboto,
    sans-serif;
  color: #20313d;
  border-color: #ddd8cf;
}
body .axe-shop-swatch--text::before {
  display: none;
}
body .axe-shop-more {
  font-size: 12px;
  color: #6c685f;
}
body .axe-shop-button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  width: 100%;
  border: 1px solid #003a58;
  border-radius: 2px;
  padding: 11px 16px;
  margin: 0;
  background: #003a58;
  color: #fff;
  font:
    500 15px/1.4 Roboto,
    sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: none;
  box-shadow: none;
  cursor: pointer;
}
body .axe-shop-button:hover {
  color: #fff;
  background: #003a58;
}
html body.axe-collection-preview .axe-shop-card > .axe-shop-button {
  margin-top: auto;
}
body .axe-shop-filter-panel > summary {
  display: none;
}
body .axe-shop-toolbar {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #dfdcd5;
  border-bottom: 1px solid #dfdcd5;
  margin: 0 0 28px;
  clear: both;
}
html body.axe-collection-preview .axe-shop-toolbar label {
  display: grid;
  min-width: 0;
  margin: 0;
  gap: 5px;
  font:
    500 12px/1.4 Roboto,
    sans-serif !important;
  color: #625e55;
}
html body.axe-collection-preview form.axe-shop-toolbar input,
html body.axe-collection-preview form.axe-shop-toolbar select {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  width: 88px;
  height: 40px;
  min-height: 40px;
  margin: 0;
  padding: 7px 10px;
  background: #fff;
  border: 1px solid #cfcac0;
  border-radius: 2px;
  font:
    400 14px/1.4 Roboto,
    sans-serif !important;
  color: #202628;
}
html body.axe-collection-preview form.axe-shop-toolbar select {
  width: 180px;
  padding-right: 28px;
}
html body.axe-collection-preview .axe-shop-toolbar .axe-shop-filter {
  box-sizing: border-box;
  padding: 8px 16px;
  min-height: 40px;
  height: 40px;
  margin: 0;
  background: #fff;
  color: #003a58;
  border: 1px solid #003a58;
  border-radius: 2px;
  font:
    500 14px/1.4 Roboto,
    sans-serif !important;
  text-transform: none;
}
html body.axe-collection-preview .axe-shop-reset {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 40px;
  font:
    400 13px/1.5 Roboto,
    sans-serif !important;
  color: #625e55;
  padding: 10px 0;
}
body.axe-quick-shop-open {
  overflow: hidden;
}
body dialog.axe-quick-shop {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(520px, 100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  padding: 64px 32px 32px;
  border: 0;
  background: #fff;
  color: #202628;
  overflow-y: auto;
  overscroll-behavior: contain;
  font:
    400 16px/1.5 Roboto,
    sans-serif;
}
body .axe-quick-shop::backdrop {
  background: #10212e77;
}
body .axe-quick-shop__close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  color: #202628;
  background: transparent;
  font:
    400 34px/1 Roboto,
    sans-serif;
}
body .axe-quick-shop__product {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #dfdcd5;
}
body .axe-quick-shop__product img {
  width: 112px;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f5f4f0;
}
body .axe-quick-shop h2 {
  font:
    600 28px/1.25 Oswald,
    sans-serif;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 10px;
}
body .axe-quick-shop .axe-shop-eyebrow {
  font:
    500 12px/1.4 Roboto,
    sans-serif;
  color: #8d7145;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 7px;
}
body .axe-quick-shop__field {
  padding: 0;
  margin: 0 0 24px;
  border: 0;
  min-width: 0;
}
body .axe-quick-shop__field legend {
  padding: 0;
  margin-bottom: 12px;
  font:
    500 16px/1.5 Roboto,
    sans-serif;
}
body .axe-quick-shop__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body .axe-shop-size {
  min-width: 48px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cfcac0;
  background: #fff;
  color: #202628;
  border-radius: 2px;
  font:
    400 15px/1.4 Roboto,
    sans-serif;
}
body .axe-shop-size[aria-pressed="true"] {
  border-color: #003a58;
  box-shadow: inset 0 0 0 1px #003a58;
  background: #f1f5f6;
}
body .axe-quick-shop .axe-shop-swatch {
  width: 46px;
  height: 46px;
}
body .axe-quick-shop .axe-shop-swatch::before {
  width: 32px;
  height: 32px;
}
body .axe-quick-shop .axe-shop-delivery {
  font:
    400 14px/1.5 Roboto,
    sans-serif;
  color: #625e55;
  margin: 8px 0;
}
body .axe-shop-status {
  font:
    400 14px/1.5 Roboto,
    sans-serif;
  margin: 10px 0;
  color: #625e55;
}
body .axe-quick-shop__details {
  display: block;
  text-align: center;
  margin-top: 18px;
  font:
    400 14px/1.5 Roboto,
    sans-serif;
  color: #003a58;
}
body
  :is(
    .axe-shop-button,
    .axe-shop-size,
    .axe-shop-swatch,
    .axe-shop-filter,
    .axe-quick-shop__close
  ):disabled {
  opacity: 0.38;
  cursor: not-allowed;
}
body
  :is(
    .axe-shop-button,
    .axe-shop-size,
    .axe-shop-swatch,
    .axe-shop-filter,
    .axe-quick-shop__close
  ),
body
  :is(
    .axe-shop-button,
    .axe-shop-size,
    .axe-shop-swatch,
    .axe-shop-filter,
    .axe-quick-shop__close
  ):hover {
  transform: none !important;
  scale: none !important;
  translate: none !important;
  transition: opacity 0.15s ease !important;
  animation: none !important;
}
@media (hover: hover) {
  html body.axe-collection-preview .axe-shop-button:not(:disabled):hover {
    opacity: 0.86;
  }
  body
    :is(
      .axe-shop-button,
      .axe-shop-size,
      .axe-shop-swatch,
      .axe-shop-filter
    ):hover {
    opacity: 0.82;
  }
}
body
  :is(
    .axe-shop-button,
    .axe-shop-size,
    .axe-shop-swatch,
    .axe-shop-filter,
    .axe-quick-shop__close
  ):focus-visible {
  outline: 2px solid #9d7e47;
  outline-offset: 3px;
}
@media (max-width: 767px) {
  body .axe-shop-filter-panel {
    margin-bottom: 22px;
  }
  body .axe-shop-filter-panel > summary {
    display: block;
    cursor: pointer;
    border-block: 1px solid #dfdcd5;
    padding: 14px 0;
    font:
      500 15px/1.4 Roboto,
      sans-serif;
    color: #003a58;
  }
  body .axe-shop-filter-panel > summary::after {
    content: "+";
    float: right;
  }
  body .axe-shop-filter-panel[open] > summary::after {
    content: "−";
  }
  body .axe-shop-toolbar label:has(select) {
    grid-column: 1 / -1;
  }
  html body .axe-shop-card .axe-shop-card__title {
    font-size: 21px !important;
  }
  body.axe-collection-preview ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 14px;
  }
  body .axe-shop-card .axe-shop-card__title {
    font-size: 21px;
  }
  body .axe-shop-card .axe-shop-card__facts {
    font-size: 12px;
  }
  body .axe-shop-card .axe-shop-price,
  body .axe-shop-card .axe-shop-price * {
    font-size: 16px;
  }
  body .axe-shop-card__image {
    margin-bottom: 12px;
  }
  body .axe-shop-badge {
    top: 6px;
    left: 6px;
    font-size: 10px;
    padding: 4px 6px;
  }
  body .axe-shop-swatches {
    gap: 1px;
    margin: 6px 0;
  }
  body .axe-shop-swatch {
    width: 36px;
    height: 40px;
    min-width: 36px;
    padding: 4px;
  }
  body .axe-shop-swatch::before {
    width: 24px;
    height: 24px;
  }
  body .axe-shop-button {
    font-size: 14px;
    padding: 10px 8px;
  }
  body .axe-shop-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
  }
  body .axe-shop-toolbar label:first-child {
    grid-column: 1 / -1;
  }
  html body.axe-collection-preview form.axe-shop-toolbar input,
  html body.axe-collection-preview form.axe-shop-toolbar select {
    width: 100%;
    height: 44px;
    min-height: 44px;
    font-size: 16px !important;
  }
  html body.axe-collection-preview .axe-shop-toolbar .axe-shop-filter,
  html body.axe-collection-preview .axe-shop-reset {
    width: 100%;
    height: 44px;
    min-height: 44px;
  }
  body .axe-shop-reset {
    text-align: center;
  }
  body dialog.axe-quick-shop {
    inset: auto 0 0;
    width: 100%;
    height: auto;
    max-height: 90dvh;
    padding: 56px 22px max(24px, env(safe-area-inset-bottom));
    border-radius: 14px 14px 0 0;
  }
  body .axe-quick-shop__product {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
  }
  body .axe-quick-shop__product img {
    width: 88px;
  }
  body .axe-quick-shop h2 {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body
    :is(.axe-shop-button, .axe-shop-size, .axe-shop-swatch, .axe-shop-filter) {
    transition: none !important;
  }
}
