/* Powerful light menu theme — Chief Burger */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

:root {
  --pm-bg: #f7f4ef;
  --pm-surface: #ffffff;
  --pm-elevated: #fffdf9;
  --pm-border: rgba(28, 25, 23, 0.08);
  --pm-red: #c8102e;
  --pm-red-hot: #e11d2e;
  --pm-red-glow: rgba(200, 16, 46, 0.22);
  --pm-ink: #1c1917;
  --pm-text: #1c1917;
  --pm-muted: #78716c;
  --pm-soft: #efeae2;
  --primary-color: #c8102e;
  --secondary-color: #1c1917;
  --heading-color: #1c1917;
  --paragraph-color: #57534e;
  --white-color: #ffffff;
  --default-color: #44403c;
}

body.theme-power-light {
  font-family: "Outfit", sans-serif !important;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(200,16,46,0.08), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(28,25,23,0.05), transparent 50%),
    linear-gradient(180deg, #fbf8f3 0%, #f7f4ef 40%, #f3efe8 100%) !important;
  color: var(--pm-text);
  min-height: 100vh;
}

body.theme-power-light h1,
body.theme-power-light h2,
body.theme-power-light h3,
body.theme-power-light h4 {
  font-family: "Fraunces", Georgia, serif !important;
  color: var(--pm-text);
}

/* —— Professional header —— */
body.theme-power-light .header-section-menu,
body.theme-power-light .main-header.header-4,
body.theme-power-light .main-header.header-absolute,
body.theme-power-light .am-header {
  background: rgba(255, 253, 249, 0.92) !important;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid rgba(200, 16, 46, 0.28) !important;
  box-shadow: 0 1px 0 rgba(200, 16, 46, 0.12), 0 10px 28px rgba(28,25,23,0.06);
  height: auto !important;
  min-height: 68px;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
}

body.theme-power-light .am-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 !important;
  min-height: 68px;
}

.am-nav__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.am-nav__burger {
  background: transparent;
  border: 0;
  color: var(--pm-ink);
  font-size: 18px;
  padding: 6px;
  display: none;
}

.am-nav__brand {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.am-nav__brand img {
  max-height: 42px !important;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(200,16,46,0.2));
}

.am-nav__brand-text {
  font-family: "Outfit", sans-serif !important;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--pm-ink);
  letter-spacing: -0.02em;
}

.am-nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

body.theme-power-light .header-section-menu .navbar {
  padding: 10px 0;
}

body.theme-power-light .header-section-menu .navbar-brand img {
  max-height: 44px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(200,16,46,0.18));
}

body.theme-power-light .header-section-menu .navbar .menu-item a {
  color: var(--pm-ink) !important;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
}

body.theme-power-light .header-section-menu .navbar .menu-item a.active,
body.theme-power-light .header-section-menu .navbar .menu-item a:hover {
  color: var(--pm-red) !important;
}

body.theme-power-light .header-section-menu .header-controls-inner li span {
  color: var(--pm-ink) !important;
  font-weight: 600;
}

body.theme-power-light .header-section-menu .header-controls-inner svg path {
  fill: var(--pm-ink) !important;
}

body.theme-power-light .cart-item-count {
  background: var(--pm-red) !important;
  color: #fff !important;
  box-shadow: 0 0 0 2px #fff;
}

body.theme-power-light .header-section-menu .submenu {
  background: #fff !important;
  border: 1px solid var(--pm-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(28,25,23,0.12);
}

body.theme-power-light .header-section-menu .submenu a {
  color: var(--pm-ink) !important;
}

body.theme-power-light .header-section-menu .submenu a:hover {
  background: rgba(200, 16, 46, 0.08) !important;
  color: var(--pm-red) !important;
}

body.theme-power-light .aside-toggler {
  color: var(--pm-ink) !important;
}

.am-nav__actions .header-controls-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  list-style: none;
  padding: 0;
}

.am-nav__cart {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center;
  gap: 8px !important;
  cursor: pointer;
  color: var(--pm-ink);
  font-weight: 600;
  position: relative !important;
  padding: 0 !important;
  min-height: 40px;
  line-height: 1 !important;
}

.am-nav__cart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--pm-soft);
  border: 1px solid var(--pm-border);
  color: var(--pm-ink);
  position: relative;
}

.am-nav__cart-icon svg {
  display: block;
}

body.theme-power-light .am-nav__cart .cart-item-count,
body.theme-power-light .header-controls-inner .am-nav__cart .cart-item-count,
body.theme-power-light .am-nav__cart-icon .cart-item-count {
  position: absolute !important;
  top: -6px !important;
  right: -6px !important;
  left: auto !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  z-index: 3;
}

body.dari-lang.theme-power-light .am-nav__cart .cart-item-count,
body.dari-lang.theme-power-light .am-nav__cart-icon .cart-item-count {
  right: auto !important;
  left: -6px !important;
}

/* Always-visible language bar: English | دری */
.am-lang-switch {
  display: inline-flex !important;
  align-items: center;
  gap: 0;
  padding: 3px;
  border-radius: 10px;
  background: var(--pm-soft);
  border: 1px solid var(--pm-border);
  list-style: none;
  margin: 0;
  flex-direction: row !important;
}

.am-lang-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  min-width: 72px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--pm-muted) !important;
  font-family: "Outfit", sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  line-height: 1 !important;
  transition: background 0.2s, color 0.2s;
}

.am-lang-btn:hover {
  color: var(--pm-ink) !important;
  background: rgba(255,255,255,0.7);
}

.am-lang-btn.is-active {
  background: var(--pm-red) !important;
  color: #fff !important;
  box-shadow: 0 6px 14px var(--pm-red-glow);
}

.am-lang-btn__short {
  display: none;
}

.am-lang-btn__full {
  display: inline;
}

