:root {
  --bg-top: #041728;
  --bg-mid: #0b335c;
  --bg-bottom: #1172b8;
  --surface: rgba(255, 255, 255, .10);
  --surface-strong: rgba(255, 255, 255, .14);
  --surface-soft: rgba(255, 255, 255, .08);
  --stroke: rgba(255, 255, 255, .18);
  --stroke-strong: rgba(255, 255, 255, .28);
  --text: #f6fbff;
  --muted: rgba(246, 251, 255, .72);
  --accent: #ffc44d;
  --accent-strong: #ffad1e;
  --shadow: 0 18px 50px rgba(0, 0, 0, .28);
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, .22);
  --radius-xl: 24px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --pad-x: clamp(16px, 2.5vw, 36px);
  --page-max: 1280px;
  --tap: clamp(46px, 5vw, 60px);
  --title-xl: clamp(30px, 6vw, 54px);
  --title-lg: clamp(24px, 4.6vw, 40px);
  --title-md: clamp(19px, 3vw, 27px);
  --body: clamp(16px, 2.2vw, 21px);
  --body-sm: clamp(14.5px, 1.8vw, 18px);
  --body-xs: clamp(12.5px, 1.5vw, 15px);
  --button-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(255, 196, 77, .14), transparent 55%),
    radial-gradient(800px 500px at 100% 12%, rgba(255, 255, 255, .09), transparent 50%),
    linear-gradient(180deg, var(--bg-top), var(--bg-mid) 42%, var(--bg-bottom));
  touch-action: manipulation;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(255, 196, 77, .85);
  outline-offset: 2px;
}

.app {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px var(--pad-x);
  background: rgba(4, 23, 40, .82);
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  flex: 1 1 100%;
  min-width: 0;
}

.brand__text {
  min-width: 0;
}

.brand__name {
  display: none;
  font-size: clamp(16px, 2vw, 26px);
  font-weight: 900;
  letter-spacing: .03em;
  color: rgba(255, 255, 255, .98);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand__page {
  margin-top: 0;
  font-size: clamp(12px, 1.5vw, 18px);
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar__right {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  flex: 0 0 auto;
}

.iconbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--tap);
  min-width: var(--tap);
  height: var(--tap);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  cursor: pointer;
  color: rgba(255, 255, 255, .96);
  background: rgba(255, 255, 255, .10);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .15s ease, opacity .15s ease;
}

.iconbtn:active {
  transform: translateY(1px);
}

.iconbtn--disabled,
.iconbtn:disabled {
  opacity: .4;
  cursor: default;
}

.icon {
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1;
}

.lang {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lang__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  height: calc(var(--tap) - 12px);
  padding: 0 8px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .06);
  font-size: clamp(11px, 1.3vw, 14px);
  font-weight: 900;
  letter-spacing: .04em;
}

.lang__btn--active {
  color: #1a1408;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.lang__flag {
  width: clamp(20px, 2.4vw, 28px);
  height: clamp(13px, 1.5vw, 18px);
  border-radius: 4px;
  overflow: hidden;
  flex: 0 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .22);
}

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

.view {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  padding: clamp(14px, 2.2vw, 28px) var(--pad-x) clamp(96px, 10vw, 120px);
}

.pageShell {
  width: min(var(--page-max), 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.4vw, 24px);
}

.heroGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.4vw, 24px);
}

.heroCard {
  position: relative;
  overflow: hidden;
  min-height: clamp(345px, 62vw, 460px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.heroCard__image {
  height: 58%;
  background-size: cover;
  background-position: center;
}

.heroCard__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, .48));
  pointer-events: none;
}

.heroCard__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: clamp(16px, 2vw, 24px);
}

.heroCard__text {
  min-width: 0;
}

.heroCard__title {
  font-size: var(--title-xl);
  font-weight: 950;
  line-height: 1.06;
  margin: 0;
}

.heroCard__subtitle {
  margin-top: 6px;
  color: var(--muted);
  font-size: var(--body);
  line-height: 1.3;
}

.heroCard__button {
  flex: 0 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 0 clamp(18px, 2.2vw, 28px);
  border: none;
  border-radius: 16px;
  cursor: pointer;
  font-size: var(--body-sm);
  font-weight: 900;
  letter-spacing: .02em;
  text-decoration: none;
  text-align: center;
  box-shadow: var(--button-shadow);
}

.button--primary {
  color: #211607;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.button--secondary {
  color: rgba(255, 255, 255, .96);
  background: rgba(255, 255, 255, .10);
  border: 1px solid var(--stroke);
}

.button--full {
  width: 100%;
}

.introHero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

.introHero__image {
  min-height: clamp(180px, 45vw, 340px);
}

.introHero__image,
.detailHero__image {
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-xl);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
}

.introHero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: clamp(18px, 2.2vw, 28px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
}

.introHero__title {
  font-size: var(--title-lg);
  font-weight: 950;
  line-height: 1.06;
}

