:root {
  /* Theme — Crafters green */
  --brand: #789A10;        /* borders, icons, hearts, checkboxes */
  --brand-dark: #536B0A;   /* links / text accents */
  --brand-soft: #F2F7DD;   /* hover / selected backgrounds */
  --btn: #677c12;          /* sab buttons ka simple rang */
  --btn-hover: #56680e;
  --brand-shadow: rgba(83, 107, 10, .35);
  --danger: #d92d20;       /* sirf errors ke liye */
  --green: #1e9e4a;
  --text: #202124;
  --muted: #6b6f76;
  --muted-bg: #f4f6fa;
  --bar-bg: #ebedf1;
  --page-bg: #f1f2f6;
  --line: #e3e5ea;
  --white: #ffffff;
  --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--page-bg);
}
body.lock { overflow: hidden; }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; }

.oswald { font-family: "Oswald", sans-serif; }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
}

.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1800px;
  margin: 0 auto;
  padding: 14px 32px;
}

.hamburger { display: flex; flex-direction: column; gap: 6px; padding: 8px; }
.hamburger span { display: block; width: 30px; height: 4px; background: var(--text); border-radius: 2px; }
.hamburger span:nth-child(2) { width: 22px; }

.logo { display: flex; align-items: center; margin-right: 16px; flex-shrink: 0; }
.logo img { height: 62px; width: auto; display: block; }

.modes { display: flex; gap: 14px; }

.mode {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  background: var(--muted-bg);
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: border-color .15s, background .15s;
}
.mode:hover { background: #e9edf4; }
.mode.active { background: var(--white); border-color: var(--brand); }
.mode svg { width: 34px; height: 34px; flex-shrink: 0; }

/* ---------- Delivery / Pick-up sliding toggle ---------- */
.mode-toggle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  background: var(--muted-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
}
/* laal pill jo slide karti hai */
.mode-toggle::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: var(--btn);
  border-radius: 11px;
  box-shadow: 0 4px 12px var(--brand-shadow);
  opacity: 0;
  transform: translateX(0) scale(.9);
  transition: transform .45s cubic-bezier(.65, 0, .25, 1.35), opacity .25s;
}
.mode-toggle[data-active="delivery"]::before { opacity: 1; transform: translateX(0); }
.mode-toggle[data-active="pickup"]::before { opacity: 1; transform: translateX(100%); }

.mode-toggle .mode,
.mode-toggle .mode:hover,
.mode-toggle .mode.active {
  position: relative;
  z-index: 1;
  justify-content: center;
  padding: 12px 24px;
  background: none;
  border: none;
  color: #8a8d93;
  transition: color .3s;
}
.mode-toggle .mode:hover { color: var(--text); }
.mode-toggle .mode.active { color: var(--white); }
.mode-toggle .mode svg { width: 26px; height: 26px; transition: transform .3s; }
.mode-toggle .mode.active svg { animation: pop .45s; }
@keyframes pop { 40% { transform: scale(1.3) rotate(-8deg); } }

.right { margin-left: auto; display: flex; align-items: center; gap: 5px; }

.cart { position: relative; display: block; width: 62px; height: 52px; }
.bucket-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 12px;
  background: var(--btn);
  color: var(--white);
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
}
.cart.bump { animation: bump .35s; }
@keyframes bump { 50% { transform: scale(1.2); } }

.login {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s, filter .15s;
}
.login img { width: 100%; height: 100%; object-fit: contain; display: block; }
.login:hover { transform: translateY(-2px) scale(1.05); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .2)); }
.login:active { transform: scale(.94); }

/* ---------- Category bar ---------- */
.category-bar { background: var(--bar-bg); }

.categories {
  position: relative;
  display: flex;
  gap: 16px;
  max-width: 1800px;
  margin: 0 auto;
  padding: 22px 32px;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: safe center;
}
.categories::-webkit-scrollbar { display: none; }

