#sanitary-showcase .sanitary-deck__cards { height: clamp(465px, 46vw, 650px); }
#sanitary-showcase .bath-card[data-slot] {
  width: min(52%, 285px);
  height: min(61%, 390px);
  transition: top 540ms cubic-bezier(.22,.75,.25,1), left 540ms cubic-bezier(.22,.75,.25,1), transform 540ms cubic-bezier(.22,.75,.25,1);
}
#sanitary-showcase .bath-card[data-slot="0"] { --card-top: 37%; --card-left: 16%; --card-angle: 1deg; --card-index: 4; }
#sanitary-showcase .bath-card[data-slot="1"] { --card-top: 7%; --card-left: 6%; --card-angle: -11deg; --card-index: 1; }
#sanitary-showcase .bath-card[data-slot="2"] { --card-top: 10%; --card-left: 40%; --card-angle: 12deg; --card-index: 2; }
#sanitary-showcase .bath-card[data-slot="3"] { --card-top: 31%; --card-left: 43%; --card-angle: 9deg; --card-index: 3; }
#sanitary-showcase .bath-card:focus-visible { z-index: 5; }
#sanitary-showcase .bath-card[data-feature="video"] { --card-paper: #c5d6dc; --card-delay: 260ms; }
#sanitary-showcase .bath-card[data-feature="drain"] { --card-paper: #d1dadd; --card-delay: 165ms; }
#sanitary-showcase .bath-card[data-feature="video"] .bath-card__inside { grid-template-rows: auto minmax(0, 1fr); }
#sanitary-showcase .bath-card[data-feature="video"] .bath-frame { grid-area: 2 / 1; background: #253545; }
#sanitary-showcase .bath-frame {
  display: block;
  position: relative;
  container-type: size;
  grid-area: 1 / 1;
  overflow: hidden;
  min-height: 0;
  background: #e8e1d4;
}
#sanitary-showcase .bath-frame img,
#sanitary-showcase .bath-frame video { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; }
#sanitary-showcase .bath-frame video { object-position: center; }
#sanitary-showcase .bath-frame[data-frame="drain"] img,
#sanitary-showcase .bath-frame[data-frame="vanity"] img {
  position: absolute;
  left: 50%;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
}
#sanitary-showcase .bath-frame[data-frame="drain"] img { bottom: 0; width: max(100%, 167cqh); }
#sanitary-showcase .bath-frame[data-frame="vanity"] img { top: 0; width: max(100%, 105cqh); }
#sanitary-showcase .sanitary-dialog .bath-frame { height: min(53vh, 430px); }
#sanitary-showcase .sanitary-dialog .bath-frame[data-frame="shower"] img { object-fit: contain; }
#sanitary-showcase .sanitary-dialog video {
  display: block;
  width: 100%;
  height: min(57vh, 540px);
  object-fit: contain;
  background: #253545;
}
#sanitary-showcase .sanitary-dialog [hidden] { display: none; }
#sanitary-showcase .sanitary-dialog > p { padding-top: 14px; }
@media (max-width: 760px) {
  #sanitary-showcase .sanitary-deck__cards { height: clamp(374px, 104vw, 530px); }
  #sanitary-showcase .bath-card[data-slot] { width: min(52%, 258px); }
  #sanitary-showcase .bath-card[data-slot="3"] { --card-left: 40%; }
  #sanitary-showcase .bath-card[data-slot="2"] { --card-left: 38%; }
}
@media (prefers-reduced-motion: reduce) {
  #sanitary-showcase .bath-card[data-slot] { transition: none; }
}

#sanitary-showcase .bath-card[data-feature="video"] .bath-frame {
  background: #253545 var(--bath-video-poster) center / cover no-repeat;
}
#sanitary-showcase .bath-card[data-feature="video"]:not([data-slot="0"]) video { visibility: hidden; }

/* 2026-11-27 ¡ª symmetric fan */
#sanitary-showcase .bath-card[data-slot="1"] { --card-top: 7%; --card-left: 2%; --card-angle: -18deg; --card-index: 1; }
#sanitary-showcase .bath-card[data-slot="2"] { --card-top: 2%; --card-left: 17%; --card-angle: -7deg; --card-index: 2; }
#sanitary-showcase .bath-card[data-slot="3"] { --card-top: 4%; --card-left: 32%; --card-angle: 7deg; --card-index: 3; }
#sanitary-showcase .bath-card[data-slot="0"] { --card-top: 20%; --card-left: 24%; --card-angle: 0deg; --card-index: 4; }
@media (max-width: 760px) {
  #sanitary-showcase .bath-card[data-slot="1"] { --card-left: 0%; --card-angle: -16deg; }
  #sanitary-showcase .bath-card[data-slot="2"] { --card-left: 15%; --card-angle: -5deg; }
  #sanitary-showcase .bath-card[data-slot="3"] { --card-left: 30%; --card-angle: 7deg; }
  #sanitary-showcase .bath-card[data-slot="0"] { --card-top: 22%; --card-left: 18%; --card-angle: 0deg; }
}
