/* Keep phone controls readable and easy to tap, including landscape layouts. */
.language-buttons button,.currency-control select,.card-title,.trade-shortcuts button{min-height:44px}
.approved-checkout summary{min-height:44px;padding-block:10px;cursor:pointer}
footer a,footer button,.rebbe-quote a,.near-method a,.source-links a{
  display:inline-flex;align-items:center;min-height:44px;max-width:100%;
}
.source-links a,.contact-block dd,.detail-body p,.source-note{overflow-wrap:anywhere}
.card-title,.stay-name{overflow-wrap:anywhere}
@media(max-width:1000px){
  input:not([type=checkbox]),select,textarea{font-size:16px}
  body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
  .mobile-nav {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 2px;
    padding-inline: max(8px, env(safe-area-inset-left)) max(8px, env(safe-area-inset-right));
  }
  .mobile-nav .nav-button { min-width: 0; padding-inline: 1px; }
  .mobile-nav .mobile-shop-link {
    background: #f3ca56;
    color: #102d50;
    border-radius: .55rem;
    text-decoration: none;
  }
  .mobile-shop-link:focus-visible { outline: 3px solid #163e6a; outline-offset: -3px; }
  dialog{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
  .approved-checkout summary{line-height:1.5}
}
@media(max-height:500px) and (max-width:1000px){
  .mobile-nav{padding-top:3px;padding-bottom:calc(3px + env(safe-area-inset-bottom))}
  .mobile-nav .nav-button{min-height:44px;padding-block:3px}
  .mobile-nav svg{width:18px;height:18px}
}

.standalone-language-bar{box-sizing:border-box;width:100%;max-width:none;font-family:system-ui,sans-serif}.standalone-language-bar .currency-control{display:none}.standalone-language-bar .language-buttons{flex-wrap:wrap}
[dir=rtl] .contact-missing{direction:rtl;text-align:right}

/* The shop stays beside the logo even when directory navigation moves to the bottom bar. */
.masthead .header-inner > nav { min-width: 0; }
.shop-nav-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 46px;
  padding: .55rem 1rem;
  border: 1px solid #d3a638;
  border-radius: .55rem;
  background: #f3ca56;
  color: #102d50;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.shop-nav-link:hover, .home-shop-action:hover { background: #ffdf83; color: #102d50; }
.shop-bag {
  position: relative;
  display: inline-block;
  width: 1.02rem;
  height: .86rem;
  margin-block-start: .15rem;
  border: 1.8px solid currentColor;
  border-radius: .12rem .12rem .18rem .18rem;
}
.shop-bag::before {
  content: "";
  position: absolute;
  width: .47rem;
  height: .36rem;
  top: -.44rem;
  left: 50%;
  transform: translateX(-50%);
  border: 1.6px solid currentColor;
  border-bottom: 0;
  border-radius: .36rem .36rem 0 0;
}
.shop-nav-link:focus-visible { outline: 3px solid #163e6a; outline-offset: 3px; }

.home-aviella {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .5rem clamp(.9rem, 2.4vw, 1.8rem);
  margin-block: 0 1rem;
  padding: .6rem clamp(.8rem, 2.6vw, 1.8rem);
  border: 1px solid #d8acb7;
  border-radius: .85rem;
  color: #512338;
  background: #fff7f5;
  text-decoration: none;
}
.home-aviella img {
  display: block;
  width: clamp(8rem, 11vw, 9.5rem);
  height: auto;
}
.home-aviella-name {
  font: 700 clamp(1.5rem, 3vw, 2.4rem)/1.07 Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}
.home-aviella-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 44px;
  padding: .5rem 1rem;
  border-radius: .48rem;
  background: #97114c;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
}
.home-aviella:hover .home-aviella-action { background: #74103c; }
.home-aviella:focus-visible { outline: 3px solid #97114c; outline-offset: 3px; }
#explore-view > .home-aviella { margin-top: 1.25rem; }
.quick-finder:not(.is-home) .home-aviella { display: none; }
@media (max-width: 700px) {
  .home-aviella { grid-template-columns: auto minmax(0, 1fr); }
  .home-aviella img { grid-row: span 2; width: clamp(6.3rem, 30vw, 8rem); }
  .home-aviella-name { align-self: end; }
  .home-aviella-action { align-self: start; padding-inline: .75rem; }
}

.home-shop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "copy art" "departments art";
  align-items: center;
  column-gap: clamp(1rem, 3vw, 3rem);
  row-gap: .4rem;
  margin-block: 0 1.35rem;
  padding: 1.25rem clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid #254b65;
  border-radius: .85rem;
  background: linear-gradient(112deg, #102e48 30%, #1a4157 100%);
  color: #fff;
}
#explore-view > .home-shop { margin-top: 1.25rem; }
.quick-finder:not(.is-home) .home-shop { display: none; }
.home-shop-copy {
  grid-area: copy;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "title action" "description description";
  align-items: center;
  column-gap: 1.35rem;
  row-gap: .45rem;
}
.home-shop h2.home-shop-title {
  grid-area: title;
  margin: 0;
  color: #fffdf5;
  font: 700 clamp(2.1rem, 3.35vw, 3rem)/1.05 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}
.home-shop-copy p {
  grid-area: description;
  margin: 0;
  color: #e8eef0;
  font-size: 1rem;
  line-height: 1.45;
}
.home-shop-action {
  grid-area: action;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .5rem 1rem;
  border-radius: .48rem;
  background: #f3ca56;
  color: #102d50;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
}
.home-shop-departments {
  grid-area: departments;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 clamp(.9rem, 1.8vw, 1.65rem);
  margin: 0;
}
.home-shop-departments a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff9e9;
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-color: #c59f59;
  text-underline-offset: .22em;
}
.home-shop-departments a:hover { color: #ffe290; text-decoration-color: currentColor; }
.home-shop a:focus-visible { outline: 3px solid #fff1c4; outline-offset: 3px; }
.home-shop-art {
  grid-area: art;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .25rem .65rem;
  direction: ltr;
}
.home-shop-art img {
  display: block;
  height: clamp(5.8rem, 10vw, 8.3rem);
  width: auto;
  border-radius: .12rem;
  box-shadow: 2px 4px 10px #05152380;
}
.home-shop-book { transform: rotate(-7deg); }
.home-shop-booklet { z-index: 1; margin-left: -.6rem; transform: translateY(-3px); }
.home-shop-card { margin-left: -.6rem; transform: rotate(7deg); }
@media (max-width: 1000px) {
  .masthead .header-inner { flex-direction: row; justify-content: space-between; }
  .masthead .header-inner .shop-nav-link { margin-inline-start: auto; }
}
@media (max-width: 700px) {
  .home-shop {
    grid-template-areas: "title art" "action art" "description description" "departments departments";
    column-gap: .6rem;
    row-gap: .48rem;
    margin-bottom: 1.1rem;
    padding: 1rem 1rem .35rem;
  }
  .home-shop-copy { display: contents; }
  .home-shop h2.home-shop-title { font-size: 2.05rem; }
  .home-shop-departments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .8rem; border-top: 1px solid #537081; }
  .home-shop-art { padding: .1rem .35rem; }
  .home-shop-art img { height: clamp(4.25rem, 14vw, 6.65rem); }
  .home-shop-art .home-shop-book { display: none; }
}
@media (max-width: 650px) {
  .masthead .header-inner, .quick-search-enabled .masthead .header-inner { gap: .65rem; flex-wrap: wrap; padding: .4rem 1.1rem; }
  .masthead .header-inner .brand img, .quick-search-enabled .masthead .header-inner .brand img { width: clamp(7.2rem, 38vw, 10rem); height: auto; }
  .masthead .header-inner .brand-title { display: none; }
  .shop-nav-link { padding-inline: .8rem; }
}
@media (max-width: 370px) {
  .masthead .header-inner, .quick-search-enabled .masthead .header-inner { padding-inline: .75rem; gap: .4rem; }
  .masthead .header-inner .brand img, .quick-search-enabled .masthead .header-inner .brand img { width: 34vw; }
  .home-shop h2.home-shop-title { font-size: 1.8rem; }
  .home-shop-art .home-shop-card { display: none; }
}
@media (forced-colors: active) {
  .home-shop-action { border: 1px solid ButtonText; }
  .home-shop a:focus-visible, .shop-nav-link:focus-visible { outline-color: Highlight; }
}
