:root {
  --accent: #f4c542;
  --bg: #080808;
  --panel: #121212;
  --panel-soft: #1a1a1a;
  --text: #fff8e8;
  --muted: rgba(255, 248, 232, 0.68);
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.44);
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
}

html.is-assisted-scroll {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: var(--header-h);
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 138, 31, 0.24);
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.94), rgba(8, 8, 8, 0.84)),
    radial-gradient(circle at 70% 0%, rgba(255, 111, 0, 0.18), transparent 40%);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand span {
  max-width: 116px;
  overflow: hidden;
  color: var(--accent);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-nav {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  justify-content: end;
  gap: clamp(7px, 1.8vw, 16px);
  overflow-x: auto;
  padding: 7px 4px;
  scrollbar-width: none;
}

.quick-nav::-webkit-scrollbar {
  display: none;
}

.quick-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  place-items: center;
  min-width: max-content;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(255, 248, 232, 0.72);
  font-size: clamp(0.78rem, 2.8vw, 0.92rem);
  font-weight: 850;
  letter-spacing: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.78);
  transition: color 180ms ease, transform 180ms ease;
}

.quick-nav a:hover,
.quick-nav a:focus-visible {
  color: var(--accent);
  transform: translateY(-1px);
}

.quick-nav span {
  display: inline-grid;
  place-items: center;
  width: auto;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(244, 197, 66, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 248, 232, 0.82);
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  filter: none;
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  background: #050505;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.74)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.36), transparent 66%);
}

.hero-overlay {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: max(22px, env(safe-area-inset-bottom));
  display: grid;
  justify-items: center;
  gap: 13px;
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.hero-logo {
  width: clamp(112px, 30vw, 142px);
  height: clamp(112px, 30vw, 142px);
  object-fit: contain;
  filter:
    drop-shadow(0 0 22px rgba(0, 0, 0, 0.72))
    drop-shadow(0 0 14px rgba(244, 197, 66, 0.18));
}

.status-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  margin: 0;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.58);
  color: rgba(255, 248, 232, 0.86);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow:
    0 0 22px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.status-pill[data-state="open"] {
  border-color: rgba(68, 214, 126, 0.42);
  color: #70e39b;
}

.status-pill[data-state="opening"] {
  border-color: rgba(255, 176, 56, 0.46);
  color: #ffb64b;
}

.status-pill[data-state="closed"] {
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 248, 232, 0.68);
}

.hours-card {
  display: grid;
  gap: 2px;
  min-width: 146px;
  padding: 9px 13px;
  border: 1px solid rgba(244, 197, 66, 0.26);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.58);
  color: rgba(255, 248, 232, 0.82);
  font-size: 0.78rem;
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.hours-card strong {
  color: var(--accent);
  font-size: 1rem;
  line-height: 1.1;
}

.hero-status-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}

.street-countdown {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: min(100%, 430px);
  transform: rotate(-2deg);
  color: #fff8e8;
  font-family: "Comic Sans MS", "Marker Felt", "Bradley Hand", cursive;
  font-size: clamp(1rem, 4.5vw, 1.55rem);
  font-weight: 900;
  line-height: 1;
  text-shadow:
    2px 2px 0 #080808,
    -1px 1px 0 #080808,
    0 0 18px rgba(244, 197, 66, 0.42);
}

.street-arrow {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  color: #ff3131;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(2.6rem, 8vw, 4.8rem);
  line-height: 0.72;
  text-shadow:
    3px 3px 0 #080808,
    -2px -1px 0 var(--accent),
    0 0 22px rgba(255, 49, 49, 0.34);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(2.9rem, 16vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.72);
}

.hero-overlay > p:not(.status-pill) {
  max-width: 25rem;
  color: rgba(255, 248, 232, 0.88);
  font-size: 1.04rem;
  font-weight: 750;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.68);
}

.hero-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  width: min(100%, 360px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(244, 197, 66, 0.3);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: rgba(244, 197, 66, 0.72);
  transform: translateY(-1px);
}

.section-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: auto;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(244, 197, 66, 0.34);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent);
  font-size: clamp(0.82rem, 2.2vw, 1rem);
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: none;
}

.button.primary {
  border-color: rgba(244, 197, 66, 0.58);
  background: rgba(244, 197, 66, 0.16);
  color: var(--accent);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.035);
}

.hero-cta {
  position: relative;
  isolation: isolate;
  min-height: 50px;
  width: 100%;
  gap: 9px;
  padding: 12px 16px;
  border-radius: 8px;
  overflow: hidden;
  color: #fff8e8;
  font-size: 0.96rem;
  font-weight: 950;
  text-shadow: none;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.055);
}

