/* THE END catalog: let the work speak. One image, one title, one quiet heart.
   All prices, descriptions, availability and cart actions remain in item.php.
   Applies to all view modes, without changing source records or sorting. */
/* The public grid has no prices or description lines; one title + compact cart icon. */
html body .catalog-grid.is-masonry .catalog-card-price,
html body .catalog-grid.is-masonry .catalog-archive-price,
html body .catalog-grid.is-masonry .product-price,
html body .catalog-grid.is-masonry .product-tags,
html body .catalog-grid.is-masonry .product-desc{
  display:none!important;
}
html body .catalog-grid.is-masonry:not(.view-archive) .product-fav{
  position:absolute!important;
  top:5px!important;
  right:5px!important;
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  min-height:34px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  font-size:0!important;
  line-height:1!important;
  color:transparent!important;
  font-weight:250!important;
  text-shadow:none!important;
  -webkit-text-stroke:0!important;
  filter:none!important;
  transform:none!important;
}
html body .catalog-grid.is-masonry:not(.view-archive) .product-fav::before{
  content:'♡'!important;
  display:block!important;
  font-size:24px!important;
  font-weight:250!important;
  line-height:.82!important;
  letter-spacing:-.09em!important;
  color:rgba(5,5,5,.50)!important;
  text-shadow:none!important;
  -webkit-text-stroke:0!important;

  /* Same heart silhouette across catalog and product; slightly less vertically stretched. */
  transform:scaleY(.92)!important;
  transform-origin:center!important;
}
html body .catalog-grid.is-masonry:not(.view-archive) .product-fav.active::before{
  /* Single outline glyph: selection changes color, never the heart's shape. */
  content:'♡'!important;
  font-size:24px!important;
  font-weight:250!important;
  color:#050505!important;
  text-shadow:none!important;
}
/* Mini mode: small favorite at upper right, quick cart at lower right. */
html body .catalog-grid.is-masonry.view-archive .product-fav{
  display:grid!important;
  place-items:center!important;
  position:absolute!important;
  top:2px!important;
  right:2px!important;
  width:23px!important;
  height:23px!important;
  min-width:23px!important;
  min-height:23px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#050505!important;
  box-shadow:none!important;
  z-index:5!important;
  font-size:0!important;
}
html body .catalog-grid.is-masonry.view-archive .product-fav::before{
  content:'♡'!important;
  font-size:18px!important;
  line-height:1!important;
  color:rgba(5,5,5,.43)!important;

  /* Same heart silhouette across catalog and product; slightly less vertically stretched. */
  transform:scaleY(.92)!important;
  transform-origin:center!important;
}
html body .catalog-grid.is-masonry.view-archive .product-fav.active::before{
  content:'♡'!important;
  color:#050505!important;
}
html body .catalog-grid.is-masonry .catalog-card-caption{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  min-width:0!important;
  padding-top:3px!important;
}
html body .catalog-grid.is-masonry:not(.view-archive) .catalog-card-caption .product-meta{
  padding-top:0!important;
  line-height:1!important;
}
html body .catalog-grid.is-masonry:not(.view-archive) .catalog-card-caption .product-meta{
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
}
html body .catalog-grid.is-masonry .catalog-cart-add{
  display:grid!important;
  place-items:center!important;
  position:relative!important;
  flex:0 0 19px!important;
  width:19px!important;
  height:19px!important;
  min-width:19px!important;
  min-height:19px!important;
  margin:0!important;
  padding:1px!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  color:#050505!important;
  cursor:pointer!important;
  line-height:1!important;
  z-index:6!important;
}
html body .catalog-grid.is-masonry .catalog-cart-add svg{
  display:block!important;
  width:16px!important;
  height:16px!important;
  pointer-events:none!important;
}
html body .catalog-grid.is-masonry .catalog-cart-add:hover,
html body .catalog-grid.is-masonry .catalog-cart-add.is-added{
  color:#080808!important;
}
/* Cart selected = slightly stronger outline, without a dot; hearts unchanged. */
html body .catalog-grid.is-masonry .catalog-cart-add.is-added svg{
  stroke-width:2!important;
}
html body .catalog-grid.is-masonry .catalog-cart-add:focus-visible{
  outline:2px solid currentColor!important;
  outline-offset:2px!important;
}
html body .catalog-grid.is-masonry .catalog-cart-add[hidden]{
  display:none!important;
}
html body .catalog-grid.is-masonry.view-archive .catalog-card-caption{
  display:contents!important;
}
html body .catalog-grid.is-masonry.view-archive .catalog-card-caption .product-meta{
  display:none!important;
}
/* Compact cart sits on the actual image: phone 3 / desktop 4 and MINI. */
html body .catalog-grid.is-masonry .catalog-card-visual{
  position:relative!important;
  min-width:0!important;
}
html body .catalog-grid.is-masonry .catalog-card-visual > .catalog-cart-add--overlay{
  display:none!important;
}
html body .catalog-grid.is-masonry.view-3 .catalog-card-caption > .catalog-cart-add--caption,
html body .catalog-grid.is-masonry.view-4 .catalog-card-caption > .catalog-cart-add--caption,
html body .catalog-grid.is-masonry.view-archive .catalog-card-caption > .catalog-cart-add--caption{
  display:none!important;
}
html body .catalog-grid.is-masonry.view-3 .catalog-card-visual > .catalog-cart-add--overlay,
html body .catalog-grid.is-masonry.view-4 .catalog-card-visual > .catalog-cart-add--overlay,
html body .catalog-grid.is-masonry.view-archive .catalog-card-visual > .catalog-cart-add--overlay{
  display:grid!important;
  position:absolute!important;
  right:3px!important;
  bottom:3px!important;
  width:23px!important;
  height:23px!important;
  min-width:23px!important;
  min-height:23px!important;
  margin:0!important;
  padding:2px!important;
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
  border-radius:0!important;
  color:#050505!important;
  z-index:6!important;
}
html body .catalog-grid.is-masonry.view-3 .catalog-card-visual > .catalog-cart-add--overlay svg,
html body .catalog-grid.is-masonry.view-4 .catalog-card-visual > .catalog-cart-add--overlay svg,
html body .catalog-grid.is-masonry.view-archive .catalog-card-visual > .catalog-cart-add--overlay svg{
  width:16px!important;
  height:16px!important;
}
html body .catalog-grid.is-masonry .catalog-card-visual > .catalog-cart-add--overlay[hidden],
html body .catalog-grid.is-masonry .catalog-card-caption > .catalog-cart-add--caption[hidden]{
  display:none!important;
}

