:root {
  color-scheme: dark;
  --black: #080706;
  --muted: #b9afa3;
  --ivory: #fff8ee;
  --gold: #d8a94f;
  --gold-light: #ffd985;
  --ruby-bright: #d32435;
  --line: rgba(255, 255, 255, 0.11);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--black);
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(135, 15, 25, 0.22), transparent 34rem),
    radial-gradient(circle at 92% 84%, rgba(216, 169, 79, 0.09), transparent 28rem),
    var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

svg {
  display: block;
}

.page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}

.order-card {
  width: min(100%, 73rem);
  min-height: min(50rem, calc(100svh - clamp(2rem, 6vw, 5rem)));
  display: grid;
  grid-template-columns: minmax(22rem, 0.92fr) minmax(28rem, 1.08fr);
  overflow: hidden;
  border: 1px solid rgba(216, 169, 79, 0.24);
  border-radius: clamp(1.4rem, 3vw, 2.4rem);
  background: rgba(13, 10, 9, 0.94);
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.5);
}

.brand-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-right: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(110, 12, 20, 0.35), transparent 55%), #0c0908;
}

.brand-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 72%, transparent);
}

.brand-panel__glow {
  position: absolute;
  z-index: -1;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: rgba(130, 12, 20, 0.35);
  filter: blur(5rem);
}

.brand-mark {
  width: min(100%, 24rem);
}

.brand-mark__line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0 0 1.2rem;
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.brand-mark__line i {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--ruby-bright);
}

.brand-mark__image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  padding: 0.55rem;
  border: 1px solid rgba(216, 169, 79, 0.48);
  border-radius: 50%;
  box-shadow: 0 0 0 0.8rem rgba(216, 169, 79, 0.05), 0 1.8rem 5rem rgba(0, 0, 0, 0.55);
}

.brand-mark__image::after {
  content: "";
  position: absolute;
  inset: -1.2rem;
  border: 1px dashed rgba(216, 169, 79, 0.2);
  border-radius: 50%;
}

.brand-mark__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

.brand-panel__copy {
  display: grid;
  justify-items: center;
  margin-top: 2.2rem;
  text-align: center;
}

.brand-panel__name {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-panel__tagline {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.order-panel {
  align-self: center;
  padding: clamp(2.4rem, 5vw, 5.2rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 1.8rem;
  height: 1px;
  background: currentColor;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.8rem, 6.3vw, 6.15rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.78;
}

h1 em {
  color: var(--gold-light);
  font-weight: 600;
}

.lead {
  max-width: 35rem;
  margin: 1.45rem 0 0;
  color: #d4cac0;
  font-size: 0.95rem;
}

.product-tags {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.3rem;
}

.product-tags span {
  padding: 0.42rem 0.75rem;
  border: 1px solid rgba(216, 169, 79, 0.28);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
}

.primary-actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.contact-button {
  display: grid;
  grid-template-columns: 2.65rem 1fr 1.15rem;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.25rem;
  padding: 0.68rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, border-color 180ms ease;
}

.contact-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.contact-button--telegram {
  border-color: rgba(65, 174, 225, 0.45);
  background: linear-gradient(90deg, rgba(34, 158, 217, 0.22), rgba(34, 158, 217, 0.06));
}

.contact-button--viber {
  border-color: rgba(136, 112, 255, 0.4);
  background: linear-gradient(90deg, rgba(115, 96, 242, 0.21), rgba(115, 96, 242, 0.055));
}

.contact-button__icon {
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  color: #fff;
}

.contact-button--telegram .contact-button__icon {
  background: #229ed9;
}

.contact-button--viber .contact-button__icon {
  background: #7360f2;
}

.contact-button__icon svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: currentColor;
}

.contact-button--viber .contact-button__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.contact-button__copy {
  display: grid;
  line-height: 1.22;
}

.contact-button__copy small {
  color: var(--muted);
  font-size: 0.61rem;
}

.contact-button__copy strong {
  font-size: 0.9rem;
}

.contact-button__arrow {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  opacity: 0.72;
}

.social-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.65rem;
}

.social-button {
  min-height: 3.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.58rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: #e4dcd3;
  font-size: 0.76rem;
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease;
}

.social-button:hover {
  border-color: rgba(216, 169, 79, 0.4);
  background: rgba(216, 169, 79, 0.07);
}

.social-button svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.social-button__dot {
  fill: currentColor;
  stroke: none;
}

.contact-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(216, 169, 79, 0.42);
  border-radius: 1rem;
  background:
    linear-gradient(105deg, rgba(216, 169, 79, 0.15), rgba(216, 169, 79, 0.035)),
    rgba(255, 255, 255, 0.02);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.18);
}

.contact-number > span:first-child {
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
}

.contact-number strong {
  color: var(--ivory);
  font-size: 1.05rem;
  letter-spacing: 0.025em;
}