.am-lang-switch--aside {
  margin: 18px 16px 24px;
  width: calc(100% - 32px);
}

.am-lang-switch--aside .am-lang-btn {
  flex: 1;
}

/* Mobile aside menu (Dari-ready) */
body.theme-power-light .main-aside.am-aside {
  background: #fffdf9 !important;
  color: var(--pm-ink);
  border-inline-end: 1px solid var(--pm-border);
}

body.theme-power-light .main-aside.am-aside .navbar-brand img {
  max-height: 42px;
  margin: 16px;
}

body.theme-power-light .am-aside__menu {
  list-style: none;
  margin: 0;
  padding: 8px 12px;
}

body.theme-power-light .am-aside__menu .menu-item a {
  display: block;
  padding: 12px 14px;
  color: var(--pm-ink) !important;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
}

body.theme-power-light .am-aside__menu .menu-item a:hover {
  background: rgba(200,16,46,0.08);
  color: var(--pm-red) !important;
}

/* Cart sidebar dark + Dari */
body.theme-power-light .cart-sidebar {
  background: #fffdf9 !important;
  color: var(--pm-ink) !important;
  border-inline-start: 1px solid var(--pm-border);
  width: min(420px, 100vw) !important;
  max-width: 100vw;
  height: 100% !important;
  max-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-shadow: -12px 0 40px rgba(28,25,23,0.14);
}

body.theme-power-light .cart-sidebar-header {
  background: #fff !important;
  border-bottom: 1px solid var(--pm-border);
  width: 100% !important;
  height: auto !important;
  min-height: 56px;
  padding: 14px 20px !important;
  border-radius: 0 !important;
  flex-shrink: 0;
}

body.theme-power-light .cart-sidebar-header h3,
body.theme-power-light .cart-sidebar .order_summary h4,
body.theme-power-light .cart-sidebar p,
body.theme-power-light .cart-sidebar .close-btn small {
  color: var(--pm-ink) !important;
}

body.theme-power-light .cart-sidebar .close-btn svg path {
  fill: var(--pm-ink) !important;
}

/* Hide decorative food art that overlaps cart content */
body.theme-power-light .cart-sidebar-body .img1,
body.theme-power-light .cart-sidebar-body .img2 {
  display: none !important;
}

body.theme-power-light .cart-sidebar-body {
  position: relative;
  flex: 1 1 auto;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0;
  height: auto !important;
  padding: 16px 20px 20px !important;
  overflow: hidden;
}

body.theme-power-light .cart-sidebar-scroll {
  flex: 1 1 auto;
  min-height: 120px;
  max-height: none !important;
  height: auto !important;
  overflow-y: auto !important;
  padding-right: 4px;
}

body.theme-power-light .cart-sidebar-body .slimScrollDiv {
  height: auto !important;
  max-height: none !important;
}

body.theme-power-light .total_section_cart {
  flex-shrink: 0;
  margin-top: auto;
  z-index: 2 !important;
  position: relative;
  padding-top: 8px;
}

body.theme-power-light .cart-sidebar .order_summary .total {
  background: var(--pm-soft) !important;
  border: 1px solid var(--pm-border);
  border-radius: 10px;
  padding: 12px 14px;
}

body.theme-power-light .cart-sidebar .order_summary .total p,
body.theme-power-light .cart-sidebar .cart-total,
body.theme-power-light .cart-sidebar .checkout_grand_total {
  color: var(--pm-ink) !important;
}

body.theme-power-light .cart-sidebar .sidebar-cart-card {
  background: #fff !important;
  border: 1px solid var(--pm-border);
  color: var(--pm-ink) !important;
  overflow: visible;
  box-shadow: 0 4px 14px rgba(28,25,23,0.04);
}

body.theme-power-light .cart-sidebar .sidebar-cart-card .card-header {
  background: transparent !important;
  align-items: flex-start !important;
  gap: 12px;
  flex-wrap: nowrap;
}

body.theme-power-light .cart-sidebar .sidebar-cart-card img {
  width: 64px !important;
  height: 64px !important;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--pm-soft);
}

body.theme-power-light .cart-sidebar .sidebar-cart-card .card-title,
body.theme-power-light .cart-sidebar .sidebar-cart-card h3,
body.theme-power-light .cart-sidebar .sidebar-cart-card h5,
body.theme-power-light .cart-sidebar .sidebar-cart-card h5 a,
body.theme-power-light .cart-sidebar .sidebar-cart-card .card-description,
body.theme-power-light .cart-sidebar .sidebar-cart-card .price-section,
body.theme-power-light .cart-sidebar .sidebar-cart-card .price-section div,
body.theme-power-light .cart-sidebar .sidebar-cart-card .card-prices ul li {
  color: var(--pm-ink) !important;
}

body.theme-power-light .cart-sidebar .sidebar-cart-card .quantity {
  background: var(--pm-soft) !important;
  border: 1px solid var(--pm-border);
  direction: ltr !important;
  flex-shrink: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  width: 108px !important;
  min-width: 108px;
  height: 40px !important;
  border-radius: 999px !important;
  padding: 4px !important;
}

