:root {
  font-family: 'DM Sans', sans-serif;
  color: #2E2E2E;
  background: #FEF8EE;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --orange: #CE583B;
  --ivory: #FEF8EE;
  --charcoal: #2E2E2E;
  --muted: #776F67;
  --line: rgba(46, 46, 46, .15);
}

* { 
  box-sizing: border-box; 
}

html { 
  scroll-behavior: smooth; 
}

body { 
  margin: 0; 
  min-width: 320px; 
  background: #e9e2d8; 
}

button, a { 
  -webkit-tap-highlight-color: transparent; 
}

a { 
  color: inherit; 
}

.site-shell { 
  width: min(100%, 560px); 
  min-height: 100vh; 
  margin: 0 auto; 
  overflow: hidden; 
  background: var(--ivory); 
  box-shadow: 0 0 60px rgba(46,46,46,.08); 
}

/* ==================== HEADER 2 KOLOM (TANPA .TOPBAR) ==================== */
header {
  display: grid;
  grid-template-columns: auto 1fr; /* Kolom 1: Logo | Kolom 2: Brand & Status */
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 10px; /* Padding kiri dikurangi */
  background: var(--ivory);
  min-height: 70px;
}

/* Kolom 1: Logo */
.brand { 
  grid-column: 1;
  display: flex; 
  align-items: center; 
  text-decoration: none; 
  min-width: 0; 
}

.brand img { 
  width: 62px;         /* Logo diperbesar */
  height: 68px; 
  object-fit: contain; 
  mix-blend-mode: multiply; 
}

/* Kolom 2: Wrapper Brand Wordmark & Status */
header .brand-wordmark-wrapper {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.brand-wordmark { 
  font-family: 'Mansalva', cursive; 
  font-size: 26px; 
  line-height: 1; 
  color: var(--charcoal); 
  white-space: nowrap; 
}

/* Teks 'Koffie' dengan DM Sans tanpa bold (regular) */
.brand-wordmark .koffie-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400; /* Regular / tanpa bold */
  color: var(--orange);
  margin-left: 3px;
}

/* Font angka 3 pada Lima³ menggunakan Mansalva */
.brand-wordmark sup, .footer-brand sup { 
  font-family: 'Mansalva', cursive; 
  font-size: .62em; 
  font-weight: 400; 
  vertical-align: baseline; 
  position: relative; 
  top: -.53em; 
}

.brand-caption { 
  display: block; 
  margin-top: 4px; 
  color: var(--charcoal); 
  font: 700 7px/1 'DM Sans', sans-serif; 
  letter-spacing: 1.1px; 
}

/* Open Status Badge */
.open-status { 
  display: flex; 
  flex-direction: column;   /* Mengubah susunan menjadi vertikal ke bawah */
  align-items: center;      /* Membuat elemen anak rata tengah secara horizontal */
  justify-content: center;
  text-align: center;
  font-size: 8px; 
  line-height: 1.3; 
  letter-spacing: .5px; 
  color: var(--muted); 
  white-space: nowrap; 
}

.open-status-title {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
}

.open-status strong { 
  display: block; 
  margin-top: 2px; 
  color: var(--charcoal); 
  font-size: 13px; 
  font-weight: 700; 
  letter-spacing: 0; 
}

/* Jam Tutup (23.53) dengan Font Mansalva dan Warna --orange */
.open-status strong .closing-time {
  font-family: 'Mansalva', cursive;
  font-weight: 400;
  color: var(--orange);
  font-size: 1.15em;
  margin-left: 2px;
}

.status-dot { 
  width: 6px; 
  height: 6px; 
  border-radius: 50%; 
  background: #6b895e; 
  box-shadow: 0 0 0 3px rgba(107,137,94,.12); 
}

