/* ==========================================================================
   HOCHWALD — Components
   ========================================================================== */

/* --------------------------------------------------------------------------
   Icons (SVG injected by helpers.js from data-icon)
   -------------------------------------------------------------------------- */

.icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  line-height: 0;
}

.icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* --------------------------------------------------------------------------
   Circular icon button (menu / back)
   -------------------------------------------------------------------------- */

.icon-circle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) ease;
}

.icon-circle .icon {
  width: 17px;
  height: 17px;
}

.icon-circle:hover {
  box-shadow: var(--shadow-card);
}

.icon-circle:active {
  transform: scale(0.94);
}

/* --------------------------------------------------------------------------
   Language switcher
   -------------------------------------------------------------------------- */

.lang-switch {
  position: relative;
}

.lang-switch__button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 33px;
  padding: 0 11px 0 7px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text);
  transition: box-shadow var(--duration-fast) ease;
}

.lang-switch__button:hover {
  box-shadow: var(--shadow-card);
}

.lang-switch__button .icon--chevron-down {
  width: 11px;
  height: 11px;
  transition: transform var(--duration-base) var(--ease-out);
}

.lang-switch.is-open .icon--chevron-down {
  transform: rotate(180deg);
}

.flag {
  display: inline-block;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  min-width: 150px;
  padding: 6px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-float);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity var(--duration-fast) ease, transform var(--duration-base) var(--ease-out), visibility 0s linear var(--duration-base);
}

.lang-switch.is-open .lang-switch__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.lang-switch__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  text-align: start;
  color: var(--color-text);
}

.lang-switch__option:hover,
.lang-switch__option:focus-visible {
  background: var(--color-cream-deep);
}

.lang-switch__option[aria-checked="true"] {
  font-weight: 700;
  color: var(--color-gold-dark);
}

.lang-switch--on-dark .lang-switch__button {
  height: 28px;
  padding: 0 9px 0 5px;
  font-size: 11px;
}

.lang-switch--on-dark .flag {
  width: 19px;
  height: 19px;
}

/* --------------------------------------------------------------------------
   Side drawer (hamburger)
   -------------------------------------------------------------------------- */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  visibility: hidden;
  transition: visibility 0s linear var(--duration-slow);
}

.drawer.is-open {
  visibility: visible;
  transition-delay: 0s;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 10, 0.4);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity var(--duration-base) ease;
}

.drawer.is-open .drawer__backdrop {
  opacity: 1;
}

.drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-start: 0;
  width: min(84vw, 320px);
  display: flex;
  flex-direction: column;
  padding: 18px 18px calc(22px + var(--safe-bottom));
  background: var(--color-cream-soft);
  box-shadow: var(--shadow-float);
  transform: translateX(-104%);
  transition: transform var(--duration-slow) var(--ease-out);
  overflow-y: auto;
}

html[dir="rtl"] .drawer__panel {
  transform: translateX(104%);
}

.drawer.is-open .drawer__panel {
  transform: none;
}

.drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.drawer__logo {
  width: 120px;
}

.drawer__nav {
  display: grid;
  gap: 4px;
  margin-top: 22px;
}

.drawer__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease;
}

.drawer__link .icon {
  width: 20px;
  height: 20px;
}

.drawer__link:hover {
  background: var(--color-cream-deep);
}

.drawer__link.is-active {
  background: var(--color-gold);
  color: #fff;
}

.drawer__info {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-size: 12.5px;
  color: var(--color-text-muted);
}

.drawer__info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.drawer__info-row .icon {
  width: 16px;
  height: 16px;
  color: var(--color-gold);
  margin-top: 1px;
}

.drawer__socials {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-gold-dark);
  box-shadow: var(--shadow-soft);
  transition: transform var(--duration-fast) var(--ease-out), background-color var(--duration-fast) ease, color var(--duration-fast) ease;
}

.social-link .icon {
  width: 17px;
  height: 17px;
}

.social-link:hover {
  transform: translateY(-2px);
  background: var(--color-gold);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  white-space: nowrap;
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) ease, filter var(--duration-fast) ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn:hover {
  filter: brightness(1.05);
}

