/* Shared SAMARIA palette and distillery backdrop for public staging pages. */
body.samaria-site-light {
  --samaria-paper: #f6efe4;
  --samaria-surface: #fffaf3;
  --samaria-ink: #2e221a;
  --samaria-muted: #665447;
  --samaria-copper: #8c4829;
  --samaria-line: #e4d5c3;
  --samaria-serif: "DM Serif Display", Georgia, serif;
  --samaria-photo: radial-gradient(ellipse at 50% 53%, #fff9ef 0%, #f4e7d8 60%, #ecdece 100%);
  --samaria-background-shade: linear-gradient(180deg, rgb(246 239 228 / 44%), rgb(246 239 228 / 65%));
  isolation: isolate;
  background: var(--samaria-paper);
  color: var(--samaria-ink);
}

/* Paint once behind the whole storefront, including the floating sidebar. */
body.samaria-site-light::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  display: block;
  background: var(--samaria-background-shade),
    url("./distillery-background.jpg") 76% center / cover no-repeat;
  pointer-events: none;
  content: "";
}

.samaria-site-light #top.site {
  background: transparent;
  color: var(--samaria-ink);
}

.samaria-site-light #top .x-main {
  position: relative;
  isolation: isolate;
}

@media (min-width: 980px) {
  body.samaria-site-light::before {
    background-position: center;
  }
}
/* The homepage grids share their own portrait frame. */
body.samaria-site-light #top .x-main ul.products > li.product .entry-featured:not(:where(.samaria-home-section *)) > a:has(> img.samaria-home-studio) {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 23 / 20;
  max-height: none;
}

body.samaria-site-light #top .x-main ul.products > li.product .entry-featured:not(:where(.samaria-home-section *)) > a > img.samaria-home-studio {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  aspect-ratio: auto;
  object-fit: contain;
}

.samaria-site-light img.samaria-bottle-200ml {
  scale: .91;
  transform-origin: center bottom;
}
