/* Greatizator PWA — визуальный язык сайта (золото, статуи, лавры) */

:root {
  --pwa-bg: #24252D;
  --pwa-surface: rgba(51, 52, 64, 0.72);
  --pwa-surface-solid: #333440;
  --pwa-border: rgba(71, 63, 53, 1);
  --pwa-gold: #FDBD30;
  --pwa-text: #ffffff;
  --pwa-muted: rgba(179, 179, 184, 1);
  --pwa-soft: rgba(211, 211, 213, 0.95);
  --pwa-pad: 1rem;
  --pwa-top: calc(3.25rem + env(safe-area-inset-top, 0px));
  --pwa-bottom: calc(4.35rem + env(safe-area-inset-bottom, 0px));
  --pwa-radius: 12px;
  --pwa-font: "Montserrat", system-ui, sans-serif;
  --pwa-frame:
    linear-gradient(#24252D, #24252D) padding-box,
    linear-gradient(135deg, #474035, #FDBD30, #3E3936, #A17E33) border-box;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--pwa-bg);
  color: var(--pwa-text);
  font-family: var(--pwa-font);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body.pwa-body {
  padding: 0;
}

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

button {
  font: inherit;
  color: inherit;
}

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

.pwa-app {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

/* Лавровый фон как на сайте */
.pwa-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.pwa-laurel {
  position: absolute;
  background: url("/assets/images/home/v1_59.png") center / contain no-repeat;
  opacity: 0.11;
}

.pwa-laurel-1 {
  width: 70vw;
  height: 70vh;
  top: -8%;
  right: -22%;
}

.pwa-laurel-2 {
  width: 62vw;
  height: 58vh;
  bottom: 8%;
  left: -24%;
  transform: scaleX(-1);
  opacity: 0.09;
}

.pwa-topbar,
.pwa-main,
.pwa-tabbar,
.pwa-toast {
  position: relative;
  z-index: 1;
}

.pwa-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--pwa-top);
  padding: calc(0.55rem + env(safe-area-inset-top, 0px)) var(--pwa-pad) 0.55rem;
  background: rgba(36, 37, 45, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(253, 189, 48, 0.14);
}

.pwa-brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.pwa-brand-name {
  font-weight: 200;
  font-size: 1.2rem;
  color: var(--pwa-gold);
  letter-spacing: 0.02em;
}

.pwa-brand-sub {
  font-weight: 300;
  font-size: 0.7rem;
  color: var(--pwa-muted);
}

.pwa-top-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.pwa-chip,
.pwa-install {
  border: 1px solid rgba(253, 189, 48, 0.4);
  background: rgba(51, 52, 64, 0.7);
  color: var(--pwa-gold);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 400;
  cursor: pointer;
  min-height: 36px;
}

.pwa-install[hidden] {
  display: none !important;
}

.pwa-main {
  flex: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0.85rem var(--pwa-pad) calc(var(--pwa-bottom) + 0.5rem);
}

.pwa-screen {
  display: none;
  animation: pwa-fade 0.24s ease;
}

.pwa-screen.is-active {
  display: block;
}

@keyframes pwa-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero как слайдер сайта */
.pwa-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.35rem;
  align-items: end;
  min-height: 188px;
  margin-bottom: 0.95rem;
  padding: 1rem 0.85rem 0.85rem 1rem;
  border-radius: var(--pwa-radius);
  overflow: hidden;
  background: rgba(51, 52, 64, 1);
  border: 1px solid transparent;
  background-image:
    linear-gradient(rgba(51, 52, 64, 1), rgba(51, 52, 64, 1)),
    linear-gradient(135deg, #474035, #FDBD30, #3E3936, #A17E33);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.pwa-hero-shape {
  position: absolute;
  right: 0;
  top: 0;
  width: 48%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
}

.pwa-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.45rem;
  padding-bottom: 0.15rem;
  min-width: 0;
}

.pwa-hero-kicker {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--pwa-gold);
}

.pwa-hero h1,
.pwa-promo h2 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 300;
  line-height: 1.25;
  color: #fff;
}

.pwa-hero-copy > p:not(.pwa-hero-kicker) {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}

.pwa-hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

.pwa-hero-art {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 140px;
  height: 168px;
  margin-left: auto;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.pwa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: filter 0.2s, background 0.2s, color 0.2s;
}

