/* ═══════════════ RID STORE — BERANDA SPLASH PLEK VIDEO ═══════════════ */
body.home-page { padding-bottom: 0; overflow: hidden; background: #EAE2D5; }
body.home-page .container { padding-bottom: 0; height: 100dvh; max-width: 480px; }
body.home-page .topnav, body.home-page #fabWa { display: none !important; }

/* ── Splash: satu layar penuh, tanpa scroll ── */
#splash {
  height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  color: #1E120D;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #EAE2D5 url('/img/hero/bg1.jpg') center top / cover no-repeat;
}

.sp-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .6s cubic-bezier(.2, .9, .3, 1);
  z-index: 1;
}
#splash[data-mode="pagi"] .sp-bg-pagi { opacity: 1; }
#splash[data-mode="senja"] .sp-bg-senja { opacity: 1; }
#splash[data-mode="malam"] .sp-bg-malam { opacity: 1; }

.sp-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px 18px 24px;
  box-sizing: border-box;
}

.sp-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.sp-brand { display: flex; align-items: center; gap: 9px; z-index: 2; }
.sp-brand h1 { font-size: 28px; font-weight: 700; letter-spacing: -.3px; }

.sp-status {
  margin-top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(139, 30, 43, 0.4); background: #500814; color: #FFFFFF;
  padding: 6px 16px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 1.4px;
  box-shadow: 0 4px 12px rgba(80,8,20,0.25);
}
.sp-status.open { border-color: #00A844; background: #064E24; color: #FFFFFF; box-shadow: 0 4px 12px rgba(6,78,36,0.25); }
.sp-dot { width: 9px; height: 9px; border-radius: 50%; background: #FF2D4D; box-shadow: 0 0 10px #FF2D4D; animation: blink 1.2s infinite; }
.sp-status.open .sp-dot { background: #00E676; box-shadow: 0 0 10px #00E676; }
@keyframes blink { 50% { opacity: .35; } }

#splash h2 { font-size: 28px; font-weight: 800; margin-top: 8px; z-index: 2; line-height: 1.15; letter-spacing: -.4px; color: #1E120D; text-shadow: none; }
.sp-sub { opacity: 1; margin-top: 4px; font-size: 14.5px; font-weight: 500; z-index: 2; color: #5C4A3E; text-shadow: none; }

.sp-building-spacer {
  flex: 1;
  min-height: 60px;
  width: 100%;
  pointer-events: none;
}

.sp-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.sp-clock {
  z-index: 3; width: 100%;
  background: rgba(30, 26, 32, 0.52);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255,255,255,.32); border-radius: 22px; padding: 13px 14px 14px;
  box-shadow: 0 16px 36px rgba(0,0,0,.45);
}
.sp-clock b { font-size: 38px; font-weight: 700; letter-spacing: .5px; display: block; line-height: 1.05; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.sp-clock span { font-size: 14.5px; opacity: .95; font-weight: 500; }

.sp-seg {
  z-index: 2; margin-top: 13px; width: 100%;
  background: rgba(18, 18, 24, 0.45); border: 1.5px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: 999px; display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 4px;
}
.sp-seg button {
  border: none; background: transparent; color: #fff; font-weight: 600;
  padding: 8px 0; border-radius: 999px; cursor: pointer; font-size: 15px; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 6px; transition: all .2s;
}
.sp-seg button svg { width: 18px; height: 18px; flex: 0 0 18px; }
.sp-seg button.active { background: #fff; color: #111; font-weight: 700; box-shadow: 0 3px 12px rgba(0,0,0,.25); }

.sp-cta { display: flex; gap: 12px; width: 100%; margin-top: 12px; z-index: 2; }
.sp-cta .btn {
  flex: 1; min-width: 0; text-decoration: none; min-height: 52px; font-size: 15px; font-weight: 700;
  border-radius: 18px; white-space: nowrap; padding: 10px 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
}
.sp-cta .btn svg { width: 20px; height: 20px; flex: 0 0 20px; }
.sp-cta .btn span { overflow: hidden; text-overflow: ellipsis; }
.btn-green { background: #00D856; color: #fff; border: 2px solid #06390f; box-shadow: 0 4px 14px rgba(0,216,86,.4); }
.btn-dark { background: #1B181E; color: #fff; border: 2px solid #111111; box-shadow: 0 4px 14px rgba(27,24,30,.3); }

.sp-url {
  margin: 14px 0 0; z-index: 2; background: rgba(255,255,255,.95); border-radius: 999px;
  width: 90%; max-width: 360px; display: flex; align-items: center; justify-content: space-between;
  padding: 8px 16px; color: #111; font-weight: 700; font-size: 13.5px; border: 2px solid #111;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

/* Responsif layar pendek */
@media (max-height: 750px) {
  .sp-content { padding: 16px 14px 16px; }
  .sp-brand h1 { font-size: 24px; }
  .sp-brand svg { width: 28px; height: 28px; }
  #splash h2 { font-size: 23px; margin-top: 6px; }
  .sp-sub { font-size: 13px; }
  .sp-building-spacer { min-height: 30px; }
  .sp-clock { padding: 10px 12px; }
  .sp-clock b { font-size: 32px; }
  .sp-clock span { font-size: 13px; }
  .sp-seg button { padding: 6px 0; font-size: 13.5px; }
  .sp-cta .btn { min-height: 46px; font-size: 14px; }
}

/* Hero & konten lama disembunyikan agar tampilan splash fullscreen persis video */
.hero, .hero-dots, .section, .perks, .cta, .foot, #cartBar, #cartsSheet { display: none !important; }

/* ── Brand modal (beranda: Lihat-lihat; toko: •••) ── */
#brandModal {
  position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center;
  padding: 20px; background: rgba(10,5,8,.65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
#brandModal.show { display: flex; }
.brand-modal {
  width: 100%; max-width: 380px; background: #FAF3ED; border: 2.5px solid var(--ink);
  border-radius: 24px; box-shadow: 6px 6px 0 var(--ink); padding: 22px 18px 20px; animation: sheetUp .25s var(--ease);
}
.brand-modal-head { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 18px; }
.brand-modal-head .logo-text { font-size: 22px; font-weight: 900; color: var(--ink); letter-spacing: -.5px; }
.brand-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.brand-tile {
  border: 2px solid var(--ink); border-radius: 18px; background: #fff; box-shadow: var(--shadow-xs);
  min-height: 110px; padding: 16px 10px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  font-weight: 800; font-size: 12.5px; color: var(--ink); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.brand-tile:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-sm); }
.brand-tile img { width: 44px; height: 44px; object-fit: contain; }
.brand-tile small { font-size: 11px; letter-spacing: .08em; font-weight: 800; color: #333; }
.brand-tile.active { outline: 3px solid var(--green); }

/* ── Pilihan Brand Langsung di Halaman Awal Sesuai Request Client (Page 1) ── */
.sp-brand-picker {
  width: 100%;
  max-width: 340px;
  margin: 12px auto 8px;
  z-index: 3;
}
.sp-picker-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #3C2A1E;
  margin-bottom: 10px;
  text-shadow: none;
}
.sp-brand-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.sp-brand-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  background: #FAF4EB;
  border: 2px solid #111111;
  border-radius: 14px;
  color: #111111;
  text-decoration: none;
  box-shadow: 3px 3px 0 #111111;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.sp-brand-card:hover {
  background: #FFFFFF;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #111111;
}
.sp-brand-card:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #111111;
}
.sp-brand-card img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-bottom: 0;
  filter: none;
}
.sp-brand-card span {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #111111;
}