/* THE END cart/heart refinements 20261121
   Indicator belongs to the heart, not the bag. Same on catalogue and favorites. */
html body .catalog-grid.is-masonry .product-card > .cart-presence-dot{
  position:absolute!important;
  display:block!important;
  top:3px!important;
  right:3px!important;
  width:3px!important;
  height:3px!important;
  border-radius:50%!important;
  background:#050505!important;
  box-shadow:none!important;
  opacity:0!important;
  pointer-events:none!important;
  z-index:8!important;
}
html body .catalog-grid.is-masonry .product-card.is-in-cart > .cart-presence-dot{
  opacity:1!important;
}
html body .catalog-grid.is-masonry .catalog-cart-add--overlay svg{
  opacity:1!important;
}
/* Narrow phone: 3 columns gets a softer image-overlay bag; MINI has no bag. */
@media(max-width:759px){
  /* Match phone 3-column heart exactly to the quieter MINI heart. */
  html body .catalog-grid.is-masonry.view-3 .product-fav{
    top:2px!important;
    right:2px!important;
    width:23px!important;
    height:23px!important;
    min-width:23px!important;
    min-height:23px!important;
    padding:0!important;
  }
  html body .catalog-grid.is-masonry.view-3 .product-fav::before,
  html body .catalog-grid.is-masonry.view-3 .product-fav.active::before{
    font-size:18px!important;
    line-height:1!important;
  }
  html body .catalog-grid.is-masonry.view-3 .catalog-card-visual > .catalog-cart-add--overlay svg{
    opacity:.7!important;
  }
  html body .catalog-grid.is-masonry.view-archive .catalog-card-visual > .catalog-cart-add--overlay{
    display:none!important;
  }
}
/* Wide screen: 3 columns stays on the title line; 4 is subtle; MINI keeps the bag. */
@media(min-width:760px){
  html body .catalog-grid.is-masonry.view-3 .catalog-card-caption > .catalog-cart-add--caption{
    display:grid!important;
  }
  html body .catalog-grid.is-masonry.view-3 .catalog-card-visual > .catalog-cart-add--overlay{
    display:none!important;
  }
  html body .catalog-grid.is-masonry.view-4 .catalog-card-visual > .catalog-cart-add--overlay svg{
    opacity:.7!important;
  }
}

/* 2026-11-23: the header's exact 24x24 SVG heart, outlined or completely filled.
   Preserve existing hit areas, 18px MINI/mobile-3 size, and favorite logic. */
:root{
  --theend-heart-outline:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M20.8%208.6c0%204.1-4.7%208.1-8.8%2011.1C7.9%2016.7%203.2%2012.7%203.2%208.6a4.8%204.8%200%200%201%208.8-2.7%204.8%204.8%200%200%201%208.8%202.7Z%22%20fill%3D%22none%22%20stroke%3D%22%23050505%22%20stroke-width%3D%221.45%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  --theend-heart-filled:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M20.8%208.6c0%204.1-4.7%208.1-8.8%2011.1C7.9%2016.7%203.2%2012.7%203.2%208.6a4.8%204.8%200%200%201%208.8-2.7%204.8%204.8%200%200%201%208.8%202.7Z%22%20fill%3D%22%23050505%22%20stroke%3D%22%23050505%22%20stroke-width%3D%221.45%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
}
html body .catalog-grid.is-masonry:not(.view-archive) .product-fav::before,
html body .catalog-grid.is-masonry.view-archive .product-fav::before{
  content:''!important;
  display:block!important;
  width:24px!important;
  height:24px!important;
  background-image:var(--theend-heart-outline)!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:contain!important;
  opacity:.5!important;
  font-size:0!important;
  letter-spacing:0!important;
  text-shadow:none!important;
  -webkit-text-stroke:0!important;
  transform:none!important;
}
html body .catalog-grid.is-masonry:not(.view-archive) .product-fav.active::before,
html body .catalog-grid.is-masonry.view-archive .product-fav.active::before{
  content:''!important;
  background-image:var(--theend-heart-filled)!important;
  opacity:1!important;
}
html body .catalog-grid.is-masonry.view-archive .product-fav::before{
  width:18px!important;height:18px!important;opacity:.43!important;
}
html body .catalog-grid.is-masonry.view-archive .product-fav.active::before{opacity:1!important}
html body .catalog-grid.is-masonry.view-4 .product-fav::before{width:21px!important;height:21px!important}
@media(max-width:759px){
  html body .catalog-grid.is-masonry.view-3 .product-fav::before{width:18px!important;height:18px!important}
}