.btn--gold {
  color: #fff;
  background: linear-gradient(180deg, #cf9449 0%, #bb7f37 100%);
  box-shadow: var(--shadow-button);
}

.btn--hero {
  height: 30px;
  min-width: 164px;
  padding: 0 16px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.btn--hero .icon {
  width: 12px;
  height: 12px;
}

.btn--mini {
  height: 17px;
  padding: 0 10px;
  gap: 5px;
  font-size: 7.5px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(169, 111, 44, 0.28);
}

.btn--mini .icon {
  width: 8px;
  height: 8px;
}

.btn--block {
  width: 100%;
}

.btn--action {
  height: 31px;
  gap: 12px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 600;
}

.btn--action .icon {
  width: 15px;
  height: 15px;
}

.btn--green {
  color: #fff;
  background: var(--color-green-dark);
  box-shadow: 0 4px 12px rgba(29, 58, 34, 0.28);
}

.btn--large {
  height: 44px;
  padding: 0 24px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Category rail (home) & category tabs (menu)
   -------------------------------------------------------------------------- */

.category-rail-card {
  padding: 9px 4px 7px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}

.category-rail {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 0 4px;
}

.category-rail::-webkit-scrollbar,
.category-tabs::-webkit-scrollbar,
.offer-slider::-webkit-scrollbar {
  display: none;
}

.category-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  min-width: 42px;
  padding: 0 2px 7px;
  scroll-snap-align: start;
  text-align: center;
}

.category-chip__image {
  position: relative;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-cream-deep);
  box-shadow: 0 2px 6px rgba(80, 52, 18, 0.14);
  transition: transform var(--duration-base) var(--ease-spring), box-shadow var(--duration-base) ease;
}

.category-chip__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}

.category-chip__label {
  margin-top: 5px;
  font-size: 7.8px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  transition: color var(--duration-fast) ease;
}

.category-chip:hover .category-chip__image {
  transform: translateY(-2px) scale(1.04);
}

/* Home variant: glowing ring + gold label + underline */
.category-rail .category-chip.is-active .category-chip__image {
  width: 40px;
  height: 40px;
  box-shadow: 0 0 0 3px #f7dfb3, 0 0 0 6px rgba(247, 223, 179, 0.45), 0 4px 10px rgba(169, 111, 44, 0.25);
}

.category-rail .category-chip.is-active .category-chip__label {
  margin-top: 7px;
  font-size: 9px;
  font-weight: 700;
  color: var(--color-gold);
}

.category-rail .category-chip.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 30px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--color-gold);
  transform: translateX(-50%);
}

/* Menu variant */
.category-tabs {
  position: relative;
  display: flex;
  gap: 1px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 9px 7px;
  scroll-behavior: smooth;
}

.category-tabs .category-chip {
  min-width: 37px;
  padding: 4px 2px 6px;
  border-radius: 9px;
  transition: background-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) ease;
}

.category-tabs .category-chip__image {
  width: 36px;
  height: 36px;
}

.category-tabs .category-chip__label {
  margin-top: 5px;
  font-size: 7.5px;
  font-weight: 500;
}

.category-tabs .category-chip.is-active {
  min-width: 45px;
  padding: 5px 5px 8px;
  background: linear-gradient(180deg, #d5974c 0%, #c4853b 100%);
  box-shadow: 0 4px 12px rgba(169, 111, 44, 0.3);
}

.category-tabs .category-chip.is-active .category-chip__image {
  width: 36px;
  height: 36px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.category-tabs .category-chip.is-active .category-chip__label {
  color: #fff;
  font-weight: 500;
}

.category-tabs__indicator {
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--color-gold);
  transition: transform var(--duration-base) var(--ease-out), width var(--duration-base) var(--ease-out);
}

/* --------------------------------------------------------------------------
   Search bar
   -------------------------------------------------------------------------- */

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  height: 31px;
  padding: 0 14px 0 13px;
  gap: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--duration-base) ease;
}

.search-field:focus-within {
  box-shadow: 0 0 0 2px rgba(196, 136, 63, 0.35), var(--shadow-card);
}

.search-field .icon {
  width: 13px;
  height: 13px;
  color: var(--color-text);
}

.search-field__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 10px;
  color: var(--color-text);
}

.search-field__input::placeholder {
  color: #8c8a88;
}

.search-field__clear {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  place-items: center;
  background: var(--color-cream-deep);
  color: var(--color-text-muted);
}

.search-field__clear .icon {
  width: 9px;
  height: 9px;
}

.search-field.has-value .search-field__clear {
  display: grid;
}

/* --------------------------------------------------------------------------
   Home offer slider cards
   -------------------------------------------------------------------------- */

.offer-slider {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 17px 8px;
  scroll-padding-inline: 17px;
}

.offer-card {
  position: relative;
  flex: 0 0 192px;
  height: 127px;
  border-radius: 11px;
  overflow: hidden;
  background: var(--color-card);
  box-shadow: var(--shadow-card);
  scroll-snap-align: start;
  transition: transform var(--duration-base) var(--ease-out);
}

.offer-card:active {
  transform: scale(0.985);
}

.offer-card__media {
  position: relative;
  height: 87px;
  overflow: hidden;
  background: #3a2a1d;
}

.offer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-card__body {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  margin-top: -8px;
  padding: 0 7px 0 12px;
  height: 48px;
  background: linear-gradient(180deg, rgba(255, 253, 250, 0) 0%, var(--color-card) 10px);
}

.offer-card__text {
  min-width: 0;
  padding-bottom: 12px;
}

