:root {
  --bg: #050505;
  --bg-soft: #0a0a0a;
  --fg: #e5e4e2;
  --muted: rgba(255, 255, 255, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.05);
  --accent: #d4af37;
  --accent-soft: rgba(212, 175, 55, 0.2);
}

/* СБРОС + БАЗА */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #181818 0, #050505 55%, #000 100%);
  color: var(--fg);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

/* УТИЛИТЫ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, "Liberation Mono", "Courier New", monospace;
}

/* GLASS PANEL */

.glass-panel {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(24px);
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.3)
  );
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.nav a {
  font-family: "JetBrains Mono", monospace;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #fff;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: none;
  color: var(--fg);
  transition: all 0.25s ease;
}

.btn-small {
  padding: 8px 18px;
  font-size: 12px;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.5);
}

.btn-outline {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(212, 175, 55, 0.06);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.16);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.3);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

/* HERO */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 72px 0 80px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1623559472911-5ae8d1bd8060?q=80&w=2000");
  background-size: cover;
  background-position: center;
  opacity: 0.38;
  filter: grayscale(0.15);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, transparent, rgba(0, 0, 0, 0.85));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

.hero-label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.9;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.hero-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-meta-item {
  min-width: 120px;
}

.hero-meta-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  display: block;
  margin-bottom: 4px;
}

.hero-meta-value {
  font-size: 14px;
  color: var(--fg);
}

/* HERO VISUAL / WATCH CARD */

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-watch-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none; /* пока не подставим src из JS */
  transition: transform 0.6s ease, opacity 0.4s ease;
}

.watch-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 24px 22px 26px;
  border-radius: 26px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.9);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.watch-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.95);
}

.watch-card:hover .hero-watch-photo {
  transform: translateY(-6px) scale(1.03);
}

.watch-circle {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(
    circle at 30% 10%,
    rgba(255, 255, 255, 0.16),
    #050505 65%
  );
  margin-bottom: 22px;
  overflow: hidden;
}

.watch-circle::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.watch-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.watch-ref {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.watch-name {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin: 0;
}

.watch-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.watch-bottom {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}

/* SECTION GENERIC */

.section {
  padding: 72px 0;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  margin: 0 0 32px;
  font-size: 14px;
  color: var(--muted);
  max-width: 540px;
}

/* FEATURES */

.features {
  background: #050505;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.feature-item {
  padding: 20px 20px 24px;
  border-radius: 22px;
}

.feature-item h3 {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* COLLECTION */

.collection {
  background: var(--bg-soft);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}

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

/* Карточка товара + анимация */

.product-card {
  border-radius: 24px;
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.85);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Контейнер для фото */

.product-image {
  position: relative;
  width: 100%;
  height: 220px; /* высота блока, картинка внутри полностью видна */
  overflow: hidden;
  border-radius: 24px;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Фото часов */

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ВЕСЬ ЦИФЕРБЛАТ ВИДЕН */
  object-position: center;
  transition: transform 0.6s ease, opacity 0.4s ease;
}

.product-card:hover .product-photo {
  transform: scale(1.04);
}

/* Тег поверх фото */

.product-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.6);
}

/* Текстовая часть карточки */

.product-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-name {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  margin: 0;
}

.product-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--accent-soft);
  color: var(--accent);
  background: rgba(212, 175, 55, 0.08);
}

/* ABOUT */

.about {
  background: #050505;
}

.about-inner {
  border-radius: 26px;
  padding: 30px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
}

.about-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

.about-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 12px;
}

.about-meta {
  display: grid;
  gap: 16px;
}

.about-stat-value {
  font-size: 26px;
  font-weight: 600;
}

.about-stat-label {
  font-size: 12px;
  color: var(--muted);
}

/* FOOTER */

.footer {
  background: #050505;
  border-top: 1px solid var(--border-soft);
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 24px;
}

.footer-logo {
  margin-bottom: 8px;
}

.footer-text {
  font-size: 14px;
  color: var(--muted);
  max-width: 260px;
}

.footer-right {
  display: flex;
  gap: 40px;
  font-size: 13px;
}

.footer-block h4 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
}

