/* Ali Tandoori Express — direct menu ordering. */
.ate-menuboard,
.ate-menuboard-panels,
.ate-menuboard .ate-panel,
.ate-menuboard .ate-menu-list {
  min-width: 0;
  max-width: 100%;
}

.ate-menuboard .ate-menu-row {
  overflow: visible;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  padding-block: 18px;
}

.ate-menuboard .ate-menu-row:hover {
  padding-left: 4px;
  background: linear-gradient(90deg, rgba(201, 162, 75, .045), transparent 76%);
}

.ate-menuboard .ate-menu-row::after {
  display: none;
}

@property --ate-variation-border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.ate-menuboard .ate-menu-row--variable {
  --ate-variation-border-angle: 0deg;
  position: relative;
  margin-block: 3px;
  padding-inline: 12px;
  border-bottom-color: transparent;
  border-radius: 6px;
  background: rgba(201, 162, 75, .018);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, .17);
}

.ate-menuboard .ate-menu-row--variable::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--ate-variation-border-angle),
    transparent 0deg,
    transparent 238deg,
    rgba(201, 162, 75, .18) 270deg,
    rgba(226, 198, 120, .96) 307deg,
    rgba(247, 238, 220, .88) 318deg,
    rgba(201, 162, 75, .22) 335deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  animation: none;
}

.ate-menuboard .ate-menu-row--variable.is-border-revealed::after {
  animation: ateVariationBorderTravel 3.2s cubic-bezier(.22, .7, .24, 1) 1 both;
}

.ate-menuboard .ate-menu-row--variable:hover {
  background: linear-gradient(90deg, rgba(201, 162, 75, .065), rgba(201, 162, 75, .015) 76%);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, .24), 0 9px 28px rgba(0, 0, 0, .12);
}

@keyframes ateVariationBorderTravel {
  0% { --ate-variation-border-angle: 0deg; opacity: 0; }
  12% { opacity: 1; }
  82% { opacity: 1; }
  100% { --ate-variation-border-angle: 360deg; opacity: 0; }
}

.ate-quick-order {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: max-content;
}

.ate-quick-order .ate-menu-row-price {
  padding: 0;
}