.hero-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.16) 42%, transparent 72%);
  opacity: 0;
  transform: translateX(-40%);
  transition: opacity 180ms ease, transform 360ms ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.42),
    0 0 22px rgba(244, 197, 66, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.hero-cta:hover::after,
.hero-cta:focus-visible::after {
  opacity: 1;
  transform: translateX(42%);
}

.hero-cta.primary {
  border-color: rgba(244, 197, 66, 0.72);
  background:
    linear-gradient(145deg, rgba(244, 197, 66, 0.34), rgba(143, 93, 10, 0.38)),
    rgba(10, 10, 10, 0.7);
  color: #fff7d7;
}

.hero-cta.ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(6, 6, 6, 0.7);
}

.hero-cta-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 1rem;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(244, 197, 66, 0.24));
}

.product-section,
.practical-section,
.admin-section {
  position: relative;
  overflow: hidden;
  padding: 26px 14px;
}

.product-section::before,
.practical-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

[data-category-section="snack"] {
  background:
    linear-gradient(180deg, rgba(255, 206, 85, 0.08), transparent 54%),
    radial-gradient(circle at 12% 12%, rgba(244, 197, 66, 0.12), transparent 32%);
}

[data-category-section="coin-chaud"] {
  background:
    linear-gradient(180deg, rgba(255, 92, 28, 0.1), transparent 56%),
    radial-gradient(circle at 78% 10%, rgba(255, 111, 0, 0.16), transparent 34%);
}

[data-category-section="softs"] {
  background:
    linear-gradient(180deg, rgba(58, 143, 255, 0.1), transparent 55%),
    radial-gradient(circle at 14% 18%, rgba(70, 190, 255, 0.12), transparent 32%);
}

[data-category-section="alcools"] {
  background:
    linear-gradient(180deg, rgba(244, 197, 66, 0.09), rgba(120, 20, 20, 0.08) 48%, transparent),
    radial-gradient(circle at 84% 12%, rgba(180, 42, 30, 0.12), transparent 34%);
}

.practical-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 62%),
    radial-gradient(circle at 50% 0%, rgba(244, 197, 66, 0.1), transparent 38%);
}

.hot-section {
  border-top: 1px solid rgba(255, 111, 0, 0.14);
  border-bottom: 1px solid rgba(255, 111, 0, 0.1);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.section-title h2,
.admin-section summary,
.stand-manager-head strong {
  display: inline-flex;
  align-items: center;
}

h2 {
  font-size: clamp(1.38rem, 6.3vw, 2.62rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.photo-carousel {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}

.carousel-stage {
  position: relative;
  width: 100%;
  height: auto;
  max-height: 70svh;
  min-height: 0;
  max-width: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
  perspective: 800px;
}

.photo-carousel.is-landscape .carousel-stage {
  width: min(100%, calc(70svh * 1.777));
  aspect-ratio: 16 / 9;
  margin-inline: auto;
}

.photo-carousel.is-portrait .carousel-stage {
  width: min(100%, calc(70svh * 0.75), 520px);
  aspect-ratio: 3 / 4;
  margin-inline: auto;
}

.carousel-card {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0.34;
  transform: translateX(calc(var(--offset) * 58%)) rotateY(calc(var(--offset) * -16deg)) scale(0.82);
  transition: transform 260ms ease, opacity 260ms ease;
}

.carousel-card.is-active {
  z-index: 2;
  opacity: 1;
  transform: translateX(0) rotateY(0) scale(1);
}

.carousel-card img {
  height: 100%;
  object-fit: contain;
  background: #050505;
  cursor: zoom-in;
}

.carousel-card.is-landscape img {
  aspect-ratio: 16 / 9;
}

.carousel-card.is-portrait img {
  aspect-ratio: 3 / 4;
}

.carousel-arrow {
  position: absolute;
  z-index: 5;
  top: calc(50% - 22px);
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(244, 197, 66, 0.12), rgba(0, 0, 0, 0.56)),
    rgba(8, 8, 8, 0.62);
  color: var(--accent);
  font-size: 1.75rem;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.carousel-arrow.prev {
  left: 14px;
}

.carousel-arrow.next {
  right: 14px;
}

.carousel-open {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 34px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(244, 197, 66, 0.36);
  border-radius: 6px;
  background: rgba(8, 8, 8, 0.66);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  cursor: pointer;
  transform: translateX(-50%);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.carousel-open svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-status {
  position: absolute;
  z-index: 4;
  right: 14px;
  bottom: 42px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.68);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 12px 0 2px;
}

.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.28);
}

.carousel-dots button.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--accent);
}

