:root {
  --qd-accent: #ff5a1f;
  --qd-accent-dark: #e14a12;
  --qd-dark: #1f2430;
  --qd-bg: #f7f7fb;
  /* Matches the MAUI apps' Button/CardFrame corner radii (Resources/Styles/Styles.xaml)
     so the two surfaces read as the same product, not just the same color. */
  --bs-border-radius: 0.5rem;
  --bs-border-radius-lg: 0.875rem;
}

body {
  background-color: var(--qd-bg);
  /* Matches the MAUI apps' bundled OpenSansRegular/OpenSansSemibold fonts (see each app's
     MauiProgram.cs ConfigureFonts) - loaded via Google Fonts in base.html's <head>. */
  font-family: "Open Sans", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.qd-navbar .navbar-brand,
h1, h2, h3, h4, h5, h6,
.fw-bold, .fw-semibold {
  font-family: "Open Sans", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
}

.qd-announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--qd-dark);
  color: #fff;
  padding: 0.55rem 1rem;
  text-align: center;
  position: relative;
}
.qd-announcement-text {
  font-size: 0.85rem;
  font-weight: 600;
}
.qd-announcement-text i {
  color: var(--qd-accent);
  margin-right: 0.2rem;
}
.qd-announcement-close {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  padding: 0.25rem;
  line-height: 1;
}
.qd-announcement-close:hover {
  color: #fff;
}

.qd-navbar {
  background-color: #fff;
  box-shadow: 0 1px 0 rgba(20, 20, 30, 0.06), 0 4px 16px rgba(20, 20, 30, 0.04);
}

.qd-hamburger {
  color: var(--qd-dark);
  font-size: 1.4rem;
  padding: 0.4rem 0.6rem;
  line-height: 1;
  border: none;
  background: none;
}
.qd-hamburger:hover,
.qd-hamburger:focus {
  color: var(--qd-accent);
  background-color: rgba(255, 90, 31, 0.08);
}
.qd-hamburger .badge {
  font-size: 0.6rem;
}

.qd-nav-link {
  color: var(--qd-dark) !important;
  font-weight: 600;
  padding: 0.5rem 0.75rem !important;
  border-radius: var(--bs-border-radius);
  background: none;
  border: none;
}
.qd-nav-link:hover,
.qd-nav-link:focus {
  color: var(--qd-accent) !important;
  background-color: rgba(255, 90, 31, 0.08);
}
.qd-nav-link.dropdown-toggle::after {
  vertical-align: 0.1em;
}

.qd-navbar-logo-zone {
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 1.1rem;
}
.qd-navbar-logo-zone .navbar-brand {
  margin-right: 0;
}
.qd-navbar-logo-img {
  height: 52px;
  width: auto;
}

/* Mobile-only "flies in from the left, skids to a stop" entrance for the centered navbar
   logo - on desktop the logo sits fixed in its own zone so this doesn't apply there. */
