/* VULQIR Theme v2.7.19 — Products live catalog + curated journal grid. */
#vq-products .vq-products-live-gallery,
#vq-products .vq-blog-gallery--curated {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.45vw, 20px);
  align-items: stretch;
}

/* Automatic WooCommerce product cards. */
#vq-products .vq-products-live-gallery .vq-live-product {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(177, 148, 108, .18);
  background: #fffefa;
  box-shadow: 0 3px 16px rgba(49, 39, 28, .025);
  transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}
#vq-products .vq-products-live-gallery .vq-live-product__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
#vq-products .vq-products-live-gallery .vq-live-product__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e9e1d6;
  isolation: isolate;
}
#vq-products .vq-products-live-gallery .vq-live-product__image {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  transition: transform .65s cubic-bezier(.2,.65,.25,1);
}
#vq-products .vq-products-live-gallery .vq-live-product--feature {
  grid-column: span 2;
  grid-row: span 2;
  border-color: rgba(177, 148, 108, .3);
}
#vq-products .vq-products-live-gallery .vq-live-product--feature .vq-live-product__image {
  aspect-ratio: 1.28 / 1;
  object-position: center;
}
#vq-products .vq-products-live-gallery .vq-live-product__mark {
  position: absolute;
  left: clamp(13px, 1.6vw, 22px);
  bottom: clamp(12px, 1.4vw, 19px);
  z-index: 2;
  padding: 7px 10px 6px;
  border: 1px solid rgba(255, 250, 242, .72);
  background: rgba(250, 247, 241, .9);
  color: #735c40;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .17em;
  line-height: 1.4;
  backdrop-filter: blur(8px);
}
#vq-products .vq-products-live-gallery .vq-live-product__caption {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 11px 12px 12px;
  background: #fffefa;
}
#vq-products .vq-products-live-gallery .vq-live-product__name {
  display: -webkit-box;
  width: 100%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #302b27;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(16px, 1.18vw, 20px);
  font-weight: 500;
  line-height: 1.18;
  overflow-wrap: anywhere;
}
#vq-products .vq-products-live-gallery .vq-live-product--feature .vq-live-product__caption {
  padding: clamp(16px, 1.6vw, 23px) clamp(18px, 2vw, 28px);
}
#vq-products .vq-products-live-gallery .vq-live-product--feature .vq-live-product__name {
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.12;
}
#vq-products .vq-products-live-gallery .vq-live-product__action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a98960;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.5;
}
#vq-products .vq-products-live-gallery .vq-live-product:hover,
#vq-products .vq-products-live-gallery .vq-live-product:focus-within {
  border-color: rgba(169, 137, 96, .55);
  box-shadow: 0 12px 30px rgba(49, 39, 28, .08);
  transform: translateY(-2px);
}
#vq-products .vq-products-live-gallery .vq-live-product:hover .vq-live-product__image {
  transform: scale(1.035);
}
#vq-products .vq-products-live-gallery .vq-live-product__link:focus-visible {
  outline: 2px solid #a98960;
  outline-offset: -3px;
}

/* A small catalog should still feel intentional instead of leaving empty slots. */
#vq-products .vq-products-live-gallery--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#vq-products .vq-products-live-gallery--compact .vq-live-product--feature {
  grid-column: span 2;
  grid-row: auto;
}
#vq-products .vq-products-live-gallery--compact .vq-live-product--feature .vq-live-product__image { aspect-ratio: 1.65 / 1; }
#vq-products .vq-products-live-gallery--two .vq-live-product--feature { grid-column: span 1; }
#vq-products .vq-products-live-gallery--two .vq-live-product--feature .vq-live-product__image { aspect-ratio: 1 / 1; }
#vq-products .vq-products-live-gallery--single { grid-template-columns: minmax(0, 1fr); }
#vq-products .vq-products-live-gallery--single .vq-live-product--feature { grid-column: 1; }
#vq-products .vq-products-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 25px 30px;
  border-top: 1px solid #e6dfd5;
  border-bottom: 1px solid #e6dfd5;
  color: #706a63;
  font-size: 12px;
  line-height: 1.9;
}
#vq-products .vq-products-empty p { margin: 0; }
#vq-products .vq-products-empty a {
  flex: 0 0 auto;
  color: #a98960;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-decoration: none;
  border-bottom: 1px solid #a98960;
  padding-bottom: 4px;
}