.offer-card__title {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offer-card__subtitle {
  margin-top: 2px;
  font-size: 7.2px;
  color: var(--color-text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offer-card__subtitle--strong {
  font-size: 8.5px;
  font-weight: 700;
}

.price-pill-red {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  min-width: 55px;
  height: 24px;
  margin-bottom: 8px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #e41e25 0%, #cc1118 100%);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: var(--shadow-red);
}

/* Brush ribbon badge */
.ribbon {
  position: absolute;
  top: 12px;
  inset-inline-start: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px 4px 10px;
  color: #fff;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  transform: rotate(-9deg);
  white-space: nowrap;
}

.ribbon::before {
  content: "";
  position: absolute;
  inset: 0 -3px;
  z-index: -1;
  background: var(--color-red);
  -webkit-mask: var(--mask-brush) center / 100% 100% no-repeat;
  mask: var(--mask-brush) center / 100% 100% no-repeat;
}

.ribbon .icon {
  width: 11px;
  height: 11px;
}

.ribbon--large {
  top: 14px;
  inset-inline-start: 14px;
  padding: 6px 16px 6px 14px;
  gap: 7px;
  font-size: 13px;
  transform: rotate(-5deg);
}

.ribbon--large .icon {
  width: 16px;
  height: 16px;
}

.ribbon--small {
  top: 9px;
  inset-inline-start: 9px;
  padding: 4px 11px 4px 8px;
  gap: 5px;
  font-size: 9.5px;
  transform: rotate(-4deg);
}

.ribbon--small .icon {
  width: 11px;
  height: 11px;
}

/* Slider dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 4px;
}

.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ddd3c4;
  transition: background-color var(--duration-base) ease, transform var(--duration-base) var(--ease-spring);
}

.slider-dot.is-active {
  background: var(--color-gold);
  transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   Popular dish cards (home)
   -------------------------------------------------------------------------- */

.dish-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 0 14px;
}

.dish-card {
  display: flex;
  flex-direction: column;
  border-radius: 11px;
  overflow: hidden;
  background: var(--color-card);
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) ease;
}

.dish-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
}

.dish-card__media {
  height: 62px;
  overflow: hidden;
  background: #3a2a1d;
}

.dish-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.dish-card:hover .dish-card__media img {
  transform: scale(1.05);
}

.dish-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 7px 5px 8px 8px;
}

.dish-card__title {
  font-size: 9.8px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dish-card__description {
  margin-top: 2px;
  font-size: 6.9px;
  color: var(--color-text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dish-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
}

.price-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 20px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  background: var(--color-gold-pale);
  font-size: 8.6px;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.btn-plus {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: linear-gradient(180deg, #cf9449 0%, #bb7f37 100%);
  color: #fff;
  box-shadow: 0 3px 8px rgba(169, 111, 44, 0.3);
  transition: transform var(--duration-fast) var(--ease-spring);
}

.btn-plus .icon {
  width: 10px;
  height: 10px;
}

.btn-plus:hover {
  transform: rotate(90deg) scale(1.06);
}

/* --------------------------------------------------------------------------
   Values strip
   -------------------------------------------------------------------------- */

.values-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 9px 0 10px;
  border-radius: 13px;
  background: rgba(255, 253, 250, 0.9);
  box-shadow: var(--shadow-soft);
}

.values-strip--plain {
  background: transparent;
  box-shadow: none;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 4px;
  text-align: center;
  border-inline-start: 1px solid var(--color-divider);
}

.value-item:first-child {
  border-inline-start: 0;
}

.value-item__icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
}

.value-item__icon .icon {
  width: 100%;
  height: 100%;
}

.value-item__icon--brown {
  color: var(--color-brown-icon);
}

.value-item__icon--gold {
  color: var(--color-gold);
}

.value-item__icon--red {
  color: #c2322b;
}

.value-item__icon--dark {
  color: var(--color-text);
}

.value-item__label {
  font-size: 8.4px;
  line-height: 1.2;
  color: var(--color-text-soft);
  white-space: pre-line;
}

.values-strip--plain .value-item__label {
  font-size: 9px;
}

/* --------------------------------------------------------------------------
   Info cards (home)
   -------------------------------------------------------------------------- */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.info-card {
  display: flex;
  gap: 8px;
  min-height: 62px;
  padding: 10px 6px 8px 9px;
  border-radius: 11px;
  background: var(--color-card);
  box-shadow: var(--shadow-soft);
}

.info-card__icon {
  flex-shrink: 0;
  width: 21px;
  height: 21px;
  color: var(--color-gold);
}

.info-card__icon .icon {
  width: 100%;
  height: 100%;
}

.info-card__title {
  font-size: 8.8px;
  font-weight: 700;
  color: var(--color-text);
}

.info-card__text {
  margin-top: 5px;
  font-size: 7.6px;
  line-height: 1.3;
  color: var(--color-text-soft);
  white-space: pre-line;
}

.info-card__title + .info-card__text--tight {
  margin-top: 4px;
}

.info-card .btn--mini {
  margin-top: 5px;
}

/* --------------------------------------------------------------------------
   Menu sections & rows
   -------------------------------------------------------------------------- */

.menu-section {
  padding: 0 13px 0 15px;
  margin-top: 12px;
  scroll-margin-top: 96px;
}

.menu-section[hidden] {
  display: none;
}

.menu-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.menu-section__title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.menu-section__icon {
  flex-shrink: 0;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  overflow: hidden;
  background: #efe3d1;
}

.menu-section__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}

