/* V Tap shop (v1.6) — builds on landing.css + app.css */
.shop-page { background: #fff; }
.sh-wrap { max-width: 1120px; margin: 0 auto; padding: clamp(24px, 4vw, 48px) 20px 72px; }
.sh-wrap.narrow { max-width: 680px; }
.sh-title { font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; margin: 0 0 10px; }
.sh-lead { color: var(--slate); font-size: 1.08rem; margin: 0 0 28px; max-width: 54ch; }
.sh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.grid3 { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 14px; }

.sh-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.sh-main { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.sh-step { display: flex; flex-direction: column; gap: 14px; }
.sh-step h2 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.sh-step h2 span { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .9rem; }

.sh-products { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sh-prod { border: 2px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.sh-prod.on { border-color: var(--signal); box-shadow: 0 0 0 4px var(--signal-soft); }
.sh-art { background: var(--mist); aspect-ratio: 26 / 18; display: grid; place-items: center; overflow: hidden; }
.sh-art svg { width: 78%; height: auto; display: block; }
.sh-art img { width: 100%; height: 100%; object-fit: cover; }
.sh-info { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sh-info h3 { margin: 0; font-size: 1.15rem; }
.sh-info p { margin: 0; color: var(--slate); font-size: .92rem; line-height: 1.55; }
.sh-buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sh-price { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; }
.sh-qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.sh-qty button { width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.3rem; font-weight: 700; color: var(--ink); cursor: pointer; }
.sh-qty button:hover { background: var(--mist); }
.sh-qty input { width: 40px; border: 0; text-align: center; font-weight: 800; font-size: 1rem; padding: 0; -moz-appearance: textfield; box-shadow: none !important; }
.sh-qty input::-webkit-outer-spin-button, .sh-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sh-size select { margin-top: 2px; }

.sh-pay { display: grid; gap: 10px; }
.sh-pay-opt { flex-direction: row; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 700; color: var(--ink); }
.sh-pay-opt:has(input:checked) { border-color: var(--signal); background: #fff7f2; }
.sh-pay-opt input { accent-color: var(--signal); }

.sh-summary { position: sticky; top: 84px; border: 2px solid var(--ink); border-top: 8px solid var(--signal); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.sh-summary h2 { margin: 0; font-size: 1.2rem; }
.sh-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sh-lines li { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.sh-lines li small { display: block; color: var(--slate); font-weight: 500; font-size: .82rem; }
.sh-lines .sh-empty { color: var(--slate); font-weight: 500; }
.sh-totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.sh-totals dt { color: var(--slate); } .sh-totals dd { margin: 0; text-align: right; font-weight: 700; }
.sh-totals .big { font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.sh-fine { margin: 0; color: var(--slate); font-size: .84rem; line-height: 1.5; }
.lp-btn:disabled { opacity: .7; cursor: wait; }

/* order page */
.sh-thanks { background: var(--ink); color: #fff; border-radius: 24px; padding: 28px; margin-bottom: 24px; }
.sh-thanks h1 { margin: 0 0 6px; font-size: 2rem; letter-spacing: -.03em; }
.sh-thanks p { margin: 0; color: rgba(255,255,255,.8); }
.sh-track { list-style: none; padding: 0; margin: 8px 0 22px; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.sh-track li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: .82rem; font-weight: 700; color: var(--slate); position: relative; }
.sh-track li span { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--line); position: relative; z-index: 1; }
.sh-track li:not(:first-child)::before { content: ""; position: absolute; top: 10px; right: 50%; width: 100%; height: 3px; background: var(--line); }
.sh-track li.done span, .sh-track li.now span { border-color: var(--signal); background: var(--signal); }
.sh-track li.done::before, .sh-track li.now::before { background: var(--signal) !important; }
.sh-track li.now { color: var(--ink); }
.sh-tracking { margin: -8px 0 20px; }
.sh-card { border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin-bottom: 16px; }
.sh-card h2 { margin: 0 0 14px; font-size: 1.1rem; }
.sh-card p { margin: 0; line-height: 1.6; }
.sh-paybox { border: 2px solid var(--signal); background: #fffaf7; }
.sh-upi { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; margin-top: 14px; }
.sh-upi img.qr { border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.sh-upi > div { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 10px; }
.sh-closed { text-align: center; padding: 60px 0; }

@media (max-width: 900px) {
  .sh-grid { grid-template-columns: 1fr; }
  .sh-summary { position: static; }
}
@media (max-width: 560px) {
  .sh-products { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .grid3 label:first-child { grid-column: 1 / -1; }
  .sh-track li { font-size: .72rem; }
}

/* keep landing.css section headings from taking over shop headings */
.shop-page [hidden] { display: none !important; }
.landing-v2 .sh-step h2 { font-size: 1.3rem; line-height: 1.2; margin: 0; max-width: none; }
.landing-v2 .sh-card h2, .landing-v2 .sh-summary h2 { font-size: 1.1rem; line-height: 1.3; margin: 0 0 14px; max-width: none; letter-spacing: -.01em; }
.landing-v2 .sh-paybox h2 { font-size: 1.35rem; }
.landing-v2 .sh-summary h2 { margin: 0; }
.lp-btn.block { text-align: center; }