.cat {
  position: relative;
  isolation: isolate;
  flex-shrink: 0;
  padding: 16px 22px;
  background: var(--white);
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .2s, color .3s ease, text-shadow .3s ease;
}
/* rang ek alag layer par jo fade hoti hai — text ke rang ke saath saath,
   taake beech mein kaala text hare background par na dikhe */
.cat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--btn);
  opacity: 0;
  transition: opacity .3s ease;
}
.cat:hover { background-color: var(--brand-soft); }
.cat.active { color: var(--white); }
.cat.active::before { opacity: 1; }

/* ---------- Side drawer ---------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 30;
}
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 300px;
  max-width: 85vw;
  background: var(--white);
  transform: translateX(-100%);
  transition: transform .25s;
  z-index: 31;
  padding: 24px;
}
.drawer-open .overlay { opacity: 1; pointer-events: auto; }
.drawer-open .drawer { transform: translateX(0); }
.drawer-order { display: none; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid #eee; }
.drawer-label { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.drawer-logo { display: block; width: 200px; max-width: 100%; margin-bottom: 20px; }
.drawer a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid #eee;
}

/* =========================================================
   Menu sections + cards
   ========================================================= */
.menu-wrap { max-width: 1400px; margin: 0 auto; padding: 10px 32px 50px; }

.section { padding-top: 30px; }

.section-title {
  font-family: "Oswald", sans-serif;
  font-size: 34px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 30px 18px;
  display: inline-block;
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 66px;
  height: 4px;
  background: var(--btn);
  border-radius: 2px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px 40px;
  padding-bottom: 30px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 12px;
  padding: 12px 12px 44px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, .1); }

.fav { position: absolute; top: 10px; right: 10px; z-index: 1; width: 32px; height: 32px; }
.fav svg { width: 100%; height: 100%; fill: none; stroke: var(--brand); stroke-width: 2; transition: fill .15s; }
.fav.on svg { fill: var(--brand); }

.card-img {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  margin-bottom: 14px;
}
.card-img img { max-width: 86%; max-height: 100%; object-fit: contain; }

.card h3 { font-family: "Oswald", sans-serif; font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.card p {
  font-size: 15px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
  margin-bottom: 24px;
}
.price { font-family: "Oswald", sans-serif; font-size: 18px; font-weight: 600; margin-top: auto; }

.add-btn {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  background: var(--btn);
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 12px 14px;
  border-radius: 6px;
  transition: background .15s;
}
.add-btn:hover { background: var(--btn-hover); }

/* =========================================================
   Product modal
   ========================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }

.modal {
  position: relative;
  width: 900px;
  max-width: 100%;
  max-height: calc(100vh - 40px);
  display: grid;
  grid-template-columns: 1fr 340px;
  grid-template-rows: minmax(0, 1fr);
  gap: 40px;
  background: var(--white);
  border-radius: 28px;
  padding: 60px 34px 24px;
  transform: translateY(20px) scale(.97);
  transition: transform .2s;
}
.modal-backdrop.open .modal { transform: none; }
.modal.no-options { grid-template-columns: 1fr; width: 440px; }
.modal.no-options .modal-options { display: none; }

/* 3 stripes on top (linear-gradient sirf patti banane ke liye, rang ek hi hai) */
.modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 20px;
  background: linear-gradient(90deg, var(--btn) 0 16px, transparent 16px 23px, var(--btn) 23px 39px, transparent 39px 46px, var(--btn) 46px);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 52px;
  height: 36px;
  background: var(--btn);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--btn-hover); }
.modal-close svg { width: 22px; height: 22px; stroke: var(--white); stroke-width: 2.5; }

.modal-options { overflow-y: auto; padding-right: 6px; min-height: 0; }