body.theme-power-light .cart-sidebar .sidebar-cart-card .quantity button {
  background: #fff !important;
  color: var(--pm-ink) !important;
  border: 1px solid var(--pm-border);
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

body.theme-power-light .cart-sidebar .sidebar-cart-card .quantity button.plus_cart {
  background: var(--pm-red) !important;
  border-color: var(--pm-red) !important;
  color: #fff !important;
}

body.theme-power-light .cart-sidebar .sidebar-cart-card .quantity input {
  color: var(--pm-ink) !important;
  width: 28px !important;
  min-width: 28px;
  text-align: center !important;
  direction: ltr;
  font-weight: 700;
  font-size: 0.95rem;
  pointer-events: none;
}

body.theme-power-light .cart-sidebar .sidebar-cart-card .price-section {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

body.theme-power-light .cart-sidebar .sidebar-cart-card .price-section > [class^="food-qty-price-"],
body.theme-power-light .cart-sidebar .sidebar-cart-card .price-section > .subtotal_cal {
  font-weight: 700;
  white-space: nowrap;
  font-size: 0.9rem;
}

body.theme-power-light .cart-sidebar .sidebar-cart-card .price-section > .subtotal_cal {
  color: var(--pm-red) !important;
  margin-inline-start: auto;
}

body.theme-power-light .cart-sidebar .sidebar-cart-card .delete-btn {
  top: 10px;
  inset-inline-end: 10px;
  right: auto;
}

body.dari-lang.theme-power-light .cart-sidebar .sidebar-cart-card .delete-btn {
  left: 10px;
  right: auto;
}

body.theme-power-light .cart-sidebar .sidebar-cart-card .card-title {
  padding-inline-end: 24px;
  word-break: break-word;
}

body.theme-power-light .cart-sidebar .btn-custom.primary {
  background: var(--pm-red) !important;
  border-color: var(--pm-red) !important;
  color: #fff !important;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 12px;
  font-weight: 700;
  margin-top: 8px;
}

@media (max-width: 575px) {
  body.theme-power-light .cart-sidebar {
    width: 100vw !important;
  }
}

.am-login-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--pm-red) !important;
  color: #fff !important;
  font-family: "Outfit", sans-serif !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none !important;
  box-shadow: 0 8px 20px var(--pm-red-glow);
  transition: transform 0.2s ease, background 0.2s ease;
}

.am-login-btn:hover {
  background: #9f1239 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Hide clutter: outlet modal, floating cart picker, dummy customize leftovers */
body.theme-power-light #outletSelectModal,
body.theme-power-light .color-picker,
body.theme-power-light #customizeModal,
body.theme-power-light .ct-footer,
body.theme-power-light .pm-hero {
  display: none !important;
}

/* —— Full-bleed Chief Burger hero —— */
body.theme-power-light .menu_page.am-menu {
  background: transparent !important;
  padding-top: 0 !important;
  padding-bottom: 0;
  min-height: 100vh;
}

.am-hero {
  position: relative;
  min-height: min(62vh, 560px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 0;
}

.am-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  transform: scale(1.02);
  animation: amHeroDrift 18s ease-in-out infinite alternate;
}

@keyframes amHeroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

.am-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28,25,23,0.18) 0%, rgba(247,244,239,0.35) 45%, rgba(247,244,239,0.97) 100%),
    radial-gradient(900px 420px at 75% 15%, rgba(200,16,46,0.16), transparent 60%);
  pointer-events: none;
}

.am-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 120px 16px 56px;
  animation: amHeroIn 0.9s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes amHeroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.am-hero__brand {
  margin: 0 0 10px;
  font-family: "Fraunces", Georgia, serif !important;
  font-size: clamp(2.8rem, 7.5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.92;
  color: #fff !important;
  text-shadow: 0 8px 28px rgba(28,25,23,0.45);
}

.am-hero__title {
  margin: 0 0 12px;
  font-family: "Outfit", sans-serif !important;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.2;
  color: #1c1917 !important;
  max-width: 22ch;
}

body.dari-lang .am-hero__title {
  font-size: clamp(1.7rem, 5.2vw, 2.6rem);
  max-width: 18ch;
  letter-spacing: 0;
}

.am-hero__lead {
  margin: 0 0 22px;
  max-width: 46ch;
  color: #44403c;
  font-size: 1.02rem;
  line-height: 1.55;
  font-family: "Outfit", sans-serif !important;
}

.am-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.am-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--pm-red);
  color: #fff !important;
  font-family: "Outfit", sans-serif !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: 0 14px 32px var(--pm-red-glow);
  transition: transform 0.2s ease, background 0.2s ease;
}

.am-hero__cta:hover {
  background: #9f1239;
  transform: translateY(-2px);
  color: #fff !important;
}

.am-hero__meta {
  font-family: "Outfit", sans-serif !important;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #57534e;
}

/* —— Sticky toolbar: search + category pills —— */
.am-toolbar {
  background: rgba(255, 253, 249, 0.94);
  border-bottom: 1px solid var(--pm-border);
  padding: 14px 0 12px;
  position: sticky;
  top: 68px;
  z-index: 60;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(28,25,23,0.04);
}

.am-toolbar__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.am-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--pm-border);
  background: #fff;
  color: var(--pm-muted);
  box-shadow: 0 4px 14px rgba(28,25,23,0.04);
}

.am-search:focus-within {
  border-color: rgba(200,16,46,0.65);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.18);
}

.am-search input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--pm-ink);
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
}

.am-search input::placeholder {
  color: #a8a29e;
}

.am-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.am-pill {
  flex: 0 0 auto;
  border: 1px solid var(--pm-border);
  background: #fff;
  color: var(--pm-ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: "Outfit", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(28,25,23,0.04);
}

.am-pill span {
  opacity: 0.65;
  font-weight: 600;
  margin-inline-start: 4px;
}

.am-pill:hover,
.am-pill.active {
  border-color: var(--pm-red);
  background: var(--pm-red);
  color: #fff;
  box-shadow: 0 8px 18px var(--pm-red-glow);
}

.am-grid > .am-food-card.is-hidden-search {
  display: none !important;
}

/* Keep bootstrap grid stable (never isotope absolute) */
#am_menu_grid.am-grid,
#am_menu_grid.am-grid > .am-food-card {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
}

.am-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  position: sticky;
}

.am-empty-search {
  text-align: center;
  color: var(--pm-muted);
  padding: 28px 0 8px;
  font-family: "Outfit", sans-serif;
}

/* Kohzad footer strip */
.am-site-footer {
  margin-top: 48px;
  padding: 28px 16px 40px;
  border-top: 1px solid var(--pm-border);
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(200,16,46,0.06));
}