/* ==================== HERO SECTION & SLIDER ==================== */
.hero { 
  min-height: 570px; 
  height: min(78vh, 690px); 
  position: relative; 
  isolation: isolate; 
  overflow: hidden; 
  background: var(--orange); 
  color: var(--ivory); 
  touch-action: pan-y; /* Membantu gestur geser sentuh secara vertikal/horizontal */
}

.hero-photo, .hero-shade { 
  position: absolute; 
  inset: 0; 
  z-index: -2; 
  cursor: pointer; /* Menandakan gambar bisa diklik untuk play/pause */
}

.hero-photo img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
  animation: photo-in .45s ease both; 
  user-select: none;
  -webkit-user-drag: none;
}

.photo-fallback { 
  background: radial-gradient(ellipse at 80% 20%, #e7b18c 0, transparent 32%), linear-gradient(145deg, #773c2c, #ce583b 54%, #2e2e2e); 
}

.hero-shade { 
  z-index: -1; 
  background: linear-gradient(180deg, rgba(23,20,18,.04) 0%, rgba(23,20,18,.12) 26%, rgba(23,20,18,.79) 100%); 
}

.hero-content { 
  position: absolute; 
  left: 26px; 
  right: 24px; 
  bottom: 50px; /* Disesuaikan karena kontrol bawah dikurangi */
  animation: content-in .35s ease both; 
  pointer-events: none; /* Supaya klik tembus ke gambar carousel */
}

.eyebrow, .section-label { 
  font-size: 9px; 
  font-weight: 700; 
  letter-spacing: 1.65px; 
  line-height: 1.5; 
}

.eyebrow { 
  display: flex; 
  align-items: center; 
  gap: 9px; 
  color: #fff4e5; 
}

.eyebrow span { 
  display: inline-block; 
  width: 19px; 
  height: 1px; 
  background: #fff4e5; 
}

.hero h1, .order-copy h2, .intro-section h2 { 
  margin: 20px 0 15px; 
  font-size: clamp(48px, 12vw, 69px); 
  line-height: .98; 
  font-weight: 500; 
  letter-spacing: -2.3px; 
}

.hero h1 { 
  max-width: 470px; 
}

.hero h1 em, .order-copy h2 em, .intro-section h2 em { 
  font-family: 'Mansalva', cursive; 
  font-weight: 400; 
  font-style: normal; 
  letter-spacing: -1.5px; 
}

.hero-description { 
  max-width: 285px; 
  margin: 19px 0 21px; 
  font-size: 13px; 
  line-height: 1.7; 
  color: rgba(255,248,238,.88); 
}

.hero-link, .text-link { 
  display: inline-flex; 
  align-items: center; 
  gap: 10px; 
  text-decoration: none; 
  font-size: 12px; 
  font-weight: 700; 
  border-bottom: 1px solid currentColor; 
  padding-bottom: 7px; 
  pointer-events: auto; /* Agar link tetap bisa diklik */
}

.slide-dots { 
  position: absolute; 
  top: 24px; 
  right: 24px; 
  display: flex; 
  gap: 6px; 
}

.slide-dots button { 
  width: 6px; 
  height: 6px; 
  padding: 0; 
  border: 0; 
  border-radius: 9px; 
  background: rgba(255,248,238,.6); 
  cursor: pointer; 
  transition: width .2s; 
}

.slide-dots button.selected { 
  width: 22px; 
  background: var(--ivory); 
}

/* ==================== ANIMASI PLAY/PAUSE ALA YOUTUBE ==================== */
.yt-overlay-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 72px;
  height: 72px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  animation: yt-pop-fade 0.6s cubic-bezier(0, 0, 0.2, 1) forwards;
}