.menu-section__title {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 23px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #0f0f0f;
  white-space: nowrap;
}

html[dir="rtl"] .menu-section__title {
  font-family: var(--font-arabic);
  font-weight: 800;
  font-size: 22px;
}

.menu-section__note {
  position: relative;
  flex-shrink: 1;
  min-width: 0;
  padding: 5px 12px 5px 14px;
  font-size: 7.6px;
  color: var(--color-text);
  text-align: center;
  z-index: 0;
}

.menu-section__note::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-beige-brush);
  opacity: 0.85;
  -webkit-mask: var(--mask-brush-soft) center / 100% 100% no-repeat;
  mask: var(--mask-brush-soft) center / 100% 100% no-repeat;
}

.menu-list {
  display: grid;
  gap: 5px;
}

.menu-item {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 56px;
  border-radius: 10px;
  background: var(--color-card);
  box-shadow: var(--shadow-soft);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) ease;
}

.menu-item:hover {
  box-shadow: var(--shadow-card);
}

.menu-item__media {
  position: relative;
  flex: 0 0 103px;
  width: 103px;
  min-height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: #3a2a1d;
}

.menu-item__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-item__badge {
  position: absolute;
  top: 2px;
  inset-inline-start: 1px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 14px;
  padding: 0 7px 0 5px;
  border-radius: 8px 8px 8px 2px;
  background: var(--color-red);
  color: #fff;
  font-size: 7.3px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.menu-item__badge .icon {
  width: 8px;
  height: 8px;
}

.menu-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 6px 8px 7px;
}

.menu-item__title-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 2px 7px;
  min-width: 0;
}

.menu-item__number {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 15px;
  padding: 0 3px;
  border-radius: 4px;
  background: #111;
  color: #fff;
  font-family: var(--font-condensed);
  font-size: 9.5px;
  font-weight: 700;
}

.menu-item__name {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 12.6px;
  line-height: 1.1;
  color: #111;
  min-width: 0;
  overflow-wrap: anywhere;
}

html[dir="rtl"] .menu-item__name {
  font-family: var(--font-arabic);
  font-size: 12px;
}

.menu-item__allergens {
  display: inline-block;
  margin-inline-start: 5px;
  font-family: var(--font-body);
  font-weight: 400;
  vertical-align: 1px;
  font-size: 6.6px;
  color: var(--color-text-muted);
  white-space: nowrap;
  margin-inline-start: 1px;
}

.menu-item__diet {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-script);
  font-size: 10px;
  color: var(--color-green-vegan);
  white-space: nowrap;
}

.menu-item__diet .icon {
  width: 10px;
  height: 10px;
}

.menu-item__description {
  margin-top: 3px;
  padding-inline-start: 28px;
  font-size: 8.3px;
  line-height: 1.3;
  color: var(--color-text-soft);
}

.menu-item__prices {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 6px 0 2px;
}

.price-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-col__label {
  position: absolute;
  bottom: calc(100% + 3px);
  font-size: 7px;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.price-tag {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 28px;
  padding: 0 5px;
  border-radius: 6px;
  background: linear-gradient(180deg, #cd934c 0%, #bf8440 100%);
  color: #fff;
  font-family: var(--font-condensed);
  font-size: 10.6px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(169, 111, 44, 0.25);
  white-space: nowrap;
}

.price-tag--single {
  min-width: 55px;
  height: 26px;
  margin-inline-end: 7px;
}

.menu-section__empty {
  padding: 14px;
  border-radius: 10px;
  background: var(--color-surface-glass);
  font-size: 11px;
  color: var(--color-text-muted);
  text-align: center;
}

mark.search-hit {
  background: var(--color-gold-pale);
  color: inherit;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Offer feature card (offers page — large)
   -------------------------------------------------------------------------- */

.offer-feature {
  position: relative;
  height: 162px;
  border-radius: 14px;
  overflow: hidden;
  background: #2a1d14;
  box-shadow: var(--shadow-card);
  color: #fff;
  isolation: isolate;
}

.offer-feature__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s var(--ease-out);
}

.offer-feature:hover .offer-feature__image {
  transform: scale(1.04);
}

.offer-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(20, 14, 10, 0.78) 0%, rgba(20, 14, 10, 0.35) 34%, rgba(20, 14, 10, 0) 58%);
}

