/* Collector Briques 0.4.5 · One editorial treatment for set selection cards.
   Transactional merchant CTAs remain on the dedicated product pages. */
body.cb-wp .cb64-grid > .cb64-card.cb45-set-card {
  display:flex; flex-direction:column; min-width:0;
  overflow:hidden; isolation:isolate;
  border:1px solid #e2ddd3; border-radius:20px;
  background:#fff; box-shadow:0 8px 24px rgba(26,29,26,.045);
  transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease;
}
body.cb-wp .cb45-set-card .cb64-photo {
  display:flex; align-items:center; justify-content:center;
  width:100%; height:245px; min-height:0; padding:18px 22px;
  box-sizing:border-box; background:linear-gradient(160deg,#fbfaf7 0%,#f2eee7 100%);
  border-bottom:1px solid #eee8dc; overflow:hidden;
}
body.cb-wp .cb45-set-card .cb64-photo img {
  display:block; width:100%; height:100%; max-width:100%; max-height:100%;
  aspect-ratio:auto; object-fit:contain; object-position:center;
  border-radius:0; padding:0; margin:0;
  transition:transform .28s ease;
}
body.cb-wp .cb45-set-card .cb64-card-body {
  display:flex; flex:1; flex-direction:column; align-items:stretch;
  min-width:0; gap:0; padding:23px 24px 21px; box-sizing:border-box;
}
body.cb-wp .cb45-set-card .cb64-label {
  margin:0 0 10px; color:#8a6734; font:750 11px/1.5 system-ui,-apple-system,'Segoe UI',sans-serif;
  letter-spacing:.105em; text-transform:uppercase;
}
body.cb-wp .cb45-set-card .cb64-card-body h3 {
  margin:0 0 13px; font-size:clamp(21px,1.8vw,25px);
  line-height:1.22; letter-spacing:-.02em; color:#1a2924;
}
body.cb-wp .cb45-set-card .cb64-card-body h3 a {
  color:inherit; text-decoration:none; text-underline-offset:.2em;
}
body.cb-wp .cb45-set-card .cb64-card-body>p:not(.cb64-label) {
  flex:1; margin:0 0 22px;
  font-size:15px; line-height:1.63; color:#52605a;
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:4;
  line-clamp:4; overflow:hidden;
}
body.cb-wp .cb45-set-card .cb64-textlink {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  width:100%; min-height:48px; margin-top:auto; padding:13px 0 0;
  box-sizing:border-box; border-top:1px solid #e9e4db;
  background:transparent; color:#145441; text-decoration:none;
  font:750 14px/1.4 system-ui,-apple-system,'Segoe UI',sans-serif;
}
body.cb-wp .cb45-set-card .cb64-textlink span:last-child {
  display:flex; align-items:center; justify-content:center;
  width:31px; height:31px; flex:0 0 31px;
  border-radius:50%; color:#145441; background:#eaf3ed; font-size:17px;
  transition:background .2s ease,color .2s ease;
}
body.cb-wp .cb45-set-card .cb64-textlink:hover span:last-child,
body.cb-wp .cb45-set-card .cb64-textlink:focus-visible span:last-child {
  color:#fff; background:#145441;
}
body.cb-wp .cb45-set-card .cb64-textlink:focus-visible,
body.cb-wp .cb45-set-card .cb64-photo:focus-visible,
body.cb-wp .cb45-set-card .cb64-card-body h3 a:focus-visible {
  outline:2px solid #145441; outline-offset:4px; border-radius:4px;
}
@media(hover:hover){
 body.cb-wp .cb64-grid > .cb64-card.cb45-set-card:hover {
   transform:translateY(-3px); border-color:#c8cdbd; box-shadow:0 16px 32px rgba(26,29,26,.095);
 }
 body.cb-wp .cb45-set-card:hover .cb64-photo img {transform:scale(1.035)}
}
@media(max-width:1050px){body.cb-wp .cb45-set-card .cb64-photo{height:220px}}
@media(max-width:640px){
 body.cb-wp .cb45-set-card .cb64-photo{height:235px;padding:18px}
 body.cb-wp .cb45-set-card .cb64-card-body{padding:19px 20px 20px}
 body.cb-wp .cb45-set-card .cb64-card-body h3{font-size:22px}
 body.cb-wp .cb45-set-card .cb64-card-body>p:not(.cb64-label){-webkit-line-clamp:5;line-clamp:5}
}
@media(prefers-reduced-motion:reduce){
 body.cb-wp .cb64-grid > .cb64-card.cb45-set-card,
 body.cb-wp .cb45-set-card .cb64-photo img,
 body.cb-wp .cb45-set-card .cb64-textlink span:last-child{transition:none!important;transform:none!important}
}
