
.shop { padding: 36px 0 72px; }
.shop h1 { margin: 8px 0 20px; font: 600 clamp(30px, 4.5vw, 44px)/1.05 var(--font-display); letter-spacing: -.03em; }
.shop h2 { margin: 0 0 12px; font: 600 20px/1.2 var(--font-display); }
.shop h3 { margin: 28px 0 10px; font: 600 16px/1.3 var(--font-display); }
.shop > section > h2, .shop #me > h2, .shop #partner > h2 { margin-top: 32px; }
.shop .crumbs { margin: 0; font-size: 14px; color: var(--ink-2); }
.shop .crumbs a { text-decoration: none; }
.shop .mono { font-family: var(--font-mono); }
.shop__note { margin: 0 0 20px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink-2); font-size: 15px; }
.shop__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
.shop__side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.shop__card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.shop__narrow { max-width: 520px; }
.shop__card p { margin: 0 0 10px; }
.shop__card label { display: block; margin-bottom: 6px; font-size: 14px; }
.shop__row { display: flex; gap: 8px; }
.shop__row input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: 400 16px var(--font-body); }
.shop__row .btn { height: 46px; padding: 0 18px; white-space: nowrap; }
.shop__row input:focus-visible, .shop__link:focus-visible, .shop__ack input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#code-input { font-family: var(--font-mono); text-transform: uppercase; }
.shop__link { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.shop__msg { margin: 10px 0 0; min-height: 1.2em; font-size: 14px; color: var(--ink-2); }
.shop__msg:empty { display: none; }
.shop__small { font-size: 13.5px; }
.shop__human:not(:empty) { margin-top: 12px; }
.shop__human { margin-left: min(0px, (100% - 300px) / 2); margin-right: min(0px, (100% - 300px) / 2); }   

.shop__lines { border-top: 1px solid var(--line); }
.shop__line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.shop__img img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: #fff; }
.shop__what { display: grid; gap: 2px; justify-items: start; }
.shop__what a { text-decoration: none; }
.shop__what span { font-size: 14px; }
.shop__price { min-width: 92px; text-align: right; }
.shop__price s { color: var(--ink-2); font-size: 14px; }
.shop .qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.shop .qty button { width: 36px; height: 40px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--ink); }
.shop .qty input { width: 48px; height: 40px; border: 0; background: none; text-align: center; font: 500 15px var(--font-body); color: var(--ink); -moz-appearance: textfield; }
.shop .qty input::-webkit-outer-spin-button, .shop .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.shop__sum { display: grid; grid-template-columns: 1fr auto; gap: 8px 0; margin: 0 0 14px; font-size: 15px; }
.shop__sum dt { color: var(--ink-2); } .shop__sum dd { margin: 0; padding-left: 16px; text-align: right; }
.shop__sum .shop__total { padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.shop__ack { display: flex !important; gap: 10px; align-items: flex-start; margin: 14px 0 !important; cursor: pointer; }
.shop__ack input { margin-top: 4px; accent-color: var(--accent); }
.shop__go { width: 100%; }
.shop__go:disabled { opacity: .5; cursor: not-allowed; }
.shop__ruo { margin: 32px 0 0; font-size: 13.5px; color: var(--ink-2); }

.shop__k { margin: 0 0 2px !important; font: 500 12px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.shop__code { font-size: 22px; }
.shop__break { overflow-wrap: anywhere; }
.shop__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.shop__tile { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); display: grid; gap: 4px; }
.shop__tile span { font-size: 13px; color: var(--ink-2); } .shop__tile b { font: 600 20px var(--font-display); overflow-wrap: anywhere; }
.shop__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.shop__table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.shop__table th, .shop__table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; white-space: nowrap; }
.shop__table th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.shop__table tr:last-child td { border-bottom: 0; }

@media (max-width: 860px) {
  .shop__grid { grid-template-columns: minmax(0, 1fr); }
  .shop__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop__line { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .shop__img img { width: 56px; height: 56px; }
  .shop__price { grid-column: 2 / -1; text-align: left; min-width: 0; }
}


.shop__lede { max-width: 68ch; margin: 0 0 24px; }
.shop__tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.shop__h2 { margin-top: 36px !important; }
.shop__after { margin: 14px 0 0; }
.shop__table a { text-decoration: none; font-weight: 600; }
@media (max-width: 860px) { .shop__tiles--3 { grid-template-columns: minmax(0, 1fr); } }