.offer-feature__favorite {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  transition: transform var(--duration-fast) var(--ease-spring), color var(--duration-fast) ease;
}

.offer-feature__favorite .icon {
  width: 13px;
  height: 13px;
}

.offer-feature__favorite.is-active {
  color: var(--color-red);
}

.offer-feature__favorite.is-active .icon svg path {
  fill: currentColor;
}

.offer-feature__favorite:active {
  transform: scale(0.88);
}

.offer-feature__content {
  position: absolute;
  inset-inline-start: 13px;
  bottom: 14px;
  inset-inline-end: 130px;
}

.offer-feature__title {
  font-size: 19.5px;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.offer-feature__subtitle {
  margin-top: 3px;
  font-size: 10.8px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.94);
}

.price-brush {
  position: absolute;
  inset-inline-end: 20px;
  bottom: 14px;
  display: inline-grid;
  place-items: center;
  min-width: 102px;
  height: 36px;
  padding: 0 16px;
  color: #1a1208;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 21px;
  transform: rotate(-4deg);
  z-index: 0;
}

.price-brush::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-price-brush);
  -webkit-mask: var(--mask-brush) center / 100% 100% no-repeat;
  mask: var(--mask-brush) center / 100% 100% no-repeat;
}

/* Small variant (grid tiles) */
.offer-feature--tile {
  height: 137px;
  border-radius: 12px;
}

.offer-feature--tile .offer-feature__favorite {
  top: 9px;
  inset-inline-end: 9px;
  width: 20px;
  height: 20px;
}

.offer-feature--tile .offer-feature__favorite .icon {
  width: 10px;
  height: 10px;
}

.offer-feature--tile .offer-feature__content {
  inset-inline-start: 9px;
  inset-inline-end: 8px;
  bottom: 36px;
}

.offer-feature--tile .offer-feature__title {
  font-size: 14px;
}

.offer-feature--tile .offer-feature__subtitle {
  margin-top: 1px;
  font-size: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offer-feature--tile .price-brush {
  inset-inline-end: 10px;
  bottom: 8px;
  min-width: 66px;
  height: 23px;
  padding: 0 10px;
  font-size: 13.5px;
  transform: rotate(-3deg);
}

.offer-feature__dates {
  margin-top: 3px;
  font-size: 9px;
  color: var(--color-gold-pale);
}

/* --------------------------------------------------------------------------
   Contact cards
   -------------------------------------------------------------------------- */

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 50px;
  padding: 5px 14px 5px 12px;
  border-radius: 8px;
  background: var(--color-card);
  box-shadow: var(--shadow-soft);
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) ease;
}

a.contact-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

.contact-card__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: var(--color-icon-bg);
  color: #111;
}

.contact-card__icon .icon {
  width: 16px;
  height: 16px;
}

.contact-card__body {
  flex: 1;
  min-width: 0;
}

.contact-card__title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-text);
}

.contact-card__text {
  margin-top: 1px;
  font-size: 9.6px;
  line-height: 1.28;
  color: #474340;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.contact-card__chevron {
  width: 9px;
  height: 9px;
  color: var(--color-text-soft);
}

.hours-list {
  display: grid;
  gap: 1px;
  margin-top: 2px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9.6px;
  color: #474340;
}

.hours-row.is-today {
  font-weight: 700;
  color: var(--color-text);
}

.hours-row__closed {
  color: var(--color-red-dark);
}

.open-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: 6px;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  font-size: 8px;
  font-weight: 700;
  vertical-align: 1px;
}

.open-status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.open-status--open {
  background: #e3f1dc;
  color: #2d7a2a;
}

.open-status--closed {
  background: #f8e0dd;
  color: var(--color-red-dark);
}

/* --------------------------------------------------------------------------
   Empty state (offers)
   -------------------------------------------------------------------------- */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 34px 22px;
  border-radius: 16px;
  background: rgba(255, 253, 250, 0.9);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.empty-state__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-gold-pale);
  color: var(--color-gold-dark);
}

.empty-state__icon .icon {
  width: 28px;
  height: 28px;
}

.empty-state__title {
  margin-top: 6px;
  font-family: var(--font-script);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-green);
}

html[dir="rtl"] .empty-state__title {
  font-family: var(--font-arabic-script);
  font-weight: 700;
}

.empty-state__text {
  font-size: 13px;
  color: var(--color-text-muted);
}

.empty-state__alt {
  width: 100%;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--color-divider);
  font-size: 12px;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Bottom navigation
   -------------------------------------------------------------------------- */

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding-bottom: var(--safe-bottom);
  border-radius: 26px 26px 0 0;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--shadow-nav);
}

.bottom-nav__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--page-max);
  height: var(--bottom-nav-height);
  margin: 0 auto;
}

.bottom-nav__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding-bottom: 6px;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--duration-base) ease;
}

.bottom-nav__item + .bottom-nav__item::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: var(--color-divider);
}