/* Accordion */
.acc { margin-bottom: 12px; border-radius: 6px; overflow: hidden; background: var(--white); border: 1px solid transparent; }
.acc.open { border-color: var(--line); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--btn);
  color: var(--white);
  text-align: left;
}
.acc-title { font-family: "Oswald", sans-serif; font-size: 19px; font-weight: 600; }
.acc-picked { display: block; font-size: 12px; font-weight: 500; opacity: .9; margin-top: 2px; }
.acc-tag { margin-left: auto; font-family: "Oswald", sans-serif; font-size: 14px; white-space: nowrap; }
.acc-caret { width: 0; height: 0; border: 5px solid transparent; border-top-color: var(--white); margin-top: 5px; transition: transform .2s; }
.acc.open .acc-caret { transform: rotate(180deg) translateY(5px); }
.acc.error .acc-head { animation: shake .35s; background: var(--danger); }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

.acc-body { display: none; padding: 6px 4px; }
.acc.open .acc-body { display: block; }

.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 6px;
  cursor: pointer;
}
.opt:hover { background: var(--muted-bg); }
.opt input { width: 20px; height: 20px; accent-color: var(--brand); cursor: pointer; flex-shrink: 0; }
.opt-emoji { font-size: 22px; }
.opt-emoji img { width: 30px; height: 30px; object-fit: contain; display: block; }
.opt-name { font-weight: 500; }
.opt-price { margin-left: auto; font-weight: 600; color: var(--muted); white-space: nowrap; }

.acc-error { color: var(--danger); font-size: 13px; font-weight: 600; padding: 4px 12px 8px; display: none; }
.acc.error .acc-error { display: block; }

/* Right side */
.modal-product { display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 0; }
.modal-img { height: 220px; display: flex; align-items: center; justify-content: center; font-size: 150px; margin-bottom: 20px; }
.modal-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.modal-product h2 { font-family: "Oswald", sans-serif; font-size: 28px; font-weight: 600; margin-bottom: 8px; }
.modal-product p { line-height: 1.6; margin-bottom: 16px; }