.main-card {
  overflow: hidden;
  border: 1px solid rgba(244, 197, 66, 0.2);
  border-radius: 26px;
  background:
    radial-gradient(circle at 10% 0%, rgba(244, 197, 66, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow: var(--shadow);
}

.practical-card {
  display: grid;
  gap: 16px;
  padding: clamp(16px, 4vw, 28px);
}

.practical-layout {
  display: grid;
  gap: 16px;
}

.info-grid {
  display: grid;
  gap: 10px;
}

.info-grid article,
.admin-section details {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
    rgba(0, 0, 0, 0.18);
}

.info-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.info-grid strong {
  font-size: 1rem;
  line-height: 1.32;
}

.service-list {
  display: grid;
  gap: 7px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.32;
}

.service-list li {
  position: relative;
  padding-left: 15px;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.practical-card iframe {
  width: 100%;
  height: clamp(300px, 48vw, 430px);
  border: 1px solid rgba(244, 197, 66, 0.16);
  border-radius: 20px;
  background: var(--panel);
  filter: invert(0.9) hue-rotate(180deg) saturate(0.72) brightness(0.72) contrast(1.12);
}

.site-footer .admin-section {
  padding: 0;
}

.admin-section summary {
  color: var(--accent);
  font-weight: 950;
  cursor: pointer;
  list-style: none;
}

.admin-section summary::-webkit-details-marker {
  display: none;
}

.admin-login,
.admin-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.admin-login .button,
.admin-form .button {
  justify-self: start;
}

.admin-login[hidden],
.admin-form[hidden] {
  display: none;
}

.admin-login {
  padding: 14px;
  border: 1px solid rgba(255, 111, 0, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 111, 0, 0.16), transparent 42%),
    rgba(255, 255, 255, 0.035);
}

.admin-login label,
.admin-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.admin-login input,
.admin-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  background: #0b0b0b;
  color: var(--text);
}

.admin-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  background: #0b0b0b;
  color: var(--text);
}

.admin-form small {
  color: rgba(255, 255, 255, 0.58);
}

.stand-photo-manager {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 138, 31, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.stand-manager-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 950;
}

.stand-manager-head span {
  color: var(--accent);
}

.stand-photo-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 132px;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.stand-photo-item {
  display: grid;
  gap: 7px;
  margin: 0;
}

.stand-photo-item img {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  object-fit: cover;
}

.stand-photo-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.stand-photo-actions button {
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 248, 232, 0.82);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0;
  cursor: pointer;
}

.stand-photo-actions button:not(:disabled):hover {
  border-color: rgba(244, 197, 66, 0.5);
  color: var(--accent);
}

.stand-photo-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.34;
}

.admin-message {
  min-height: 1.2em;
  color: #ff8a1f;
  font-size: 0.86rem;
  font-weight: 850;
}

.future-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer {
  display: grid;
  gap: 20px;
  padding: 28px 14px 36px;
  border-top: 1px solid var(--line);
  background: #050505;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 950;
  text-transform: uppercase;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.site-footer nav,
.legal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 0.84rem;
  font-weight: 800;
}

.legal-buttons button {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 138, 31, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 248, 232, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0;
  cursor: pointer;
}

.legal-buttons button:hover {
  border-color: rgba(255, 138, 31, 0.5);
  color: #fff8e8;
}

.lazyapp-signature {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(255, 111, 0, 0.24);
  border-radius: 20px;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 130, 0, 0.24), transparent 30%),
    linear-gradient(135deg, rgba(255, 111, 0, 0.11), rgba(255, 255, 255, 0.045) 48%, rgba(120, 120, 110, 0.1)),
    #101010;
  box-shadow:
    0 0 24px rgba(255, 111, 0, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.lazyapp-signature::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 160px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: rotate(-7deg);
}

.lazyapp-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 5px;
  border: 1px solid rgba(255, 111, 0, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at center, rgba(255, 132, 0, 0.16), rgba(255, 255, 255, 0.055) 54%, rgba(0, 0, 0, 0.14));
}

.lazyapp-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lazyapp-signature p {
  position: relative;
  z-index: 1;
  color: var(--muted);
}

.lazyapp-signature a:not(.button) {
  color: #ff8a1f;
  font-weight: 950;
}

.lazyapp-signature .button {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  width: fit-content;
  border-color: rgba(255, 111, 0, 0.4);
  background: linear-gradient(135deg, #ff6a00, #ffb000);
  box-shadow: 0 12px 32px rgba(255, 111, 0, 0.25);
}

.modal-open {
  overflow: hidden;
}

.legal-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(16px);
}

.legal-modal[hidden] {
  display: none;
}

.image-modal {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 5svh 5vw;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(18px);
}

.image-modal[hidden] {
  display: none;
}

.image-modal-panel {
  position: relative;
  display: grid;
  place-items: center;
  width: 90vw;
  height: 90svh;
  overflow: hidden;
  border-radius: 22px;
}

.image-modal-panel img {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(244, 197, 66, 0.22);
  border-radius: 22px;
  object-fit: contain;
  background: #050505;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.72);
  transition: transform 260ms ease, object-position 260ms ease;
}