.bottom-nav__icon {
  width: 21px;
  height: 21px;
  transition: transform var(--duration-base) var(--ease-spring);
}

.bottom-nav__icon .icon {
  width: 100%;
  height: 100%;
}

.bottom-nav__icon .icon--filled {
  display: none;
}

.bottom-nav__item.is-active {
  color: var(--color-gold);
  font-weight: 700;
}

.bottom-nav__item.is-active .bottom-nav__icon {
  transform: translateY(-1px);
}

.bottom-nav__item.is-active .icon--outline {
  display: none;
}

.bottom-nav__item.is-active .icon--filled {
  display: inline-flex;
}

.bottom-nav__item:active .bottom-nav__icon {
  transform: scale(0.88);
}

.bottom-nav__indicator {
  position: absolute;
  bottom: 7px;
  left: 0;
  width: 46px;
  height: 3px;
  border-radius: 3px;
  background: var(--color-gold);
  transition: transform var(--duration-slow) var(--ease-out);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Image fallback (when a real image file has not been uploaded yet)
   -------------------------------------------------------------------------- */

.img-missing {
  opacity: 0 !important;
}

.media-fallback {
  background:
    radial-gradient(80% 80% at 30% 30%, rgba(214, 163, 92, 0.55), rgba(214, 163, 92, 0) 70%),
    linear-gradient(135deg, #5a3b22 0%, #3a2618 100%) !important;
}

.home-hero__media.media-fallback,
.site-footer__landscape.media-fallback {
  background: none !important;
}

.category-chip__image.media-fallback,
.menu-section__icon.media-fallback {
  background: linear-gradient(135deg, #f3dcb3 0%, #e2b877 100%) !important;
}

/* --------------------------------------------------------------------------
   Skeletons
   -------------------------------------------------------------------------- */

.skeleton {
  position: relative;
  overflow: hidden;
  background: #efe5d6;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: shimmer 1.4s infinite;
}

.contact-card__title,
.contact-card__text,
.contact-card__body > span {
  display: block;
}

/* Add-on chips under a category title (e.g. "mit Käse +1,00 €") */
.addon-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: -1px 0 8px;
}

.addon-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding-inline: 3px 3px;
  border: 1px solid #ecdcc4;
  border-radius: var(--radius-pill);
  background: rgba(255, 253, 249, 0.95);
  box-shadow: 0 2px 6px rgba(96, 64, 24, 0.07);
  white-space: nowrap;
}

.addon-chip__icon {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--color-gold-pale);
  color: var(--color-gold-dark);
}

.addon-chip__icon .icon {
  width: 8px;
  height: 8px;
}

.addon-chip__label {
  font-size: 8.8px;
  font-weight: 500;
  color: var(--color-text-soft);
}

.addon-chip__price {
  display: inline-grid;
  place-items: center;
  height: 16px;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #cd934c 0%, #bf8440 100%);
  color: #fff;
  font-family: var(--font-condensed);
  font-size: 9px;
  font-weight: 700;
}

.addon-chip:not(:has(.addon-chip__price)) {
  padding-inline-end: 10px;
}

.menu-section__note {
  max-width: 55%;
  line-height: 1.25;
}

/* Compact list (Soßen & Extras) */
.extras-card {
  display: grid;
  margin: 0;
  padding: 4px 14px;
  border-radius: 12px;
  background: var(--color-card);
  box-shadow: var(--shadow-soft);
}

.extras-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 0;
  border-top: 1px dashed #eadfcd;
}

.extras-row:first-child {
  border-top: 0;
}

.extras-row[hidden] {
  display: none;
}

.extras-row__text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.extras-row__name {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  color: #111;
}

html[dir="rtl"] .extras-row__name {
  font-family: var(--font-arabic);
  font-size: 11.5px;
}

.extras-row__description {
  font-size: 8.3px;
  color: var(--color-text-muted);
}

.extras-row__leader {
  flex: 1;
  min-width: 12px;
  align-self: center;
  margin-top: 4px;
  border-bottom: 1.5px dotted #d9c6a8;
}

