/* Selly Bake House | Halloween 2026 launch announcement (scoped styles) */
body.sbh-halloween-is-open { overflow: hidden !important; }
#sbhHalloweenOverlay,
#sbhHalloweenOverlay * { box-sizing: border-box; }
#sbhHalloweenOverlay[hidden] { display: none !important; }
#sbhHalloweenOverlay {
  position: fixed;
  inset: 0;
  z-index: 50000;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 30px);
  background: rgba(19, 10, 25, .38);
  -webkit-backdrop-filter: blur(3px) saturate(1);
  backdrop-filter: blur(3px) saturate(1);
  isolation: isolate;
  overflow-y: auto;
  overscroll-behavior: contain;
}
#sbhHalloweenOverlay .sbh-halloween-dialog {
  position: relative;
  width: min(1040px, 100%);
  max-height: calc(100dvh - 24px);
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
  overflow: auto;
  border: 1px solid rgba(255, 184, 91, .29);
  border-radius: clamp(20px, 2.5vw, 30px);
  background: #211626;
  color: #fff9ed;
  box-shadow: 0 30px 110px rgba(0,0,0,.58), 0 0 0 6px rgba(255,255,255,.035);
  scrollbar-width: thin;
  scrollbar-color: #855b51 transparent;
  animation: sbh-halloween-entrance .32s ease-out both;
}
#sbhHalloweenOverlay .sbh-halloween-photo {
  position: relative;
  min-width: 0;
  min-height: 570px;
  display: flex;
  background: #e9b5c9;
  overflow: hidden;
}
#sbhHalloweenOverlay .sbh-halloween-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(22,9,19,.28), transparent 30%, transparent 75%, rgba(22,9,19,.12));
}
#sbhHalloweenOverlay .sbh-halloween-photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
#sbhHalloweenOverlay .sbh-halloween-photo-label {
  position: absolute;
  z-index: 1;
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  padding: 9px 15px;
  background: rgba(33,22,38,.87);
  color: #ffe0b7;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(20,9,22,.22);
}
#sbhHalloweenOverlay .sbh-halloween-content {
  position: relative;
  min-width: 0;
  padding: clamp(40px, 5vw, 70px) clamp(26px, 4.2vw, 55px) 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(254,136,52,.16), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(166,100,136,.15), transparent 40%),
    #211626;
}
#sbhHalloweenOverlay .sbh-halloween-mini-stars {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
  color: #f7a954;
  font-size: 16px;
  letter-spacing: 5px;
}
#sbhHalloweenOverlay .sbh-halloween-kicker {
  margin: 0 0 12px;
  color: #f9b77e;
  font-size: 11px;
  line-height: 1.6;
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
#sbhHalloweenOverlay .sbh-halloween-headline {
  margin: 0;
  color: #fff7e7;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(37px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.09;
  letter-spacing: -.035em;
}
#sbhHalloweenOverlay .sbh-halloween-headline em { color: #ffb56c; font-style: italic; }
#sbhHalloweenOverlay .sbh-halloween-rule { width: 50px; height: 3px; border-radius: 99px; background: #ff9e49; margin: 23px 0 20px; }
#sbhHalloweenOverlay .sbh-halloween-description {
  margin: 0;
  color: #f6e9df;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.7;
}
#sbhHalloweenOverlay .sbh-halloween-order {
  margin: 25px 0 13px;
  color: #ffcf9d;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}
#sbhHalloweenOverlay .sbh-halloween-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#sbhHalloweenOverlay .sbh-halloween-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 49px;
  padding: 12px 17px;
  border-radius: 11px;
  border: 1px solid #ffb466;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  font-family: "DM Sans", Arial, sans-serif;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
#sbhHalloweenOverlay .sbh-halloween-call { background: #ffad5e; color: #241627; }
#sbhHalloweenOverlay .sbh-halloween-text { background: transparent; color: #ffd4ae; }
#sbhHalloweenOverlay .sbh-halloween-actions a:hover { transform: translateY(-2px); }
#sbhHalloweenOverlay .sbh-halloween-call:hover { background: #ffce8f; }
#sbhHalloweenOverlay .sbh-halloween-text:hover { background: rgba(255,177,104,.1); }
#sbhHalloweenOverlay .sbh-halloween-region {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 17px 0 0;
  color: #e6ced7;
  font-size: 12px;
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 700;
}
#sbhHalloweenOverlay .sbh-halloween-browse {
  align-self: flex-start;
  padding: 10px 0 2px;
  margin-top: 18px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.45);
  color: #fff4ea;
  font-size: 13px;
  font-family: "DM Sans", Arial, sans-serif;
  cursor: pointer;
}
#sbhHalloweenOverlay .sbh-halloween-browse:hover { color: #ffbd7c; border-bottom-color: #ffbd7c; }
#sbhHalloweenOverlay .sbh-halloween-close {
  position: absolute;
  z-index: 3;
  right: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 100%;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(17,11,22,.78);
  color: white;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}
