.modern-promotions-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1210;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
  background: rgba(19, 12, 10, 0.55);
  touch-action: none;
  animation: modern-promotions-fade 0.18s ease;
}
.modern-promotions-backdrop[hidden] { display: none; }
.modern-promotions-modal {
  display: flex;
  flex-direction: column;
  width: min(100%, 680px);
  max-height: 90dvh;
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--surface, #fff);
  color: var(--ink, #231815);
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.24);
  outline: 0;
  overscroll-behavior: contain;
  touch-action: auto;
}
.modern-promotions-modal-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line, #e9ddda);
}
.modern-promotions-modal-title { display: grid; gap: 2px; }
.modern-promotions-modal-title h2 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.modern-promotions-modal-title span { color: var(--ink-soft, #746763); font-size: .76rem; }
.modern-promotions-modal-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line, #e9ddda);
  border-radius: 50%;
  background: var(--surface-2, #f6eeeb);
  color: inherit;
  cursor: pointer;
}
.modern-promotions-modal-close svg,
.modern-promotions-empty-icon svg,
.modern-promotions-card-media > span svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.modern-promotions-modal-body {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 14px 18px 24px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.modern-promotions-list { display: grid; gap: 12px; }
.modern-promotions-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 13px;
  padding: 10px;
  border: 1px solid var(--line, #e9ddda);
  border-radius: 14px;
  background: var(--surface, #fff);
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.modern-promotions-card:hover { transform: translateY(-1px); border-color: var(--accent, #c9482f); box-shadow: 0 8px 20px rgba(37, 18, 13, .08); }
.modern-promotions-card:focus-visible,
.modern-promotions-modal-close:focus-visible,
.modern-promotions-empty button:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent, #c9482f) 45%, transparent); outline-offset: 2px; }
.modern-promotions-card-media { display: grid; place-items: center; width: 92px; height: 92px; overflow: hidden; border-radius: 10px; background: var(--surface-2, #f6eeeb); color: var(--ink-soft, #746763); }
.modern-promotions-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.modern-promotions-card-content { display: grid; align-content: center; gap: 4px; min-width: 0; }
.modern-promotions-card-content > strong { font-size: .98rem; line-height: 1.25; }
.modern-promotions-card-content p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--ink-soft, #746763); font-size: .79rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.modern-promotions-card-price { display: flex; align-items: baseline; gap: 5px; margin-top: 4px; color: var(--accent, #c9482f); }
.modern-promotions-card-price small { color: var(--ink-soft, #746763); font-size: .72rem; }
.modern-promotions-card-price b { font-size: .95rem; }
.modern-promotions-empty { display: grid; justify-items: center; gap: 10px; max-width: 290px; margin: 42px auto; text-align: center; }
.modern-promotions-empty-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--surface-2, #f6eeeb); color: var(--accent, #c9482f); }
.modern-promotions-empty-icon svg { width: 31px; height: 31px; }
.modern-promotions-empty > span:not(.modern-promotions-empty-icon) { color: var(--ink-soft, #746763); font-size: .88rem; line-height: 1.45; }
.modern-promotions-empty button { margin-top: 6px; padding: 10px 16px; border: 0; border-radius: 10px; background: var(--accent, #c9482f); color: #fff; font: inherit; font-weight: 750; cursor: pointer; }
html[data-theme="dark"] .modern-promotions-modal { background: var(--surface, #241a18); }
html[data-theme="dark"] .modern-promotions-card { background: var(--surface, #241a18); }
@keyframes modern-promotions-fade { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 768px) {
  .modern-promotions-backdrop { padding: 24px; }
  .modern-promotions-modal { width: min(92vw, 620px); max-height: 88dvh; }
  .modern-promotions-modal-body { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 767.98px) {
  .modern-promotions-modal { width: 100%; max-height: 90dvh; }
  .modern-promotions-modal-header { padding: 13px 16px; }
  .modern-promotions-modal-body { padding: 12px 16px max(20px, env(safe-area-inset-bottom)); }
  .modern-promotions-card { grid-template-columns: 76px minmax(0, 1fr); }
  .modern-promotions-card-media { width: 76px; height: 76px; }
}
@media (prefers-reduced-motion: reduce) { .modern-promotions-backdrop, .modern-promotions-card { animation: none; transition: none; } }