@media (max-width: 991.98px) {
  .qd-logo-intro {
    animation: qd-logo-intro 1.05s cubic-bezier(0.25, 0.1, 0.25, 1) both;
  }
}
@keyframes qd-logo-intro {
  0% {
    transform: translateX(-160px) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
  62% {
    transform: translateX(0) rotate(-10deg);
  }
  72% {
    transform: translateX(0) rotate(8deg);
  }
  82% {
    transform: translateX(0) rotate(-5deg);
  }
  90% {
    transform: translateX(0) rotate(3deg);
  }
  96% {
    transform: translateX(0) rotate(-1deg);
  }
  100% {
    transform: translateX(0) rotate(0deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .qd-logo-intro {
    animation: none;
  }
}
.qd-navbar-content-zone {
  flex: 1 1 auto;
  min-width: 0;
}
.qd-navbar-content-zone > .container {
  padding-top: 0;
  padding-bottom: 0;
}

/* PC has real width to work with - don't cap out at Bootstrap's default 1140/1320px
   container on very wide viewports, or the page reads like a phone layout stretched
   into empty margins instead of an actual desktop layout. */
@media (min-width: 1400px) {
  .qd-wide-container {
    max-width: 1600px;
  }
}

/* App-shell layout: the side panel is a structural column attached to the navbar/page,
   not a card floating in the content area next to other cards. Full-bleed (outside any
   .container), so it reads as one continuous surface from the navbar down. */
:root {
  --qd-navbar-h: 78px;
}

.qd-page-shell {
  display: flex;
  align-items: flex-start;
}
.qd-main-area {
  flex: 1 1 auto;
  min-width: 0;
}
.qd-side-panel {
  flex: 0 0 220px;
  width: 220px;
  position: sticky;
  top: var(--qd-navbar-h);
  min-height: calc(100vh - var(--qd-navbar-h));
  background-color: #fff;
  border-right: 1px solid rgba(20, 20, 30, 0.08);
  padding: 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
}
.qd-side-support {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.25rem 0.1rem;
}
.qd-side-support i {
  font-size: 1.3rem;
  color: var(--qd-accent);
}
.qd-side-support-label {
  font-size: 0.72rem;
  color: #8b8b96;
  margin: 0;
}
.qd-side-support-phone {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--qd-dark);
  margin: 0;
}
.qd-side-panel-nav .nav-link {
  color: var(--qd-dark);
  font-weight: 600;
  border-radius: var(--bs-border-radius);
  padding: 0.65rem 0.75rem;
}
.qd-side-panel-nav .nav-link i {
  width: 1.4rem;
  display: inline-block;
  color: var(--qd-accent);
}
.qd-side-panel-nav .nav-link:hover {
  background-color: rgba(255, 90, 31, 0.08);
}
.qd-side-panel-nav .nav-link.active {
  background-color: var(--qd-accent);
  color: #fff;
}
.qd-side-panel-nav .nav-link.active i {
  color: #fff;
}

.qd-cart-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--qd-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(255, 90, 31, 0.45);
  z-index: 1030;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.qd-cart-fab:hover,
.qd-cart-fab:focus {
  background-color: var(--qd-accent-dark);
  color: #fff;
  transform: translateY(-2px);
}
.qd-toast-container {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 1080;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  width: 100%;
  padding: 0 1rem;
}
.qd-toast {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--qd-dark);
  color: #fff;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: 90vw;
}
.qd-toast-show {
  opacity: 1;
  transform: translateY(0);
}
.qd-toast-danger {
  background-color: #dc3545;
}
.qd-toast i {
  flex-shrink: 0;
}

.qd-cart-fab-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  font-size: 0.7rem;
  border: 2px solid #fff;
}

@media (max-width: 991.98px) {
  body {
    padding-bottom: 64px;
  }
}

.qd-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  display: flex;
  background-color: #fff;
  border-top: 1px solid rgba(20, 20, 30, 0.08);
  box-shadow: 0 -4px 16px rgba(20, 20, 30, 0.06);
  padding-bottom: env(safe-area-inset-bottom);
}
.qd-bottom-nav-item {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.5rem 0.25rem;
  color: #8b8b96;
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
}
.qd-bottom-nav-item i {
  font-size: 1.25rem;
}
.qd-bottom-nav-item.active {
  color: var(--qd-accent);
}
.qd-bottom-nav-badge {
  position: absolute;
  top: 0.15rem;
  left: 50%;
  margin-left: 0.35rem;
  font-size: 0.6rem;
  border: 2px solid #fff;
}

.qd-sidebar {
  width: 290px;
}
.qd-sidebar .offcanvas-header {
  border-bottom: 1px solid #eee;
}
.qd-sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background-color: var(--qd-bg);
  border-radius: var(--bs-border-radius);
  font-size: 0.9rem;
  color: var(--qd-dark);
}
.qd-sidebar-user i {
  font-size: 1.4rem;
  color: var(--qd-accent);
}
.qd-sidebar-nav .nav-link {
  color: var(--qd-dark);
  font-weight: 600;
  border-radius: var(--bs-border-radius);
  padding: 0.65rem 0.9rem;
  margin-bottom: 0.15rem;
}
.qd-sidebar-nav .nav-link i {
  width: 1.4rem;
  display: inline-block;
  color: var(--qd-accent);
}
.qd-sidebar-nav .nav-link:hover {
  background-color: rgba(255, 90, 31, 0.08);
}
.qd-sidebar-nav .nav-link.active {
  background-color: var(--qd-accent);
  color: #fff;
}
.qd-sidebar-nav .nav-link.active i {
  color: #fff;
}
.qd-sidebar-divider {
  border-top: 1px solid #eee;
  margin: 0.5rem 0;
}

.btn-qd-accent {
  background-color: var(--qd-accent);
  border-color: var(--qd-accent);
  color: #fff;
}
.btn-qd-accent:hover,
.btn-qd-accent:focus {
  background-color: var(--qd-accent-dark);
  border-color: var(--qd-accent-dark);
  color: #fff;
}

