/* Chaayé Khana — custom layer over Tailwind CDN.
   Bottle green / brass / chai cream / terracotta. Yeseva One + Mulish + Gulzar. */

[hidden] { display: none !important; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.3em;
  color: #c9a86a;
}

/* buttons */
.btn-brass {
  display: inline-flex; align-items: center; gap: 0.5rem; justify-content: center;
  background: #c9a86a; color: #16302b;
  border-radius: 9999px; padding: 0.75rem 2rem;
  font-weight: 700; font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
}
.btn-brass:hover { background: #dcc08a; transform: translateY(-1px); }
.btn-brass:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-line {
  display: inline-flex; align-items: center; gap: 0.5rem; justify-content: center;
  border: 1px solid #c9a86a; color: #c9a86a;
  border-radius: 9999px; padding: 0.7rem 1.8rem; font-weight: 600; font-size: 0.95rem;
  transition: all 0.18s;
}
.btn-line:hover { background: rgba(201, 168, 106, 0.12); }

.chip {
  border: 1px solid rgba(201, 168, 106, 0.5); color: #f4ead9;
  border-radius: 9999px; padding: 0.4rem 1.1rem; font-size: 0.85rem;
  transition: all 0.15s;
}
.chip:hover { background: #c9a86a; color: #16302b; }

/* form fields */
.field {
  width: 100%;
  background: #0e211d;
  border: 1px solid rgba(201, 168, 106, 0.35);
  border-radius: 0.65rem;
  padding: 0.7rem 0.9rem;
  color: #f4ead9;
  font-weight: 400;
}
.field::placeholder { color: rgba(207, 195, 173, 0.55); }
.field:focus { outline: 2px solid #c9a86a; outline-offset: 1px; border-color: transparent; }

.qty-btn {
  width: 1.7rem; height: 1.7rem; border-radius: 9999px; line-height: 1;
  border: 1px solid #c9a86a; color: #f4ead9; background: none; font-size: 1rem;
}
.qty-btn:hover { background: rgba(201, 168, 106, 0.15); }

/* hero image treatment */
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.hero-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22, 48, 43, 0.5) 0%, rgba(22, 48, 43, 0.82) 65%, #16302b 100%);
}
.hero-img.short img { opacity: 0.22; }

/* steam */
.steam { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.steam i {
  position: absolute; bottom: -8rem; width: 15rem; height: 15rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 234, 217, 0.07), transparent 70%);
  filter: blur(26px);
  animation: steam 12s linear infinite;
}
.steam i:nth-child(1) { left: 15%; }
.steam i:nth-child(2) { left: 50%; animation-delay: 4s; }
.steam i:nth-child(3) { left: 75%; animation-delay: 8s; }
@keyframes steam {
  0% { transform: translateY(0) scale(0.7); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateY(-48rem) scale(1.5); opacity: 0; }
}

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }

/* index house cards */
.house-card {
  display: grid; gap: 1rem; border: 1px solid rgba(201, 168, 106, 0.2);
  border-radius: 0.9rem; overflow: hidden; background: rgba(14, 33, 29, 0.5);
  transition: transform 0.2s, border-color 0.2s;
}
.house-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.house-card > div { padding: 0 1.25rem 1.25rem; }
.house-card p:first-child { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.house-card:hover { transform: translateY(-3px); border-color: rgba(201, 168, 106, 0.5); }

/* blend library */
.blend-card {
  display: flex; gap: 1.1rem; padding: 1.4rem;
  border: 1px solid rgba(201, 168, 106, 0.22); border-radius: 0.9rem;
  background: rgba(14, 33, 29, 0.45);
  transition: transform 0.2s, border-color 0.2s;
}
.blend-card:hover { transform: translateY(-3px); border-color: rgba(201, 168, 106, 0.55); }
.blend-num {
  font-family: "Yeseva One", Georgia, serif; font-size: 1.6rem; line-height: 1;
  color: rgba(201, 168, 106, 0.55); min-width: 2.4rem;
}
.dots { display: inline-flex; gap: 0.25rem; }
.dots .dot {
  width: 7px; height: 7px; border-radius: 50%;
  border: 1px solid #c9a86a; display: inline-block;
}
.dots .dot.on { background: #c9a86a; }

.loc-card {
  border: 1px solid rgba(201, 168, 106, 0.22); border-radius: 0.9rem;
  padding: 1.5rem; background: rgba(14, 33, 29, 0.45);
}

/* accordions */
.acc { border-bottom: 1px solid rgba(201, 168, 106, 0.2); }
.acc:first-child { border-top: 1px solid rgba(201, 168, 106, 0.2); }
.acc-head {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 0.25rem; font-weight: 600; color: #f4ead9; text-align: left;
}
.acc-head:hover { color: #c9a86a; }
.acc-arrow { color: #c9a86a; transition: transform 0.2s; }
.acc-head[aria-expanded="true"] .acc-arrow { transform: rotate(180deg); }
.acc-body { padding: 0 0.25rem 1.2rem; color: #cfc3ad; font-size: 0.95rem; }

/* menu cards */
.menu-card {
  display: grid; text-align: left; border: 1px solid rgba(201, 168, 106, 0.22);
  border-radius: 0.9rem; overflow: hidden; background: rgba(14, 33, 29, 0.45);
  transition: transform 0.2s, border-color 0.2s; cursor: pointer;
}
.menu-card:hover { transform: translateY(-3px); border-color: rgba(201, 168, 106, 0.55); }
.menu-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.menu-card .mc-body { padding: 1rem 1.1rem 1.2rem; }

/* modal (plain-CSS shell; TWE optional) */
.modal-shell { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 1rem; }
.modal-back { position: absolute; inset: 0; background: rgba(14, 33, 29, 0.75); backdrop-filter: blur(3px); }
.modal-card {
  position: relative; width: 100%; max-width: 28rem; max-height: 90vh; overflow-y: auto;
  background: #16302b; border: 1px solid rgba(201, 168, 106, 0.4); border-radius: 0.9rem;
}
.modal-x {
  position: absolute; top: 0.5rem; right: 0.8rem; font-size: 1.6rem; line-height: 1;
  color: #f4ead9; background: rgba(14, 33, 29, 0.6); border-radius: 9999px; width: 2rem; height: 2rem;
}
.addon-row {
  display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem;
  border: 1px solid rgba(201, 168, 106, 0.25); border-radius: 0.6rem; padding: 0.55rem 0.8rem;
  cursor: pointer;
}
.addon-row input { accent-color: #c9a86a; }

/* cart drawer */
.drawer { position: fixed; inset: 0; z-index: 55; }
.drawer-back { position: absolute; inset: 0; background: rgba(14, 33, 29, 0.7); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(24rem, 92vw);
  background: #0e211d; border-left: 1px solid rgba(201, 168, 106, 0.35);
  display: flex; flex-direction: column; padding: 1.4rem;
}

/* order tracker */
#timeline { display: flex; flex-wrap: wrap; margin: 1.5rem 0 0.5rem; }
.track-step {
  position: relative; flex: 1; min-width: 6.4rem; padding: 1.4rem 0.4rem 0;
  color: #cfc3ad; font-size: 0.85rem; text-align: center;
}
.track-step::before {
  content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 2px;
  background: rgba(201, 168, 106, 0.35);
}
.track-dot {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: #16302b; border: 2px solid #c9a86a;
}
.track-step.done { color: #f4ead9; }
.track-step.done::before { background: #c9a86a; }
.track-step.done .track-dot { background: #c9a86a; }
.track-step.now { color: #c9a86a; font-weight: 700; }
.track-step.now .track-dot {
  background: #c9a86a;
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping {
  70% { box-shadow: 0 0 0 12px rgba(201, 168, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 168, 106, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .steam i, .track-step.now .track-dot { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* cart badge pulse */
@keyframes cartpulse { 40% { transform: scale(1.15); } }
.cart-pulse { animation: cartpulse 0.45s ease; }
