/* DamaskQR Luxe Mobile v1: orderseazen-inspired polish, mobile-first, low-JS */

:root {
  --dmq-luxe-bg: #f8f4ea;
  --dmq-luxe-ink: #1f2430;
  --dmq-luxe-muted: #6a717f;
  --dmq-luxe-card: #ffffff;
  --dmq-luxe-radius: 16px;
}

body {
  background: radial-gradient(circle at 15% 0%, rgba(177, 138, 74, 0.14), transparent 38%),
              radial-gradient(circle at 85% 20%, rgba(15, 92, 90, 0.14), transparent 35%),
              var(--dmq-luxe-bg);
  color: var(--dmq-luxe-ink);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

.separator.separator-bottom.separator-skew {
  display: none !important;
}

.section-profile-cover {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.section-profile-cover .bg-image {
  width: 100%;
  height: clamp(240px, 38vw, 440px);
  object-fit: cover;
}

.section-profile-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 20, 28, 0.05), rgba(16, 20, 28, 0.55));
}

.title h1.display-3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: 0.01em;
}

.title .display-4,
.title p {
  color: rgba(255, 255, 255, 0.92) !important;
}

#restaurant-content .container-restorant {
  padding-top: 14px;
  padding-bottom: 26px;
}

#restaurant-content .row {
  margin-left: -8px;
  margin-right: -8px;
}

#restaurant-content .row > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

.tabbable .nav.nav-pills {
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  padding: 8px;
  border-radius: calc(var(--dmq-luxe-radius) + 4px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
}

.tabbable .nav.nav-pills::-webkit-scrollbar {
  display: none;
}

.tabbable .nav-item {
  float: none;
  display: inline-flex;
}

.strip {
  border-radius: var(--dmq-luxe-radius);
  border: 1px solid rgba(23, 33, 50, 0.08);
  background: var(--dmq-luxe-card);
  box-shadow: 0 10px 24px rgba(24, 30, 44, 0.08);
  height: 100%;
}

.strip figure {
  margin: -2px -2px 12px;
  border-radius: calc(var(--dmq-luxe-radius) - 2px);
  overflow: hidden;
  background: #eceff4;
}

.strip figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.res_title,
.res_title a {
  color: var(--dmq-luxe-ink) !important;
  font-size: 1rem;
  line-height: 1.35;
}

.res_description {
  color: var(--dmq-luxe-muted);
  min-height: 2.7em;
  margin-top: 6px;
}

.res_mimimum {
  font-weight: 700;
  color: var(--dmq-color-primary);
}

.callOutShoppingButtonBottom {
  width: 58px;
  height: 58px;
  right: 16px;
  bottom: 16px;
}

.callOutShoppingButtonBottom i {
  font-size: 1.1rem;
}

.navbar .btn.btn-cart,
.navbar .btn.btn-neutral {
  border-radius: 12px;
  font-weight: 600;
}

.dmq-public-menu .callOutShoppingButtonBottom {
  width: 64px;
  height: 64px;
  right: 18px;
  bottom: 18px;
}

.dmq-public-menu .callOutShoppingButtonBottom i {
  font-size: 1.2rem;
}

.navbar .navbar-collapse {
  max-width: 100%;
}

/* Landing polish */
.section-header,
.hero-section,
section.section-lg {
  position: relative;
}

.hero-section .bg-primary,
.bg-primary,
.bg-gradient-primary {
  background-image: linear-gradient(130deg, #0d4f56 0%, #1f7a73 44%, #b18a4a 100%) !important;
}

.card,
.section .card {
  border-radius: var(--dmq-luxe-radius);
}

.form-control,
.custom-select,
.select2-container .select2-selection--single {
  border-radius: 12px;
}

@media (max-width: 991px) {
  #navbar-main {
    padding-left: 0;
    padding-right: 0;
  }

  #navbar-main .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }

  #navbar_global.collapse.show {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(20, 26, 38, 0.12);
    margin-top: 10px;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px;
  }

  #navbar_global .navbar-nav {
    width: 100%;
  }

  #navbar_global .nav-item,
  #navbar_global .mobile-menu {
    width: 100%;
  }

  #navbar_global .btn,
  #navbar_global .nav-link {
    width: 100%;
    justify-content: flex-start;
    white-space: normal;
  }

  #navbar_global .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
  }

  .section-profile-cover {
    min-height: auto;
  }

  .section-profile-cover .bg-image {
    height: 220px;
  }

  .title h1.display-3 {
    margin-top: 8px;
  }

  .dmq-menu-category-nav.sticky {
    top: 72px !important;
  }

  .dmq-menu-search-shell {
    padding-top: 0.75rem;
  }

  .dmq-menu-search-panel,
  .dmq-menu-empty-state,
  .dmq-menu-impressum {
    padding: 1rem;
    border-radius: 1.2rem;
  }

  .dmq-menu-hero__actions .btn,
  .dmq-menu-hero__actions .dmq-menu-action {
    width: 100%;
    flex: 1 1 100%;
  }

  .dmq-menu-chip {
    width: 100%;
    justify-content: flex-start;
  }

  .dmq-menu-card__title {
    font-size: 1rem;
  }

  #restaurant-content .container-restorant h1 {
    font-size: 1.35rem;
  }

  .strip {
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(24, 30, 44, 0.08);
  }

  .strip figure {
    margin-bottom: 10px;
  }

  .mobile-menu .dropdown-menu,
  .navbar .dropdown-menu {
    max-width: calc(100vw - 24px);
  }
}

[dir="rtl"] .tabbable .nav.nav-pills {
  direction: rtl;
}

[dir="rtl"] .res_description,
[dir="rtl"] .res_title {
  text-align: right;
}