.qty { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.qty button {
  width: 44px;
  height: 42px;
  border: 1.5px solid var(--brand);
  border-radius: 6px;
  font-size: 24px;
  line-height: 1;
}
.qty button:hover { background: var(--brand-soft); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty span { min-width: 22px; font-size: 20px; font-weight: 600; }

.modal-add {
  width: 100%;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 12px;
  background: var(--btn);
  color: var(--white);
  font-weight: 700;
  font-size: 19px;
  text-transform: uppercase;
  border-radius: 8px;
}
.modal-add:hover { filter: brightness(.95); }
.modal-add .arrow {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.arrow svg { width: 16px; height: 16px; stroke: var(--text); stroke-width: 3; fill: none; }

/* =========================================================
   Bottom "View Bucket" bar
   ========================================================= */
.bucket-bar {
  position: fixed;
  right: 190px;
  bottom: 0;
  z-index: 40;
  width: 500px;
  max-width: calc(100% - 32px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 18px;
  background: var(--btn);
  color: var(--white);
  border-radius: 12px 12px 0 0;
  text-decoration: none;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .15);
  transform: translateY(110%);
  transition: transform .3s;
}
.bucket-bar.show { transform: none; }
.bucket-bar .count { opacity: .85; }
.bucket-bar .total { font-family: "Oswald", sans-serif; font-size: 20px; font-weight: 600; padding-left: 10px; border-left: 2px solid rgba(255,255,255,.6); }
.bucket-bar .view { margin-left: auto; font-family: "Oswald", sans-serif; font-size: 22px; font-weight: 600; }
.bucket-bar .arrow { width: 32px; height: 32px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; }

/* =========================================================
   Toast
   ========================================================= */
.toast {
  position: fixed;
  left: 50%;
  bottom: 100px;
  z-index: 60;
  transform: translate(-50%, 20px);
  background: var(--text);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Cart page
   ========================================================= */
.cart-page { max-width: 1250px; margin: 0 auto; padding: 30px 32px 80px; }
.back-link { display: table; font-weight: 600; color: var(--brand-dark); text-decoration: none; margin-bottom: 10px; }
.back-link:hover { text-decoration: underline; }

.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }

.cart-list { display: flex; flex-direction: column; gap: 16px; }

.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 20px;
  background: var(--white);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
.ci-img {
  width: 110px;
  height: 110px;
  border-radius: 10px;
  background: var(--muted-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}
.ci-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ci-info h3 { font-family: "Oswald", sans-serif; font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.ci-base { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.ci-opts { list-style: none; font-size: 14px; display: flex; flex-direction: column; gap: 3px; }
.ci-opts li { display: flex; gap: 8px; }
.ci-opts .g { color: var(--muted); }
.ci-opts .p { color: var(--muted); margin-left: 4px; }
.ci-unit { margin-top: 8px; font-size: 14px; font-weight: 600; }

.ci-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 14px; }
.ci-total { font-family: "Oswald", sans-serif; font-size: 22px; font-weight: 600; }
.ci-side .qty { margin: 0; gap: 8px; }
.ci-side .qty button { width: 36px; height: 34px; font-size: 20px; }
.ci-remove { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.ci-remove:hover { color: var(--danger); }
.ci-remove svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }

.summary {
  position: sticky;
  top: 110px;
  background: var(--white);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
.summary h2 { font-family: "Oswald", sans-serif; font-size: 24px; margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; }
.sum-row span:first-child { color: var(--muted); }
.sum-row.free span:last-child { color: var(--green); font-weight: 600; }
.sum-note { font-size: 13px; color: var(--muted); margin: 2px 0 6px; }
.sum-total {
  display: flex;
  justify-content: space-between;
  border-top: 2px dashed var(--line);
  margin-top: 10px;
  padding-top: 14px;
  font-family: "Oswald", sans-serif;
  font-size: 24px;
  font-weight: 700;
}
.checkout-btn {
  width: 100%;
  margin-top: 18px;
  padding: 16px;
  background: var(--btn);
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  border-radius: 8px;
}
.checkout-btn:hover { background: var(--btn-hover); }
.clear-btn { width: 100%; margin-top: 10px; padding: 10px; color: var(--muted); font-weight: 600; font-size: 14px; }
.clear-btn:hover { color: var(--danger); }

.empty {
  text-align: center;
  background: var(--white);
  border-radius: 12px;
  padding: 60px 20px;
}
.empty .big { font-size: 90px; margin-bottom: 10px; }
.empty h2 { font-family: "Oswald", sans-serif; font-size: 26px; margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 22px; }
.btn-brand {
  display: inline-block;
  background: var(--btn);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 8px;
}
.btn-brand:hover { background: var(--btn-hover); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) { .grid { grid-template-columns: repeat(3, 1fr); } }

@media (max-width: 1100px) {
  .mode-toggle .mode, .mode-toggle .mode:hover, .mode-toggle .mode.active { padding: 10px 16px; font-size: 15px; }
  .bucket-bar { right: 16px; }
}

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 44px 20px; }

  #productModal { align-items: flex-end; padding: 0; }
  #productModal .modal {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-height: 92vh;
    padding: 50px 16px 0;
    border-radius: 22px 22px 0 0;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform .3s ease;
  }
  #productModal.open .modal { transform: none; }
  #productModal .modal.no-options { width: 100%; }
  .modal-product { display: contents; } /* bachche seedha .modal ke flex items ban jayein */
  .modal-img, .modal-product h2, .modal-product p, .modal-product .qty { order: -1; align-self: center; text-align: center; }
  .modal-img { height: 130px; font-size: 96px; margin-bottom: 6px; flex-shrink: 0; }
  .modal-product h2 { font-size: 24px; }
  .modal-product p { font-size: 14px; line-height: 1.5; margin-bottom: 12px; }
  .modal-product .qty { margin-bottom: 16px; }
  .modal-options { order: 0; overflow: visible; padding: 0; flex-shrink: 0; }
  .modal-add {
    order: 1;
    position: sticky;
    bottom: 0;
    flex-shrink: 0;
    margin: 6px -16px 0;
    width: calc(100% + 32px);
    border-radius: 0;
    padding: 16px;
    box-shadow: 0 -6px 16px rgba(0, 0, 0, .12);
  }
  .modal-close { top: 12px; right: 12px; width: 44px; height: 32px; }
  .acc-head { padding: 12px 14px; }
  .acc-title { font-size: 17px; }
  .acc-tag { font-size: 12px; }

  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}

@media (max-width: 800px) {
  .topbar { padding: 10px 16px; gap: 10px; flex-wrap: wrap; }
  .logo { margin-right: 0; }
  .logo img { height: 42px; }
  .topbar .modes { display: none; }
  .drawer-order { display: block; }
  .toast { bottom: 90px; max-width: calc(100% - 32px); text-align: center; }
  .mode-toggle .mode, .mode-toggle .mode:hover, .mode-toggle .mode.active { padding: 10px 8px; font-size: 14px; gap: 8px; }
  .mode-toggle .mode svg { width: 22px; height: 22px; }
  .right { gap: 0; }
  .login { width: 44px; height: 44px; }
  .categories { padding: 14px 16px; gap: 10px; justify-content: flex-start; }
  .cat { padding: 10px 14px; font-size: 15px; }
  .menu-wrap { padding: 0 16px 40px; }
  .cart-page { padding: 20px 16px 60px; }
  .bucket-bar { left: 16px; right: 16px; width: auto; max-width: none; padding: 14px; }
  .bucket-bar .view { font-size: 18px; }
}

@media (max-width: 560px) {
  .cart-item { grid-template-columns: 70px 1fr; gap: 12px; }
  .ci-img { width: 70px; height: 70px; font-size: 40px; }
  .ci-side { grid-column: 1 / -1; flex-direction: row; align-items: center; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 34px 12px; }
  .card { padding: 8px 10px 30px; border-radius: 10px; }
  .card:hover { transform: none; }
  .card-img { height: 110px; font-size: 72px; margin-bottom: 8px; }
  .fav { width: 26px; height: 26px; top: 6px; right: 6px; }
  .card h3 { font-size: 16px; margin-bottom: 4px; line-height: 1.25; }
  .card p { font-size: 12.5px; min-height: 35px; margin-bottom: 12px; }
  .price { font-size: 16px; }
  .add-btn { font-size: 11px; padding: 9px 10px; border-radius: 5px; }
  .section { padding-top: 22px; }
  .section-title { font-size: 26px; margin: 0 0 24px 4px; }
  .modal-add { font-size: 16px; gap: 12px; }
}

@media (max-width: 340px) {
  .add-btn { font-size: 10px; padding: 8px; }
  .logo img { height: 36px; }
  .login { width: 40px; height: 40px; }
}

/* =========================================================
   Delivery / Pickup chooser
   ========================================================= */
.modal.chooser {
  display: block;
  width: 620px;
  padding: 56px 34px 34px;
  overflow-y: auto;
  text-align: center;
}
.chooser h2 { font-family: "Oswald", sans-serif; font-size: 30px; font-weight: 700; text-transform: uppercase; }
.chooser-sub { color: var(--muted); margin: 6px 0 26px; }

.type-options { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 26px 16px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--muted-bg);
  transition: border-color .15s, transform .15s, background .15s;
}
.type-card:hover { border-color: var(--brand); background: var(--white); transform: translateY(-3px); }
.type-card.selected { border-color: var(--brand); background: var(--brand-soft); }
.type-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}
.type-icon svg { width: 60px; height: 60px; }
.type-icon.small { width: 56px; height: 56px; }
.type-icon.small svg { width: 36px; height: 36px; }
.type-title { font-family: "Oswald", sans-serif; font-size: 24px; font-weight: 700; text-transform: uppercase; }
.type-desc { font-size: 14px; color: var(--muted); }

.chooser form { text-align: left; }
.step-back { color: var(--brand-dark); font-weight: 600; margin-bottom: 12px; }
.address-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.address-head h2 { font-size: 26px; }

.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-weight: 600; margin-bottom: 6px; }
.field b { color: var(--danger); }
.field em { color: var(--muted); font-weight: 400; }
.field textarea, .field input {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  resize: vertical;
  outline: none;
}
.field textarea:focus, .field input:focus { border-color: var(--brand); }
.field-error { display: none; color: var(--danger); font-weight: 600; margin-top: 6px; }
.invalid .field-error { display: block; }
.invalid textarea { border-color: var(--danger); background: #fff5f5; }
.fee-note { background: var(--muted-bg); padding: 12px 14px; border-radius: 8px; margin-bottom: 18px; }
.btn-brand.wide { width: 100%; font-size: 18px; padding: 16px; text-align: center; }

/* Order info box on cart page */
.order-info {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--muted-bg);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
}
.order-info .type-icon { width: 48px; height: 48px; flex-shrink: 0; }
.order-info .type-icon svg { width: 30px; height: 30px; }
.order-info b { display: block; text-transform: uppercase; font-family: "Oswald", sans-serif; font-size: 17px; }
.order-info small { color: var(--muted); display: block; word-break: break-word; }
.order-info button { margin-left: auto; color: var(--brand-dark); font-weight: 700; font-size: 14px; flex-shrink: 0; }