.image-modal-close {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: auto;
  min-width: 84px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.78);
  color: #fff8e8;
  font-size: 0.9rem;
  font-weight: 950;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.image-modal-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: none;
  place-items: center;
  width: 56px;
  height: 50px;
  border: 1px solid rgba(244, 197, 66, 0.42);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(244, 197, 66, 0.14), rgba(0, 0, 0, 0.58)),
    rgba(8, 8, 8, 0.64);
  color: var(--accent);
  font-size: 1.85rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}

.image-modal-prev {
  left: 14px;
}

.image-modal-next {
  right: 14px;
}

.image-modal-status,
.image-modal-hint,
.image-modal-region {
  position: absolute;
  z-index: 2;
  left: 14px;
  margin: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.72);
  color: rgba(255, 248, 232, 0.88);
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.image-modal-region {
  left: 50%;
  bottom: 14px;
  min-width: 76px;
  border: 1px solid rgba(244, 197, 66, 0.42);
  color: var(--accent);
  cursor: pointer;
  transform: translateX(-50%);
}

.image-modal-region[hidden] {
  display: none;
}

.image-modal-status {
  top: 14px;
}

.image-modal-hint {
  bottom: 14px;
}

.image-modal[data-orientation="portrait"] .image-modal-hint {
  bottom: 62px;
}

.image-modal[data-orientation="portrait"] .image-modal-panel img {
  width: auto;
  max-width: 90vw;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transform: scale(1.24);
}

.image-modal[data-orientation="portrait"][data-region="top"] .image-modal-panel img {
  object-position: center top;
  transform-origin: center top;
}

.image-modal[data-orientation="portrait"][data-region="bottom"] .image-modal-panel img {
  object-position: center bottom;
  transform-origin: center bottom;
}

.image-modal[data-orientation="landscape"] .image-modal-panel img {
  height: auto;
  max-height: 90svh;
  aspect-ratio: 16 / 9;
}

.legal-modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(82vh, 760px);
  overflow: auto;
  padding: clamp(22px, 5vw, 42px);
  border: 1px solid rgba(255, 138, 31, 0.28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 111, 0, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(22, 22, 22, 0.98), rgba(8, 8, 8, 0.98));
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.65);
}

.legal-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: auto;
  min-width: 48px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(244, 197, 66, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.05);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 1000;
  letter-spacing: 0;
  cursor: pointer;
}

.legal-modal-kicker {
  margin-bottom: 8px;
  color: #ff8a1f;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.legal-modal h2 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(2rem, 7vw, 4rem);
}

.legal-modal-content {
  display: grid;
  gap: 14px;
  color: rgba(255, 248, 232, 0.76);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.65;
}

.legal-modal-content h3 {
  margin: 8px 0 0;
  color: #fff8e8;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
}

.legal-modal-content ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
}

.legal-date {
  color: #ffb000;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 850;
}

.legal-modal-bottom-close {
  margin-top: 22px;
}

@media (max-width: 759px) {
  html {
    scroll-snap-type: y proximity;
    scroll-padding-top: calc(var(--header-h) + 10px);
  }

  .hero,
  main > section,
  .site-footer {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    scroll-margin-top: calc(var(--header-h) + 10px);
  }

  .photo-carousel,
  .image-modal,
  .legal-modal {
    scroll-snap-align: none;
  }
}

@media (min-width: 760px) {
  :root {
    --header-h: 76px;
  }

  .app-header {
    padding: 10px 28px;
  }

  .brand span {
    max-width: none;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .quick-nav a {
    grid-auto-flow: column;
    min-width: auto;
    padding: 9px 0;
  }

  .hero-overlay {
    left: 48px;
    right: auto;
    bottom: 52px;
    justify-items: start;
    margin-inline: 0;
    text-align: left;
  }

  .hero-photo {
    object-position: center;
  }

  .hero-status-row {
    justify-content: flex-start;
  }

  .hero-actions {
    width: auto;
    grid-template-columns: repeat(2, minmax(154px, auto));
    justify-content: start;
  }

  .hero-cta {
    min-width: 154px;
  }

  .product-section,
  .practical-section,
  .admin-section,
  .site-footer {
    padding-left: clamp(28px, 6vw, 92px);
    padding-right: clamp(28px, 6vw, 92px);
  }

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

  .practical-layout {
    grid-template-columns: minmax(260px, 0.68fr) minmax(360px, 1fr);
    align-items: stretch;
  }

  .practical-layout .info-grid {
    grid-template-columns: 1fr;
  }

  .carousel-arrow {
    display: grid;
  }

  .image-modal-arrow {
    display: grid;
  }

  .image-modal-hint {
    display: none;
  }

  .admin-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-actions,
  .stand-photo-manager,
  .future-note {
    grid-column: 1 / -1;
  }

  .lazyapp-signature {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .lazyapp-signature .button {
    grid-column: auto;
  }
}
