/* canna-vault headless checkout - shared styles */
:root{
  --ink:#1A1917; --ink-muted:#5a5654;
  --terra:#C4622D; --terra-dark:#a3501f;
  --jade:#2D5A27; --jade-mid:#3d7333;
  --bg-light:#f7f6f3;
  --line:rgba(26,25,23,0.12);
  --line-soft:rgba(26,25,23,0.08);
  --error:#b91c1c;
}
.fc-shell{max-width:1100px;margin:0 auto;padding:32px 20px 80px}
@media (max-width:640px){.fc-shell{padding:20px 16px 60px}}

.fc-h1{font-family:"Fraunces",Georgia,serif;font-size:32px;line-height:1.1;font-weight:700;color:var(--ink);margin:0 0 8px}
.fc-h2{font-family:"Fraunces",Georgia,serif;font-size:22px;line-height:1.2;font-weight:600;color:var(--ink);margin:0 0 16px}
.fc-lead{color:var(--ink-muted);font-size:14px;margin:0 0 24px}

.fc-grid{display:grid;grid-template-columns:1fr 360px;gap:32px;align-items:start}
@media (max-width:900px){.fc-grid{grid-template-columns:1fr;gap:24px}}

.fc-card{background:#fff;border:1px solid var(--line-soft);border-radius:16px;padding:24px;box-shadow:0 1px 0 var(--line-soft)}
.fc-card + .fc-card{margin-top:16px}

/* Steps */
.fc-steps{display:flex;gap:8px;margin:0 0 24px;color:var(--ink-muted);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;flex-wrap:wrap}
.fc-step{display:inline-flex;align-items:center;gap:8px}
.fc-step .n{display:inline-flex;width:22px;height:22px;border-radius:50%;background:#eee;color:var(--ink-muted);align-items:center;justify-content:center;font-size:11px}
.fc-step.active{color:var(--ink)}
.fc-step.active .n{background:var(--terra);color:#fff}
.fc-step.done .n{background:var(--jade);color:#fff}
.fc-step .sep{color:#bbb}

/* Form */
.fc-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.fc-row.full{grid-template-columns:1fr}
.fc-row.three{grid-template-columns:160px 1fr 1fr}
@media (max-width:640px){.fc-row,.fc-row.three{grid-template-columns:1fr}}
.fc-label{display:block;font-size:12px;font-weight:700;color:var(--ink);margin-bottom:6px;letter-spacing:.02em}
.fc-input,.fc-select{width:100%;height:42px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:14px;color:var(--ink);box-sizing:border-box;outline:none;transition:border-color .15s,box-shadow .15s}
.fc-input:focus,.fc-select:focus{border-color:var(--terra);box-shadow:0 0 0 3px rgba(196,98,45,0.15)}
.fc-input[aria-invalid="true"],.fc-select[aria-invalid="true"]{border-color:var(--error)}
.fc-help{font-size:11px;color:var(--ink-muted);margin-top:4px}
.fc-err{color:var(--error);font-size:12px;margin-top:6px}

.fc-radio{display:flex;align-items:center;gap:10px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;cursor:pointer;transition:border-color .15s,background .15s}
.fc-radio + .fc-radio{margin-top:10px}
.fc-radio input{accent-color:var(--terra);margin:0}
.fc-radio:hover{border-color:var(--terra)}
.fc-radio.is-active{border-color:var(--terra);background:#fff4ed}
.fc-radio .title{font-weight:700;color:var(--ink);font-size:14px}
.fc-radio .sub{color:var(--ink-muted);font-size:12px;margin-top:2px}

.fc-check{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:var(--ink);margin:10px 0}
.fc-check input{accent-color:var(--terra);margin-top:3px}
.fc-check a{color:var(--terra);text-decoration:underline}

.fc-btn{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 24px;border-radius:12px;border:none;background:var(--terra);color:#fff;font-weight:800;font-size:14px;letter-spacing:.04em;cursor:pointer;transition:background .15s, transform .05s;text-decoration:none}
.fc-btn:hover{background:var(--terra-dark)}
.fc-btn:active{transform:translateY(1px)}
.fc-btn[disabled]{background:#ccc;cursor:not-allowed}
.fc-btn.secondary{background:transparent;color:var(--ink);border:1px solid var(--line)}
.fc-btn.secondary:hover{background:#f3f1ee}
.fc-btn.full{width:100%}
.fc-btn.jade{background:var(--jade)}
.fc-btn.jade:hover{background:var(--jade-mid)}

.fc-link{color:var(--terra);font-weight:700;text-decoration:none;font-size:13px}
.fc-link:hover{text-decoration:underline}

/* Cart summary box */
.fc-summary{position:sticky;top:80px}
.fc-summary h3{font-family:"Fraunces",Georgia,serif;font-size:18px;font-weight:600;margin:0 0 16px;color:var(--ink)}
.fc-line{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--line-soft);font-size:13px}
.fc-line:last-child{border-bottom:none}
.fc-line .img{width:56px;height:56px;border-radius:8px;background:#f1efea;flex-shrink:0;overflow:hidden}
.fc-line .img img{width:100%;height:100%;object-fit:cover}
.fc-line .meta{flex:1;min-width:0}
.fc-line .name{font-weight:600;color:var(--ink);line-height:1.3;font-size:13px}
.fc-line .qty{color:var(--ink-muted);font-size:12px;margin-top:2px}
.fc-line .price{font-weight:700;color:var(--ink);font-size:13px;white-space:nowrap}
.fc-totals{margin-top:16px;padding-top:16px;border-top:1px solid var(--line-soft);font-size:13px}
.fc-totals .row{display:flex;justify-content:space-between;padding:4px 0;color:var(--ink-muted)}
.fc-totals .row.total{color:var(--ink);font-weight:800;font-size:16px;margin-top:6px;padding-top:10px;border-top:1px solid var(--line-soft)}
.fc-totals .vat{font-size:11px;color:var(--ink-muted);margin-top:6px}

/* Auth choice */
.fc-tabs{display:flex;gap:8px;margin-bottom:20px;background:#f3f1ee;padding:4px;border-radius:12px}
.fc-tab{flex:1;text-align:center;padding:10px 12px;font-weight:700;font-size:13px;color:var(--ink-muted);border-radius:9px;cursor:pointer;border:none;background:transparent}
.fc-tab.active{background:#fff;color:var(--ink);box-shadow:0 1px 4px rgba(26,25,23,0.06)}

/* Messages */
.fc-alert{padding:12px 14px;border-radius:10px;font-size:13px;margin-bottom:16px;border:1px solid}
.fc-alert.ok{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}
.fc-alert.err{background:#fef2f2;border-color:#fecaca;color:#991b1b}

/* Loading state */
.fc-skel{background:linear-gradient(90deg,#eee 25%,#f5f5f5 50%,#eee 75%);background-size:200% 100%;animation:sk 1.4s linear infinite;border-radius:6px;height:14px}
@keyframes sk{0%{background-position:200% 0}100%{background-position:-200% 0}}