@keyframes yt-pop-fade {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  30% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

/* ==================== LOCATION STRIP (2 KOLOM: LOKASI & MEMBER APP) ==================== */
.location-strip { 
  display: grid; 
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* Dibagi 2 kolom sejajar */
  gap: 12px; 
  padding: 16px 14px; 
  background: var(--orange); 
  color: var(--ivory); 
}

.location-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.location-icon { 
  width: 36px; 
  height: 36px; 
  flex: 0 0 36px; 
  display: grid; 
  place-items: center; 
  border: 1px solid rgba(254,248,238,.4); 
  border-radius: 50%; 
}

.location-copy { 
  min-width: 0; 
  flex: 1; 
}

.location-copy span { 
  display: block; 
  margin-bottom: 3px; 
  font-size: 8px; 
  letter-spacing: 1.2px; 
  opacity: .78; 
}

.location-copy strong { 
  display: block; 
  font-size: 10.5px; 
  line-height: 1.35; 
  font-weight: 600; 
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.location-item > a { 
  display: grid; 
  place-items: center; 
  width: 30px; 
  height: 30px; 
  flex: 0 0 30px; 
  border-radius: 50%; 
  background: var(--ivory); 
  color: var(--orange); 
  text-decoration: none;
}

/* ==================== ORDER SECTION ==================== */
.order-card { 
  display: grid; 
  grid-template-columns: .84fr 1.16fr; 
  gap: 12px; 
  padding: 42px 23px 39px; 
  background: #f3e9db; 
  align-items: center; 
}

.order-art { 
  min-height: 210px; 
  position: relative; 
  overflow: hidden; 
  border-radius: 150px 150px 14px 14px; 
  background: #d8a07c; 
}

.order-sun { 
  position: absolute; 
  width: 132px; 
  height: 132px; 
  top: 20px; 
  left: 50%; 
  transform: translateX(-50%); 
  border-radius: 50%; 
  background: #f7d5a7; 
}

.cup { 
  position: absolute; 
  width: 92px; 
  height: 98px; 
  left: 50%; 
  top: 77px; 
  transform: translateX(-50%) rotate(-5deg); 
  border-radius: 8px 8px 25px 25px; 
  background: var(--ivory); 
  box-shadow: inset -10px 0 rgba(46,46,46,.08), 0 13px 20px rgba(46,46,46,.15); 
}

.cup::before { 
  content: ''; 
  position: absolute; 
  top: -7px; 
  left: -3px; 
  width: 98px; 
  height: 14px; 
  border-radius: 50%; 
  background: #51382d; 
  border: 3px solid var(--ivory); 
}

.cup::after { 
  content: ''; 
  position: absolute; 
  right: -20px; 
  top: 21px; 
  width: 25px; 
  height: 35px; 
  border: 7px solid var(--ivory); 
  border-left: 0; 
  border-radius: 0 20px 20px 0; 
}

.cup span { 
  position: absolute; 
  top: 35px; 
  left: 0; 
  right: 0; 
  height: 2px; 
  background: rgba(206,88,59,.5); 
}

.order-spark { 
  position: absolute; 
  top: 33px; 
  right: 21px; 
  color: var(--orange); 
  font-size: 26px; 
}

.order-copy { 
  padding: 4px 0; 
}

.section-label { 
  margin: 0; 
  color: var(--orange); 
  font-size: 8px; 
}

.order-copy h2 { 
  margin: 16px 0 13px; 
  font-size: clamp(29px, 7vw, 39px); 
  letter-spacing: -1.1px; 
  line-height: 1.05; 
}

.order-copy h2 em { 
  color: var(--orange); 
  letter-spacing: -.8px; 
}

.order-copy > p:not(.section-label) { 
  margin: 0 0 18px; 
  color: #69615a; 
  font-size: 11px; 
  line-height: 1.75; 
}

.text-link { 
  font-size: 10px; 
  gap: 7px; 
  padding-bottom: 5px; 
}

/* ==================== INTRO SECTION ==================== */
.intro-section { 
  padding: 49px 25px 48px; 
  background: var(--ivory); 
}

.intro-section .section-label { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
}

.intro-section .section-label span { 
  color: var(--orange); 
  font-size: 14px; 
}

.intro-section h2 { 
  margin: 18px 0 19px; 
  font-size: clamp(39px, 9.5vw, 55px); 
  line-height: 1.02; 
  letter-spacing: -1.7px; 
}

.intro-section h2 em { 
  color: var(--orange); 
}

.intro-text { 
  max-width: 470px; 
  margin: 0; 
  font-size: 12px; 
  line-height: 1.95; 
  color: #69615a; 
}

.signature { 
  margin-top: 22px; 
  color: var(--orange); 
  font-family: 'Mansalva', cursive; 
  font-size: 23px; 
}

/* ==================== FOOTER ==================== */
.footer { 
  padding: 27px 23px 17px; 
  background: var(--charcoal); 
  color: var(--ivory); 
}

.footer-top { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 15px; 
  padding-bottom: 22px; 
  border-bottom: 1px solid rgba(254,248,238,.2); 
}

.footer-brand { 
  font-family: 'Mansalva', cursive; 
  font-size: 27px; 
  line-height: 1; 
}

.footer-brand span { 
  display: block; 
  margin-top: 7px; 
  font: 600 7px 'DM Sans', sans-serif; 
  letter-spacing: 1.25px; 
  opacity: .65; 
}

.social-links { 
  display: flex; 
  gap: 9px; 
}

.social-links a { 
  width: 38px; 
  height: 38px; 
  display: grid; 
  place-items: center; 
  border: 1px solid rgba(254,248,238,.35); 
  border-radius: 50%; 
  transition: background .2s; 
}

.social-links a:active { 
  background: var(--orange); 
}

.footer-details { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 13px 20px; 
  padding: 18px 0; 
  color: rgba(254,248,238,.76); 
  font-size: 10px; 
}

.footer-details span { 
  display: inline-flex; 
  align-items: center; 
  gap: 7px; 
}

.footer-bottom { 
  display: flex; 
  justify-content: space-between; 
  gap: 10px; 
  border-top: 1px solid rgba(254,248,238,.2); 
  padding-top: 14px; 
  font-size: 9px; 
  color: rgba(254,248,238,.58); 
}

.footer-bottom a { 
  display: inline-flex; 
  align-items: center; 
  gap: 4px; 
  text-decoration: none; 
  color: var(--ivory); 
}

/* ==================== ANIMATIONS ==================== */
@keyframes photo-in { 
  from { opacity: .5; transform: scale(1.025); } 
  to { opacity: 1; transform: scale(1); } 
}

@keyframes content-in { 
  from { opacity: .25; transform: translateY(7px); } 
  to { opacity: 1; transform: translateY(0); } 
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (min-width: 561px) { 
  .site-shell { 
    border-left: 1px solid rgba(46,46,46,.06); 
    border-right: 1px solid rgba(46,46,46,.06); 
  } 
}

@media (max-width: 380px) { 
  header { padding-inline: 8px; gap: 6px; } 
  .brand img { width: 50px; height: 55px; } 
  .brand-wordmark { font-size: 21px; } 
  .open-status { font-size: 7px; } 
  .open-status strong { font-size: 11px; } 
  .hero { min-height: 540px; } 
  .hero-content { left: 20px; right: 20px; bottom: 98px; } 
  .hero h1 { font-size: 48px; } 
  .location-strip { 
    grid-template-columns: 1fr; /* Tumpuk vertikal jika layar terlalu kecil */
    gap: 14px; 
    padding: 16px; 
  } 
  .location-copy strong { font-size: 10px; } 
  .order-card { padding-inline: 17px; grid-template-columns: .75fr 1.25fr; gap: 13px; } 
  .order-art { min-height: 190px; } 
  .order-copy h2 { font-size: 29px; } 
  .intro-section { padding-inline: 20px; } 
}

@media (prefers-reduced-motion: reduce) { 
  *, *::before, *::after { 
    animation-duration: .01ms !important; 
    transition-duration: .01ms !important; 
    scroll-behavior: auto !important; 
  } 
}