/* Manually curated blog stories share the established magazine card language. */
#vq-products .vq-blog-gallery--curated .vq-blog-featured-card { min-width: 0; }
#vq-products .vq-blog-gallery--curated .vq-blog-featured-card__title { overflow-wrap: anywhere; }
#vq-products .vq-blog-gallery--curated.vq-blog-gallery--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#vq-products .vq-blog-gallery--curated.vq-blog-gallery--compact .vq-community-card--feature {
  grid-column: span 2;
  grid-row: auto;
}
#vq-products .vq-blog-gallery--curated.vq-blog-gallery--compact .vq-community-card--feature .vq-community-card__image { aspect-ratio: 1.65 / 1; }
#vq-products .vq-blog-gallery--curated.vq-blog-gallery--two .vq-community-card--feature { grid-column: span 1; }
#vq-products .vq-blog-gallery--curated.vq-blog-gallery--two .vq-community-card--feature .vq-community-card__image { aspect-ratio: 1 / 1; }
#vq-products .vq-blog-gallery--curated.vq-blog-gallery--single { grid-template-columns: minmax(0, 1fr); }
#vq-products .vq-blog-gallery--curated.vq-blog-gallery--single .vq-community-card--feature { grid-column: 1; }
#vq-products .vq-blog-gallery--curated .vq-community-card__excerpt { -webkit-line-clamp: 4; max-height: calc(1.68em * 4); }

@media (min-width: 761px) and (max-width: 1180px) {
  #vq-products .vq-products-live-gallery--full,
  #vq-products .vq-blog-gallery--curated.vq-blog-gallery--full { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #vq-products .vq-products-live-gallery--full .vq-live-product--feature,
  #vq-products .vq-blog-gallery--curated.vq-blog-gallery--full .vq-community-card--feature { grid-row: auto; }
  #vq-products .vq-products-live-gallery--full .vq-live-product--feature .vq-live-product__image,
  #vq-products .vq-blog-gallery--curated.vq-blog-gallery--full .vq-community-card--feature .vq-community-card__image { aspect-ratio: 1.5 / 1; }
}
@media (max-width: 760px) {
  #vq-products .vq-products-live-gallery,
  #vq-products .vq-blog-gallery--curated { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #vq-products .vq-products-live-gallery .vq-live-product--feature,
  #vq-products .vq-blog-gallery--curated .vq-community-card--feature { grid-row: auto; }
  #vq-products .vq-products-live-gallery .vq-live-product--feature .vq-live-product__image,
  #vq-products .vq-blog-gallery--curated .vq-community-card--feature .vq-community-card__image { aspect-ratio: 1.35 / 1; }
  #vq-products .vq-products-live-gallery--two .vq-live-product--feature,
  #vq-products .vq-blog-gallery--two .vq-community-card--feature { grid-column: span 1; }
  #vq-products .vq-products-live-gallery--single,
  #vq-products .vq-blog-gallery--single { grid-template-columns: minmax(0, 1fr); }
  #vq-products .vq-products-live-gallery--single .vq-live-product--feature,
  #vq-products .vq-blog-gallery--single .vq-community-card--feature { grid-column: 1; }
  #vq-products .vq-products-live-gallery .vq-live-product__caption { padding: 10px 10px 11px; }
  #vq-products .vq-products-live-gallery .vq-live-product__name { font-size: clamp(15px, 4vw, 19px); }
  #vq-products .vq-products-live-gallery .vq-live-product--feature .vq-live-product__name { font-size: clamp(22px, 6vw, 30px); }
  #vq-products .vq-products-live-gallery .vq-live-product__action { font-size: 7px; }
  #vq-products .vq-products-empty { display: block; padding: 20px 0; }
  #vq-products .vq-products-empty a { display: inline-block; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  #vq-products .vq-products-live-gallery .vq-live-product,
  #vq-products .vq-products-live-gallery .vq-live-product__image { transition: none; }
  #vq-products .vq-products-live-gallery .vq-live-product:hover { transform: none; }
  #vq-products .vq-products-live-gallery .vq-live-product:hover .vq-live-product__image { transform: none; }
}
