/* MahjElite pre-launch mode: products, prices and cart are hidden until the first drop.
   Remove the "hide" block below to bring the shop back. */

/* ---- hide ---- */
#collection,
.cart-btn,
#overlay,
#drawer,
#modalOverlay,
.navlinks a[href="#collection"],
.navlinks a[href="#journal"],
.foot-col:first-child,
.foot-col a[href="#journal"],
.foot-bottom [data-i18n="foot.legal"] {
  display: none !important;
}

/* ---- signup form (shared by the pop-up and the band) ---- */
.drops-form { display: grid; gap: 14px; text-align: left; }
.drops-field { display: flex; flex-direction: column; gap: 6px; }
.drops-field label {
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase;
}
.drops-field input {
  width: 100%; padding: 13px 15px; border-radius: 2px; font-size: 15px;
  font-family: 'Manrope', sans-serif;
}
.drops-field .req { color: var(--rose); margin-left: 2px; }
.drops-err { font-size: 12.5px; color: var(--rose); min-height: 0; margin: 0; }
.drops-err:empty { display: none; }
.drops-submit {
  border: none; border-radius: 2px; padding: 14px 24px; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
  font-family: 'Manrope', sans-serif; transition: background 0.2s, opacity 0.2s;
}
.drops-submit[disabled] { opacity: 0.6; cursor: default; }
.drops-thanks { text-align: center; }
.drops-thanks h3 { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 500; margin: 0 0 8px; }
.drops-thanks p { margin: 0; line-height: 1.6; }
.drops-skeleton { height: 120px; border-radius: 2px; background: rgba(38,37,33,0.06); }

/* in the band (dark sage background) */
.band .drops-form {
  max-width: 640px; margin: 0 auto; grid-template-columns: 1.3fr 1fr auto; align-items: end;
}
.band .drops-field label { color: rgba(246,241,231,0.75); }
.band .drops-field input {
  border: 1px solid rgba(246,241,231,0.4); background: transparent; color: var(--ivory);
}
.band .drops-field input:focus { outline: none; border-color: var(--gold-soft); }
.band .drops-submit { background: var(--gold); color: var(--ink); }
.band .drops-submit:hover { background: var(--gold-soft); }
.band .drops-err { color: #F3C7D4; grid-column: 1 / -1; }
.band .drops-thanks { color: var(--ivory); }
.band .drops-thanks p { color: rgba(246,241,231,0.8); }
.band .drops-skeleton { background: rgba(246,241,231,0.12); max-width: 640px; margin: 0 auto; height: 64px; }
@media (max-width: 680px) {
  .band .drops-form { grid-template-columns: 1fr; }
}

/* ---- pop-up ---- */
.drops-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(38,37,33,0.5);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.drops-overlay.open { opacity: 1; pointer-events: auto; }
.drops-modal {
  position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--ivory); color: var(--ink); border-radius: 3px;
  padding: 44px 36px 34px; text-align: center;
  box-shadow: 0 30px 60px -20px rgba(38,37,33,0.45);
  transform: translateY(14px); transition: transform 0.35s cubic-bezier(.2,.8,.3,1);
}
.drops-overlay.open .drops-modal { transform: none; }
.drops-modal::before {
  content: ""; position: absolute; inset: 8px; border: 1px solid rgba(196,160,92,0.45);
  border-radius: 2px; pointer-events: none;
}
.drops-close {
  position: absolute; top: 14px; right: 16px; z-index: 1; background: none; border: none;
  font-size: 26px; line-height: 1; color: var(--stone); cursor: pointer; padding: 4px;
}
.drops-close:hover { color: var(--ink); }
.drops-mark { width: 46px; height: auto; margin: 0 auto 16px; display: block; }
.drops-eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--sage-deep); margin: 0 0 10px;
}
.drops-modal h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(28px, 6vw, 34px);
  line-height: 1.12; margin: 0 0 12px;
}
.drops-modal h2 em { font-style: italic; color: var(--sage-deep); }
.drops-sub { font-size: 14.5px; line-height: 1.65; color: var(--stone); margin: 0 auto 24px; max-width: 340px; }
.drops-modal .drops-field label { color: var(--sage-deep); }
.drops-modal .drops-field input { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.drops-modal .drops-field input:focus { outline: none; border-color: var(--sage); }
.drops-modal .drops-submit { background: var(--ink); color: var(--ivory); width: 100%; margin-top: 4px; }
.drops-modal .drops-submit:hover { background: var(--sage-deep); }
.drops-modal .drops-thanks p { color: var(--stone); }
@media (max-width: 480px) {
  .drops-modal { padding: 40px 22px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .drops-overlay, .drops-modal { transition: none; }
}