.pwa-btn-primary {
  background: var(--pwa-gold);
  color: #24252D;
}

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

.pwa-btn-ghost {
  background: transparent;
  border-color: rgba(253, 189, 48, 0.5);
  color: var(--pwa-gold);
}

/* Компактные «артефакты» */
.pwa-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 0.95rem;
}

.pwa-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.3rem;
  border-radius: 10px;
  background: rgba(51, 52, 64, 0.55);
  border: 2px solid rgba(51, 53, 65, 1);
  text-align: center;
}

.pwa-feature img {
  width: 22px;
  height: 22px;
}

.pwa-feature span {
  font-size: 0.62rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--pwa-muted);
}

.pwa-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}

.pwa-stat {
  padding: 0.75rem 0.45rem;
  border-radius: 10px;
  background: rgba(51, 52, 64, 0.55);
  border: 1px solid transparent;
  background-image: var(--pwa-frame);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  text-align: center;
}

.pwa-stat strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--pwa-gold);
  margin-bottom: 0.15rem;
}

.pwa-stat span {
  display: block;
  font-size: 0.66rem;
  font-weight: 300;
  color: var(--pwa-muted);
  line-height: 1.25;
}

.pwa-section {
  margin-bottom: 1.25rem;
}

.pwa-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.pwa-section-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--pwa-muted);
}

.pwa-link-more {
  border: none;
  background: none;
  padding: 0;
  font-size: 0.8rem;
  color: var(--pwa-gold);
  white-space: nowrap;
  cursor: pointer;
}

.pwa-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Карточки как на сайте */
.pwa-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.55rem;
  align-items: start;
  padding: 0.75rem 0.7rem 0.75rem 0.85rem;
  border-radius: 10px;
  background: rgba(51, 52, 64, 0.55);
  border: 2px solid var(--pwa-border);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}

.pwa-card:active {
  transform: scale(0.99);
}

.pwa-card:hover {
  border-color: rgba(253, 189, 48, 0.45);
}

.pwa-card-body {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
}

.pwa-card h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.3;
  color: #fff;
}

.pwa-card p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.4;
  color: rgba(187, 187, 187, 1);
}

.pwa-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.7rem;
  margin-top: 0.1rem;
}

.pwa-price {
  color: var(--pwa-gold);
  font-size: 0.82rem;
  font-weight: 400;
}

.pwa-card-cta {
  color: var(--pwa-gold);
  font-size: 0.8rem;
  font-weight: 400;
  animation: pwa-pulse 1.6s ease-in-out infinite;
}

@keyframes pwa-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.pwa-card-toggle {
  width: 28px;
  height: 56px;
  border: none;
  border-radius: 8px;
  background: transparent;
  padding: 0;
  flex-shrink: 0;
  align-self: center;
  pointer-events: none;
}

.pwa-card-toggle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pwa-person {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.7rem;
  align-items: center;
}

.pwa-avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(36, 37, 45, 1);
  border: 1px solid rgba(253, 189, 48, 0.28);
}

.pwa-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--pwa-gold);
}

.pwa-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.pwa-tag {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(71, 63, 53, 1);
  background: rgba(36, 37, 45, 1);
  font-size: 0.68rem;
  color: var(--pwa-soft);
}

/* Декоративный баннер «Секреты Афины» */
.pwa-art-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  min-height: 132px;
  margin: 0 0 1.2rem;
  padding: 0.9rem 0.85rem 0.75rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid transparent;
  background-image: var(--pwa-frame);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.pwa-art-banner-copy {
  position: relative;
  z-index: 2;
  max-width: 58%;
}

.pwa-art-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--pwa-muted);
}

.pwa-art-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--pwa-gold);
  line-height: 1.2;
}

.pwa-art-banner-img {
  position: absolute;
  right: -4%;
  bottom: -8%;
  width: min(52%, 190px);
  height: 140%;
  object-fit: contain;
  object-position: bottom right;
  z-index: 1;
  pointer-events: none;
}

/* Промо-баннеры разделов */
.pwa-promo {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  min-height: 148px;
  margin-bottom: 0.9rem;
  padding: 0.9rem 0.75rem 0.75rem 0.95rem;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(51, 52, 64, 1);
  border: 1px solid transparent;
  background-image:
    linear-gradient(rgba(51, 52, 64, 1), rgba(51, 52, 64, 1)),
    linear-gradient(135deg, #474035, #FDBD30, #3E3936, #A17E33);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.pwa-promo-shape {
  position: absolute;
  right: 0;
  top: 0;
  width: 46%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  pointer-events: none;
  z-index: 0;
}

.pwa-promo-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  padding-bottom: 0.2rem;
}