.btn-outline-qd-accent {
  border: 2px dashed var(--qd-accent);
  color: var(--qd-accent);
  background: transparent;
}
.btn-outline-qd-accent:hover {
  background-color: rgba(255, 90, 31, 0.08);
  color: var(--qd-accent-dark);
}

.bg-qd-accent {
  background-color: var(--qd-accent) !important;
}

.text-qd-accent {
  color: var(--qd-accent) !important;
}

.qd-see-all-link {
  color: var(--qd-accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}
.qd-see-all-link:hover {
  color: var(--qd-accent-dark);
}

.qd-cuisine-chips {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}
.qd-cuisine-chips::-webkit-scrollbar {
  height: 5px;
}
.qd-cuisine-chips::-webkit-scrollbar-thumb {
  background-color: #e2e2ea;
  border-radius: 999px;
}
.qd-cuisine-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid #ececf2;
  background-color: #fff;
  color: var(--qd-dark);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.qd-cuisine-chip:hover {
  border-color: var(--qd-accent);
  color: var(--qd-accent);
}
.qd-cuisine-chip.active {
  background-color: rgba(255, 90, 31, 0.1);
  border-color: var(--qd-accent);
  color: var(--qd-accent);
}

.qd-logo-full {
  max-width: 180px;
  width: 100%;
}

.qd-step {
  background-color: #fff;
  border-radius: var(--bs-border-radius-lg);
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.qd-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 90, 31, 0.12);
  color: var(--qd-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.qd-features {
  background-color: #fff;
  border-radius: var(--bs-border-radius-lg);
  padding: 2rem 1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.qd-features i {
  font-size: 1.6rem;
  color: var(--qd-accent);
}

.qd-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--qd-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.qd-back-link:hover {
  color: var(--qd-accent);
}

.qd-rest-card {
  position: relative;
}
.qd-rest-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
  background-color: #fff;
  border-radius: var(--bs-border-radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.qd-rest-card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}
.qd-rest-card-img {
  height: 170px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.qd-rest-card-status {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
}
.qd-rest-card-body {
  padding: 0.9rem 1rem 1rem;
}
.qd-rest-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--qd-dark);
  margin: 0 0 0.3rem;
}
.qd-rest-card-address {
  font-size: 0.82rem;
  color: #8b8b96;
  margin: 0 0 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qd-rest-card-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.82rem;
  color: #8b8b96;
  margin: 0;
}
.qd-rest-card-rating {
  color: var(--qd-dark);
  font-weight: 600;
}
.qd-rest-card-rating i {
  color: #ffb400;
}
.qd-rest-card-fav {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--qd-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, color 0.15s ease;
}
.qd-rest-card-fav:hover {
  transform: scale(1.08);
}
.qd-rest-card-fav.is-active {
  color: var(--qd-accent);
}

.qd-cart-layout {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 640px;
}
.qd-cart-restaurant {
  font-weight: 700;
  color: var(--qd-dark);
  margin: 0;
}
.qd-cart-restaurant i {
  color: var(--qd-accent);
}

.qd-cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.qd-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: var(--bs-border-radius-lg);
  padding: 0.85rem;
}
.qd-cart-item-img {
  width: 110px;
  height: 100px;
  flex-shrink: 0;
  border-radius: var(--bs-border-radius);
  background-color: var(--qd-bg);
  background-size: cover;
  background-position: center;
}
.qd-cart-item-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #d9d9e2;
}
.qd-cart-item-body {
  min-width: 0;
  flex: 1 1 auto;
}
.qd-cart-item-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--qd-dark);
  margin: 0 0 0.3rem;
}
.qd-cart-item-meta {
  font-size: 0.8rem;
  color: #8b8b96;
  margin: 0 0 0.25rem;
}
.qd-cart-item-note {
  font-size: 0.8rem;
  color: #8b8b96;
  font-style: italic;
  margin: 0 0 0.25rem;
}
.qd-cart-item-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--qd-accent);
  margin: 0;
}
.qd-cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.qd-qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid #ececf2;
  border-radius: 999px;
  overflow: hidden;
}
.qd-qty-btn {
  width: 30px;
  height: 30px;
  border: none;
  background-color: #fff;
  color: var(--qd-dark);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qd-qty-btn:hover:not(:disabled) {
  background-color: rgba(255, 90, 31, 0.1);
  color: var(--qd-accent);
}
.qd-qty-btn:disabled {
  color: #d9d9e2;
}
.qd-qty-value {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--qd-dark);
}
.qd-cart-item-remove {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: none;
  color: var(--qd-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.qd-cart-item-remove:hover {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.qd-cart-section-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--qd-dark);
  margin: 0;
}
.qd-cart-section-label i {
  color: var(--qd-accent);
}
.qd-cart-note-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: var(--bs-border-radius-lg);
  padding: 1rem 1.1rem;
}

