/* Astra catalog cards: home, shop, product categories and related products. */
body.myshop-product-cards.archive #main .ast-woocommerce-container {
  max-width: 1200px;
  margin-inline: auto;
}
body.myshop-product-cards.post-type-archive-product #main .ast-woocommerce-container {
  box-sizing: border-box;
  max-width: 1240px;
  padding-inline: 20px;
}
body.myshop-product-cards #main ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px 24px;
  width: 100%;
  max-width: 1200px;
  margin-block: 24px 40px;
  margin-inline: auto;
  padding: 0;
  list-style: none;
}
body.myshop-product-cards #main ul.products::before,
body.myshop-product-cards #main ul.products::after {
  display: none;
}
body.myshop-product-cards #main ul.products > li.product {
  display: flex;
  flex-direction: column;
  float: none;
  clear: none;
  width: auto;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid #e5e8ef;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(24, 35, 61, .025);
  text-align: left;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
body.myshop-product-cards #main ul.products > li.product .astra-shop-thumbnail-wrap {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid #f0f1f5;
  border-radius: 14px 14px 0 0;
  background: #fff;
}
body.myshop-product-cards #main ul.products > li.product .astra-shop-thumbnail-wrap > a.woocommerce-LoopProduct-link {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  aspect-ratio: 1;
  line-height: 0;
}
body.myshop-product-cards #main ul.products > li.product .astra-shop-thumbnail-wrap > a.woocommerce-LoopProduct-link > img {
  box-sizing: border-box;
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 14px;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
}
body.myshop-product-cards #main ul.products > li.product .ast-onsale-card,
body.myshop-product-cards #main ul.products > li.product .onsale {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  right: auto;
  bottom: auto;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 4px 9px;
  border: 0;
  border-radius: 6px;
  background: #eeebfc;
  color: #5744ba;
  box-shadow: none;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
}
/* Keep the full-width cart action; avoid a duplicate icon over the product. */
body.myshop-product-cards #main ul.products > li.product .ast-select-options-trigger {
  display: none;
}
body.myshop-product-cards #main ul.products > li.product .astra-shop-summary-wrap {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  margin: 0;
  padding: 16px;
  text-align: left;
}
body.myshop-product-cards #main ul.products > li.product .ast-woo-product-category {
  display: block;
  margin: 0 0 8px;
  color: #687185;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .045em;
  opacity: 1;
  text-transform: uppercase;
}
body.myshop-product-cards #main ul.products > li.product .ast-loop-product__link {
  display: block;
  margin: 0 0 12px;
  color: #202839;
  text-decoration: none;
}
body.myshop-product-cards #main ul.products > li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  min-height: 4.35em;
  max-height: 4.35em;
  margin: 0;
  padding: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
body.myshop-product-cards #main ul.products > li.product .ast-loop-product__link:hover {
  color: #1767cc;
}
body.myshop-product-cards #main ul.products > li.product .review-rating {
  margin: 0 0 10px;
}
body.myshop-product-cards #main ul.products > li.product .review-rating .star-rating {
  margin: 0;
  font-size: 12px;
}
body.myshop-product-cards #main ul.products > li.product .price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 7px;
  min-height: 29px;
  margin: auto 0 12px;
  color: #25334b;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}
body.myshop-product-cards #main ul.products > li.product .price del {
  order: 1;
  color: #6c7484;
  font-size: 13px;
  font-weight: 400;
  opacity: 1;
}
body.myshop-product-cards #main ul.products > li.product .price ins {
  order: 0;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}
body.myshop-product-cards #main ul.products > li.product .astra-shop-summary-wrap > .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #1767cc;
  border-radius: 8px;
  background: #1767cc;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition: background-color .18s ease, border-color .18s ease;
}
body.myshop-product-cards #main ul.products > li.product .astra-shop-summary-wrap > .button:hover {
  border-color: #1054ae;
  background: #1054ae;
  color: #fff;
}
body.myshop-product-cards #main ul.products > li.product .added_to_cart {
  align-self: flex-start;
  min-height: 36px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 2;
}
body.myshop-product-cards #main ul.products > li.product a:focus-visible {
  outline: 3px solid #6150ce;
  outline-offset: 3px;
}
body.myshop-product-cards #main ul.products > li.product .astra-shop-thumbnail-wrap > a:focus-visible {
  outline-offset: -4px;
}
@media (hover: hover) and (pointer: fine) {
  body.myshop-product-cards #main ul.products > li.product:hover {
    border-color: #c6c7e6;
    box-shadow: 0 10px 26px rgba(24, 35, 61, .08);
    transform: translateY(-3px);
  }
}
@media (max-width: 1100px) {
  body.myshop-product-cards #main ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 18px;
    padding-inline-start: 24px;
  }
}
@media (max-width: 767px) {
  body.myshop-product-cards #main ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
    margin-block: 20px 32px;
    padding-inline-start: 36px;
  }
  body.myshop-product-cards #main ul.products > li.product .astra-shop-summary-wrap {
    padding: 12px;
  }
  body.myshop-product-cards #main ul.products > li.product .astra-shop-thumbnail-wrap > a.woocommerce-LoopProduct-link > img {
    padding: 10px;
  }
  body.myshop-product-cards #main ul.products > li.product .woocommerce-loop-product__title {
    font-size: 14px;
  }
  body.myshop-product-cards #main ul.products > li.product .ast-woo-product-category {
    font-size: 11px;
    letter-spacing: .025em;
  }
  body.myshop-product-cards #main ul.products > li.product .price {
    font-size: 16px;
  }
  body.myshop-product-cards #main ul.products > li.product .price del {
    font-size: 12px;
  }
  body.myshop-product-cards #main ul.products > li.product .astra-shop-summary-wrap > .button {
    padding-inline: 8px;
    font-size: 13px;
  }
}
@media (max-width: 359px) {
  body.myshop-product-cards #main ul.products {
    grid-template-columns: minmax(0, 1fr);
  }
  body.myshop-product-cards #main ul.products > li.product .woocommerce-loop-product__title {
    font-size: 16px;
  }
  body.myshop-product-cards #main ul.products > li.product .astra-shop-summary-wrap {
    padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.myshop-product-cards #main ul.products > li.product,
  body.myshop-product-cards #main ul.products > li.product .astra-shop-summary-wrap > .button {
    transition: none;
  }
  body.myshop-product-cards #main ul.products > li.product:hover {
    transform: none;
  }
}