.footer-block p {
  margin: 0 0 4px;
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  text-align: center;
  padding: 16px 0 20px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

/* ADAPTIVE */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-content: flex-start;
  }

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

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

  .about-inner {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-right {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-text {
    font-size: 13px;
  }

  .hero-meta {
    gap: 12px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .collection-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 18px;
  }
}
.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qty-input {
  width: 56px;
  text-align: center;
  border-radius: 999px;
  border: none;
  padding: 4px 8px;
}

.qty-btn {
  border-radius: 999px;
  border: none;
  width: 28px;
  height: 28px;
  line-height: 26px;
  text-align: center;
  font-size: 18px;
  cursor: pointer;
}

.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.field-error,
.form-error-global {
  color: #ff6b6b;
  margin-top: 4px;
  font-size: 14px;
}
/* Правая часть шапки на главной: кнопка + логин/регистрация или аккаунт */
.header-right {
  margin-left: auto; /* отодвигаем вправо от логотипа и меню */
  display: flex;
  align-items: center;
  gap: 24px; /* расстояние между кнопкой и блоком авторизации */
}

/* Область авторизации (главная страница, index) */
.auth-area {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Ссылки Войти / Регистрация */
.auth-links,
.auth-links a {
  font-size: 18px;
}

.auth-links {
  display: flex;
  gap: 16px;
}

.auth-link,
.auth-links a {
  color: #f2d57c;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: 0.3s ease;
}
.order-status {
  font-weight: 600;
}

.order-status:contains("В ожидании подтверждения") {
  color: #f2c94c;
}
.order-status:contains("Доставлен") {
  color: #27ae60;
}
.order-status:contains("Отменён") {
  color: #eb5757;
}

.auth-link:hover,
.auth-links a:hover {
  color: #ffffff;
}

/* Кнопка аккаунта */
.account-btn {
  background: transparent;
  border: 1px solid #f2d57c;
  color: #f2d57c;
  padding: 6px 14px;
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.account-btn:hover {
  background: #f2d57c;
  color: black;
}

/* Выпадающее меню */
.account-menu {
  position: relative;
}

.dropdown {
  position: absolute;
  right: 0;
  top: 45px;
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid #f2d57c;
  border-radius: 8px;
  width: 200px;
  display: none;
  flex-direction: column;
  padding: 10px 0;
}

.dropdown a {
  padding: 12px 20px;
  text-decoration: none;
  color: #f2d57c;
  font-size: 16px;
  display: block;
  transition: 0.3s;
}

.dropdown a:hover {
  background: #f2d57c;
  color: black;
}
/* MOBILE FIXES */

@media (max-width: 640px) {
  .container {
    padding: 0 14px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .logo {
    font-size: 18px;
  }

  /* прячем меню, чтобы не занимало место */
  .nav {
    display: none;
  }

  /* правая часть шапки в колонку */
  .header-right {
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .header-right .btn {
    width: 100%;
  }

  .auth-area,
  .auth-links {
    width: 100%;
    justify-content: space-between;
  }

  .auth-links,
  .auth-links a {
    font-size: 14px;
  }
}
.cart-block {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cart-table {
  width: 100%;
  min-width: 680px; /* чтобы таблица не ломалась в кашу */
  border-collapse: collapse;
}
@media (max-width: 640px) {
  .btn {
    padding: 12px 16px;
    font-size: 13px;
  }

  .section-title {
    font-size: 26px;
    line-height: 1.15;
  }

  .glass-panel {
    border-radius: 16px;
  }
}
/* ========= MOBILE-FIRST UI UPGRADE ========= */

/* form controls */
.auth-page {
  padding-top: 48px;
}

.auth-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 22px;
}

.auth-title {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  margin: 0 0 18px;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.auth-form input,
.auth-form select,
.auth-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  outline: none;
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.auth-submit {
  width: 100%;
  margin-top: 6px;
}

.auth-footnote {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.auth-footnote a {
  color: var(--accent);
}

/* ===== header burger ===== */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
}

/* ===== mobile layout ===== */
@media (max-width: 820px) {
  .container {
    padding: 0 14px;
  }

  .hero {
    min-height: auto;
    padding: 56px 0 44px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-visual {
    justify-content: center;
  }

  .watch-card {
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  /* превращаем nav в выпадающее меню */
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.6);
  }

  .nav.nav-open {
    display: flex;
  }

  .nav a {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
  }

  /* кнопки и карточки */
  .btn {
    width: 100%;
  }

  .section {
    padding: 44px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .collection-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 200px;
  }

  .auth-card {
    padding: 18px;
  }

  .auth-title {
    font-size: 26px;
  }
}
/* ===== ACCOUNT PAGE ===== */

.account-page {
  padding-top: 40px;
}

.account-card {
  padding: 28px;
  border-radius: 22px;
}

.account-info {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.section-subtitle {
  margin-top: 32px;
  font-size: 22px;
}

.order-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.order-item {
  padding: 16px;
  border-radius: 18px;
}

.order-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.order-status {
  font-weight: 600;
  color: var(--accent);
}

.order-meta {
  display: grid;
  gap: 4px;
  font-size: 14px;
}

.order-sum {
  margin-top: 6px;
  font-weight: 600;
}

.empty-note {
  opacity: 0.7;
}

/* ===== mobile tweaks ===== */
@media (max-width: 640px) {
  .desktop-only {
    display: none;
  }

  .order-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .account-card {
    padding: 18px;
  }
}
/* ===== CART: mobile no horizontal scroll ===== */

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-row td {
  vertical-align: middle;
}

.cart-label {
  display: none;
  opacity: 0.7;
  font-size: 12px;
  margin-bottom: 4px;
}

.cart-value {
  display: inline-block;
}

.cart-total {
  margin-top: 16px;
}

/* На телефоне превращаем таблицу в карточки */
@media (max-width: 640px) {
  .cart-table thead {
    display: none;
  }

  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
  }

  .cart-row {
    padding: 14px;
    border-radius: 16px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cart-col {
    padding: 0;
    margin: 0 0 10px 0;
  }

  .cart-label {
    display: block;
  }

  .cart-col--model .cart-value {
    font-size: 18px;
    font-weight: 600;
    word-break: break-word;
  }

  .cart-col--remove {
    margin-top: 6px;
  }

  .qty-control {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
  }

  .qty-input {
    width: 90px;
  }
}
.messages {
  margin: 12px 0;
  display: grid;
  gap: 8px;
}
.message {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.message.warning {
  border-color: rgba(212, 175, 55, 0.35);
}
/* ===== CART PAGE FIXES ===== */

.cart-shell {
  padding: 32px;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 22px;
}

.cart-title {
  margin-bottom: 24px;
}

.checkout-block {
  margin-top: 40px;
}

.checkout-title {
  font-size: 24px;
  margin-bottom: 12px;
}

.checkout-map-title {
  font-size: 20px;
  margin-bottom: 4px;
}

.checkout-map-hint {
  margin-bottom: 8px;
}

.checkout-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  outline: none;
}

.checkout-input--wide {
  max-width: 520px;
}

.checkout-input--narrow {
  max-width: 260px;
}

.checkout-map {
  width: 100%;
  height: 320px;
  margin-top: 8px;
  border-radius: 16px;
  overflow: hidden;
}

.checkout-actions {
  margin-top: 24px;
}

/* маленькое предупреждение Telegram, не портит дизайн */
.telegram-mini {
  margin: 12px 0;
  font-size: 12px;
  opacity: 0.85;
}

.telegram-mini a {
  text-decoration: underline;
}

/* mobile: скрыть auth-links в шапке, бургер уже есть */
@media (max-width: 640px) {
  .desktop-only {
    display: none;
  }

  .cart-shell {
    padding: 18px;
  }

  .checkout-input--wide,
  .checkout-input--narrow {
    max-width: 100%;
  }
}
/* =====================================================
   UI PATCH — mobile polish (SAFE)
   НИЧЕГО НЕ ЛОМАЕТ, ТОЛЬКО УЛУЧШАЕТ
   ===================================================== */

/* ---------- MOBILE HEADER ---------- */
@media (max-width: 640px) {
  .header {
    backdrop-filter: blur(20px);
  }

  .header-inner {
    padding: 10px 0;
  }

  .logo {
    font-size: 18px;
    letter-spacing: 0.14em;
  }

  /* если есть бургер — показываем */
  .nav-toggle {
    display: inline-flex;
  }

  /* меню по умолчанию скрыто */
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 14px;
    right: 14px;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 100;
  }

  /* открытое меню */
  .nav.nav-open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
  }
}

/* ---------- MOBILE HERO ---------- */
@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 56px 0 40px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-title {
    font-size: 38px;
    line-height: 1.05;
  }

  .hero-text {
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    justify-content: center;
  }
}

/* ---------- MOBILE WATCH CARD ---------- */
@media (max-width: 640px) {
  .watch-card {
    max-width: 100%;
    padding: 20px;
    border-radius: 22px;
  }

  .watch-name {
    font-size: 20px;
  }

  .watch-desc {
    font-size: 13px;
  }
}

/* ---------- MOBILE PRODUCT CARDS ---------- */
@media (max-width: 640px) {
  .product-card {
    padding: 14px;
    border-radius: 20px;
  }

  .product-image {
    height: 200px;
  }

  .product-name {
    font-size: 18px;
  }

  .product-actions .btn {
    width: 100%;
  }
}