.qd-cart-summary-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: var(--bs-border-radius-lg);
  padding: 1.1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.qd-cart-coupon-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.qd-cart-coupon-hint {
  font-size: 0.72rem;
  color: #8b8b96;
  margin: 0.4rem 0 0;
}
.qd-cart-cod-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #8b8b96;
  margin: 0.7rem 0 0;
}
.qd-cart-cod-note i {
  color: var(--qd-accent);
}
.qd-cart-summary-divider {
  border-top: 1px solid #eee;
  margin: 0.9rem 0;
}
.qd-cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #6b6b76;
  margin-bottom: 0.4rem;
}
.qd-cart-summary-discount {
  color: #198754;
  font-weight: 600;
}
.qd-cart-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--qd-dark);
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed #ececf2;
}

.qd-empty-state {
  text-align: center;
  padding: 3.5rem 1rem;
  background-color: #fff;
  border-radius: var(--bs-border-radius-lg);
  border: 1px solid #eee;
}
.qd-empty-state i {
  font-size: 2.75rem;
  color: #ececf2;
  display: block;
  margin-bottom: 1rem;
}
.qd-empty-state-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--qd-dark);
  margin: 0 0 0.25rem;
}
.qd-empty-state-text {
  color: #8b8b96;
  margin: 0 0 1.25rem;
}

@media (max-width: 560px) {
  .qd-cart-item {
    flex-wrap: wrap;
  }
  .qd-cart-item-img {
    width: 84px;
    height: 84px;
  }
  .qd-cart-item-actions {
    flex: 1 1 100%;
    justify-content: space-between;
    margin-top: 0.65rem;
  }
}

.qd-restaurant-header {
  background-size: cover;
  background-position: center;
  position: relative;
}
.qd-restaurant-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  border-radius: inherit;
}
.qd-restaurant-header > * {
  position: relative;
  z-index: 1;
}

.qd-card {
  border: none;
  border-radius: var(--bs-border-radius-lg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.qd-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.qd-card-img {
  height: 140px;
  background-size: cover;
  background-position: center;
  border-radius: var(--bs-border-radius-lg) var(--bs-border-radius-lg) 0 0;
  position: relative;
}
.qd-status-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}

.qd-product-modal-img {
  height: 180px;
  border-radius: var(--bs-border-radius);
  background-size: cover;
  background-position: center;
}

.qd-dish-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: stretch;
  gap: 0.75rem;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: var(--bs-border-radius-lg);
  padding: 0.65rem;
  height: 100%;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.qd-dish-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.qd-dish-card-unavailable {
  opacity: 0.55;
}
.qd-dish-card-img {
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  align-self: center;
  border-radius: 0.65rem;
  background-color: var(--qd-bg);
  background-size: cover;
  background-position: center;
}
.qd-dish-card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #d9d9e2;
}
.qd-dish-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.15rem 0;
}
.qd-dish-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--qd-dark);
  margin: 0;
}
.qd-dish-card-desc {
  font-size: 0.8rem;
  line-height: 1.35;
  color: #8b8b96;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.qd-dish-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.3rem;
}
.qd-dish-card-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--qd-accent);
  line-height: 1;
}
.qd-dish-card-price small {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.qd-dish-card-add {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--qd-accent);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  padding: 0;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.qd-dish-card-add:hover,
.qd-dish-card-add:focus {
  background-color: var(--qd-accent-dark);
  color: #fff;
  transform: scale(1.06);
}

.qd-footer {
  background-color: #fff;
  border-top: 1px solid #eee;
}

/* Driver web portal (/vozac) - reuses the customer design system's cards, buttons, colors
   and bottom-nav pattern so it feels like part of the same product. */
.qd-driver-body {
  background-color: #f7f7fa;
}
.qd-driver-main {
  padding-bottom: 5.5rem;
  max-width: 560px;
}
.qd-driver-online-bar {
  background-color: #fff;
  border-radius: var(--bs-border-radius-lg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 0.9rem 1.1rem;
}
.qd-offer-card {
  border: 2px solid var(--qd-accent);
}

.qd-promo-banner {
  transition: opacity 0.15s ease;
}
.qd-promo-banner:hover {
  opacity: 0.92;
}
.qd-promo-banner img {
  display: block;
}