.introHero__subtitle {
  font-size: var(--body);
  font-weight: 700;
  color: rgba(255, 255, 255, .88);
}

.introHero__body {
  font-size: var(--body-sm);
  line-height: 1.5;
  color: var(--muted);
}

.miniPanelGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.miniPanel {
  padding: clamp(16px, 2vw, 24px);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
}

.miniPanel__title {
  font-size: var(--title-md);
  font-weight: 900;
  margin-bottom: 10px;
}

.miniPanel__list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: var(--body-sm);
  line-height: 1.5;
}

.catalogGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.2vw, 22px);
}

.catalogCard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.catalogCard__media {
  min-height: clamp(180px, 34vw, 300px);
  background-size: cover;
  background-position: center;
}

.catalogCard__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(16px, 2vw, 24px);
}

.catalogCard__top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.catalogCard__title {
  font-size: var(--title-md);
  font-weight: 950;
  line-height: 1.1;
}

.catalogCard__summary {
  color: var(--muted);
  font-size: var(--body-sm);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.badge {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid var(--stroke);
  color: rgba(255, 255, 255, .86);
  font-size: var(--body-xs);
  font-weight: 800;
}

.productGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.2vw, 22px);
}

.productCard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .95);
  color: #13233a;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, .25);
}

.productCard__mediaWrap {
  padding: clamp(16px, 2vw, 26px) clamp(16px, 2vw, 26px) 0;
}

.productCard__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f9fbfd, #edf3f8);
  overflow: hidden;
}

.productCard__media img {
  width: 100%;
  height: clamp(180px, 28vw, 250px);
  object-fit: contain;
}

.productCard__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  padding: clamp(16px, 2vw, 24px) clamp(16px, 2vw, 26px) clamp(18px, 2.2vw, 28px);
}

.productCard__title {
  font-size: clamp(21px, 3vw, 30px);
  font-weight: 950;
  line-height: 1.1;
  color: #12253f;
}

.productCard__sectionTitle {
  margin-top: 4px;
  font-size: clamp(13px, 1.5vw, 17px);
  font-weight: 900;
  color: #33516f;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.productCard__specs,
.productCard__conditions {
  margin: 0;
  padding-left: 18px;
  color: #304a66;
  font-size: clamp(14.5px, 1.7vw, 18px);
  line-height: 1.45;
}

.productCard__specItem {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-right: 4px;
}

.productCard__specItem strong {
  color: #0e2036;
}

.priceTable {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.priceRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: baseline;
  padding: 12px 14px;
  border-radius: 14px;
  background: #edf4fb;
  border: 1px solid #d3e2f2;
  color: #183250;
  font-size: clamp(14.5px, 1.7vw, 18px);
}

.priceRow strong {
  font-size: clamp(16px, 1.9vw, 21px);
}

.priceRow small {
  color: #5a7087;
  font-size: clamp(11.5px, 1.3vw, 14px);
  font-weight: 800;
}

.detailHero {
  position: relative;
  min-height: clamp(220px, 45vw, 430px);
}

.detailHero__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.detailHero__overlay {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: inherit;
  padding: clamp(16px, 2.4vw, 30px);
}

.detailHero__title {
  position: relative;
  z-index: 1;
  font-size: var(--title-xl);
  font-weight: 950;
  line-height: 1.06;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .7), 0 4px 20px rgba(0, 0, 0, .5);
}

.panel {
  padding: clamp(16px, 2.2vw, 28px);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
}

.panel--action {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel__title {
  font-size: var(--title-md);
  font-weight: 950;
}

.panel__body {
  color: var(--muted);
  font-size: var(--body-sm);
  line-height: 1.55;
}

.panel__body p {
  margin: 0;
}

.wafloat {
  position: fixed;
  right: clamp(14px, 2vw, 26px);
  bottom: clamp(14px, 2vw, 26px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(18, 30, 43, .85);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.waicon {
  width: 32px;
  height: 32px;
}

.restaurantGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 20px;
}

.restaurantMedia {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.restaurantMedia__image {
  min-height: clamp(200px, 42vw, 420px);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-xl);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 640px) {
  .heroGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .heroCard {
    min-height: clamp(320px, 34vw, 480px);
  }

  .heroCard__image {
    height: 68%;
  }

  .heroCard__content {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .heroCard__button {
    width: auto;
  }

  .catalogGrid,
  .restaurantGrid,
  .restaurantMedia {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  .topbar {
    flex-wrap: nowrap;
    padding: clamp(12px, 1.4vw, 18px) var(--pad-x);
  }

  .brand {
    flex: 1 1 auto;
  }

  .topbar__right {
    width: auto;
    justify-content: flex-end;
    gap: 10px;
  }

  .wafloat {
    width: 64px;
    height: 64px;
  }

  .waicon {
    width: 36px;
    height: 36px;
  }
}

@media (min-width: 900px) {
  .introHero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 24px;
  }

  .introHero__image {
    min-height: 280px;
  }

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

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

@media (min-width: 1024px) {
  #view[data-page="home"] .heroGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .catalogGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