.pwa-promo-copy > p:not(.pwa-hero-kicker) {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.pwa-promo-art {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 128px;
  height: 132px;
  margin-left: auto;
  object-fit: contain;
  object-position: bottom right;
}

.pwa-promo--warrior .pwa-promo-art,
.pwa-promo--news .pwa-promo-art {
  max-width: 118px;
  height: 138px;
}

.pwa-search {
  width: 100%;
  margin-bottom: 0.85rem;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(68, 69, 80, 1);
  background: rgba(51, 52, 64, 0.9);
  color: var(--pwa-text);
  font-size: 0.9rem;
  outline: none;
}

.pwa-search:focus {
  border-color: rgba(253, 189, 48, 0.55);
}

.pwa-search::placeholder {
  color: rgba(140, 140, 148, 1);
}

.pwa-empty,
.pwa-loading,
.pwa-error {
  padding: 1.2rem 1rem;
  border-radius: 10px;
  background: rgba(51, 52, 64, 0.5);
  border: 1px dashed rgba(253, 189, 48, 0.28);
  color: var(--pwa-muted);
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.45;
}

.pwa-detail {
  display: grid;
  gap: 0.85rem;
}

.pwa-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--pwa-gold);
  font-size: 0.9rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  min-height: 36px;
}

.pwa-detail h1 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.3;
}

.pwa-detail-lead {
  margin: 0;
  color: var(--pwa-muted);
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 300;
}

.pwa-detail-body {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 300;
  color: var(--pwa-soft);
  white-space: pre-wrap;
}

.pwa-contact-box {
  margin-top: 0.35rem;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background-image: var(--pwa-frame);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  display: grid;
  gap: 0.65rem;
}

.pwa-contact-label {
  color: var(--pwa-muted);
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}

.pwa-contact-box a {
  color: var(--pwa-text);
  font-size: 1rem;
}

.pwa-contact-box a.pwa-phone {
  color: var(--pwa-gold);
  font-weight: 500;
}

.pwa-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.15rem;
  padding: 0.4rem 0.35rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
  background: rgba(36, 37, 45, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(253, 189, 48, 0.18);
}

.pwa-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 52px;
  padding: 0.25rem 0.2rem;
  border: none;
  background: transparent;
  color: rgba(179, 179, 184, 0.85);
  cursor: pointer;
  border-radius: 12px;
  -webkit-tap-highlight-color: transparent;
}

.pwa-tab svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pwa-tab span {
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1;
}

.pwa-tab.is-active {
  color: var(--pwa-gold);
  background: rgba(253, 189, 48, 0.1);
}

.pwa-toast {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(var(--pwa-bottom) + 0.35rem);
  z-index: 60;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(36, 37, 45, 0.98);
  border: 1px solid rgba(253, 189, 48, 0.4);
  color: #fff;
  font-size: 0.88rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.pwa-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pwa-desktop-hint {
  display: none;
}

@media (min-width: 900px) {
  .pwa-desktop-hint {
    display: block;
    max-width: 480px;
    margin: 0 auto 0.85rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    background: rgba(253, 189, 48, 0.1);
    border: 1px solid rgba(253, 189, 48, 0.28);
    color: var(--pwa-soft);
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .pwa-desktop-hint a {
    color: var(--pwa-gold);
    text-decoration: underline;
  }
}

@media (max-width: 390px) {
  .pwa-hero {
    min-height: 176px;
  }

  .pwa-hero h1,
  .pwa-promo h2 {
    font-size: 1.02rem;
  }

  .pwa-hero-art {
    max-width: 118px;
    height: 150px;
  }

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

  .pwa-art-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 360px) {
  .pwa-hero,
  .pwa-promo {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .pwa-hero-art,
  .pwa-promo-art {
    display: none;
  }

  .pwa-hero-shape,
  .pwa-promo-shape {
    width: 58%;
    opacity: 0.7;
  }

  .pwa-art-banner-copy {
    max-width: 70%;
  }

  .pwa-tab span {
    font-size: 0.58rem;
  }
}

.pwa-is-hidden {
  display: none !important;
}

.pwa-cv {
  display: grid;
  gap: 0.75rem;
}

.pwa-cv-photo {
  width: min(100%, 280px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(253, 189, 48, 0.35);
  background: rgba(36, 37, 45, 1);
}

.pwa-cv-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pwa-cv-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}

.pwa-cv-name-row h1 {
  margin: 0;
}

.pwa-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 181, 102, 0.55);
  background: rgba(46, 204, 113, 0.12);
  color: #7dffb0;
  font-size: 0.72rem;
  font-weight: 500;
}

.pwa-cv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pwa-chip-soft {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(68, 69, 80, 1);
  background: rgba(36, 37, 45, 0.7);
  font-size: 0.78rem;
  color: var(--pwa-soft);
}

.pwa-cv-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.6rem;
  color: var(--pwa-muted);
  font-size: 0.8rem;
}