.extras-row__prices {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.extras-row__price {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #cd934c 0%, #bf8440 100%);
  color: #fff;
  font-family: var(--font-condensed);
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.extras-row__price--sized {
  padding-inline-start: 4px;
  background: var(--color-gold-pale);
  color: var(--color-text);
}

.extras-row__price--sized small {
  display: inline-grid;
  place-items: center;
  height: 16px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--color-gold-dark);
  font-size: 8px;
  font-weight: 700;
}

.menu-item--no-number .menu-item__description {
  padding-inline-start: 0;
}

.menu-item--labelled {
  margin-top: 9px;
}

.menu-list > .menu-item--labelled:first-child {
  margin-top: 0;
}

/* Allergen legend */
.allergen-legend {
  margin: 18px 15px 8px;
  border-radius: 12px;
  background: #b98a5a;
  color: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.allergen-legend summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  list-style: none;
}

.allergen-legend summary::-webkit-details-marker {
  display: none;
}

.allergen-legend summary .icon {
  width: 12px;
  height: 12px;
  transition: transform var(--duration-base) var(--ease-out);
}

.allergen-legend[open] summary .icon {
  transform: rotate(180deg);
}

.allergen-legend__body {
  padding: 0 14px 13px;
  font-size: 9.5px;
  line-height: 1.5;
  white-space: pre-line;
}

.allergen-legend__note {
  margin-top: 6px;
  font-weight: 700;
}

.price-col__label {
  unicode-bidi: plaintext;
}

.menu-item__name .menu-item__diet {
  display: inline-flex;
  margin-inline-start: 5px;
  vertical-align: -1px;
  font-weight: 400;
}

.menu-item__number {
  margin-top: 1px;
}

/* ==========================================================================
   Sticky category bar v2 — magnifying chips, sliding lens, progress line
   
   ========================================================================== */

.page--menu .menu-categories-bar {
  transition: background-color 400ms ease, box-shadow 400ms ease, border-radius 400ms ease, padding 400ms var(--ease-out);
}

.page--menu .menu-categories-bar.is-stuck {
  padding: 2px 0 6px;
  border-radius: 0 0 22px 22px;
  background: rgba(251, 246, 239, 0.84);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 26px rgba(80, 52, 18, 0.12);
}

.page--menu .category-tabs {
  isolation: isolate;
  padding: 11px 12px 12px;
  gap: 4px;
}

.page--menu .category-tabs .category-chip {
  min-width: 52px;
}

.page--menu .category-tabs .category-chip__image,
.page--menu .category-tabs .category-chip.is-active .category-chip__image {
  width: 48px;
  height: 48px;
}

.page--menu .category-tabs .category-chip__label {
  margin-top: 6px;
  font-size: 9px;
}

/* old square + underline are replaced by the sliding lens */
.page--menu .category-tabs .category-chip.is-active {
  background: none;
  box-shadow: none;
  padding: 4px 3px 6px;
  min-width: 52px;
}

.page--menu .category-tabs__indicator {
  display: none;
}

.page--menu .category-tabs .category-chip {
  opacity: 0.62;
  transition: opacity 350ms ease;
}

.page--menu .category-tabs .category-chip.is-near {
  opacity: 0.85;
}

.page--menu .category-tabs .category-chip.is-active {
  opacity: 1;
}

.page--menu .category-tabs .category-chip__image {
  transition:
    transform 520ms cubic-bezier(0.34, 1.56, 0.64, 1),
    width 400ms var(--ease-out),
    height 400ms var(--ease-out),
    box-shadow 400ms ease;
}

.page--menu .category-tabs .category-chip.is-near .category-chip__image {
  transform: scale(1.08);
}

.page--menu .category-tabs .category-chip.is-active .category-chip__image {
  transform: scale(1.2);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--color-gold), 0 8px 16px rgba(169, 111, 44, 0.35);
}

.page--menu .category-tabs .category-chip__label {
  transition: transform 450ms var(--ease-out), color 300ms ease, font-size 300ms ease;
}

.page--menu .category-tabs .category-chip.is-active .category-chip__label {
  color: var(--color-gold-dark);
  font-weight: 700;
  transform: translateY(5px) scale(1.08);
}

/* compact while scrolling */
.page--menu .menu-categories-bar.is-stuck .category-chip__image,
.page--menu .menu-categories-bar.is-stuck .category-chip.is-active .category-chip__image {
  width: 42px;
  height: 42px;
}

.page--menu .menu-categories-bar.is-stuck .category-chip__label {
  margin-top: 5px;
  font-size: 8.4px;
}

/* sliding lens behind the active chip */
.tabs-lens {
  position: absolute;
  top: 4px;
  bottom: 3px;
  left: 0;
  z-index: -1;
  width: 48px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff6e6 0%, #f5dcb0 100%);
  box-shadow: inset 0 0 0 1px rgba(196, 136, 63, 0.28), 0 6px 14px rgba(169, 111, 44, 0.18);
  transition: transform 560ms var(--ease-out), width 560ms var(--ease-out);
  pointer-events: none;
}

/* reading progress of the current section */
.tabs-progress {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 1px;
  height: 2.5px;
  border-radius: 3px;
  background: rgba(196, 136, 63, 0.16);
  overflow: hidden;
  opacity: 0;
  transition: opacity 300ms ease;
}

.menu-categories-bar.is-stuck .tabs-progress {
  opacity: 1;
}

.tabs-progress__fill {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d9a25b, var(--color-gold-dark));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 120ms linear;
}

html[dir="rtl"] .tabs-progress__fill {
  transform-origin: right center;
}

/* section title pops when it becomes current */
@keyframes section-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.07); }
  100% { transform: scale(1); }
}