.ate-quick-trigger {
  min-width: 82px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(201, 162, 75, .55);
  border-radius: 3px;
  background: rgba(201, 162, 75, .06);
  color: var(--gold-light, #e2c678);
  font-family: var(--font-eyebrow, Cinzel, serif);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s var(--ease, ease), background .2s var(--ease, ease), border-color .2s var(--ease, ease), transform .2s var(--ease, ease), box-shadow .2s var(--ease, ease);
}

.ate-quick-trigger svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.ate-quick-trigger .ate-quick-chevron {
  width: 15px;
  height: 15px;
  transition: transform .22s var(--ease, ease);
}

.ate-quick-trigger[aria-expanded="true"] .ate-quick-chevron {
  transform: rotate(180deg);
}

.ate-quick-trigger:hover,
.ate-quick-trigger[aria-expanded="true"] {
  color: #1b1008;
  background: var(--gold, #c9a24b);
  border-color: var(--gold, #c9a24b);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(201, 162, 75, .18);
}

.ate-quick-trigger:focus-visible,
.ate-quick-option:focus-visible {
  outline: 2px solid var(--gold-light, #e2c678);
  outline-offset: 3px;
}

.ate-quick-trigger:disabled {
  cursor: not-allowed;
  opacity: .52;
  transform: none;
  box-shadow: none;
}

.ate-quick-trigger.is-loading,
.ate-quick-option.is-loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}

.ate-quick-trigger.is-loading::after,
.ate-quick-option.is-loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(201, 162, 75, .3);
  border-top-color: var(--gold-light, #e2c678);
  border-radius: 50%;
  animation: ateQuickSpin .65s linear infinite;
}

.ate-quick-trigger.is-added {
  color: #173313;
  background: #a8d58e;
  border-color: #a8d58e;
}

@keyframes ateQuickSpin {
  to { transform: rotate(360deg); }
}

.ate-quick-options {
  grid-column: 1 / -1;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 4px;
  padding: 15px;
  border: 1px solid rgba(201, 162, 75, .28);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(201, 162, 75, .075), rgba(54, 19, 16, .55));
  box-shadow: inset 0 1px 0 rgba(242, 223, 168, .05);
  animation: ateQuickReveal .24s var(--ease, ease) both;
}

.ate-quick-options-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.ate-quick-options-head p {
  margin: 0 0 3px;
  color: var(--gold, #c9a24b);
  font-family: var(--font-eyebrow, Cinzel, serif);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.ate-quick-options-head h3 {
  margin: 0;
  color: var(--cream, #f7eedc);
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.05;
}

.ate-quick-options-head > span {
  flex: 0 0 auto;
  color: var(--cream-dim, #cabda8);
  font-size: 11px;
  line-height: 1.35;
}

.ate-quick-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.ate-quick-option {
  min-width: 0;
  min-height: 62px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(201, 162, 75, .3);
  border-radius: 3px;
  color: var(--cream, #f7eedc);
  background: rgba(18, 10, 6, .62);
  text-align: left;
  cursor: pointer;
  overflow-wrap: anywhere;
  transition: transform .18s var(--ease, ease), border-color .18s var(--ease, ease), background .18s var(--ease, ease), box-shadow .18s var(--ease, ease);
}

.ate-quick-option strong {
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: 17px;
  line-height: 1.05;
  font-weight: 600;
}

.ate-quick-option span {
  color: var(--gold, #c9a24b);
  font-family: var(--font-eyebrow, Cinzel, serif);
  font-size: 9.5px;
  letter-spacing: .06em;
}

.ate-quick-option:hover {
  transform: translateY(-2px);
  border-color: var(--gold, #c9a24b);
  background: rgba(201, 162, 75, .12);
  box-shadow: 0 7px 18px rgba(0, 0, 0, .2);
}

.ate-quick-option.is-added {
  border-color: #a8d58e;
  background: rgba(98, 145, 73, .2);
}

.ate-quick-option.is-added::before {
  content: "✓ Added";
  color: #bce1a8;
  font: 600 8px/1 var(--font-eyebrow, Cinzel, serif);
  letter-spacing: .1em;
  text-transform: uppercase;
}

@keyframes ateQuickReveal {
  from { opacity: 0; transform: translateY(-7px) scale(.99); }
  to { opacity: 1; transform: none; }
}

.ate-cart-flight {
  position: fixed;
  z-index: 100001;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1b1008;
  background: var(--gold-light, #e2c678);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .38);
  pointer-events: none;
}

.ate-cart-flight svg {
  width: 18px;
  height: 18px;
}

.ate-quick-toast {
  position: fixed;
  z-index: 100002;
  left: 50%;
  bottom: 24px;
  max-width: min(540px, calc(100vw - 30px));
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid rgba(201, 162, 75, .55);
  border-radius: 4px;
  background: #1b1008;
  color: var(--cream, #f7eedc);
  box-shadow: 0 18px 52px rgba(0, 0, 0, .46);
  font-size: 14px;
  opacity: 0;
  transform: translate(-50%, 18px);
  pointer-events: none;
  transition: opacity .25s var(--ease, ease), transform .25s var(--ease, ease);
}

.ate-quick-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.ate-quick-toast-mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #a8d58e;
  color: #173313;
  font-weight: 700;
}

.ate-quick-toast a {
  margin-left: 8px;
  color: var(--gold-light, #e2c678);
  font-family: var(--font-eyebrow, Cinzel, serif);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ate-quick-toast.is-error { border-color: #c96f5d; }
.ate-quick-toast.is-error .ate-quick-toast-mark { background: #c96f5d; color: #fff; }

@media (max-width: 720px) {
  body #ate-home section.ate-menu-section {
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
  }

  body #ate-home section.ate-menu-section > .ate-container {
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
  }

  body .ate-menu-page-content {
    width: 100%;
    max-width: 100%;
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
    box-sizing: border-box;
  }

  .ate-menuboard .ate-menuboard-toolbar {
    position: relative;
    top: auto;
    z-index: 2;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0 0 22px;
    padding: 14px 0 17px;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(35, 20, 12, .92), rgba(25, 14, 9, .72));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .ate-menuboard .ate-search {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0 0 13px;
    box-sizing: border-box;
  }

  .ate-menuboard .ate-menuboard-search {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ate-menuboard .ate-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    box-sizing: border-box;
    scroll-snap-type: none;
  }

  .ate-menuboard .ate-tab {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 8px 7px;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 8.5px;
    line-height: 1.3;
    letter-spacing: .1em;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    scroll-snap-align: none;
  }

  .ate-menuboard .ate-tab.is-active {
    box-shadow: inset 0 -3px rgba(79, 45, 14, .28), 0 8px 20px rgba(0, 0, 0, .16);
  }

  .ate-menuboard,
  .ate-menuboard-panels,
  .ate-menuboard .ate-panel,
  .ate-menuboard .ate-menu-list {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ate-menuboard .ate-panel[hidden] {
    display: none;
  }

  body #ate-home .ate-menuboard .ate-menu-row,
  body .ate-menuboard .ate-menu-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0 0 8px;
    padding: 15px 12px 14px;
    border: 1px solid rgba(201, 162, 75, .2);
    border-radius: 6px;
    background: rgba(201, 162, 75, .018);
    box-sizing: border-box;
  }

  body #ate-home .ate-menuboard .ate-menu-row:hover,
  body .ate-menuboard .ate-menu-row:hover {
    padding-left: 12px;
  }

  body #ate-home .ate-menuboard .ate-menu-row.is-choosing,
  body .ate-menuboard .ate-menu-row.is-choosing {
    background: linear-gradient(180deg, rgba(201, 162, 75, .035), transparent 56%);
    border-color: rgba(201, 162, 75, .42);
    box-shadow: inset 0 1px rgba(201, 162, 75, .16), 0 12px 28px rgba(0, 0, 0, .14);
  }

  body #ate-home .ate-menuboard .ate-menu-row--variable,
  body .ate-menuboard .ate-menu-row--variable {
    border-color: transparent;
    box-shadow: inset 0 0 0 1px rgba(201, 162, 75, .18);
  }

  .ate-menuboard .ate-menu-row.is-choosing .ate-menu-row-name {
    color: var(--gold-light, #e2c678);
  }

  .ate-menuboard .ate-menu-row-name,
  .ate-menuboard .ate-menu-row-note {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .ate-menuboard .ate-menu-row-name {
    font-size: clamp(21px, 6.1vw, 25px);
    line-height: 1.08;
  }

  .ate-menuboard .ate-menu-row-note {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.45;
  }

  .ate-quick-order {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .ate-quick-order .ate-menu-row-price {
    min-width: 0;
    font-size: 11px;
    white-space: normal;
  }

  .ate-quick-trigger {
    min-width: 104px;
    height: 46px;
    padding-inline: 14px;
    font-size: 10px;
    border-color: rgba(201, 162, 75, .7);
    background: rgba(201, 162, 75, .09);
  }

  .ate-quick-trigger:hover {
    transform: none;
  }

  .ate-quick-options {
    position: relative;
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 2px 0 1px;
    padding: 15px 12px 13px;
    border-color: rgba(201, 162, 75, .46);
    border-top-width: 2px;
    border-radius: 0 0 5px 5px;
    background:
      linear-gradient(180deg, rgba(201, 162, 75, .115), transparent 38%),
      rgba(29, 16, 10, .96);
    box-shadow: 0 15px 34px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(242, 223, 168, .05);
  }

  .ate-quick-options::before {
    content: "";
    position: absolute;
    top: -2px;
    right: 18px;
    width: 44px;
    height: 2px;
    background: var(--gold-light, #e2c678);
    box-shadow: 0 0 18px rgba(226, 198, 120, .35);
  }

  .ate-quick-options-head {
    align-items: flex-start;
    margin-bottom: 14px;
  }

  .ate-quick-options-head h3 {
    font-size: 22px;
  }

  .ate-quick-options-head > span {
    padding-top: 3px;
    font-size: 10px;
    text-align: right;
  }

  .ate-quick-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ate-quick-option {
    width: 100%;
    min-width: 0;
    min-height: 72px;
    padding: 12px;
    border-color: rgba(201, 162, 75, .38);
    background: rgba(14, 8, 5, .72);
  }

  .ate-quick-option strong {
    font-size: 18px;
    line-height: 1.08;
  }

  .ate-quick-option span {
    font-size: 10px;
  }

  .ate-quick-toast {
    bottom: 14px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .ate-quick-toast a {
    margin-left: 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ate-menuboard .ate-menu-row--variable::after {
    animation: none;
    opacity: 0;
  }
}

@media (min-width: 520px) and (max-width: 720px) {
  .ate-menuboard .ate-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 360px) {
  .ate-quick-options {
    padding-inline: 12px;
  }

  .ate-quick-options-head {
    display: block;
  }

  .ate-quick-options-head > span {
    display: block;
    margin-top: 4px;
    padding: 0;
    text-align: left;
  }

  .ate-quick-option-grid {
    gap: 8px;
  }

  .ate-quick-option {
    min-height: 68px;
    padding: 10px;
  }

  .ate-quick-option strong {
    font-size: 17px;
  }
}

@media (max-width: 320px) {
  .ate-quick-option-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ate-quick-options { animation: none; }
  .ate-quick-trigger,
  .ate-quick-trigger .ate-quick-chevron,
  .ate-quick-option,
  .ate-quick-toast { transition: none; }
}
