.shop-body {
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(251, 93, 6, 0.12), transparent 55%),
    #f4ece6;
  min-height: 100vh;
}

.page-title {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 600;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(251, 93, 6, 0.12);
  box-shadow: 0 8px 24px rgba(90, 32, 8, 0.05);
}

.bar .logo img { height: 52px; }
.bar .nav { gap: 22px; }
.bar .nav a, .bar .nav [data-open-cart] { color: var(--ink); font-size: 18px; }
.bar .nav a[aria-current="page"] { color: var(--orange); }
.bar .nav-toggle__bar,
.bar .nav-toggle__bar::before,
.bar .nav-toggle__bar::after { background: var(--ink); }

.bar [data-cart-count] {
  background: var(--orange);
  color: #fff;
}

.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 36px 0 72px; }
.lead { max-width: 640px; margin: 0 0 28px; font-size: 22px; line-height: 1.35; }

.catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 18px 22px;
  background: #fff;
  border: 1px solid rgba(251, 93, 6, 0.1);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(80, 24, 0, 0.06);
  text-align: center;
}

.product h2 { font-size: 26px; font-weight: 500; }

.product__photo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 140px;
  overflow: hidden;
}

.product__photo img { width: 72%; margin: 0 -12%; }
.product__photo img.is-custom {
  width: min(100%, 280px);
  height: 200px;
  margin: 8px 0 4px;
  object-fit: contain;
}
.product__photo img[data-tint="blue"] { filter: hue-rotate(185deg) saturate(1.5); }
.product__photo img[data-tint="black"] { filter: grayscale(1) brightness(0.4) contrast(1.15); }

.swatches { display: flex; gap: 10px; margin: 8px 0; }
.swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #ddd;
  cursor: pointer;
}
.swatch[data-color="red"] { background: #fb5d06; }
.swatch[data-color="blue"] { background: #2f6fed; }
.swatch[data-color="black"] { background: #1a1a1a; }
.swatch.is-selected { box-shadow: 0 0 0 2px var(--orange); }

.product__color { margin: 0 0 6px; color: #666; }
.qty { display: grid; gap: 6px; width: 100%; margin-bottom: 14px; text-align: left; font-size: 16px; }
.qty input, .panel input, .panel textarea, .checkout input, .checkout textarea, .ticket select {
  width: 100%;
  border: 1px solid rgba(251, 93, 6, 0.16);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}
.product .glass-btn { width: 100%; margin-top: 0; justify-content: center; }

.cart-panel, .panel {
  margin-top: 36px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(251, 93, 6, 0.1);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(80, 24, 0, 0.06);
}
.ticket header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.cart-list span, .ticket li { display: block; color: #555; }
.cart-line__controls button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(251, 93, 6, 0.16);
  border-radius: 10px;
  background: #fffaf7;
  cursor: pointer;
}
.cart-total { font-size: 22px; }
.checkout { display: grid; gap: 12px; max-width: 480px; margin-top: 18px; }
.checkout label, .panel label, .ticket label { display: grid; gap: 6px; }
.checkout .phone, .panel .phone { border: 1px solid var(--line); }
.checkout .form-error, .panel .form-error, .gate .form-error { color: #b42318; }
.notice {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff4ec;
  color: #9a3412;
}

.account, .desk { display: grid; gap: 28px; }
.account { grid-template-columns: 340px 1fr; align-items: start; }
.account .panel, .gate, .desk .panel, .desk-board { margin-top: 0; }
.desk-board { display: grid; gap: 22px; }
.orders-card h2, .desk .panel h2 { margin-bottom: 14px; }
.bar .nav .btn { width: auto; min-height: 40px; padding: 0 16px; }
.ticket { background: #fffaf7; }
.panel .btn--dark { width: auto; }
.tabs, .filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tabs button, .filters button {
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #666;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  padding: 6px 14px;
}
.tabs button[aria-selected="true"], .filters button[aria-pressed="true"] {
  border-color: rgba(251, 93, 6, 0.2);
  background: #fff4ec;
  color: var(--orange);
}
.stack { display: grid; gap: 14px; }
.ticket {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid rgba(251, 93, 6, 0.1);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(80, 24, 0, 0.05);
}
.ticket--product { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; }
.ticket__photo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 14px;
  background: #fffaf7;
}
.ticket__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ticket__actions .btn { width: auto; min-height: 40px; padding: 0 14px; font-size: 16px; }
.panel label.check { display: flex; align-items: center; gap: 8px; }
.check input { width: auto; }
.ticket h3 { margin: 0; font-size: 22px; font-weight: 500; }
.ticket ul { margin: 8px 0; padding-left: 18px; }
.ticket header time { color: #777; }
.status { padding: 4px 10px; border-radius: 999px; background: #f4f4f4; }
.status--new { background: #fff1e8; color: #c2410c; }
.status--work { background: #e8f1ff; color: #1d4ed8; }
.status--done { background: #e8f8ef; color: #157347; }
.status--cancel { background: #f3f3f3; color: #666; }
.filters { margin-bottom: 16px; }
.hint { color: #777; font-size: 16px; }
.gate { max-width: 460px; display: grid; gap: 12px; }

@media (max-width: 900px) {
  .bar { padding: 12px 16px; }
  .bar .nav {
    display: none;
    position: absolute;
    top: 68px;
    right: 12px;
    padding: 16px 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  }
  .bar .nav.is-open { display: flex; }
  .bar .nav-toggle { display: grid; }
  .catalog, .account { grid-template-columns: 1fr; }
}
