/* Theme 1 keeps its original dialog geometry and animation. */
html[data-tablet-theme=theme2a] .lv-layer,html[data-tablet-theme^=theme3] .lv-layer {
  align-items:end;justify-items:center;padding:0;
}
html[data-tablet-theme=theme2a] .lv-sheet,html[data-tablet-theme^=theme3] .lv-sheet {
  width:min(100%,620px);max-height:94vh;max-height:94dvh;
  border-radius:29px 29px 0 0;transform-origin:50% 100%;
}
html[data-tablet-theme^=theme3] .lv-sheet {
  background:#fcf9f3;color:#32271f;box-shadow:0 -8px 50px #3c271b29;
}
html[data-tablet-theme^=theme3] .lv-sheet h1,html[data-tablet-theme^=theme3] .lv-sheet h2 {
  font-family:Georgia,serif;font-weight:500;letter-spacing:-.04em;
}
html[data-tablet-theme=theme2b] .lv-sheet {
  transform-origin:top left;border-radius:24px 24px 43px 24px;
}
@media(max-width:660px){
  html[data-tablet-theme=theme2b] .lv-layer{padding:5px}
  html[data-tablet-theme=theme2b] .lv-sheet{width:100%;height:calc(100% - 8px);max-height:none}
}
/* Layout equivalents on tablets that predate dynamic viewport and logical inset. */
@supports not (height:100dvh) {
 body.live-shop,.live-shop .app-shell,.live-shop .primary-area{height:100vh}
 .live-shop #screen.lv-app{height:100vh;width:min(100%,95vh,1000px)}
 .lv-sheet{height:min(84vh,780px)}
 .lv-mode-sheet{height:min(94vh,900px)}
 @media(max-width:540px){.lv-sheet{height:86vh}.lv-mode-sheet{height:94vh}}
}
@supports not (inset:0){
 .lv-layer,.lv-photo,.lv-shade,.lv-slide{top:0;left:0;right:0;bottom:0}
 .lv-lane{top:0;bottom:0}
}
@supports not (width:1cqw){
 .lv-money{bottom:9px;left:8px;right:8px}
 .lv-price>b{font-size:clamp(15px,4vw,34px)}.lv-price s{font-size:clamp(11px,2vw,19px)}
 .lv-saving{padding:4px 6px;border-radius:7px}.lv-saving>b{font-size:clamp(13px,3vw,25px)}
 .lv-saving small{font-size:clamp(10px,2vw,18px)}
}
/* Absolutely positioned button elements have an intrinsic width in older WebViews. */
.lv-lane>.lv-tile{width:100%}
