/* VeraGloss collection cards. Scoped so checkout, bag and product details retain their designs. */
body ul.products li.product.vg-product-card{
  --vg-card-inset:14px;
  --vg-card-frame-inset:10px;
  --vg-card-paper:#fffdf9;
  --vg-card-photo:#f1eee7;
  position:relative;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  background:var(--vg-card-paper)!important;
  border:1px solid #e2dbce!important;
  border-radius:8px!important;
  box-shadow:0 5px 18px rgba(23,42,54,.045)!important;
  overflow:hidden!important;
  isolation:isolate;
}
body ul.products li.product.vg-product-card > .vg-card-media{
  position:relative;
  flex:0 0 auto;
  min-width:0;
  background:var(--vg-card-photo);
  border-bottom:1px solid rgba(185,151,91,.28);
}
body ul.products li.product.vg-product-card .vg-card-photo-frame{
  display:block;
  position:relative;
  width:100%;
  aspect-ratio:1 / 1;
  margin:0;
  overflow:hidden;
  background:var(--vg-card-photo);
  border-radius:0;
}
/* A softly lit rectangular display panel supports transparent product photos.
   The stationary backdrop stays behind every slide and transition image. */
body ul.products li.product.vg-product-card .vg-card-photo-frame::before{
  content:'';
  position:absolute;
  inset:var(--vg-card-frame-inset);
  width:auto;
  height:auto;
  aspect-ratio:auto;
  transform:none;
  clip-path:none;
  z-index:0;
  border:1px solid rgba(255,253,249,.8);
  border-radius:3px;
  background:linear-gradient(145deg,#fbfaf6 0%,var(--vg-card-circle-top,#edf1e8) 48%,var(--vg-card-circle-bottom,#dce5da) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75),inset 0 -16px 24px rgba(79,108,98,.065);
  pointer-events:none;
}
body ul.products li.product.vg-product-card .vg-card-photo-frame::after{
  content:'';
  display:block;
  position:absolute;
  inset:var(--vg-card-frame-inset);
  z-index:3;
  border:1px solid rgba(185,151,91,.38);
  border-radius:3px;
  background:transparent;
  box-shadow:none;
  pointer-events:none;
}
body ul.products li.product.vg-product-card .vg-card-photo-frame > img:is(.wp-post-image,.attachment-woocommerce_thumbnail,.vg-card-photo-outgoing){
  position:relative;
  z-index:1;
  display:block;
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  aspect-ratio:1 / 1!important;
  margin:0!important;
  padding:16px!important;
  object-fit:contain!important;
  object-position:center!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
body ul.products li.product.vg-product-card[data-vg-card-variations] .vg-card-photo-frame > img:is(.wp-post-image,.attachment-woocommerce_thumbnail,.vg-card-photo-outgoing){
  padding-bottom:36px!important;
}
body ul.products li.product.vg-product-card .vg-card-content{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  align-items:stretch;
  min-width:0;
  padding:12px var(--vg-card-inset) 12px;
  background:var(--vg-card-paper);
}
body ul.products li.product.vg-product-card .woocommerce-loop-product__title{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  flex:0 0 auto!important;
  min-width:0;
  width:100%;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  margin:0 0 5px!important;
  padding:0!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:17px!important;
  font-weight:500!important;
  line-height:20px!important;
  letter-spacing:-.025em;
  color:var(--ink)!important;
  text-shadow:none!important;
  overflow:hidden!important;
  overflow-wrap:anywhere;
}
body ul.products li.product.vg-product-card .vg-card-title-link{
  color:inherit;
  text-decoration:none;
}
body ul.products li.product.vg-product-card .vg-product-subtitle{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  flex:0 0 auto!important;
  height:26px!important;
  min-height:26px!important;
  max-height:26px!important;
  margin:0 0 5px!important;
  padding:0!important;
  font-size:10px!important;
  font-weight:400;
  line-height:13px!important;
  color:#73796f;
  overflow:hidden!important;
}
body ul.products li.product.vg-product-card .price{
  display:flex!important;
  flex:0 0 auto!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  align-content:center;
  gap:0 6px;
  width:100%!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  margin:0!important;
  padding:0!important;
  font-family:Inter,Arial,Helvetica,sans-serif!important;
  font-size:15px!important;
  font-weight:600!important;
  line-height:16px!important;
  letter-spacing:-.025em;
  color:var(--ink)!important;
  white-space:normal!important;
  overflow:hidden!important;
}
body ul.products li.product.vg-product-card .price .amount{white-space:nowrap}
body ul.products li.product.vg-product-card .price del{
  color:#85877e!important;
  font-size:.78em!important;
  font-weight:400!important;
  opacity:1!important;
}
body ul.products li.product.vg-product-card .price ins{
  background:none!important;
  color:var(--ink)!important;
  font-weight:600!important;
  text-decoration:none!important;
}
body ul.products li.product.vg-product-card .vg-card-rating{
  display:flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  height:16px!important;
  min-height:16px!important;
  max-height:16px!important;
  gap:5px;
  margin:0 0 9px!important;
  padding:0!important;
  line-height:16px!important;
  overflow:hidden!important;
}
body ul.products li.product.vg-product-card .vg-card-stars{
  width:55px;
  flex:0 0 55px;
  height:12px;
  line-height:12px;
}
body ul.products li.product.vg-product-card .vg-card-star{
  width:11px;height:12px;font-size:11px;line-height:12px;
  background:linear-gradient(90deg,var(--brand-gold) var(--vg-star-fill),#dbd7cd var(--vg-star-fill));
  -webkit-background-clip:text;background-clip:text;
}
body ul.products li.product.vg-product-card .vg-card-review-count{
  min-width:0;
  font-size:10px;
  line-height:12px;
  color:#73796f;
  overflow:hidden;
  text-overflow:ellipsis;
}
body ul.products li.product.vg-product-card .vg-card-actions{
  display:flex!important;
  align-items:stretch!important;
  flex:0 0 auto!important;
  width:100%;
  min-width:0;
  margin:auto 0 0!important;
  padding:0!important;
  gap:0!important;
}
body ul.products li.product.vg-product-card .vg-card-actions > .vg-card-variation-preview{display:none!important}
body ul.products li.product.vg-product-card .vg-card-actions > .button{
  position:relative;
  display:flex!important;
  flex:1 1 auto!important;
  align-items:center!important;
  justify-content:space-between!important;
  align-self:stretch!important;
  width:100%!important;
  min-width:0;
  max-width:100%!important;
  height:36px!important;
  min-height:36px!important;
  margin:0!important;
  padding:0 12px!important;
  border:1px solid var(--ink)!important;
  border-radius:0!important;
  background:var(--ink)!important;
  color:var(--ivory)!important;
  font-family:Inter,Arial,Helvetica,sans-serif!important;
  font-size:10px!important;
  font-weight:600!important;
  line-height:14px!important;
  letter-spacing:.035em;
  text-align:left;
  text-decoration:none!important;
  white-space:normal!important;
  box-shadow:none!important;
}
body ul.products li.product.vg-product-card .vg-card-actions > .button:not(.loading):not(.added)::after{
  content:'\2192';
  position:static;
  display:block;
  flex:0 0 auto;
  width:auto;height:auto;
  margin-left:8px;
  background:none;
  font-size:17px;
  font-weight:400;
  line-height:1;
  opacity:1;
  transform:none;
  animation:none!important;
  pointer-events:none;
}
body ul.products li.product.vg-product-card .vg-card-actions > .button:focus-visible{
  outline:2px solid var(--brand-gold);
  outline-offset:3px;
}
body ul.products li.product.vg-product-card .vg-card-photo-frame > .vg-card-variation-preview--photo{
  display:block;
  position:absolute;
  z-index:4;
  inset:auto calc(var(--vg-card-frame-inset) + 4px) calc(var(--vg-card-frame-inset) + 4px) auto;
  max-width:calc(100% - var(--vg-card-frame-inset) - var(--vg-card-frame-inset) - 8px);
  min-width:0;
  text-align:right;
  opacity:0;
  visibility:hidden;
  transform:translateY(7px);
  transition:opacity .22s ease,transform .28s cubic-bezier(.22,.61,.36,1),visibility 0s linear .28s;
  pointer-events:none;
}
@media(hover:hover){
  body ul.products li.product.vg-product-card:hover .vg-card-photo-frame > .vg-card-variation-preview--photo{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    transition-delay:0s;
  }
}
body ul.products li.product.vg-product-card:has(:focus-visible) .vg-card-photo-frame > .vg-card-variation-preview--photo{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
  transition-delay:0s;
}
@media(prefers-reduced-motion:reduce){
  body ul.products li.product.vg-product-card .vg-card-photo-frame > .vg-card-variation-preview--photo{
    transition:none;
    transform:none;
  }
}
body ul.products li.product.vg-product-card .vg-card-variation-preview--photo .vg-card-variation-name{
  display:block;
  width:fit-content;
  max-width:100%;
  min-height:0;
  height:auto;
  max-height:none;
  margin:0 0 0 auto;
  padding:4px 10px;
  border:1px solid rgba(185,151,91,.35);
  border-radius:0;
  background:rgba(255,253,249,.94);
  color:var(--sage-dark);
  font-size:10px;
  font-weight:500;
  line-height:14px;
  letter-spacing:.01em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body ul.products li.product.vg-product-card > .vg-wishlist{
  top:12px!important;right:12px!important;
  width:32px!important;height:32px!important;
  border:1px solid rgba(23,42,54,.13)!important;
  border-radius:50%!important;
  background:rgba(255,253,249,.94)!important;
  color:var(--ink)!important;
  font-size:0!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  pointer-events:auto!important;
  box-shadow:none!important;
}
body ul.products li.product.vg-product-card > .vg-wishlist::before{
  content:'';display:block;width:16px;height:16px;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.4 5.4 0 0 0-7.6 0L12 5.8l-1.2-1.2a5.4 5.4 0 0 0-7.6 7.6L12 21l8.8-8.8a5.4 5.4 0 0 0 0-7.6Z' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.4 5.4 0 0 0-7.6 0L12 5.8l-1.2-1.2a5.4 5.4 0 0 0-7.6 7.6L12 21l8.8-8.8a5.4 5.4 0 0 0 0-7.6Z' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
body ul.products li.product.vg-product-card > .vg-wishlist.active{
  background:var(--ink)!important;color:var(--ivory)!important;border-color:var(--ink)!important;
}
body ul.products li.product.vg-product-card .onsale{
  position:absolute!important;
  z-index:4;
  top:14px!important;left:12px!important;right:auto!important;
  display:inline-flex;align-items:center;justify-content:center;
  width:auto!important;min-width:0!important;
  min-height:0!important;height:auto!important;
  margin:0!important;padding:4px 7px!important;
  border:1px solid rgba(185,151,91,.45)!important;
  border-radius:0!important;
  background:var(--vg-card-paper)!important;
  color:var(--ink)!important;
  font-size:9px!important;font-weight:500!important;line-height:14px!important;letter-spacing:.03em;
}
body ul.products li.product.vg-product-card .vg-countdown{
  position:absolute;z-index:4;top:44px;left:12px;
  margin:0;padding:2px 5px;background:var(--vg-card-paper);
  font-size:9px;line-height:12px;color:var(--sage-dark);
}
/* Preserve the existing lift/glow and isolate it from navigation snapshots. */
body ul.products li.product.vg-product-card:hover,
body ul.products li.product.vg-product-card:focus-within,
body ul.products li.product.vg-product-card:active,
body ul.products li.product.vg-product-card.vg-card-touched{
  border-color:var(--ink)!important;
  box-shadow:0 8px 18px rgba(23,42,54,.16),0 0 0 2px rgba(23,42,54,.13),0 0 12px rgba(23,42,54,.28)!important;
}
body ul.products li.product.vg-product-card:not(.vg-product-opening).vg-card-touched .woocommerce-loop-product__title,
body ul.products li.product.vg-product-card .vg-card-title-link:focus-visible{color:var(--sage-dark)!important}
@media(hover:hover) and (pointer:fine){
  body ul.products li.product.vg-product-card:not(.vg-product-opening):hover .woocommerce-loop-product__title{color:var(--sage-dark)!important}
  body ul.products li.product.vg-product-card:not(.vg-product-opening):not(.vg-product-motion-surface):hover .vg-card-photo-frame > img.wp-post-image{transform:scale(1.015)!important;transition:transform .28s ease}
  body ul.products li.product.vg-product-card .vg-card-actions > .button:hover{background:var(--sage-dark)!important;border-color:var(--sage-dark)!important}
}
@media(hover:none){
  body ul.products li.product.vg-product-card:hover:not(:focus-within):not(:active):not(.vg-card-touched){
    border-color:#e2dbce!important;box-shadow:0 5px 18px rgba(23,42,54,.045)!important;
  }
}
@media(min-width:641px) and (max-width:1100px){
  body ul.products li.product.vg-product-card{--vg-card-inset:11px}
  body ul.products li.product.vg-product-card .vg-card-content{padding-top:10px}
  body ul.products li.product.vg-product-card .woocommerce-loop-product__title{
    height:36px!important;min-height:36px!important;max-height:36px!important;font-size:15px!important;line-height:18px!important;
  }
  body ul.products li.product.vg-product-card .price{font-size:14px!important}
  body ul.products li.product.vg-product-card .vg-card-actions > .button{padding-inline:9px!important;font-size:9px!important;height:36px!important;min-height:36px!important}
}
@media(max-width:640px){
  body ul.products li.product.vg-product-card{--vg-card-inset:7px;--vg-card-frame-inset:6px;border-radius:5px!important}
  body ul.products li.product.vg-product-card .vg-card-photo-frame > img:is(.wp-post-image,.attachment-woocommerce_thumbnail,.vg-card-photo-outgoing){padding:8px!important}
  body ul.products li.product.vg-product-card[data-vg-card-variations] .vg-card-photo-frame > img:is(.wp-post-image,.attachment-woocommerce_thumbnail,.vg-card-photo-outgoing){padding:8px!important}
  body ul.products li.product.vg-product-card .vg-card-photo-frame > .vg-card-variation-preview--photo{display:none!important}
  body ul.products li.product.vg-product-card .vg-card-content{padding:7px var(--vg-card-inset)}
  body ul.products li.product.vg-product-card .woocommerce-loop-product__title{
    height:28px!important;min-height:28px!important;max-height:28px!important;
    margin-bottom:3px!important;font-size:11px!important;line-height:14px!important;letter-spacing:-.02em;
  }
  body ul.products li.product.vg-product-card .vg-product-subtitle{
    display:-webkit-box!important;
    height:22px!important;min-height:22px!important;max-height:22px!important;
    margin:0 0 4px!important;font-size:8.5px!important;line-height:11px!important;
    letter-spacing:0;text-transform:none;
  }
  body ul.products li.product.vg-product-card .price{
    height:26px!important;min-height:26px!important;max-height:26px!important;
    gap:0 4px;font-size:10px!important;line-height:13px!important;
  }
  body ul.products li.product.vg-product-card .vg-card-rating{
    height:12px!important;min-height:12px!important;max-height:12px!important;
    margin:0 0 6px!important;gap:3px;line-height:12px!important;
  }
  body ul.products li.product.vg-product-card .vg-card-stars{width:45px;flex-basis:45px;height:10px;line-height:10px}
  body ul.products li.product.vg-product-card .vg-card-star{width:9px;height:10px;font-size:9px;line-height:10px}
  body ul.products li.product.vg-product-card .vg-card-review-count{font-size:8px;line-height:10px}
  body ul.products li.product.vg-product-card .vg-card-actions > .button{
    height:28px!important;min-height:28px!important;padding:0 3px!important;
    justify-content:center!important;text-align:center;white-space:nowrap!important;
    font-size:8px!important;line-height:11px!important;letter-spacing:0;
  }
  body ul.products li.product.vg-product-card .vg-card-actions > .button:not(.loading):not(.added)::after{display:none!important}
  body ul.products li.product.vg-product-card > .vg-wishlist{top:6px!important;right:6px!important;width:25px!important;height:25px!important}
  body ul.products li.product.vg-product-card > .vg-wishlist::before{width:13px;height:13px}
  body ul.products li.product.vg-product-card .onsale{top:8px!important;left:6px!important;padding:2px 4px!important;font-size:8px!important;line-height:11px!important}
  body ul.products li.product.vg-product-card .vg-countdown{top:29px;left:6px;font-size:7px;line-height:10px;padding:1px 3px}
}
