


.Card {
  border-radius: 16px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--edge-soft);
}
.Card-title {
  margin-bottom: 8px;
}
.Card-text {
  color: var(--ink-soft);
  font-size: 16px;
}
.Card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
}
.Card--featured {
  border: 2px solid var(--action-primary);
  box-shadow: var(--lift-high);
}
.Card--form {
  border: 2px solid var(--action-primary);
  box-shadow: var(--lift-high);
}
.Card--flat {
  background: var(--surface-raised);
  border-color: var(--edge-strong);
}


.Button {
  display: inline-block;
  background: var(--action-primary);
  color: #ffffff;
  border: none;
  padding: 14px 29px;
  font-family: 'Karla', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transform: skewX(-10deg);
}
.Button > span {
  display: inline-block;
  transform: skewX(10deg);
}
.Button:hover {
  background: var(--action-hover);
}
.Button--warm {
  background: var(--action-warm);
  color: #2e1065;
}
.Button--warm:hover {
  background: var(--action-warm-deep);
  color: #ffffff;
}
.Button--ghost {
  background: transparent;
  color: var(--ink-strong);
  border: 2px solid var(--action-primary);
}
.Button--ghost:hover {
  background: var(--surface-sunken);
}
.Button--full {
  display: block;
  width: 100%;
  text-align: center;
}
.Button--big {
  padding: 18px 34px;
  font-size: 18px;
}
.Button--tiny {
  padding: 9px 18px;
  font-size: 14px;
}


.Goods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.Goods-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--edge-soft);
}
.Goods-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--action-warm);
  color: #2e1065;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  z-index: 2;
}
.Goods-shot {
  background: var(--surface-sunken);
  padding: 16px;
}
.Goods-body {
  padding: 18px 20px 22px;
}
.Goods-name {
  font-size: 18px;
  margin-bottom: 4px;
}
.Goods-meta {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.Goods-cost {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.Goods-now {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--action-primary);
}
.Goods-was {
  font-size: 15px;
  color: var(--ink-muted);
  text-decoration: line-through;
}


.Gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
  gap: 20px;
}
.Gallery-tile {
  background: var(--surface-base);
  border: 1px solid var(--edge-strong);
  border-radius: 18px;
  padding: 16px;
  overflow: hidden;
}
.Gallery-shot {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 12px;
  background: var(--surface-sunken);
}
.Gallery-caption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-muted);
}


.Viewer-main {
  background: var(--surface-sunken);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--edge-strong);
}
.Viewer-shot {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}


.Buy-sku {
  font-size: 14px;
  color: var(--ink-muted);
  letter-spacing: 0.6px;
}
.Buy-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--surface-sunken);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}
.Buy-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--action-warm);
}
.Buy-cost {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}
.Buy-now {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--action-primary);
  line-height: 1;
}
.Buy-was {
  font-size: 19px;
  color: var(--ink-muted);
  text-decoration: line-through;
}
.Buy-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--ink-soft);
}
.Buy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--action-warm);
}


.Step {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  border: 2px solid var(--edge-strong);
  border-radius: 12px;
  overflow: hidden;
}
.Step-btn {
  width: 46px;
  height: 46px;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-strong);
  background: var(--surface-raised);
}
.Step-btn:hover {
  background: var(--surface-sunken);
}
.Step-value {
  width: 56px;
  height: 46px;
  text-align: center;
  font-weight: 700;
  border-left: 2px solid var(--edge-strong);
  border-right: 2px solid var(--edge-strong);
}


.Panel {
  background: #ffffff;
  border: 1px solid var(--edge-soft);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}
.Panel-title {
  margin-bottom: 10px;
}
.Panel-text {
  color: var(--ink-soft);
}
.Spec {
  font-size: 16px;
}
.Spec th,
.Spec td {
  padding: 12px 0;
  border-bottom: 1px solid var(--edge-soft);
  text-align: left;
  vertical-align: top;
}
.Spec th {
  width: 46%;
  color: var(--ink-muted);
  font-weight: 600;
}
.Spec td {
  font-weight: 700;
}


.Method-step {
  position: relative;
  padding: 26px 24px 24px;
  background: #ffffff;
  border: 1px solid var(--edge-soft);
  border-radius: 16px;
}
.Method-num {
  display: inline-block;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  background: var(--action-primary);
  color: #ffffff;
  border-radius: 10px;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 38px;
  text-align: center;
}


