/* index.css for lahori.sg homepage. Extracted 2026-06-20 from inline blocks in index.html. See architecture.md for full extraction notes. */

/* SECTION 1 was index.html lines 171 to 222 (product video card styles) */
/* ── Product Video Cards ── */
.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: #111;
}
.product-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.product-media.video-playing .product-video { opacity: 1; }
.product-media.video-playing .product-img {
  opacity: 0.00; /* was 0.15 */
  transform: scale(1.03);
}
.product-video-indicator {
  position: absolute;
  bottom: 8px; right: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s;
}
.product-media.video-playing .product-video-indicator {
  opacity: 1;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 0.4; }
}


/* SECTION 2 was index.html lines 230 to 806 (page-level overrides) */
    *, *::before, *::after { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
      color: #0F1A10;
    }
    /* Prevent white below footer */
    html { background-color: #00401A; }
    /* Compact mobile menu — 16 items (5 page nav + 11 categories) */
    .mobile-menu-link { padding: 6px 16px; min-height: 0; }

    /* Scroll offset: accounts for fixed ticker only */
    html { scroll-padding-top: 35px; }
    @media (max-width: 480px) { html { scroll-padding-top: 30px; } }

    /* Neutralise reddish shadow from style.css header{} */
    .kitchen-header { box-shadow: none !important; }

    /* ── kitchen-header — same padding as admin.html ── */
    .kitchen-header {
      position: relative;
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 8px;
      padding: 10px 28px;
      background: linear-gradient(135deg, #006600 0%, #00401A 100%);
      border-bottom: 1px solid rgba(0,0,0,0.15);
    }
    .kitchen-header .k-logo img { height: 64px; display: block; flex-shrink: 0; }

    /* Plain white nav links — no pills */
    .kitchen-header nav ul {
      list-style: none; margin: 0; padding: 0;
      display: flex; gap: 4px; flex-wrap: wrap;
    }
    .kitchen-header nav ul li a {
      display: inline-block;
      padding: 6px 14px;
      color: rgba(255,255,255,0.85);
      text-decoration: none;
      font-size: 17px;
      font-weight: 500;
      border-radius: 6px;
      transition: background 0.18s, color 0.18s;
    }
    .kitchen-header nav ul li a:hover {
      background: rgba(255,255,255,0.15);
      color: #fff;
    }
    .kitchen-header nav ul li a.active {
      background: rgba(255,255,255,0.22);
      color: #fff;
      font-weight: 600;
    }

    /* Responsive nav: scale font/padding by viewport width */
    @media (max-width: 1200px) {
      .kitchen-header nav ul { gap: 2px; }
      .kitchen-header nav ul li a { font-size: 12.5px; padding: 5px 10px; }
    }
    @media (max-width: 1024px) {
      .kitchen-header nav ul li a { font-size: 12px; padding: 5px 8px; }
    }
    @media (max-width: 900px) {
      .kitchen-header nav ul li a { font-size: 11.5px; padding: 4px 6px; }
    }

    @media (max-width: 767px) {
      .kitchen-header { padding: 12px 16px; }
      .kitchen-header nav { display: none; }
    }
    @media (max-width: 480px) {
      /* Phase 2 (revised 2026-06-23) — logo at 75% width, centered horizontally,
        0px vertical padding. */
      .kitchen-header { padding-top: 0px; padding-bottom: 0px; justify-content: center; }
      .kitchen-header .k-logo { width: 75%; display: flex; justify-content: center; }
      .kitchen-header .k-logo img { width: 100%; height: auto; display: block; }
    }

    /* Remove red glow from hidden mobile burger */
    .mobile-menu-toggle.hidden-until-scroll { box-shadow: none !important; }

    /* ══ #order: How Ordering Works ══ */
    #order {
      background: #f4f8f4;
      padding: 2.5rem 1.25rem 3.5rem;
    }
    .order-wrap {
      max-width: 1120px;
      margin: 0 auto;
    }
    .order-hd {
      text-align: center;
      margin-bottom: 2rem;
    }
    .order-hd h2 {
      font-size: 2rem;
      font-weight: 750;
      color: #00401A;
      margin: 0 0 0.3rem;
      letter-spacing: -0.01em;
	  margin-bottom: 2px;
    }
    .order-hd p {
      font-size: 1.1rem;
	  line-height: 1;
      color: #4d6b50;
      margin: 0;
    }
    .order-grid {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 0 0.85rem;
      align-items: start;
    }
    /* OR divider — vertical on desktop */
    .order-or {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-top: 2.8rem;
      height: 100%;
    }
    .order-or-line {
      flex: 1;
      width: 1px;
      min-height: 36px;
      background: linear-gradient(to bottom, transparent, #bdd4bd 25%, #bdd4bd 75%, transparent);
    }
    .order-or-text {
      font-size: 0.68rem;
      font-weight: 800;
      color: #90ae90;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      padding: 0.45rem 0;
    }
    /* Track cards */
    .otrack {
      border-radius: 14px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 2px 18px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
      border: 1px solid rgba(0,0,0,0.06);
    }
    .otrack-bar { height: 4px; }
    .otrack-a .otrack-bar { background: linear-gradient(90deg,#006600,#00a826); }
    .otrack-b .otrack-bar { background: linear-gradient(90deg,#b35000,#f07820); }
    .otrack-hd {
      padding: 1rem 1.2rem 0.75rem;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 0.5rem;
    }
    /* Status tags inside #order — exact replica of menu item status tags */
    .otrack-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.3rem;
      margin-bottom: 0.35rem;
    }
    #order .status {
      position: static !important;
      top: auto !important; right: auto !important;
      z-index: auto !important; margin: 0 !important;
      backdrop-filter: none !important;
      display: inline-flex !important;
      align-items: center;
      padding: 0.07rem 0.50rem !important;
      font-size: 0.80rem !important;
      font-weight: 650 !important;
      border-radius: 4px !important;
      box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
      text-transform: uppercase !important;
      letter-spacing: 0.20px !important;
    }
    #order .status.available   { color: #fff !important; background: rgba(46,125,50,0.9) !important; border: 1px solid rgba(255,255,255,0.3) !important; }
    #order .status.unavailable { color: #fff !important; background: rgba(211,47,47,0.9) !important; border: 1px solid rgba(255,255,255,0.3) !important; }
    #order .status.low-stock   { color: #00401a !important; background: rgba(255,193,7,0.9) !important; border: 1px solid rgba(255,193,7,0.3) !important; }
    #order .status.pre-order   { color: #fff !important; background: rgba(63,81,181,0.90) !important; border: 1px solid rgba(255,255,255,0.35) !important; }
    .otrack-title {
      font-size: 1.5rem;
      font-weight: 700;
      color: #0a2210;
      display: flex;
      align-items: center;
      gap: 0.4rem;
      margin-top: 15px;
      line-height: 1.1;
    }
    .otrack-eta {
      font-size: 0.9rem;
      font-weight: 700;
      padding: 0.25rem 0.6rem;
      border-radius: 20px;
      white-space: nowrap;
      flex-shrink: 0;
      margin-top: 0.1rem;
    }
    .otrack-a .otrack-eta { background: #daf2da; color: #005200; }
    .otrack-b .otrack-eta { background: #ffefd9; color: #8a3a00; }
    /* Timeline */
    .otrack-steps { padding: 0.1rem 1.2rem 0.5rem; }
    .ostep { display: flex; gap: 0.7rem; align-items: flex-start; }
    .ostep-left {
      display: flex;
      flex-direction: column;
      align-items: center;
      flex-shrink: 0;
      width: 22px;
    }
    .ostep-num {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0;
      flex-shrink: 0;
      position: relative;
      z-index: 1;
      margin-top: 6px;
    }
    .otrack-a .ostep-num { background: #006600; }
    .otrack-b .ostep-num { background: #b35000; }
    .ostep-line {
      width: 2px;
      flex: 1;
      min-height: 14px;
      border-radius: 1px;
      margin: 1px 0;
    }
    .otrack-a .ostep-line { background: #c6e8c6; }
    .otrack-b .ostep-line { background: #f0d9b4; }
    .ostep:last-child .ostep-line { display: none; }
    .ostep-body { padding-bottom: 0.9rem; flex: 1; min-width: 0; }
    .ostep-body strong {
      display: block;
      font-size: 1.1rem;
      font-weight: 650;
      color: #0a2210;
      line-height: 1.2;
    }
    .ostep-body span {
      font-size: 1rem;
      color: #567056;
      line-height: 1.4;
      display: block;
      margin-top: 0.12rem;
    }
    /* Footer note per card */
    .otrack-foot {
      display: flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.65rem 1.2rem 1rem;
      border-top: 1px solid rgba(0,0,0,0.05);
      font-size: 0.9rem;
      font-weight: 500;
      color: #4d6b50;
    }
    .otrack-a .otrack-foot { background: #f5fdf5; border-top-color: #d8eed8; }
    .otrack-b .otrack-foot { background: #fffcf5; border-top-color: #f2e4cc; }
    /* Animated live dot */
    .live-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #22c55e;
      display: inline-block;
      flex-shrink: 0;
      animation: livePulse 1.8s ease-in-out infinite;
    }
    @keyframes livePulse {
      0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.55); }
      55%      { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
    }
    .info-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #f07820;
      display: inline-block;
      flex-shrink: 0;
    }
    /* Column-aligned CTAs row */
    .order-col-btns {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 0 0.85rem;
      margin-top: 1rem;
      align-items: start;
    }
    .order-col-btns-spacer { /* matches OR divider column width — no content needed */ }
    /* Order Now button — verbatim k-btn-primary, full column width, desktop only */
    .order-now-btn {
      display: inline-flex;
      width: 100%;
      box-sizing: border-box;
      justify-content: center;
    }

 /* WhatsApp Pre-Order CTA */
    .order-wa-cta {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      background: #00401a;
      color: #fff;
      text-decoration: none;
      border-radius: 8px;
      padding: 14px 32px;
      font-size: 1.1rem;
      font-weight: 600;
      transition: background 0.2s;
      letter-spacing: 0.01em;
      width: 100%;
      box-sizing: border-box;
      
      /* FIX 1: Enforces an explicit height on the text container line box */
      line-height: 32px; 
    }
    .order-wa-cta:hover { background: #006600; color: #fff; }
    
    /* Center and size the SVG icon inside the CTA button */
    .order-wa-cta svg {
      display: block;
      width: 32px;
      height: 32px;
      flex-shrink: 0;
      margin: 0;
      
      /* FIX 2: Manually counterbalances the font canvas alignment mismatch */
      transform: translateY(4px); 
    }

    /* Mobile stacking */
    @media (max-width: 660px) {
      #order { padding: 2rem 1rem 2rem; }
      .order-grid { grid-template-columns: 1fr; gap: 0; }
      .order-or {
        flex-direction: row;
        padding: 0.75rem 0;
        height: auto;
        gap: 0.6rem;
      }
      .order-or-line {
        flex: 1;
        height: 1px;
        width: auto;
        min-height: 0;
        background: linear-gradient(to right, transparent, #bdd4bd 25%, #bdd4bd 75%, transparent);
      }
      .otrack-hd    { padding: 0.9rem 1rem 0.65rem; }
      .otrack-steps { padding: 0.1rem 1rem 0.4rem; }
      .otrack-foot  { padding: 0.6rem 1rem 0.9rem; }
      /* CTAs: hide Order Now, stack WA full-width */
      .order-col-btns { grid-template-columns: 1fr; gap: 0; }
      .order-col-btns-spacer { display: none; }
      .order-now-btn { display: none !important; }
      .order-wa-cta { margin-top: 1rem; padding: 0.85rem 1.25rem; }
    }


    /* ── SECTION 1: Hero ── */
    #k-hero {
      position: relative;
      height: 82.5vh;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      overflow: hidden;
    }
    .k-hero-bg {
      position: absolute;
      inset: 0;
      background: url('/kitchen.jpg') center/cover no-repeat;
    }
    .k-hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(10,20,10,0.55) 60%, rgba(0,0,0,0.80) 100%);
    }
    .k-hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      padding: 0 24px 80px;
      max-width: 640px;
    }
   
    .k-hero-eyebrow {
    margin: 0 0 2px;
    }

    .k-hero-eyebrow span {
    background-color: #006600;
    color: #ffffff; /* Crucial: Change text to white for multiply mode */
    mix-blend-mode: multiply; /* Crucial: Change to multiply for light backgrounds */
    font-size: 12px;
    letter-spacing: 0.20em;
    font-weight: 550;
    text-transform: uppercase;
    display: inline-block;
    padding: 0px 4px;
    }
	
    /* Hero h1 — mirrors style.css .site-header > h1 exactly */
    .k-hero-headline {
      font-size: clamp(1.8rem, 15vw, 3.4rem);
      font-weight: 650;
      color: #fff;
      margin: 0 0 16px;
      line-height: 1.05;
    }
	.k-hero-sub {
      font-size: 20px;
      color: rgba(255,255,255,1);
      margin: 0 0 30px;
      line-height: 1.35;
    }
    @media only screen and (min-width: 769px) and (max-width: 1024px) {
      .k-hero-headline { font-size: clamp(2rem, 6vw, 3.0rem); }
    }
    @media only screen and (max-width: 768px) {
      .k-hero-headline {
        font-size: clamp(1.6rem, 10vw, 3rem);
        line-height: 1.05;
      }
	  .k-hero-sub {
      font-size: 16px;
      color: rgba(255,255,255,1);
      margin: 0 0 48px;
      line-height: 1.25;
    }
    }
    @media only screen and (max-width: 360px) {
      .k-hero-headline { font-size: clamp(1.5rem, 9vw, 2.4rem); }
    }

    .k-hero-btns {
      display: inline-flex;
      gap: 16px;
      flex-wrap: wrap;
      justify-content: center;
    }
    .k-btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #00401a;
      color: #fff;
      text-decoration: none;
      border-radius: 8px;
      padding: 14px 32px;
      font-size: 15px;
      font-weight: 500;
      transition: background 0.2s;
    }
    .k-btn-primary:hover { color: #00401a; background: #fff; }
    .k-btn-ghost {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      border: 1px solid rgba(255,255,255,0.4);
      color: #fff;
      text-decoration: none;
      border-radius: 8px;
      padding: 14px 32px;
      font-size: 15px;
      font-weight: 500;
      transition: border-color 0.2s, background 0.2s;
    }
    .k-btn-ghost:hover { border-color: rgba(255,255,255,0.7); background: #00401a; }
    .k-hero-scroll {
      position: absolute;
      bottom: 28px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2;
      animation: k-bounce 1.2s ease-in-out infinite;
    }
    @keyframes k-bounce {
      0%, 100% { transform: translateX(-50%) translateY(0); }
      50% { transform: translateX(-50%) translateY(8px); }
    }
    .k-hero-scroll svg { opacity: 0.5; }

    /* ── Compact promo nudges on mobile (Cart A + Cart B) ── */
    @media (max-width: 768px) {
      .promo-nudge-cart-a {
        padding: 0.25rem 0.5rem !important;
        font-size: 0.72rem !important;
        line-height: 1.2 !important;
        margin: 0.1rem 0 !important;
      }
      /* Cart B nudges rendered as inline HTML strings share the same base style */
      #cart-b-promo-nudge > div {
        padding: 0.25rem 0.5rem !important;
        font-size: 0.72rem !important;
        line-height: 1.2 !important;
        margin: 0.1rem 0 !important;
      }
    }
	/* ── SECTION 2: Trust Strip ── */
    #k-trust-strip { background: #006600; padding: 20px 10px; }
    .k-trust-strip-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
    .k-trust-signal { display: flex; flex-direction: column; align-items: center; gap: 6px; }
    .k-trust-signal span { font-size: 16px; font-weight: 600; color: #fff; text-align: center; }
	
	 /* WhatsApp Pre-Order CTA */
    .order-wa-cta {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      background: #00401a;
      color: #fff;
      text-decoration: none;
      border-radius: 8px;
      padding: 14px 32px;
      font-size: 1.1rem;
      font-weight: 600;
      transition: background 0.2s;
      letter-spacing: 0.01em;
      width: 100%;
      box-sizing: border-box;
      
      /* FIX 1: Enforces an explicit height on the text container line box */
      line-height: 32px; 
    }
    .order-wa-cta:hover { background: #006600; color: #fff; }
    
    /* Center and size the Emoji icon inside the CTA button */
    .order-wa-cta .halal-icon {
      display: block;
      font-size: 32px; /* Sets emoji size to exactly 32px */
      line-height: 1;
      flex-shrink: 0;
      margin: 0;
      
      /* FIX 2: Manually counterbalances the font canvas alignment mismatch */
      transform: translateY(4px); 
    }

    /* Mobile stacking */
    @media (max-width: 660px) {
      #order { padding: 2rem 1rem 2rem; }
      .order-grid { grid-template-columns: 1fr; gap: 0; }
      .order-or {
        flex-direction: row;
        padding: 0.75rem 0;
        height: auto;
        gap: 0.6rem;
      }
      .order-or-line {
        flex: 1;
        height: 1px;
        width: auto;
        min-height: 0;
        background: linear-gradient(to right, transparent, #bdd4bd 25%, #bdd4bd 75%, transparent);
      }
      .otrack-hd    { padding: 0.9rem 1rem 0.65rem; }
      .otrack-steps { padding: 0.1rem 1rem 0.4rem; }
      .otrack-foot  { padding: 0.6rem 1rem 0.9rem; }
      /* CTAs: hide Order Now, stack WA full-width */
      .order-col-btns { grid-template-columns: 1fr; gap: 0; }
      .order-col-btns-spacer { display: none; }
      .order-now-btn { display: none !important; }
      .order-wa-cta { margin-top: 1rem; padding: 0.85rem 1.25rem; }
    }
