/* ============================================================
   TWO-STORE ADDITIONS (loaded after styles.css)
   ============================================================ */
/* welcome page uses the Royal Tea tokens for the shared cart/checkout */
body[data-brand="home"] {
  --bg: #fbfbf8; --bg-2: #eef2fa; --surface: #fff; --text: #13214d; --text-2: #3b4873; --muted: #6c7699;
  --accent: #2f4fae; --accent-2: #4d6cc9; --accent-deep: #172a6b; --accent-soft: rgba(47,79,174,.07);
  --line: rgba(19,33,77,.12); --line-strong: rgba(47,79,174,.35); --deep: #0f1b45; --deep-2: #182a63; --on-deep: #f3f5fb;
  --pattern: rgba(47,79,174,.06); --shadow: 0 30px 60px -30px rgba(19,33,77,.35);
}

/* nav: current store logo + link to the other store */
.nav__home { display: flex; align-items: center; }
.nav__other {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 6px 14px 6px 8px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2);
  white-space: nowrap; transition: border-color .3s, color .3s, background .3s;
}
@media (max-width: 1100px) { .nav__other span { display: none; } .nav__other { padding: 6px 10px; } }
.nav__other img { height: 26px; width: auto; opacity: .85; }
.nav__other:hover { border-color: var(--line-strong); color: var(--accent); background: var(--surface); }
.nav__other--tea img { height: 34px; }