.am-site-footer__brand {
  margin: 0 0 6px;
  font-family: "Outfit", sans-serif !important;
  font-weight: 800;
  color: var(--pm-ink);
  font-size: 1rem;
}

.am-site-footer__powered {
  margin: 0;
  font-size: 0.88rem;
  color: var(--pm-muted);
  font-family: "Outfit", sans-serif !important;
}

.am-site-footer__powered a {
  color: var(--pm-red-hot);
  font-weight: 700;
  text-decoration: none;
}

.am-site-footer__powered a:hover {
  text-decoration: underline;
}

/* legacy cats unused on new menu */
body.theme-power-light .am-cats {
  background: rgba(255, 253, 249, 0.94) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(200,16,46,0.25);
  border-bottom: 1px solid var(--pm-border);
  padding: 18px 0 14px !important;
  position: relative;
  z-index: 40;
}

.am-cats__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.am-cats__head .title {
  margin: 0 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: "Outfit", sans-serif !important;
  font-weight: 800 !important;
  color: var(--pm-ink) !important;
}

.am-cats__nav {
  display: flex;
  gap: 10px;
}

.am-cats__nav a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pm-border);
  color: var(--pm-red-hot) !important;
  background: var(--pm-elevated);
  transition: border-color 0.2s, background 0.2s;
}

.am-cats__nav a:hover {
  border-color: var(--pm-red);
  background: rgba(200,16,46,0.15);
}

body.theme-power-light .menu_page .ct-menu-category-item {
  background: var(--pm-elevated) !important;
  border: 1px solid var(--pm-border) !important;
  border-radius: 16px !important;
  overflow: hidden;
  min-width: 148px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body.theme-power-light .menu_page .ct-menu-category-item .menu-category-thumb {
  height: 72px;
  overflow: hidden;
}

body.theme-power-light .menu_page .ct-menu-category-item .menu-category-thumb img {
  width: 100%;
  height: 72px;
  object-fit: cover;
}

body.theme-power-light .menu_page .ct-menu-category-item.active,
body.theme-power-light .menu_page .ct-menu-category-item:hover {
  border-color: var(--pm-red) !important;
  box-shadow: 0 0 0 1px var(--pm-red), 0 14px 32px var(--pm-red-glow);
  transform: translateY(-2px);
}

body.theme-power-light .menu_page .ct-menu-category-item h6 {
  color: var(--pm-ink) !important;
  font-family: "Outfit", sans-serif !important;
  font-weight: 700;
  font-size: 13px;
}

body.theme-power-light .menu_page .ct-menu-category-item p {
  color: var(--pm-muted) !important;
  font-size: 11px;
}

/* —— Advanced product cards —— */
.am-grid-wrap {
  padding-top: 28px !important;
}

body.theme-power-light .menu_page .product.am-card {
  background: #fff !important;
  border: 1px solid var(--pm-border) !important;
  border-radius: 18px !important;
  overflow: hidden;
  height: 100% !important;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(28,25,23,0.06);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), border-color 0.3s, box-shadow 0.3s;
}

body.theme-power-light .menu_page .product.am-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200,16,46,0.45) !important;
  box-shadow: 0 22px 44px rgba(28,25,23,0.12), 0 0 0 1px rgba(200,16,46,0.2);
}

body.theme-power-light .menu_page .am-card__media,
body.theme-power-light .menu_page .product.am-card .product-thumb {
  width: 100% !important;
  height: 200px !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--pm-soft);
}

body.theme-power-light .menu_page .am-card__media img,
body.theme-power-light .menu_page .product.am-card .product-thumb img {
  width: 100% !important;
  height: 200px !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center;
  transition: transform 0.55s cubic-bezier(0.22,1,0.36,1);
}

body.theme-power-light .menu_page .product.am-card:hover .am-card__media img {
  transform: scale(1.08);
}

.am-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
  transform: translateX(-120%);
  pointer-events: none;
}

body.theme-power-light .menu_page .product.am-card:hover .am-card__shine {
  animation: amShine 0.9s ease forwards;
}

@keyframes amShine {
  to { transform: translateX(120%); }
}

body.theme-power-light .menu_page .am-card__body,
body.theme-power-light .menu_page .product.am-card .product-body {
  background: transparent !important;
  padding: 16px 16px 18px !important;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
}

body.theme-power-light .menu_page .product.am-card .product-desc h4 {
  margin: 0 0 6px;
}