.pwa-cv-rating strong {
  color: var(--pwa-gold);
  font-size: 1.15rem;
  font-weight: 600;
}

.pwa-cv-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pwa-social {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(36, 37, 45, 0.85);
}

.pwa-social svg {
  width: 22px;
  height: 22px;
  display: block;
}

.pwa-cv-block h2 {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--pwa-gold);
}

.pwa-timeline,
.pwa-achs {
  display: grid;
  gap: 0.7rem;
}

.pwa-timeline-item,
.pwa-ach {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.pwa-timeline-logo,
.pwa-ach img {
  width: auto;
  height: auto;
  max-width: 48px;
  max-height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.pwa-ach img {
  max-width: 56px;
  max-height: 56px;
  border-radius: 8px;
  object-fit: cover;
}

.pwa-timeline-company,
.pwa-ach h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
}

.pwa-timeline-role,
.pwa-ach p,
.pwa-format-item p {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--pwa-soft);
  line-height: 1.4;
}

.pwa-timeline-years {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--pwa-gold);
}

.pwa-format-item {
  margin-bottom: 0.7rem;
}

.pwa-format-item h3 {
  margin: 0 0 0.2rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
}

.pwa-order {
  position: relative;
  overflow: hidden;
  margin-top: 0.25rem;
  padding: 0.75rem 0.75rem 0.8rem;
  border-radius: 14px;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(36, 37, 45, 0.78), rgba(36, 37, 45, 0.78)) padding-box,
    linear-gradient(135deg, #474035, #FDBD30, #A17E33, #494135) border-box;
}

.pwa-order h2 {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--pwa-gold);
}

.pwa-order-form {
  display: grid;
  gap: 0.42rem;
}

.pwa-input,
.pwa-order select,
.pwa-order textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.42rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(253, 189, 48, 0.42);
  background: rgba(36, 37, 45, 0.55);
  color: var(--pwa-text);
  font-family: inherit;
  font-size: 0.82rem;
}

.pwa-order textarea {
  min-height: 56px;
  resize: vertical;
}

.pwa-label {
  margin: 0;
  font-size: 0.78rem;
  color: var(--pwa-muted);
}

.pwa-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--pwa-soft);
}

.pwa-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--pwa-gold);
}

.pwa-date-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.pwa-price-box {
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  background: rgba(24, 25, 32, 0.7);
  border: 1px solid rgba(68, 69, 80, 1);
}

.pwa-price-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pwa-muted);
  margin-bottom: 0.2rem;
}

.pwa-price-box p {
  margin: 0;
  color: var(--pwa-gold);
  font-weight: 500;
}

.pwa-order .pwa-btn-primary {
  width: 100%;
  min-height: 38px;
  font-size: 0.82rem;
}

.pwa-order.is-sent {
  box-shadow: 0 0 0 1px rgba(46, 204, 113, 0.42), 0 0 24px rgba(46, 204, 113, 0.25);
}

.pwa-order.is-sent .pwa-order-form,
.pwa-order.is-sent > h2 {
  filter: blur(7px);
  pointer-events: none;
}

.pwa-order-sent {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: rgba(12, 28, 18, 0.32);
  text-align: center;
}

.pwa-order.is-sent .pwa-order-sent {
  display: flex !important;
}

.pwa-order-sent-icon {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 0 10px rgba(46, 204, 113, 0.5));
}

.pwa-order-sent-icon svg {
  width: 100%;
  height: 100%;
}

.pwa-order-sent p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #7dffb0;
}