/* promo */
.promo-section { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.promo {
  display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  max-width: 1100px; margin: 0 auto; padding: clamp(28px, 4vw, 48px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.promo::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line); border-radius: 20px; pointer-events: none; }
.promo__poster { padding: 0; border: 0; background: none; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 50px -25px rgba(0,0,0,.45); transform: rotate(-2deg); transition: transform .6s var(--ease); cursor: zoom-in; position: relative; z-index: 1; }
.promo__poster:hover { transform: rotate(0) scale(1.02); }
.promo__copy { position: relative; z-index: 1; }
.promo__copy h2 { font-size: clamp(42px, 5.5vw, 72px); font-weight: 400; color: var(--accent-deep); margin-bottom: 14px; }
.promo__text { font: italic 400 clamp(21px, 2.2vw, 26px)/1.35 var(--serif); color: var(--text); margin: 0 0 14px; }
.promo__fine { color: var(--muted); font-size: 14px; margin: 0 0 26px; }
.promo__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* cross-sell to the other store */
.sister {
  display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center;
  max-width: 1100px; margin: 0 auto; padding: 40px clamp(24px, 4vw, 48px); border-radius: 28px; text-decoration: none;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.sister:hover { transform: translateY(-4px); }
.sister--cafe { background: linear-gradient(135deg, #fffaf3, #f4ece2); border: 1px solid rgba(123,74,34,.25); color: #2e1c10; box-shadow: 0 30px 60px -34px rgba(123,74,34,.5); }
.sister--tea  { background: linear-gradient(135deg, #ffffff, #eef2fa); border: 1px solid rgba(47,79,174,.25); color: #13214d; box-shadow: 0 30px 60px -34px rgba(47,79,174,.5); }
.sister__logo { height: 110px; width: auto; }
.sister--cafe .sister__logo { height: 60px; }
.sister__kicker { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; opacity: .65; margin: 0 0 8px; }
.sister h3 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 400; margin-bottom: 8px; }
.sister p { margin: 0; opacity: .8; }
.sister__go { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; padding: 14px 24px; border-radius: 999px; color: #fff; }
.sister--cafe .sister__go { background: linear-gradient(135deg, #a46a38, #7b4a22 50%, #4a2a12); }
.sister--tea .sister__go  { background: linear-gradient(135deg, #4d6cc9, #2f4fae 50%, #172a6b); }

/* menu boards row */
.boards-label { text-align: center; color: var(--muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 20px 0 12px; }
.boards { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.boards button { padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; width: 92px; background: var(--surface); cursor: zoom-in; transition: transform .3s, box-shadow .3s; }
.boards button:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.boards img { width: 100%; height: 128px; object-fit: cover; object-position: top; }

/* shared cart: colour-code lines by store */
.line--royaltea .line__brand { color: #2f4fae; }
.line--caferoyal .line__brand { color: #7b4a22; }
.drawer__more { display: block; text-align: center; margin-top: 12px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); text-decoration: none; }
.drawer__more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ============================================================
   WELCOME PAGE
   ============================================================ */
.welcome { position: relative; min-height: 100vh; display: flex; flex-direction: column; background: #fbfaf7; }
.welcome__top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center; padding: 20px clamp(16px, 4vw, 48px);
  pointer-events: none;
}
.welcome__top > * { pointer-events: auto; }
.welcome__place { font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: #3b4873; background: rgba(255,255,255,.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(19,33,77,.1); }
.doors { flex: 1; display: flex; min-height: 100vh; }
.door {
  position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 120px clamp(20px, 4vw, 60px) 140px; text-align: center; text-decoration: none; overflow: hidden;
  transition: flex .8s var(--ease);
}
.door::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.door::after { content: ""; position: absolute; inset: 22px; border: 1px solid; outline: 1px solid; outline-offset: 6px; border-radius: 6px; pointer-events: none; opacity: .5; transition: opacity .6s; }
.door:hover { flex: 1.25; }
.door:hover::after { opacity: 1; }
.door > * { position: relative; z-index: 1; }
.door--tea { background: radial-gradient(700px 500px at 30% 20%, rgba(47,79,174,.10), transparent 65%), #fbfbf8; color: #13214d; }
.door--tea::before { background: repeating-linear-gradient(118deg, transparent 0 140px, rgba(47,79,174,.06) 141px 142px, transparent 143px 260px), repeating-linear-gradient(28deg, transparent 0 220px, rgba(47,79,174,.06) 221px 222px, transparent 223px 380px); }
.door--tea::after { border-color: rgba(47,79,174,.3); outline-color: rgba(47,79,174,.3); }
.door--cafe { background: radial-gradient(700px 500px at 70% 20%, rgba(123,74,34,.12), transparent 65%), #fcf8f2; color: #2e1c10; border-left: 1px solid rgba(46,28,16,.08); }
.door--cafe::before { background: repeating-linear-gradient(62deg, transparent 0 140px, rgba(123,74,34,.06) 141px 142px, transparent 143px 260px), repeating-linear-gradient(152deg, transparent 0 220px, rgba(123,74,34,.06) 221px 222px, transparent 223px 380px); }
.door--cafe::after { border-color: rgba(123,74,34,.3); outline-color: rgba(123,74,34,.3); }
.door__logo { width: auto; transition: transform .8s var(--ease); filter: drop-shadow(0 20px 30px rgba(0,0,0,.08)); }
.door--tea .door__logo { height: clamp(180px, 24vw, 290px); }
.door--cafe .door__logo { height: clamp(90px, 11vw, 136px); margin: clamp(45px, 6.5vw, 77px) 0; }
.door:hover .door__logo { transform: scale(1.05); }
.door__kicker { font-size: 11px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; opacity: .6; margin: 0; }
.door__title { font: 400 clamp(40px, 5vw, 66px)/1 var(--serif); margin: 0; }
.door__tag { font: italic 400 clamp(18px, 1.8vw, 22px) var(--serif); opacity: .8; margin: 0; max-width: 380px; }
.door__go { margin-top: 10px; display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px; border-radius: 999px; color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; transition: gap .4s var(--ease), box-shadow .4s; }
.door--tea .door__go { background: linear-gradient(135deg, #4d6cc9, #2f4fae 50%, #172a6b); box-shadow: 0 16px 30px -14px #2f4fae; }
.door--cafe .door__go { background: linear-gradient(135deg, #a46a38, #7b4a22 50%, #4a2a12); box-shadow: 0 16px 30px -14px #7b4a22; }
.door:hover .door__go { gap: 18px; }
.door__promo { font-size: 13px; opacity: .75; margin: 6px 0 0; }
.door__promo b { font-weight: 600; }
.welcome__bar {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 5;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center;
  padding: 12px 22px; border-radius: 999px; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(19,33,77,.1); box-shadow: 0 20px 40px -24px rgba(0,0,0,.35);
  font-size: 13px; color: #3b4873; white-space: nowrap;
}
.welcome__bar a { color: inherit; text-decoration: none; }
.welcome__bar a:hover { color: #13214d; }
.welcome__bar b { color: #13214d; }
.welcome__bar .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(19,33,77,.3); }
.welcome__crown { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 4; width: 66px; height: 66px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -10px rgba(0,0,0,.3); border: 1px solid rgba(19,33,77,.1); font: italic 500 17px var(--serif); color: #5a4a3a; pointer-events: none; }

@media (max-width: 1180px) and (min-width: 861px) {
  .welcome__bar { gap: 14px; font-size: 12px; padding: 10px 18px; }
  .welcome__bar .hide-md, .welcome__bar .dot.hide-md { display: none; }
}
@media (max-width: 860px) {
  .promo { grid-template-columns: 1fr; text-align: center; }
  .promo__poster { max-width: 320px; margin: 0 auto; }
  .promo__cta { justify-content: center; }
  .sister { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 18px; }
  .doors { flex-direction: column; }
  .door { min-height: 60vh; padding: 90px 20px 60px; }
  .door:hover { flex: 1; }
  .door--cafe { border-left: 0; border-top: 1px solid rgba(46,28,16,.08); padding-bottom: 150px; }
  .welcome__crown { display: none; }
  .welcome__place .hide-sm { display: none; }
  .welcome__place { white-space: nowrap; }
  .doors { min-height: 0; }
  .door--cafe { padding-bottom: 60px; }
  .welcome__bar { position: static; transform: none; margin: 0 12px 90px; border-radius: 20px; gap: 8px 14px; white-space: normal; font-size: 13px; flex-direction: column; text-align: center; padding: 18px; }
  .welcome__bar .dot { display: none; }
}
@media (max-width: 640px) {
  .nav__other span { display: none; }
  .nav__other { padding: 6px; }
}