.page--menu .menu-section.is-current .menu-section__icon {
  animation: section-pop 600ms var(--ease-out);
}

.page--menu .menu-section__title {
  transform-origin: left center;
  transition: color 300ms ease;
}

html[dir="rtl"] .page--menu .menu-section__title {
  transform-origin: right center;
}

.page--menu .menu-section.is-current .menu-section__title {
  animation: section-pop 600ms var(--ease-out);
}



/* --------------------------------------------------------------------------
   Push notifications — prompt sheet, offers card, toast
   -------------------------------------------------------------------------- */

.push-sheet {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 10px);
  z-index: 110;
  max-width: 420px;
  margin: 0 auto;
  padding: 16px 16px 14px;
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(60, 38, 12, 0.28), 0 0 0 1px rgba(196, 136, 63, 0.18);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 320ms ease, transform 480ms var(--ease-spring);
}

.push-sheet.is-open {
  opacity: 1;
  transform: none;
}

.push-sheet__close {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--color-text-muted);
}

.push-sheet__close .icon {
  width: 12px;
  height: 12px;
}

.push-sheet__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline-end: 28px;
}

.push-sheet__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(180deg, #d5974c 0%, #bb7f37 100%);
  color: #fff;
  box-shadow: var(--shadow-button);
  animation: bell-swing 1.6s var(--ease-out) 500ms 2;
  transform-origin: 50% 20%;
}

.push-sheet__icon .icon {
  width: 21px;
  height: 21px;
}

@keyframes bell-swing {
  0%, 100% { transform: rotate(0); }
  15% { transform: rotate(14deg); }
  30% { transform: rotate(-12deg); }
  45% { transform: rotate(8deg); }
  60% { transform: rotate(-5deg); }
  75% { transform: rotate(2deg); }
}

.push-sheet__title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.push-sheet__text {
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.push-sheet__steps {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.push-sheet__steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
}

.push-sheet__steps .icon {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 8px;
  background: var(--color-gold-pale);
  color: var(--color-gold-dark);
}

.push-sheet__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
}

.push-sheet__later {
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.push-sheet__primary {
  height: 38px;
  padding: 0 18px;
  font-size: 12.5px;
}

.push-sheet__primary .icon {
  width: 15px;
  height: 15px;
}

.offers-push {
  margin: 12px 12px 0;
}

.push-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 14px;
  background: var(--color-card);
  box-shadow: var(--shadow-soft);
  border: 1px solid #efe3cf;
  transition: background-color 300ms ease, border-color 300ms ease;
}

.push-card.is-enabled {
  background: #f2f7ec;
  border-color: #d5e6c8;
}

.push-card__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--color-gold-pale);
  color: var(--color-gold-dark);
}

.push-card.is-enabled .push-card__icon {
  background: #d9ebcc;
  color: #2d7a2a;
}

.push-card__icon .icon {
  width: 18px;
  height: 18px;
}

.push-card__text {
  display: grid;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.push-card__text strong {
  font-size: 12px;
}

.push-card__text span {
  font-size: 10px;
  line-height: 1.3;
  color: var(--color-text-muted);
}

.push-card__button {
  flex-shrink: 0;
  height: 30px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #cf9449 0%, #bb7f37 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: var(--shadow-button);
}

.push-card__button.is-on {
  background: #fff;
  color: var(--color-text-muted);
  box-shadow: inset 0 0 0 1px #d8cbb6;
}

.push-card__button:disabled {
  opacity: 0.5;
}

.site-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 14px);
  z-index: 130;
  max-width: calc(100% - 28px);
  padding: 11px 16px;
  border-radius: 14px;
  background: #1f2a1a;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow-float);
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: opacity 260ms ease, transform 360ms var(--ease-out);
  pointer-events: none;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-toast--success {
  background: #2d6a2a;
}

.site-toast--error {
  background: var(--color-red-dark);
}

/* price tags carry dir="ltr" (for "9,90 €"), so their position must be flipped explicitly in Arabic */
html[dir="rtl"] .price-brush {
  right: auto;
  left: 20px;
}

html[dir="rtl"] .offer-feature--tile .price-brush {
  left: 10px;
}

/* --------------------------------------------------------------------------
   Local info block (home)
   -------------------------------------------------------------------------- */

.home-local {
  margin: 14px 14px 0;
  padding: 14px 15px 13px;
  border-radius: 13px;
  background: rgba(255, 253, 250, 0.9);
  box-shadow: var(--shadow-soft);
}

.home-local__title {
  font-family: var(--font-condensed);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
}

html[dir="rtl"] .home-local__title {
  font-family: var(--font-arabic);
  font-weight: 800;
}

.home-local__text,
.home-local__area {
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--color-text-soft);
}

.home-local__area strong {
  color: var(--color-gold-dark);
}

.home-local__alt {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px dashed var(--color-divider);
  font-size: 10px;
  font-weight: 600;
  color: var(--color-green);
}
