/* Category-specific product card styles for WooCommerce archives */

body.novatheme-shop-category-style--wine ul.products li.product,
ul.products li.product.novatheme-product-card--style-wine {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "title"
    "price"
    "image"
    "button";
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  height: 100%;
  text-align: center;
}

body.novatheme-shop-category-style--wine ul.products li.product-category,
ul.products li.product-category.novatheme-product-card--style-wine {
  text-align: center;
}

body.novatheme-shop-category-style--wine ul.products li.product a.woocommerce-LoopProduct-link,
ul.products li.product.novatheme-product-card--style-wine a.woocommerce-LoopProduct-link {
  display: contents;
  color: inherit;
  text-decoration: none;
}

body.novatheme-shop-category-style--wine ul.products li.product-category > a,
ul.products li.product-category.novatheme-product-card--style-wine > a {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "title"
    "image";
  grid-template-rows: auto 1fr;
  align-content: start;
  color: inherit;
  text-decoration: none;
}

body.novatheme-shop-category-style--wine ul.products li.product .product-primary-category,
ul.products li.product.novatheme-product-card--style-wine .product-primary-category {
  display: none;
}

body.novatheme-shop-category-style--wine ul.products li.product .woocommerce-loop-product__title,
ul.products li.product.novatheme-product-card--style-wine .woocommerce-loop-product__title {
  grid-area: title;
  margin: 0 0 16px 0;
  color: #111;
  font-family: "Playfair Display", serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.25;
}

body.novatheme-shop-category-style--wine ul.products li.product-category .woocommerce-loop-category__title,
ul.products li.product-category.novatheme-product-card--style-wine .woocommerce-loop-category__title {
  grid-area: title;
  display: block;
  margin: 0 0 16px 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  color: #111;
  font-family: "Playfair Display", serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.25;
}

body.novatheme-shop-category-style--wine ul.products li.product-category .woocommerce-loop-category__title mark,
ul.products li.product-category.novatheme-product-card--style-wine .woocommerce-loop-category__title mark {
  display: none;
}

body.novatheme-shop-category-style--wine ul.products li.product .star-rating,
body.novatheme-shop-category-style--wine ul.products li.product .woocommerce-review-link,
ul.products li.product.novatheme-product-card--style-wine .star-rating,
ul.products li.product.novatheme-product-card--style-wine .woocommerce-review-link {
  display: none !important;
}