.contact-number__value {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.copy-number {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid rgba(216, 169, 79, 0.28);
  border-radius: 0.62rem;
  background: rgba(216, 169, 79, 0.07);
  color: var(--gold-light);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.copy-number:hover {
  transform: translateY(-1px);
  border-color: rgba(216, 169, 79, 0.55);
  background: rgba(216, 169, 79, 0.13);
}

.copy-number svg {
  grid-area: 1 / 1;
  width: 0.95rem;
  height: 0.95rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: opacity 150ms ease, transform 150ms ease;
}

.copy-number__check,
.copy-number.is-copied .copy-number__copy {
  opacity: 0;
  transform: scale(0.72);
}

.copy-number.is-copied .copy-number__check {
  opacity: 1;
  transform: scale(1);
}

.featured-social {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.featured-social > p {
  margin: 0 0 0.65rem;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
}

.featured-social__button {
  min-height: 3.75rem;
  display: grid;
  grid-template-columns: 2rem 1fr 1rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(216, 169, 79, 0.35);
  border-radius: 1rem;
  background: linear-gradient(90deg, rgba(167, 25, 34, 0.18), rgba(216, 169, 79, 0.07));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.featured-social__button:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 169, 79, 0.58);
  background: linear-gradient(90deg, rgba(167, 25, 34, 0.25), rgba(216, 169, 79, 0.11));
}

.featured-social__button > svg:first-child {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: var(--ivory);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.featured-social__button span {
  display: grid;
  line-height: 1.25;
}

.featured-social__button strong {
  font-size: 0.84rem;
}

.featured-social__button small {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.67rem;
}

.featured-social__arrow {
  width: 1rem;
  fill: none;
  stroke: var(--gold-light);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.fitting-note {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 1rem;
  border-top: 1px solid var(--line);
  border-radius: 0 0 1rem 1rem;
  color: #ddd4ca;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
}

.fitting-note svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.shipping-note {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  gap: 0.7rem;
  align-items: center;
  margin: 0;
  padding: 0.95rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--gold-light);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.shipping-note svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

@media (max-width: 800px) {
  body {
    background: radial-gradient(circle at 50% 0%, rgba(135, 15, 25, 0.25), transparent 24rem), var(--black);
  }

  .page {
    display: block;
    padding: 0;
  }

  .order-card {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .brand-panel {
    min-height: auto;
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;
    padding: max(1rem, env(safe-area-inset-top)) 1rem 0.9rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background:
      radial-gradient(circle at 50% 18%, rgba(145, 17, 27, 0.32), transparent 8rem),
      rgba(8, 7, 6, 0.9);
  }

  .brand-panel::before,
  .brand-panel__glow {
    display: none;
  }

  .brand-mark {
    width: clamp(8.5rem, 38vw, 10rem);
    flex: 0 0 auto;
  }

  .brand-mark__line,
  .brand-mark__image::after {
    display: none;
  }

  .brand-mark__image {
    padding: 0.24rem;
    border-color: rgba(216, 169, 79, 0.62);
    box-shadow: 0 0 0 0.4rem rgba(216, 169, 79, 0.05), 0 1rem 2.5rem rgba(0, 0, 0, 0.42);
  }

  .brand-panel__copy {
    justify-items: center;
    margin: 0;
    text-align: center;
  }

  .brand-panel__name {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .brand-panel__tagline {
    font-size: 0.6rem;
  }

  .order-panel {
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
    padding: 1.2rem 1rem max(1rem, env(safe-area-inset-bottom));
  }

  .eyebrow {
    margin-bottom: 0.8rem;
    font-size: 0.61rem;
  }

  h1 {
    font-size: clamp(3.35rem, 15.5vw, 4.55rem);
  }

  .lead {
    margin-top: 1.1rem;
    font-size: 0.87rem;
    line-height: 1.5;
  }

  .product-tags {
    margin-top: 0.9rem;
  }

  .primary-actions {
    margin-top: 0.65rem;
  }

  .contact-button {
    min-height: 3.75rem;
    grid-template-columns: 2.4rem 1fr 1rem;
    padding: 0.55rem 0.8rem;
    border-radius: 1rem;
  }

  .contact-button__icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.72rem;
  }

  .social-button {
    min-height: 2.85rem;
  }

  .contact-number,
  .fitting-note {
    margin-top: 0.8rem;
  }

  .contact-number {
    padding: 0.75rem 0.8rem;
  }

  .contact-number > span:first-child {
    font-size: 0.7rem;
  }

  .contact-number strong {
    font-size: 0.9rem;
  }

  .featured-social {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
  }

  .featured-social > p {
    font-size: 0.75rem;
  }

  .fitting-note {
    padding: 0.85rem 0.75rem;
    font-size: 0.95rem;
  }

  .shipping-note {
    padding: 0.85rem 0.75rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .order-panel {
    padding-inline: 0.8rem;
  }

  h1 {
    font-size: 3.2rem;
  }

  .lead {
    font-size: 0.81rem;
  }

  .contact-button__copy strong {
    font-size: 0.78rem;
  }

  .contact-number {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
