/* 3Grafik: FINAL archive design. Do not apply to Home product cards or individual products. */
@media (min-width: 992px) {
  html body.tax-product_cat .products .row.grid,
  html body.tax-product_tag .products .row.grid,
  html body.post-type-archive-product .products .row.grid {
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    column-gap:22px!important;
    row-gap:28px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  html body.tax-product_cat .products .row.grid > .grid.product,
  html body.tax-product_tag .products .row.grid > .grid.product,
  html body.post-type-archive-product .products .row.grid > .grid.product {
    float:none!important;clear:none!important;position:relative!important;
    width:auto!important;min-width:0!important;max-width:none!important;
    margin:0!important;padding:0!important;height:auto!important;
  }
}
/* Puca grid wrappers on mobile — these are the confirmed live selectors. */
@media (min-width:600px) and (max-width:991px) {
  html body.tax-product_cat .products .row.grid,
  html body.tax-product_tag .products .row.grid,
  html body.post-type-archive-product .products .row.grid {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:16px!important;row-gap:22px!important;margin:0!important;
  }
}
@media (max-width:599px) {
  html body.tax-product_cat .products .row.grid,
  html body.tax-product_tag .products .row.grid,
  html body.post-type-archive-product .products .row.grid {
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    row-gap:18px!important;column-gap:0!important;margin:0!important;
  }
}
@media (max-width:991px) {
  html body.tax-product_cat .products .row.grid > .grid.product,
  html body.tax-product_tag .products .row.grid > .grid.product,
  html body.post-type-archive-product .products .row.grid > .grid.product {
    float:none!important;clear:none!important;width:100%!important;max-width:100%!important;
    min-width:0!important;margin:0!important;padding:0!important;height:auto!important;
  }
  /* 68px sticky navigation, search visible at page top only */
  html body .tg-mr {
    position:sticky!important;top:0!important;z-index:1050!important;
    background:#fff!important;box-shadow:0 4px 16px rgba(21,21,21,.08)!important;
  }
  html body.admin-bar .tg-mr {top:46px!important;}
  html body.tg-compact-mobile .tg-mr__search {display:none!important;}
  html body .tg-mr__panel {z-index:1100!important;}
  html body .tg-mr__bar {min-height:64px!important;}
}
@media (min-width:783px) and (max-width:991px) {
  html body.admin-bar .tg-mr {top:32px!important;}
}
/* The product-block is the card; native Puca outer columns remain unbordered. */
html body.tax-product_cat .products .grid.product,
html body.tax-product_tag .products .grid.product,
html body.post-type-archive-product .products .grid.product {
  border:none!important;box-shadow:none!important;background:transparent!important;min-height:0!important;
}
html body.tax-product_cat .products .grid.product > .product-block.grid,
html body.tax-product_tag .products .grid.product > .product-block.grid,
html body.post-type-archive-product .products .grid.product > .product-block.grid {
  display:flex!important;flex-direction:column!important;
  height:100%!important;min-height:0!important;
  padding:0 0 18px!important;overflow:hidden!important;
  border:1px solid #F1E3EC!important;border-radius:18px!important;
  background:#fff!important;box-shadow:0 3px 14px rgba(21,21,21,.025)!important;
  transform:none!important;transition:box-shadow .2s ease,transform .2s ease!important;
}
html body.tax-product_cat .products .grid.product > .product-block.grid:hover,
html body.tax-product_tag .products .grid.product > .product-block.grid:hover,
html body.post-type-archive-product .products .grid.product > .product-block.grid:hover {
  transform:translateY(-3px)!important;box-shadow:0 12px 26px rgba(21,21,21,.085)!important;
}
/* Consistent product art without cropping custom-printable artwork. */
html body.tax-product_cat .products .product-block img,
html body.tax-product_tag .products .product-block img,
html body.post-type-archive-product .products .product-block img {
  display:block!important;width:100%!important;max-width:100%!important;
  height:280px!important;max-height:none!important;object-fit:contain!important;
  background:#FFFAFC!important;margin:0 auto!important;
}
/* Prevent extra height from old Puca hover controls. */
html body.tax-product_cat .products .product-block .name,
html body.tax-product_cat .products .product-block .product-name,
html body.tax-product_tag .products .product-block .name,
html body.post-type-archive-product .products .product-block .name,
html body.post-type-archive-product .products .product-block .product-name {
  padding:0 12px!important;margin:12px 0 8px!important;min-height:40px!important;
  height:auto!important;font-size:14px!important;line-height:1.45!important;
}
html body.tax-product_cat .products .product-block .name a,
html body.tax-product_cat .products .product-block .product-name a,
html body.tax-product_tag .products .product-block .name a,
html body.post-type-archive-product .products .product-block .name a,
html body.post-type-archive-product .products .product-block .product-name a {
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
  overflow:hidden!important;white-space:normal!important;max-height:42px!important;
  color:#151515!important;font-weight:700!important;text-decoration:none!important;
}
html body.tax-product_cat .products .product-block .price,
html body.tax-product_tag .products .product-block .price,
html body.post-type-archive-product .products .product-block .price,
html body.tax-product_cat .products .product-block .amount,
html body.tax-product_tag .products .product-block .amount,
html body.post-type-archive-product .products .product-block .amount {
  color:#E64D87!important;font-weight:800!important;font-size:16px!important;
}
html body.tax-product_cat .products .product-block del,
html body.tax-product_tag .products .product-block del,
html body.post-type-archive-product .products .product-block del,
html body.tax-product_cat .products .product-block del .amount,
html body.tax-product_tag .products .product-block del .amount,
html body.post-type-archive-product .products .product-block del .amount {
  color:#A7A1A6!important;font-size:12px!important;font-weight:400!important;
}
@media(max-width:599px) {
  html body.tax-product_cat .products .product-block img,
  html body.tax-product_tag .products .product-block img,
  html body.post-type-archive-product .products .product-block img {
    height:320px!important;max-height:none!important;
  }
}
@media(prefers-reduced-motion:reduce) {
  html body .products .product-block {transition:none!important;transform:none!important;}
}