.Form-group {
  display: block;
  margin-bottom: 14px;
}
.Form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}
.Form-input {
  display: block;
  width: 100%;
  padding: 14px 16px;
  background: var(--surface-base);
  border: 2px solid var(--edge-strong);
  border-radius: 12px;
  font-size: 16px;
  color: var(--ink-strong);
}
.Form-input:focus {
  outline: none;
  border-color: var(--action-primary);
}
.Form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.Form-check input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--action-primary);
}
.Form-check a {
  color: var(--action-primary);
  text-decoration: underline;
}
.Form-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-muted);
}
.Form-error {
  margin-bottom: 14px;
  padding: 12px 16px;
  background: #fef3c7;
  border-left: 4px solid var(--action-warm-deep);
  border-radius: 8px;
  font-size: 15px;
  color: #7c2d12;
}
.Form-done {
  padding: 26px;
  background: var(--surface-sunken);
  border: 2px solid var(--action-primary);
  border-radius: 16px;
}


.Modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}
.Modal.is-open {
  display: block;
}
.Modal-veil {
  position: absolute;
  inset: 0;
  background: var(--surface-overlay);
}
.Modal-box {
  position: relative;
  width: calc(100% - 32px);
  max-width: 460px;
  margin: 70px auto 0;
  padding: 26px 24px 28px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--lift-high);
  max-height: 82vh;
  overflow-y: auto;
}
.Modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  font-size: 26px;
  color: var(--ink-soft);
}


.Cart-line {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--edge-soft);
  border-radius: 16px;
}
.Cart-shot {
  width: 84px;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--surface-sunken);
  border-radius: 12px;
}
.Cart-sum {
  padding: 20px 22px;
  background: var(--surface-raised);
  border: 1px solid var(--edge-strong);
  border-radius: 16px;
}
.Cart-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  font-size: 16px;
  color: var(--ink-soft);
}
.Cart-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 2px solid var(--edge-strong);
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-strong);
}
.Cart-empty {
  padding: 40px 24px;
  text-align: center;
  background: var(--surface-raised);
  border: 1px dashed var(--edge-strong);
  border-radius: 16px;
}


.Qa-item {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 6px 20px rgba(46, 16, 101, 0.07);
  margin-bottom: 20px;
}
.Qa-q {
  font-weight: 700;
  margin-bottom: 10px;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 19px;
}
.Qa-a {
  color: var(--ink-soft);
}


.Doc h2 {
  margin: 32px 0 12px;
  font-size: 23px;
}
.Doc h3 {
  margin: 22px 0 8px;
}
.Doc p {
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.Doc ul {
  margin: 0 0 16px 0;
}
.Doc li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.Doc li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--ink-muted);
}
.Doc a {
  color: var(--action-primary);
  text-decoration: underline;
}


.Hello-tile {
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid var(--edge-soft);
  border-radius: 16px;
}
.Hello-big {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--action-primary);
  word-break: break-word;
}


.Foot {
  text-align: center;
  padding: 40px 16px;
  background: #2e1065;
  color: #ddd6fe;
}
.Foot nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 16px 0;
}
.Foot-mark {
  height: 46px;
  width: auto;
  margin: 0 auto 10px;
}
.Foot-name {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}
.Foot-link {
  font-size: 15px;
  color: #ddd6fe;
}
.Foot-link:hover {
  color: #f59e0b;
}
.Foot-contact {
  font-size: 16px;
  color: #ffffff;
}
.Foot-note {
  max-width: 720px;
  margin: 18px auto 0;
  font-size: 13px;
  line-height: 1.6;
  color: #c4b5fd;
}
.Foot-copy {
  margin-top: 14px;
  font-size: 13px;
  color: #a78bfa;
}
.Foot .cc-footer-link,
.Foot-link.cc-footer-link {
  color: #ddd6fe;
}

@media (min-width: 720px) {
  .Card {
    padding: 32px;
  }
  .Cart-line {
    grid-template-columns: 110px 1fr auto;
  }
  .Cart-shot {
    width: 110px;
  }
}
@media (min-width: 1100px) {
  .Card--featured {
    transform: scale(1.05);
  }
}


.Bar-list {
  margin: 0;
  padding: 0;
}
.Bar-item {
  list-style: none;
}
.Bar-overlay {
  cursor: pointer;
}
.Bar-cartLabel {
  display: none;
}
.Foot-nav {
  row-gap: 10px;
}
.Foot-nav--legal {
  font-size: 14px;
}
.Order {
  align-self: start;
}
.Viewer,
.Buy {
  align-self: start;
}
.Form-checkText {
  line-height: 1.5;
}
.Modal-title {
  font-size: 22px;
  margin-bottom: 6px;
}
.Modal-form {
  display: block;
}

@media (min-width: 1200px) {
  .Bar-cartLabel {
    display: inline;
  }
}