#sbhHalloweenOverlay .sbh-halloween-close:hover { background: #673447; }
#sbhHalloweenOverlay :is(button, a):focus-visible { outline: 3px solid #ffd29a; outline-offset: 3px; }
@keyframes sbh-halloween-entrance { from { opacity: 0; transform: translateY(16px) scale(.984); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 750px) {
  #sbhHalloweenOverlay { padding: 10px; }
  #sbhHalloweenOverlay .sbh-halloween-dialog { width: min(520px, 100%); grid-template-columns: 1fr; max-height: calc(100dvh - 20px); }
  #sbhHalloweenOverlay .sbh-halloween-photo { min-height: 0; height: clamp(175px, 32dvh, 280px); }
  #sbhHalloweenOverlay .sbh-halloween-photo img { object-position: 50% 45%; }
  #sbhHalloweenOverlay .sbh-halloween-content { padding: 23px 27px 26px; }
  #sbhHalloweenOverlay .sbh-halloween-photo-label { top: 13px; left: 14px; font-size: 10px; padding: 7px 10px; }
  #sbhHalloweenOverlay .sbh-halloween-kicker { margin-bottom: 6px; font-size: 10px; }
  #sbhHalloweenOverlay .sbh-halloween-mini-stars { margin-bottom: 5px; font-size: 13px; }
  #sbhHalloweenOverlay .sbh-halloween-headline { font-size: clamp(33px, 7vw, 42px); }
  #sbhHalloweenOverlay .sbh-halloween-rule { margin: 13px 0; }
  #sbhHalloweenOverlay .sbh-halloween-description { font-size: 14px; line-height: 1.5; }
  #sbhHalloweenOverlay .sbh-halloween-order { margin: 16px 0 10px; }
  #sbhHalloweenOverlay .sbh-halloween-region { margin: 12px 0 0; }
  #sbhHalloweenOverlay .sbh-halloween-browse { margin-top: 11px; }
}
@media (max-width: 380px) {
  #sbhHalloweenOverlay .sbh-halloween-content { padding: 18px 19px 22px; }
  #sbhHalloweenOverlay .sbh-halloween-actions { gap: 8px; }
  #sbhHalloweenOverlay .sbh-halloween-actions a { flex: 1 1 auto; min-height: 44px; padding: 10px 11px; }
  #sbhHalloweenOverlay .sbh-halloween-headline { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  #sbhHalloweenOverlay .sbh-halloween-dialog { animation: none; }
  #sbhHalloweenOverlay .sbh-halloween-actions a { transition: none; }
}

/* Click-to-enlarge cookie photo */
#sbhHalloweenOverlay .sbh-halloween-photo-zoom {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  min-width: 0;
  min-height: inherit;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}
#sbhHalloweenOverlay .sbh-halloween-photo-zoom img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#sbhHalloweenOverlay .sbh-halloween-photo-zoom::after {
  content: '⌕  View larger';
  position: absolute;
  right: 15px;
  bottom: 15px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(33, 22, 38, .86);
  color: #ffe0b7;
  font: 700 12px/1.2 'DM Sans', Arial, sans-serif;
  pointer-events: none;
}
#sbhHalloweenOverlay .sbh-halloween-photo-label { pointer-events: none; }
#sbhHalloweenOverlay .sbh-halloween-zoom {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 8, 19, .88);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
#sbhHalloweenOverlay .sbh-halloween-zoom-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(1180px, 96vw);
  max-height: 94dvh;
  min-width: 0;
  border-radius: 17px;
  outline: none;
}
#sbhHalloweenOverlay .sbh-halloween-zoom-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 82dvh;
  object-fit: contain;
  border-radius: 13px;
  box-shadow: 0 20px 70px rgba(0,0,0,.5);
}
#sbhHalloweenOverlay .sbh-halloween-zoom-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(22, 12, 28, .93);
  color: white;
  font-size: 30px;
  cursor: pointer;
}
#sbhHalloweenOverlay .sbh-halloween-zoom-close:hover { background: #653447; }
#sbhHalloweenOverlay .sbh-halloween-zoom-caption {
  margin: 10px 0 0;
  color: #ffe9d4;
  font: 600 14px/1.5 'DM Sans', Arial, sans-serif;
  text-align: center;
}
#sbhHalloweenOverlay .sbh-halloween-zoom-caption strong { color: #ffb56c; }
@media (max-width: 750px) {
  #sbhHalloweenOverlay .sbh-halloween-photo-zoom { min-height: 0; }
  #sbhHalloweenOverlay .sbh-halloween-zoom { padding: 12px; }
  #sbhHalloweenOverlay .sbh-halloween-zoom-image { max-height: 76dvh; }
}