/* Quiet decorative details around the catalog, with clear product surfaces. */
body.myshop-product-cards.page-id-4713 #main .elementor-element-7370f63,
body.myshop-product-cards.archive #content {
  background-color: #fafcff;
  background-image:
    radial-gradient(ellipse 420px 320px at 0% 8%, rgba(204, 223, 255, .42), transparent 75%),
    radial-gradient(ellipse 440px 360px at 100% 48%, rgba(224, 215, 250, .34), transparent 75%),
    radial-gradient(ellipse 420px 360px at 0% 90%, rgba(209, 236, 241, .28), transparent 75%),
    linear-gradient(180deg, #fafcff, #fff 45%, #fafbff);
  background-repeat: no-repeat;
}
body.myshop-product-cards.page-id-4713 #main .elementor-element-7370f63 {
  --padding-top: 38px;
  --padding-bottom: 32px;
}
/* A packaging outline and a short color rule distinguish each collection. */
body.myshop-product-cards.page-id-4713 #main :is(.elementor-element-a7d49f6, .elementor-element-6afaae3, .elementor-element-e3c8a34) .elementor-heading-title,
body.myshop-product-cards.single-product #main .related.products > h2 {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding-bottom: 16px;
  color: #242b40;
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.025em;
  text-align: center;
  text-decoration: none;
}
body.myshop-product-cards.page-id-4713 #main :is(.elementor-element-a7d49f6, .elementor-element-6afaae3, .elementor-element-e3c8a34) .elementor-heading-title a {
  color: inherit;
  text-decoration: none;
}
body.myshop-product-cards.page-id-4713 #main :is(.elementor-element-a7d49f6, .elementor-element-6afaae3, .elementor-element-e3c8a34) .elementor-heading-title::before,
body.myshop-product-cards.single-product #main .related.products > h2::before {
  content: '';
  display: block;
  box-sizing: border-box;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid #dfe6f8;
  border-radius: 11px;
  background: #eff3fe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23665ec7' stroke-width='1.35' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='m12 3 9 5v8l-9 5-9-5V8l9-5Z M3 8l9 5 9-5 M12 13v8 M7.5 5.5l9 5'/%3E%3C/svg%3E") center / 23px 23px no-repeat;
  pointer-events: none;
}
body.myshop-product-cards.page-id-4713 #main :is(.elementor-element-a7d49f6, .elementor-element-6afaae3, .elementor-element-e3c8a34) .elementor-heading-title::after,
body.myshop-product-cards.single-product #main .related.products > h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(50% - 32px);
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #4392e5, #8c73d7);
  pointer-events: none;
}
body.myshop-product-cards.single-product #main .related.products {
  background: radial-gradient(ellipse 420px 260px at 50% 0, rgba(222, 230, 253, .36), transparent 80%);
}
/* Small category chips add a useful detail in the space above each title. */
/* The older homepage CSS forces every heading to display:block. */
body.myshop-product-cards #main ul.products > li.product .woocommerce-loop-product__title {
  display: -webkit-box !important;
}
body.myshop-product-cards #main ul.products > li.product .ast-woo-product-category {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  align-self: flex-start;
  gap: 5px;
  max-width: 100%;
  margin-bottom: 10px;
  padding: 3px 8px;
  border: 1px solid #e5ebf8;
  border-radius: 6px;
  background: #f3f6fc;
  color: #5d6783;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .035em;
}
body.myshop-product-cards #main ul.products > li.product .ast-woo-product-category::before {
  content: '';
  flex: 0 0 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8a8dd1;
}
/* Two short corner strokes add detail without overlaying the product image. */
body.myshop-product-cards #main ul.products > li.product {
  position: relative;
  border-color: #e1e7f1;
  box-shadow: 0 3px 12px rgba(34, 53, 95, .035);
}
body.myshop-product-cards #main ul.products > li.product::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: 9px;
  right: 9px;
  width: 15px;
  height: 15px;
  border-top: 1px solid #d8e0f2;
  border-right: 1px solid #d8e0f2;
  border-radius: 0 5px 0 0;
  pointer-events: none;
}
@media (max-width: 767px) {
  body.myshop-product-cards.page-id-4713 #main .elementor-element-7370f63 {
    --padding-top: 30px;
    --padding-bottom: 24px;
  }
  body.myshop-product-cards.page-id-4713 #main :is(.elementor-element-a7d49f6, .elementor-element-6afaae3, .elementor-element-e3c8a34) .elementor-heading-title,
  body.myshop-product-cards.single-product #main .related.products > h2 {
    gap: 10px;
    font-size: 26px;
  }
  body.myshop-product-cards #main ul.products > li.product .ast-woo-product-category {
    gap: 4px;
    padding-inline: 6px;
    font-size: 11px;
    letter-spacing: 0;
  }
  body.myshop-product-cards #main ul.products > li.product::after {
    top: 6px;
    right: 6px;
    width: 11px;
    height: 11px;
  }
}