.done-box { text-align: center; background: var(--white); border-radius: 12px; padding: 50px 20px; }
.done-box .big { font-size: 80px; }
.done-box h2 { font-family: "Oswald", sans-serif; font-size: 30px; margin: 10px 0; }
.done-box p { color: var(--muted); margin-bottom: 6px; }
.done-box .btn-brand { margin-top: 20px; }

@media (max-width: 560px) {
  .modal.chooser { padding: 56px 18px 22px; }
  .type-options { grid-template-columns: 1fr; gap: 12px; }
  .type-card { flex-direction: row; text-align: left; padding: 14px; gap: 14px; flex-wrap: wrap; }
  .type-icon { width: 64px; height: 64px; }
  .type-icon svg { width: 40px; height: 40px; }
  .type-card .type-desc { flex-basis: 100%; }
}



/* =========================================================
   Open / Closed badge
   ========================================================= */
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
}
.status i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.status.is-open { color: #16803c; background: #e6f6ec; }
.status.is-open i { animation: pulse 1.6s infinite; }
.status.is-closed { color: var(--danger); background: #fdecea; }
.status.on-dark.is-open { color: #7ee2a0; background: rgba(126, 226, 160, .12); }
.status.on-dark.is-closed { color: #ff1700d9; background: white; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 128, 60, .5); } 70%, 100% { box-shadow: 0 0 0 7px rgba(22, 128, 60, 0); } }

/* =========================================================
   Contact page
   ========================================================= */
.contact-page { max-width: 1250px; margin: 0 auto; padding: 36px 32px 60px; }
.contact-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }

.contact-card {
  background: var(--white);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
.contact-card h2 { font-family: "Oswald", sans-serif; font-size: 24px; margin-bottom: 20px; }

.info-row { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-row:last-of-type { border-bottom: none; }
.info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-icon svg { width: 22px; height: 22px; }
.info-label { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info-row p { line-height: 1.5; }
.info-phone { font-family: "Oswald", sans-serif; font-size: 22px; font-weight: 600; }
.info-link { display: inline-block; margin-top: 6px; color: var(--brand-dark); font-weight: 700; text-decoration: none; }
.info-link:hover { text-decoration: underline; }

.call-btn { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; }
.call-btn svg { width: 22px; height: 22px; }

.hours { list-style: none; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 8px;
}
.hours li:nth-child(odd) { background: var(--muted-bg); }
.hours li span:last-child { font-weight: 600; white-space: nowrap; }
.hours li.today { background: var(--btn); color: var(--white); font-weight: 700; }
.hours em { font-style: normal; font-size: 11px; text-transform: uppercase; background: rgba(0, 0, 0, .25); padding: 2px 7px; border-radius: 20px; margin-left: 6px; }

.map-card { grid-column: 1 / -1; padding: 0; overflow: hidden; }
.map-card iframe { display: block; width: 100%; height: 380px; border: 0; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  --f-bg: #181d13;
  --f-green: #9ab127;      /* headings, icons, links */
  --f-gold: #ffc83a;       /* headings ke neeche chhoti line */
  --f-line: #3f4132;       /* divider lines */
  --f-icon-bg: #282d16;    /* icon wale gol dabbe */
  position: relative;
  overflow: hidden;
  font-weight: 400;
  background: var(--f-bg) url("../assets/footer-bg.webp") center / cover no-repeat;
  color: #fdfbf8;
}
/* upar wali hari patti */
.footer::before { content: ""; display: block; height: 5px; background: linear-gradient(90deg, #91a10c, #6b8804 50%, #91a10c); }
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 44px 32px 26px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.35fr 1.05fr;
}
.footer-inner > div { padding: 0 30px; border-left: 1px solid var(--f-line); }
.footer-inner > div:first-child { padding-left: 0; border-left: 0; }
.footer-inner > div:last-child { padding-right: 0; }

.f-brand img { width: 150px; max-width: 100%; display: block; }
.f-bar, .f-col h4::after { display: block; width: 34px; height: 2px; background: var(--f-gold); }
.f-bar { margin: 10px 0 16px; }
.f-tagline {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 3.5px;
  margin-bottom: 8px;
}
.f-brand p { font-size: 14px; line-height: 1.6; letter-spacing: .2px; margin-bottom: 14px; }
.f-brand .status { padding: 7px 14px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.footer .status.on-dark.is-closed { color: #d7141a; background: #fdeaea; }

.f-col h4 {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 3.5px;
  color: var(--f-green);
  margin: -4px 0 18px;
}
.f-col h4::after { content: ""; margin-top: 8px; }
.f-col a, .f-col p { color: inherit; text-decoration: none; font-size: 14px; line-height: 1.6; }

.f-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--f-line);
  transition: color .15s;
}
.f-links a:first-child { padding-top: 0; }
.f-links a:last-child { border-bottom: 0; }
.f-links svg { width: 16px; height: 16px; color: var(--f-green); transition: transform .15s; }
.f-links a:hover { color: var(--f-green); }
.f-links a:hover svg { transform: translateX(4px); }

.f-line { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.f-line span { padding-top: 5px; }
.f-ico {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--f-icon-bg);
  color: var(--f-green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.f-ico svg { width: 19px; height: 19px; }
a.f-line:hover span { color: var(--f-green); }

.f-more {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: #abc02d !important;
  padding-bottom: 3px;
  border-bottom: 1.5px solid #abc02d;
}
.f-more svg { width: 17px; height: 17px; transition: transform .15s; }
.f-more:hover svg { transform: translateX(4px); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 32px;
  font-size: 13px;
  color: #d6c4be;
  /* upar wali line poori chaurai tak */
  border-top: 1px solid;
  border-image: linear-gradient(#50503b, #50503b) 1 0 0 / 1px 0 0 / 0 100vmax;
}
.f-social { display: flex; gap: 12px; padding-left: 22px; border-left: 1px solid var(--f-line); }
.f-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(193, 152, 55, .55);
  color: #fffff9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, border-color .15s, color .15s;
}
.f-social a:hover { background: var(--f-green); border-color: var(--f-green); color: var(--f-bg); }
.f-social svg { width: 17px; height: 17px; }
/* neeche wali bucket bar footer ko na dhake */
body:has(.bucket-bar.show) .footer-bottom { padding-bottom: 90px; }

@media (max-width: 1200px) {
  .footer-inner { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .footer-inner > div { padding: 0 24px; }
  .footer-inner > div:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 800px) {
  .contact-page { padding: 24px 16px 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 16px; }
  .contact-card { padding: 20px 16px; }
  .map-card iframe { height: 280px; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; row-gap: 28px; padding: 32px 20px 20px; }
  .footer-inner > div { padding: 0 !important; border-left: 0 !important; }
  .f-col h4 { font-size: 20px; margin-bottom: 14px; }
  .f-brand p, .f-col a, .f-col p { font-size: 14px; }
  .f-line { margin-bottom: 14px; }
  .footer-bottom { flex-direction: column-reverse; gap: 12px; padding: 18px 20px; font-size: 13px; text-align: center; }
  .f-social { padding-left: 0; border-left: 0; }
  .f-brand .status { white-space: normal; }
  .hours li { padding: 12px 10px; font-size: 14px; }
}
.empty .bucket-icon { display: flex; justify-content: center; margin-bottom: 16px; }
.empty .bucket-icon .bucket-img { width: 180px; height: auto; }
.type-icon .bucket-img { width: 78%; height: 78%; }
@media (max-width: 800px) { .cart { width: 52px; height: 44px; } }

/* =========================================================
   Login "Coming Soon" popup
   ========================================================= */
.modal.soon-modal {
  display: block;
  width: 460px;
  padding: 50px 34px 30px;
  text-align: center;
  overflow-y: auto;
}
.modal-backdrop.open .soon-modal { animation: soon-in .45s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes soon-in { from { transform: translateY(24px) scale(.9); opacity: 0; } }

.soon-logo {
  display: block;
  width: 230px;
  max-width: 80%;
  margin: 0 auto 18px;
  animation: soon-float 3s ease-in-out infinite;
}
@keyframes soon-float { 50% { transform: translateY(-6px); } }

.soon-badge {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--btn);
  border: 1.5px solid var(--btn);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
}
.soon-modal h2 {
  font-family: "Oswald", sans-serif;
  font-size: 30px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.soon-text { color: var(--muted); line-height: 1.6; margin-bottom: 22px; }

.soon-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.soon-features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 14px 6px;
  background: var(--muted-bg);
  border-radius: 12px;
}
.soon-features span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--btn);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}
.soon-features svg { width: 20px; height: 20px; }

@media (max-width: 480px) {
  .modal.soon-modal { padding: 48px 18px 22px; }
  .soon-modal h2 { font-size: 24px; }
  .soon-features li { font-size: 12px; padding: 12px 4px; }
}

/* =========================================================
   Favourites
   ========================================================= */
.fav { transition: transform .15s; }
.fav:hover { transform: scale(1.12); }
.fav.pop { animation: fav-pop .45s ease; }
@keyframes fav-pop { 30% { transform: scale(1.45); } 60% { transform: scale(.9); } }

.card.leaving { opacity: 0; transform: scale(.9); transition: opacity .3s, transform .3s; }

.drawer-fav { display: flex !important; align-items: center; gap: 8px; }
.drawer-count {
  margin-left: auto;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 12px;
  background: var(--btn);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.drawer-count[hidden] { display: none; }

.fav-page { padding-top: 30px; }
.fav-page .section-title { margin: 6px 0 30px 0; }
.fav-empty-icon { display: flex; justify-content: center; margin-bottom: 14px; }
.fav-empty-icon svg { width: 90px; height: 90px; fill: var(--brand-soft); stroke: var(--btn); stroke-width: 1.5; }

/* =========================================================
   Real menu — "From" price, option prices, placeholder logo
   ========================================================= */
.price small { font-family: "Inter", sans-serif; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; margin-right: 2px; }
.opt-price.strong { color: var(--text); font-weight: 700; }
/* asal tasveer aane tak logo — thoda chhota taake card mein achha lage */
.card-img img[src$="crafters.png"] { max-width: 78%; }
.modal-img img[src$="crafters.png"] { max-width: 85%; }
.ci-img img[src$="crafters.png"] { max-width: 88%; }
.modal-img img.swap { animation: img-swap .35s ease; }
@keyframes img-swap { from { opacity: .3; transform: scale(.94); } }
/* card ki tasveer thori bari, safed background wali photos ke liye */
.card-img img { max-width: 92%; }