body.theme-power-light .menu_page .product.am-card .product-desc h4 a {
  color: var(--pm-ink) !important;
  font-family: "Fraunces", Georgia, serif !important;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

body.theme-power-light .menu_page .product.am-card .product-desc h4 a:hover {
  color: var(--pm-red-hot) !important;
}

body.theme-power-light .menu_page .product.am-card .product-price,
body.theme-power-light .menu_page .product.am-card .product-price span {
  color: var(--pm-red-hot) !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  font-family: "Outfit", sans-serif !important;
}

body.theme-power-light .menu_page .product.am-card .order-item {
  background: var(--pm-red) !important;
  color: #fff !important;
  border-radius: 14px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 24px var(--pm-red-glow);
  transition: transform 0.2s, background 0.2s;
}

body.theme-power-light .menu_page .product.am-card .order-item:hover {
  background: #9f1239 !important;
  transform: scale(1.06);
}

body.theme-power-light .menu_page .product.am-card .order-item svg {
  color: #fff;
}

/* Cart / checkout chrome */
body.theme-power-light .btn-custom.primary {
  background: var(--pm-red) !important;
  border-color: var(--pm-red) !important;
}

body.theme-power-light .cart-sidebar,
body.theme-power-light .sidebar-cart {
  background: #fffdf9 !important;
  color: var(--pm-ink);
}

@media (max-width: 991px) {
  .am-nav__burger { display: inline-flex; }
  .am-nav__links { display: none; }
  .am-nav__brand-text { display: none; }
}

/* —— Smooth professional mobile header + layout —— */
@media (max-width: 767px) {
  body.theme-power-light .header-section-menu,
  body.theme-power-light .main-header.header-4,
  body.theme-power-light .main-header.header-absolute,
  body.theme-power-light .am-header {
    min-height: 56px !important;
    padding-top: env(safe-area-inset-top, 0);
    background: rgba(255, 253, 249, 0.78) !important;
    backdrop-filter: blur(22px) saturate(1.35);
    -webkit-backdrop-filter: blur(22px) saturate(1.35);
    border-bottom: 1px solid rgba(28, 25, 23, 0.06) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.65) inset, 0 4px 18px rgba(28, 25, 23, 0.04);
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  }

  body.theme-power-light .am-header.is-scrolled {
    background: rgba(255, 253, 249, 0.94) !important;
    border-bottom-color: rgba(200, 16, 46, 0.14) !important;
    box-shadow: 0 8px 28px rgba(28, 25, 23, 0.08);
  }

  body.theme-power-light .am-header .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
    max-width: 100%;
  }

  body.theme-power-light .am-nav {
    gap: 6px;
    padding: 7px 0 !important;
    min-height: 56px;
    align-items: center;
    flex-wrap: nowrap !important;
    display: flex !important;
    width: 100%;
  }

  body.theme-power-light .am-header .navbar.am-nav {
    flex-wrap: nowrap !important;
  }

  .am-nav__left {
    gap: 6px;
    min-width: 0;
    flex: 0 0 auto;
  }

  .am-nav__burger,
  .am-nav__cart-icon,
  .am-nav__login .am-login-btn,
  .am-lang-btn,
  .am-nav__brand {
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
      background 0.22s ease,
      box-shadow 0.22s ease,
      border-color 0.22s ease,
      color 0.22s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .am-nav__burger:active,
  .am-nav__cart-icon:active,
  .am-nav__login .am-login-btn:active,
  .am-lang-btn:active,
  .am-nav__brand:active {
    transform: scale(0.94);
  }

  .am-nav__burger {
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(255,255,255,0.72) !important;
    border: 1px solid rgba(28, 25, 23, 0.06);
    color: var(--pm-ink);
    font-size: 15px;
    padding: 0;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(28,25,23,0.04);
  }

  .am-nav__brand {
    gap: 0;
    flex-shrink: 0;
  }

  .am-nav__brand img,
  body.theme-power-light .header-section-menu .navbar-brand img {
    max-height: 32px !important;
    width: auto;
    border-radius: 8px;
    filter: none;
  }

  .am-nav__actions {
    flex: 1 1 auto;
    display: flex !important;
    justify-content: flex-end;
    min-width: 0;
    margin-left: auto;
  }

  body.dari-lang.theme-power-light .am-nav__actions {
    margin-left: 0;
    margin-right: auto;
  }

  .am-nav__actions .header-controls,
  .am-nav__actions .header-controls-inner {
    width: auto !important;
    max-width: 100%;
  }

  .am-nav__actions .header-controls-inner {
    gap: 6px;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-end;
    display: flex !important;
  }

  .am-lang-switch {
    padding: 3px;
    border-radius: 999px;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(28, 25, 23, 0.06);
    box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
    flex-shrink: 0;
  }

  .am-lang-btn {
    min-width: 0;
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.7rem !important;
    border-radius: 999px;
    white-space: nowrap;
  }

  .am-lang-btn.is-active {
    box-shadow: 0 4px 12px var(--pm-red-glow);
  }

  .am-lang-btn__full {
    display: none;
  }

  .am-lang-btn__short {
    display: inline;
  }

  .am-nav__cart {
    min-height: 38px;
  }

  .am-nav__cart-label {
    display: none !important;
  }

  .am-nav__cart-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(28, 25, 23, 0.06);
    box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
  }

  .am-nav__cart-icon svg {
    width: 18px;
    height: 18px;
  }

  body.theme-power-light .am-nav__cart .cart-item-count,
  body.theme-power-light .am-nav__cart-icon .cart-item-count {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px;
    font-size: 9px !important;
    top: -4px !important;
    right: -4px !important;
    box-shadow: 0 0 0 2px #fff;
  }

  body.dari-lang.theme-power-light .am-nav__cart .cart-item-count,
  body.dari-lang.theme-power-light .am-nav__cart-icon .cart-item-count {
    right: auto !important;
    left: -4px !important;
  }

  .am-nav__login .am-login-btn {
    padding: 0 12px;
    min-height: 38px;
    border-radius: 11px;
    font-size: 0.78rem;
    box-shadow: 0 4px 12px var(--pm-red-glow);
  }

  @media (max-width: 380px) {
    .am-lang-btn {
      padding: 0 8px;
      font-size: 0.66rem !important;
    }
    .am-nav__login .am-login-btn {
      padding: 0 9px;
      min-height: 34px;
      font-size: 0.72rem;
    }
    .am-nav__burger,
    .am-nav__cart-icon {
      width: 34px;
      height: 34px;
    }
    .am-nav__actions .header-controls-inner {
      gap: 5px;
    }
  }

  /* Hero */
  .am-hero {
    min-height: min(46vh, 380px);
  }

  .am-hero__content {
    padding: 88px 16px 28px;
  }

  .am-hero__brand {
    font-size: clamp(2.2rem, 11vw, 3.1rem) !important;
  }

  .am-hero__title {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem) !important;
    max-width: 100%;
  }

  body.dari-lang .am-hero__title {
    font-size: clamp(1.55rem, 7vw, 2rem) !important;
  }

  .am-hero__lead {
    font-size: 0.92rem;
    margin-bottom: 16px;
    max-width: 100%;
  }

  .am-hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .am-hero__cta {
    min-height: 46px;
    width: 100%;
    max-width: 280px;
  }

  /* Sticky toolbar under header */
  .am-toolbar {
    top: calc(56px + env(safe-area-inset-top, 0px));
    padding: 10px 0 10px;
    transition: box-shadow 0.3s ease;
  }

  .am-toolbar .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .am-toolbar__inner {
    gap: 10px;
  }

  .am-search {
    max-width: 100%;
    padding: 11px 14px;
    border-radius: 14px;
  }

  .am-pills {
    gap: 7px;
    margin: 0 -2px;
    padding-bottom: 2px;
  }

  .am-pill {
    padding: 8px 12px;
    font-size: 0.8rem;
    border-radius: 999px;
  }

  /* Menu grid */
  .am-grid-wrap {
    padding-top: 16px !important;
    padding-bottom: 24px;
  }

  .am-grid-wrap .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  #am_menu_grid.am-grid {
    margin-left: -6px !important;
    margin-right: -6px !important;
  }

  #am_menu_grid.am-grid > .am-food-card {
    margin-bottom: 12px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  body.theme-power-light .menu_page .product.am-card {
    border-radius: 14px !important;
    box-shadow: 0 6px 16px rgba(28, 25, 23, 0.06);
  }

  body.theme-power-light .menu_page .am-card__media,
  body.theme-power-light .menu_page .am-card__media img,
  body.theme-power-light .menu_page .product.am-card .product-thumb,
  body.theme-power-light .menu_page .product.am-card .product-thumb img {
    height: 118px !important;
  }

  body.theme-power-light .menu_page .am-card__body,
  body.theme-power-light .menu_page .product.am-card .product-body {
    padding: 10px !important;
    align-items: flex-end;
    gap: 8px;
  }

  body.theme-power-light .menu_page .product.am-card .product-desc {
    min-width: 0;
    flex: 1;
  }

  body.theme-power-light .menu_page .product.am-card .product-desc h4 {
    margin: 0 0 4px !important;
  }

  body.theme-power-light .menu_page .product.am-card .product-desc h4 a {
    font-size: 0.88rem !important;
    line-height: 1.25 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body.theme-power-light .menu_page .product.am-card .product-price,
  body.theme-power-light .menu_page .product.am-card .product-price span {
    font-size: 0.82rem !important;
  }

  body.theme-power-light .menu_page .product.am-card .order-item {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  body.theme-power-light .menu_page .product.am-card .order-item svg {
    width: 16px;
    height: 16px;
  }

  /* Mobile aside drawer */
  body.theme-power-light .main-aside.am-aside {
    width: min(300px, 86vw) !important;
    box-shadow: 12px 0 40px rgba(28, 25, 23, 0.14);
  }

  body.theme-power-light .main-aside.am-aside .navbar-brand {
    display: flex;
    align-items: center;
    padding: 18px 16px 8px;
  }

  body.theme-power-light .main-aside.am-aside .navbar-brand img {
    max-height: 40px;
    margin: 0;
  }

  body.theme-power-light .am-aside__menu .menu-item a {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .am-lang-switch--aside {
    margin: 12px 16px 28px;
  }

  .am-site-footer {
    margin-top: 28px;
    padding: 24px 16px calc(28px + env(safe-area-inset-bottom, 0px));
  }
}

/* Tablet polish */
@media (min-width: 768px) and (max-width: 991px) {
  body.theme-power-light .am-nav {
    min-height: 64px;
    padding: 8px 0 !important;
  }

  .am-nav__brand-text {
    display: inline !important;
    font-size: 0.95rem;
  }

  .am-toolbar {
    top: 64px;
  }
}

/* Checkout / order pages light */
body.theme-power-light .checkout-page h4,
body.theme-power-light .checkout-page h6,
body.theme-power-light .checkout-page h2,
body.theme-power-light .checkout-page h3,
body.theme-power-light .checkout-page label,
body.theme-power-light .checkout-page .totals p,
body.theme-power-light .order-summary {
  color: var(--pm-ink) !important;
}

body.theme-power-light .checkout-page .form-control {
  background: #fff !important;
  border: 1px solid var(--pm-border) !important;
  color: var(--pm-ink) !important;
}

body.theme-power-light .checkout-page .order-summary {
  background: #fff !important;
  border: 1px solid var(--pm-border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(28,25,23,0.05);
}

/* Checkout — get my location (separate field) */
body.theme-power-light .checkout-location-field .location-field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
body.theme-power-light .checkout-location-field .location-input {
  flex: 1 1 200px;
  min-width: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  background: #fff;
}
body.theme-power-light .btn-get-location {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(200, 16, 46, 0.25);
  background: #fff;
  color: var(--pm-red);
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(28, 25, 23, 0.05);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
body.theme-power-light .btn-get-location:hover {
  background: rgba(200, 16, 46, 0.06);
  box-shadow: 0 8px 18px rgba(200, 16, 46, 0.12);
}
body.theme-power-light .btn-get-location:active {
  transform: scale(0.97);
}
body.theme-power-light .btn-get-location.is-loading {
  opacity: 0.7;
  pointer-events: none;
}
body.theme-power-light .location-status {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: #57534e;
}
body.theme-power-light .location-status.is-error {
  color: #b91c1c;
}

body.theme-power-light .gps-box {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.88rem;
}
body.theme-power-light .gps-box a {
  display: inline-block;
  margin-top: 4px;
  color: var(--pm-red);
  font-weight: 700;
  text-decoration: none;
}
body.theme-power-light #faddress.form-control {
  min-height: 84px;
  resize: vertical;
}
@media (max-width: 575px) {
  body.theme-power-light .checkout-location-field .location-field-row {
    flex-direction: column;
  }
  body.theme-power-light .btn-get-location {
    width: 100%;
  }
}

/* Order success — Dari RTL stable */
body.dari-lang .payment_success_section,
body.dari-lang .payment_success_section.is-dari-rtl {
  direction: rtl;
  text-align: right;
}
body.dari-lang .payment_success_section .payment-success {
  width: min(420px, 100%);
  height: auto !important;
  max-height: none;
}
body.dari-lang .payment_success_section .success_col {
  height: auto !important;
  min-height: 0;
  padding: 24px 12px 40px;
  gap: 20px;
}
body.dari-lang .payment_success_section .payment-info {
  gap: 12px;
}
body.dari-lang .payment_success_section .payment-info p:first-child {
  font-weight: 600;
  color: #57534e;
}
body.dari-lang .payment_success_section .payment-info p:last-child {
  font-weight: 700;
  color: #1c1917;
  text-align: left;
  direction: ltr;
  unicode-bidi: isolate;
}
body.dari-lang .payment_success_section .payment-info p:last-child:not([dir="ltr"]) {
  direction: rtl;
  text-align: left;
  unicode-bidi: plaintext;
}
body.dari-lang .payment_success_section .payment-success-btn {
  width: min(420px, 100%);
}
body.dari-lang .payment_success_section .payment_success p:first-child {
  text-align: center;
  line-height: 1.5;
  font-weight: 600;
  color: #1c1917;
}
body.theme-power-light .checkout-page,
body.dari-lang .checkout-page {
  direction: inherit;
}
body.dari-lang .checkout-page {
  direction: rtl;
  text-align: right;
}
body.dari-lang .checkout-page .form-control,
body.dari-lang #faddress {
  text-align: right;
}
body.dari-lang #faddress {
  direction: rtl;
  unicode-bidi: plaintext;
}

/* —— Order tracking / success (light theme) —— */
.am-track-page {
  padding: 110px 0 72px;
  min-height: 80vh;
}
.am-track {
  max-width: 720px;
  margin: 0 auto;
}
.am-track__hero {
  text-align: center;
  margin-bottom: 22px;
}
.am-track__badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #16a34a, #15803d);
  box-shadow: 0 12px 30px rgba(22,163,74,0.28);
  animation: am-pop 0.55s ease both;
}
.am-track__eyebrow {
  color: var(--pm-muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 8px;
  font-weight: 700;
}
.am-track__title {
  font-family: "Fraunces", Georgia, serif !important;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  margin: 0 0 8px;
  color: var(--pm-ink) !important;
  line-height: 1.2;
}
.am-track__amount {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--pm-red);
  margin: 0 0 14px;
}
.am-track__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.am-track__chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--pm-border);
  color: var(--pm-ink);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(28,25,23,0.04);
}
.am-track__chip--live {
  background: rgba(200,16,46,0.08);
  border-color: rgba(200,16,46,0.28);
  color: var(--pm-red);
  animation: am-pulse 1.8s ease-in-out infinite;
}
.am-track__chip--live.is-pending {
  background: rgba(234,179,8,0.14);
  border-color: rgba(234,179,8,0.35);
  color: #a16207;
}
.am-track__chip--live.is-declined {
  background: rgba(239,68,68,0.1);
  border-color: rgba(239,68,68,0.3);
  color: #b91c1c;
  animation: none;
}
.am-track__timer {
  position: relative;
  margin: 22px auto;
  padding: 24px 18px;
  border-radius: 20px;
  background:
    radial-gradient(120% 120% at 10% 0%, rgba(200,16,46,0.12), transparent 55%),
    #fff;
  border: 1px solid var(--pm-border);
  box-shadow: 0 18px 40px rgba(28,25,23,0.06);
  overflow: hidden;
  text-align: center;
}
.am-track__timer-ring {
  position: absolute;
  inset: -40% auto auto 50%;
  width: 220px;
  height: 220px;
  margin-left: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,16,46,0.12), transparent 68%);
  pointer-events: none;
}
.am-track__timer-label {
  margin: 0;
  color: var(--pm-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.am-track__timer-value {
  margin: 6px 0 4px;
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  font-weight: 800;
  color: var(--pm-ink);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.am-track__timer-note {
  margin: 0;
  color: var(--pm-muted);
  font-size: 0.9rem;
}
.am-track__timer.is-delivered {
  background:
    radial-gradient(120% 120% at 10% 0%, rgba(22,163,74,0.14), transparent 55%),
    #fff;
  border-color: rgba(22,163,74,0.25);
}
.am-track__timer.is-delivered .am-track__timer-value {
  color: #15803d;
}
.am-track__steps {
  margin: 22px 0 26px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 22px 14px 18px;
  background: #fff;
  border: 1px solid var(--pm-border);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(28,25,23,0.04);
  overflow: hidden;
}
.am-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  padding: 0 4px;
}
.am-step__top {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  min-height: 48px;
}
.am-step__dot {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid rgba(28,25,23,0.12);
  color: #a8a29e;
  z-index: 2;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.am-step__dot svg {
  width: 22px;
  height: 22px;
  display: block;
}
.am-step__partner-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.am-step__line {
  position: absolute;
  top: 50%;
  left: calc(50% + 27px);
  right: calc(-50% + 27px);
  height: 3px;
  margin-top: -1.5px;
  background: rgba(28,25,23,0.1);
  border-radius: 99px;
  z-index: 1;
  transition: background 0.3s;
}
.am-step__copy {
  width: 100%;
}
.am-step__copy h3 {
  margin: 0 0 4px;
  font-size: 0.82rem !important;
  font-family: "Outfit", sans-serif !important;
  font-weight: 800;
  color: #78716c !important;
  line-height: 1.25;
}
.am-step__copy p {
  margin: 0;
  color: #a8a29e;
  font-size: 0.72rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.am-step.is-done .am-step__dot,
.am-step.is-active .am-step__dot {
  background: var(--pm-red);
  border-color: var(--pm-red);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(200,16,46,0.12);
}
.am-step.has-partner .am-step__dot,
.am-step.has-partner.is-active .am-step__dot,
.am-step.has-partner.is-done .am-step__dot {
  padding: 0;
  overflow: hidden;
  background: #fff;
  border-color: var(--pm-red);
  color: transparent;
  box-shadow: 0 0 0 4px rgba(200,16,46,0.18);
}
.am-step.is-done .am-step__line {
  background: linear-gradient(90deg, var(--pm-red), rgba(200,16,46,0.35));
}
.am-step.is-active .am-step__copy h3 {
  color: var(--pm-ink) !important;
}
.am-step.is-active .am-step__dot {
  animation: am-pulse 1.6s ease-in-out infinite;
  transform: scale(1.06);
}
.am-step.is-done .am-step__copy h3 {
  color: #44403c !important;
}
.is-dari-rtl .am-step__line {
  left: calc(-50% + 27px);
  right: calc(50% + 27px);
}
.is-dari-rtl .am-step.is-done .am-step__line {
  background: linear-gradient(270deg, var(--pm-red), rgba(200,16,46,0.35));
}
.am-track__decline {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  color: #b91c1c;
  text-align: center;
  font-weight: 600;
}
.am-track__card {
  background: #fff;
  border: 1px solid var(--pm-border);
  border-radius: 18px;
  padding: 20px 18px;
  margin-bottom: 18px;
  box-shadow: 0 12px 28px rgba(28,25,23,0.04);
}
.am-track__card > h2 {
  margin: 0 0 14px;
  font-size: 1.15rem !important;
  font-family: "Outfit", sans-serif !important;
  font-weight: 800;
  color: var(--pm-ink) !important;
}
.am-track__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
.am-track__meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.am-track__meta span {
  color: #a8a29e;
  font-size: 0.78rem;
  font-weight: 600;
}
.am-track__meta strong {
  color: var(--pm-ink);
  font-size: 0.92rem;
  font-weight: 700;
}
.am-track__meta-full { grid-column: 1 / -1; }
.am-track__meta a {
  color: var(--pm-red);
  font-weight: 700;
  text-decoration: none;
}
.am-track__items {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--pm-border);
}
.am-track__items h3 {
  margin: 0 0 10px;
  font-size: 0.95rem !important;
  font-family: "Outfit", sans-serif !important;
  color: var(--pm-ink) !important;
}
.am-track__item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  color: #44403c;
  font-size: 0.92rem;
  border-bottom: 1px dashed rgba(28,25,23,0.08);
}
.am-track__item--total {
  border-bottom: 0;
  margin-top: 6px;
  font-size: 1rem;
  color: var(--pm-ink);
}
.am-track__hint {
  text-align: center;
  color: var(--pm-muted);
  font-size: 0.9rem;
  margin: 0 0 14px;
}
.am-track__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.am-track__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
}
.am-track__btn:hover { transform: translateY(-1px); }
.am-track__btn--wa {
  background: #16a34a;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(22,163,74,0.22);
}
.am-track__btn--ghost {
  background: #fff;
  color: var(--pm-ink) !important;
  border: 1px solid var(--pm-border);
}
.is-dari-rtl .am-track__meta,
.is-dari-rtl .am-track__item {
  direction: rtl;
}
.is-dari-rtl .am-track__steps {
  direction: rtl;
}
.am-track__chip--live.is-delivered {
  background: rgba(22,163,74,0.12);
  border-color: rgba(22,163,74,0.3);
  color: #15803d;
  animation: none;
}
@media (max-width: 900px) {
  .am-step__copy p {
    display: none;
  }
  .am-step__copy h3 {
    font-size: 0.74rem !important;
  }
  .am-step__dot {
    width: 42px;
    height: 42px;
  }
  .am-step__dot svg {
    width: 20px;
    height: 20px;
  }
  .am-step__line {
    left: calc(50% + 24px);
    right: calc(-50% + 24px);
  }
  .is-dari-rtl .am-step__line {
    left: calc(-50% + 24px);
    right: calc(50% + 24px);
  }
}
@media (max-width: 640px) {
  .am-track__meta { grid-template-columns: 1fr; }
  .am-track-page { padding-top: 92px; padding-bottom: 56px; }
  .am-track__hero { margin-bottom: 16px; }
  .am-track__title { font-size: 1.45rem !important; }
  .am-track__timer {
    margin: 14px auto 18px;
    padding: 18px 14px;
    border-radius: 16px;
  }
  .am-track__timer-value {
    font-size: 2.35rem;
  }
  .am-track__steps {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    padding: 18px 10px 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .am-track__steps::-webkit-scrollbar { display: none; }
  .am-step {
    flex: 0 0 22%;
    min-width: 72px;
    scroll-snap-align: center;
    padding: 0 2px;
  }
  .am-step__top {
    min-height: 44px;
    margin-bottom: 8px;
  }
  .am-step__dot {
    width: 40px;
    height: 40px;
  }
  .am-step__dot svg {
    width: 18px;
    height: 18px;
  }
  .am-step__line {
    left: calc(50% + 22px);
    right: calc(-50% + 22px);
    height: 2.5px;
  }
  .is-dari-rtl .am-step__line {
    left: calc(-50% + 22px);
    right: calc(50% + 22px);
  }
  .am-step__copy h3 {
    font-size: 0.68rem !important;
    letter-spacing: -0.01em;
  }
  .am-step__copy p {
    display: none;
  }
  .am-track__card {
    padding: 16px 14px;
    border-radius: 16px;
  }
  .am-track__btn {
    min-height: 46px;
  }
}
@keyframes am-pop {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes am-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,16,46,0.28); }
  50% { box-shadow: 0 0 0 8px rgba(200,16,46,0); }
}
