/* Shop-only styles. Everything else (tokens, fonts, header, buttons, motion) comes from /style.css. */

.brand-tag{margin-left:-4px;padding:3px 8px;border-radius:7px;background:#241710;color:var(--accent-2);font-size:12px;font-weight:700;letter-spacing:.12em}

/* layout: steps on the left, sticky order summary on the right */
.shop{display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start}
.shop-steps{flex:999 1 600px;min-width:0;display:flex;flex-direction:column;gap:20px}
.summary{flex:1 1 320px;min-width:0;position:sticky;top:100px}
.shop-step{margin:0;padding:32px;border-radius:22px;background:var(--card);border:1px solid var(--line);min-width:0}
.shop-step legend{float:left;width:100%;margin-bottom:24px;padding:0;font-family:var(--display);font-weight:700;font-size:20px}
.shop-step legend + *{clear:both}
.shop-n{margin-right:10px;color:var(--accent)}
.shop-step .hint{margin-top:16px}

/* radio cards: the native input stays in place (accessible, keyboard) but is visually hidden */
.service input,.period input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.services{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.service{position:relative;display:flex;flex-direction:column;gap:10px;padding:24px 22px;border-radius:18px;background:var(--bg-2);border:1px solid var(--line-3);cursor:pointer;font-weight:400;color:var(--muted);transition:transform .3s var(--ease-out),border-color .2s,box-shadow .3s,background .2s}
.service:hover{transform:translateY(-3px);border-color:#5a3a1e}
.service-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 12px}
.service-top b{font-family:var(--display);font-weight:700;font-size:22px;color:var(--text)}
.service-from{font-size:14px;font-weight:600;color:var(--accent-2);white-space:nowrap}
.service-text{font-size:14px;line-height:1.5;color:var(--subtle)}
.service .badge{top:-11px;left:20px;font-size:11px}
.service-pro b{color:var(--pro)}
.service-premium b{color:var(--premium)}
.service:has(input:checked){background:#21160e;border-color:var(--accent);box-shadow:0 20px 50px -24px rgba(255,122,26,.6)}
.service-pro:has(input:checked){background:#12231a;border-color:#4f9a66;box-shadow:0 20px 50px -24px rgba(120,220,150,.45)}
.service:has(input:focus-visible),.period:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:3px}
.service::after{content:"";position:absolute;right:18px;bottom:18px;width:18px;height:18px;border-radius:50%;border:2px solid var(--line-3);transition:border-color .2s,background .2s,box-shadow .2s}
.service:has(input:checked)::after{border-color:var(--accent);background:var(--accent);box-shadow:inset 0 0 0 3px var(--bg-2)}
.service-pro:has(input:checked)::after{border-color:var(--pro);background:var(--pro)}
.service .service-text{padding-right:26px}

.periods{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}
.period{position:relative;display:flex;flex-direction:column;gap:4px;padding:18px 20px;border-radius:14px;background:var(--bg-2);border:1px solid var(--line-3);cursor:pointer;font-weight:400;transition:border-color .2s,background .2s,transform .3s var(--ease-out)}
.period:hover{border-color:#5a3a1e;transform:translateY(-2px)}
.period b{font-size:16px;font-weight:600;color:var(--text)}
.period span{font-family:var(--display);font-weight:700;font-size:18px;color:var(--accent-2)}
.period:has(input:checked){background:#21160e;border-color:var(--accent)}
.period-forever span{color:var(--premium)}

.who{display:flex;flex-direction:column;gap:18px;max-width:520px}
.who .field{margin-top:-10px}

/* order summary */
.summary h2{font-size:22px}
.summary-list{margin:0;display:flex;flex-direction:column;gap:12px}
.summary-list div{display:flex;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:1px solid var(--line-2)}
.summary-list dt{color:var(--faint);font-size:15px}
.summary-list dd{margin:0;font-weight:600;text-align:right;overflow-wrap:anywhere}
.summary-list dd.muted{font-weight:400}
.summary-total{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.summary-total span{color:var(--muted)}
.summary-total b{font-family:var(--display);font-weight:900;font-size:34px;color:var(--text)}
label.agree{flex-direction:row;align-items:flex-start;gap:12px;font-weight:400;font-size:14px;color:var(--muted);cursor:pointer}
.agree input{flex:0 0 auto;width:20px;height:20px;min-height:0;margin:1px 0 0;padding:0;accent-color:var(--accent);cursor:pointer}
.summary-note{display:flex;gap:8px;align-items:flex-start;color:var(--faint);font-size:13px;line-height:1.5}
.summary-note svg{flex:0 0 auto;margin-top:3px}
.form-message[data-kind="info"]{background:#21160e;border:1px solid #5a3a1e;color:var(--accent-2)}
.shop[data-service="premium"] .summary{border-color:#5a3a1e}

.page-head .lead-more{margin-top:14px;font-size:16px;color:var(--subtle)}
.service-content{margin-top:18px;padding:18px 22px;border-radius:14px;background:#120d09;border:1px dashed var(--line-3)}
.service-content-title{font-size:14px;color:var(--faint)}
.service-content-title b{color:var(--text)}
.service-content ul{margin:10px 0 0;padding-left:18px;display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:15px}
.period small{font-size:13px;color:var(--faint)}
.summary-kicker{margin-top:-10px;color:var(--faint);font-size:14px}
.summary-list dd{max-width:62%}
.summary-list .stack{flex-direction:column;gap:4px}
.summary-list .stack dd{max-width:none;text-align:left;font-weight:400;color:var(--muted);font-size:14px;line-height:1.5}
.before-pay{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border-radius:12px;background:#120d09;border:1px solid var(--line-2);color:var(--subtle);font-size:13px;line-height:1.5}
.before-pay b{color:var(--text)}
.shop-footer .footer-legal{flex:1 1 100%;display:flex;flex-direction:column;gap:6px}
.shop-footer .footer-legal p{margin:0;color:var(--faint);font-size:13px}

/* legal pages */
.legal-text{display:flex;flex-direction:column;gap:12px;margin-top:18px;color:var(--muted)}
.legal-note{margin-bottom:20px;padding:16px 20px;border-radius:14px;background:#21160e;border:1px solid #5a3a1e;color:var(--accent-2);font-size:15px}
.legal-list{margin:0;display:flex;flex-direction:column;gap:14px}
.legal-list div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 24px;padding-bottom:14px;border-bottom:1px solid var(--line-2)}
.legal-list div:last-child{border-bottom:0;padding-bottom:0}
.legal-list dt{color:var(--faint)}
.legal-list dd{margin:0;color:var(--text);text-align:right}
.contacts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px}
.contacts-grid .card h2{font-family:var(--display);font-weight:700;font-size:22px;margin-bottom:22px}

/* success page */
.success-actions{justify-content:center}

@media (max-width:720px){
  .brand-tag{display:none}
  .shop{gap:20px}
  .shop-step{padding:22px 16px}
  .shop-step legend{font-size:18px;margin-bottom:18px}
  .summary{position:static}
  .summary-total b{font-size:28px}
  .services{grid-template-columns:1fr}
  .periods{grid-template-columns:1fr 1fr}
  .legal-list dd{text-align:left}
  .contacts-grid{grid-template-columns:1fr}
}