body.novatheme-shop-category-style--wine ul.products li.product .price,
ul.products li.product.novatheme-product-card--style-wine .price {
  grid-area: price;
  width: 100%;
  margin: 0 0 18px 0;
  padding: 10px 14px;
  background: #444;
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.novatheme-shop-category-style--wine ul.products li.product .price,
body.novatheme-shop-category-style--wine ul.products li.product .price *,
body.novatheme-shop-category-style--wine ul.products li.product .price .woocommerce-Price-amount,
ul.products li.product.novatheme-product-card--style-wine .price,
ul.products li.product.novatheme-product-card--style-wine .price *,
ul.products li.product.novatheme-product-card--style-wine .price .woocommerce-Price-amount {
  color: #fff !important;
}

body.novatheme-shop-category-style--wine ul.products li.product .onsale,
ul.products li.product.novatheme-product-card--style-wine .onsale {
  position: static;
  margin: 0 auto 12px;
}

body.novatheme-shop-category-style--wine ul.products li.product .product-thumb.swap-on-hover,
ul.products li.product.novatheme-product-card--style-wine .product-thumb.swap-on-hover {
  grid-area: image;
  width: 100%;
  margin: 0 0 18px 0;
  padding: 24px;
  background: #ececec;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

body.novatheme-shop-category-style--wine ul.products li.product-category .product-thumb--category,
ul.products li.product-category.novatheme-product-card--style-wine .product-thumb--category {
  grid-area: image;
  width: 100%;
  margin: 0;
  padding: 24px;
  background: #ececec;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

body.novatheme-shop-category-style--wine ul.products li.product .product-thumb img,
ul.products li.product.novatheme-product-card--style-wine .product-thumb img {
  object-fit: contain;
}

body.novatheme-shop-category-style--wine ul.products li.product-category .product-thumb--category img,
ul.products li.product-category.novatheme-product-card--style-wine .product-thumb--category img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

body.novatheme-shop-category-style--wine ul.products li.product .product-thumb .thumb-secondary,
ul.products li.product.novatheme-product-card--style-wine .product-thumb .thumb-secondary {
  inset: 24px;
  width: calc(100% - 48px);
  height: calc(100% - 48px);
  display: none;
}

body.novatheme-shop-category-style--wine ul.products li.product .product-thumb .thumb-primary,
ul.products li.product.novatheme-product-card--style-wine .product-thumb .thumb-primary,
body.novatheme-shop-category-style--wine ul.products li.product:hover .product-thumb .thumb-primary,
ul.products li.product.novatheme-product-card--style-wine:hover .product-thumb .thumb-primary {
  opacity: 1;
  transform: none;
  filter: none;
}

body.novatheme-shop-category-style--wine ul.products li.product:hover .product-thumb .thumb-secondary,
ul.products li.product.novatheme-product-card--style-wine:hover .product-thumb .thumb-secondary {
  opacity: 0;
  transform: none;
  filter: none;
}

body.novatheme-shop-category-style--wine ul.products li.product .button,
body.novatheme-shop-category-style--wine ul.products li.product a.button,
body.novatheme-shop-category-style--wine ul.products li.product .added_to_cart,
ul.products li.product.novatheme-product-card--style-wine .button,
ul.products li.product.novatheme-product-card--style-wine a.button,
ul.products li.product.novatheme-product-card--style-wine .added_to_cart {
  grid-area: button;
  width: 100%;
  margin-top: 0;
  padding: 16px 18px;
  background: #000 !important;
  color: #fff !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: "Playfair Display", serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

body.novatheme-shop-category-style--wine ul.products li.product .button:hover,
body.novatheme-shop-category-style--wine ul.products li.product a.button:hover,
body.novatheme-shop-category-style--wine ul.products li.product .added_to_cart:hover,
ul.products li.product.novatheme-product-card--style-wine .button:hover,
ul.products li.product.novatheme-product-card--style-wine a.button:hover,
ul.products li.product.novatheme-product-card--style-wine .added_to_cart:hover {
  background: #1f1f1f !important;
  color: #fff !important;
}

@media (min-width: 992px) {
  body.novatheme-shop-category-style--wine .woocommerce ul.products,
  body.novatheme-shop-category-style--wine .woocommerce-page ul.products {
    justify-content: flex-start;
  }

  body.novatheme-shop-category-style--wine .woocommerce ul.products li.product,
  body.novatheme-shop-category-style--wine .woocommerce-page ul.products li.product {
    width: 33.3333% !important;
    max-width: 33.3333% !important;
    flex: 0 0 33.3333% !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  body.novatheme-shop-category-style--wine .woocommerce ul.products li.product,
  body.novatheme-shop-category-style--wine .woocommerce-page ul.products li.product {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
  }
}

@media (max-width: 767.98px) {
  body.novatheme-shop-category-style--wine .woocommerce ul.products li.product,
  body.novatheme-shop-category-style--wine .woocommerce-page ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}

@media (max-width: 767.98px) {
  body.novatheme-shop-category-style--wine ul.products li.product .product-thumb.swap-on-hover,
  ul.products li.product.novatheme-product-card--style-wine .product-thumb.swap-on-hover,
  body.novatheme-shop-category-style--wine ul.products li.product-category .product-thumb--category,
  ul.products li.product-category.novatheme-product-card--style-wine .product-thumb--category {
    min-height: 260px;
    padding: 18px;
  }

  body.novatheme-shop-category-style--wine ul.products li.product .product-thumb .thumb-secondary,
  ul.products li.product.novatheme-product-card--style-wine .product-thumb .thumb-secondary {
    inset: 18px;
    width: calc(100% - 36px);
    height: calc(100% - 36px);
  }
}

.novatheme-shop-custom-navigation--display-level-2 ul.products {
  justify-content: center;
  row-gap: 36px;
}

.novatheme-shop-custom-navigation--display-level-2 ul.products li.product.novatheme-shop-custom-card--display-level-2,
.novatheme-shop-custom-navigation--display-level-2 ul.products li.product-category.novatheme-shop-custom-card--display-level-2 {
  display: block;
  height: auto;
  text-align: center;
  grid-template-columns: none;
  grid-template-areas: none;
  grid-template-rows: none;
  align-content: normal;
}

.novatheme-shop-custom-navigation--display-level-2 ul.products li.product.novatheme-shop-custom-card--display-level-2 > a,
.novatheme-shop-custom-navigation--display-level-2 ul.products li.product-category.novatheme-shop-custom-card--display-level-2 > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  color: inherit;
  text-decoration: none;
}

.novatheme-shop-custom-navigation--display-level-2 ul.products li.product.novatheme-shop-custom-card--display-level-2 .woocommerce-loop-category__title,
.novatheme-shop-custom-navigation--display-level-2 ul.products li.product-category.novatheme-shop-custom-card--display-level-2 .woocommerce-loop-category__title {
  display: none !important;
}

.novatheme-shop-custom-navigation--display-level-2 ul.products li.product.novatheme-shop-custom-card--display-level-2 .product-thumb--category,
.novatheme-shop-custom-navigation--display-level-2 ul.products li.product-category.novatheme-shop-custom-card--display-level-2 .product-thumb--category {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-sizing: border-box;
}

.novatheme-shop-custom-navigation--display-level-2 ul.products li.product.novatheme-shop-custom-card--display-level-2 .product-thumb--category img,
.novatheme-shop-custom-navigation--display-level-2 ul.products li.product-category.novatheme-shop-custom-card--display-level-2 .product-thumb--category img {
  display: block;
  width: auto;
  max-width: min(100%, 185px);
  max-height: 460px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.novatheme-shop-custom-navigation--display-level-2 ul.products li.product.novatheme-shop-custom-card--display-level-2 .novatheme-shop-custom-card__cta,
.novatheme-shop-custom-navigation--display-level-2 ul.products li.product-category.novatheme-shop-custom-card--display-level-2 .novatheme-shop-custom-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 72px;
  padding: 16px 20px;
  background: #fff;
  color: #33476a;
  border: 0;
  box-shadow: none;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: normal;
  word-break: normal;
  max-width: 12ch;
}

.novatheme-shop-custom-navigation--display-level-2 ul.products li.product.novatheme-shop-custom-card--display-level-2 > a:hover .novatheme-shop-custom-card__cta,
.novatheme-shop-custom-navigation--display-level-2 ul.products li.product-category.novatheme-shop-custom-card--display-level-2 > a:hover .novatheme-shop-custom-card__cta {
  color: #1f2f4d;
}

@media (min-width: 1200px) {
  .novatheme-shop-custom-navigation--display-level-2 ul.products li.product.novatheme-shop-custom-card--display-level-2,
  .novatheme-shop-custom-navigation--display-level-2 ul.products li.product-category.novatheme-shop-custom-card--display-level-2 {
    width: 20% !important;
    max-width: 20% !important;
    flex: 0 0 20% !important;
  }
}

@media (max-width: 767.98px) {
  .novatheme-shop-custom-navigation--display-level-2 ul.products {
    row-gap: 26px;
  }

  .novatheme-shop-custom-navigation--display-level-2 ul.products li.product.novatheme-shop-custom-card--display-level-2 .product-thumb--category img,
  .novatheme-shop-custom-navigation--display-level-2 ul.products li.product-category.novatheme-shop-custom-card--display-level-2 .product-thumb--category img {
    max-width: min(100%, 150px);
    max-height: 320px;
  }

  .novatheme-shop-custom-navigation--display-level-2 ul.products li.product.novatheme-shop-custom-card--display-level-2 .novatheme-shop-custom-card__cta,
  .novatheme-shop-custom-navigation--display-level-2 ul.products li.product-category.novatheme-shop-custom-card--display-level-2 .novatheme-shop-custom-card__cta {
    min-width: 138px;
    min-height: 64px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }
}
