/* Árak (/arak-berletek), the purchase (/vasarlas/<sku>) and the return from Barion (/vasarlas/vissza). Everything is
   scoped to the page's root `.shop`, a size container: the layout follows the width the page gets, never the device.
   The site's header and footer stay as the theme draws them. Touch targets are at least 44 px high. */

.shop { --teal:#45b29d; --teal-d:#1a8f78; --ink:#333; --muted:#888; --line:#ececec; --tint:#f4faf8; --pink:#e883ae;
        --purple:#915291; --bg:#f7f7f7; --red:#c62828; container-type:inline-size; font-family:Poppins, Arial, sans-serif;
        color:var(--ink); font-weight:300; padding-bottom:40px; }
.shop *, .shop *::before, .shop *::after { box-sizing:border-box; }
.shop a { color:inherit; }
.shop h1, .shop h2, .shop h3 { letter-spacing:normal; text-transform:none; color:var(--ink); }
.shop [hidden] { display:none !important; }

/* ------------------------------------------------------------------ buttons and links */
.shop .sh-btn { border:0; border-radius:22px; min-height:44px; padding:0 20px; font:500 14px/44px Poppins, Arial, sans-serif;
                background:var(--teal); color:#fff; text-decoration:none; white-space:nowrap; display:inline-block;
                text-align:center; cursor:pointer; }
.shop .sh-btn:hover { background:var(--teal-d); color:#fff; }
.shop .sh-btn.ghost { background:#fff; color:var(--teal-d); box-shadow:inset 0 0 0 1.5px var(--teal); }
.shop .sh-btn.wide { display:block; width:100%; font-size:15px; }
.shop .sh-btn[disabled], .shop .sh-btn.busy { background:#ccc; cursor:default; }
.shop .sh-more { display:inline-flex; align-items:center; min-height:44px; font-size:13px; font-weight:500; color:var(--teal-d);
                 text-decoration:none; }
.shop .sh-more:hover { text-decoration:underline; }
.shop .sh-muted { color:var(--muted); font-size:13px; }

/* ------------------------------------------------------------------ Árak */
.sh-hero { padding:46px 30px 22px; max-width:1180px; margin:0 auto; }
.sh-pre { color:var(--purple); font-size:12px; letter-spacing:3px; text-transform:uppercase; font-weight:500; }
.shop .sh-hero h1 { font:400 46px/1.15 Prata, Georgia, serif; margin:8px 0 10px; }
.sh-hero p { max-width:640px; color:#666; font-size:15px; line-height:1.7; margin:0; }
.sh-plans { max-width:1180px; margin:0 auto; padding:16px 30px 10px; display:grid;
            grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:26px; }
.sh-plan { border-radius:16px; background:#fff; box-shadow:0 2px 16px rgba(0,0,0,.08); padding:24px 24px 22px; display:flex;
           flex-direction:column; border-top:4px solid var(--teal); position:relative; }
.sh-plan.online { border-top-color:var(--purple); }
.sh-tag { position:absolute; top:-12px; left:22px; background:var(--pink); color:#fff; border-radius:12px; padding:3px 12px;
          font-size:12px; font-weight:500; }
.shop .sh-plan h3 { font:400 24px/1.25 Prata, Georgia, serif; margin:4px 0 4px; }
.sh-sub { color:var(--muted); font-size:13px; margin-bottom:14px; }
.sh-amt { font:400 38px/1.2 Prata, Georgia, serif; margin:0 0 4px; }
.sh-amt small { font:400 14px Poppins, Arial, sans-serif; color:var(--muted); margin-left:6px; }
.sh-per { font-size:13px; color:var(--teal-d); font-weight:500; margin-bottom:14px; }
.shop .sh-plan ul { list-style:none; padding:0; margin:0 0 20px; font-size:14px; line-height:1.6; color:#555; }
.shop .sh-plan li { display:flex; gap:10px; margin-bottom:6px; padding:0; }
.shop .sh-plan li::before { content:"✓"; color:var(--teal); font-weight:600; }
.sh-plan .sh-btn { margin-top:auto; }
.sh-desk { max-width:1180px; margin:34px auto 0; padding:0 30px; }
.sh-desk > div { max-width:680px; }
.shop .sh-desk h2 { font:400 28px Prata, Georgia, serif; margin:0 0 6px; }
.sh-desk p { color:#666; font-size:14px; line-height:1.7; margin:0 0 14px; }
.sh-pricelist { border-radius:16px; background:var(--bg); padding:8px 22px; }
.sh-row { display:flex; gap:10px; align-items:baseline; padding:12px 0; border-bottom:1px solid #e3e3e3; font-size:15px; }
.sh-row:last-child { border-bottom:0; }
.sh-row span { flex:1; } .sh-row small { display:block; color:var(--muted); font-size:12px; }
.sh-row b { font-weight:600; white-space:nowrap; }
.sh-already { max-width:1180px; margin:22px auto 0; padding:0 30px; font-size:14px; color:#666; }
.sh-empty { max-width:1180px; margin:0 auto; padding:0 30px; color:var(--muted); }
@container (max-width:700px) {
  .sh-hero { padding:26px 16px 12px; } .shop .sh-hero h1 { font-size:32px; }
  .sh-plans { padding:14px 16px 6px; grid-template-columns:1fr; gap:24px; }
  .sh-desk { padding:0 16px; margin-top:26px; } .sh-already, .sh-empty { padding:0 16px; }
}

/* ------------------------------------------------------------------ the purchase */
.sh-crumb { max-width:1100px; margin:0 auto; padding:16px 30px 0; font-size:12px; color:var(--muted); }
.sh-crumb a { text-decoration:none; }
.sh-checkout { max-width:1100px; margin:0 auto; padding:18px 30px 0; display:grid; grid-template-columns:1.35fr 1fr; gap:30px;
               align-items:start; }
.shop .sh-h1 { max-width:1100px; margin:0 auto; padding:6px 30px 0; font:400 34px/1.2 Prata, Georgia, serif; }
.sh-step { border-radius:16px; border:1px solid var(--line); padding:20px 22px; margin-bottom:18px; }
.shop .sh-step h2 { font:500 16px Poppins, Arial, sans-serif; margin:0 0 4px; display:flex; align-items:center; gap:10px; }
.sh-n { width:26px; height:26px; border-radius:50%; background:var(--teal); color:#fff; font-size:13px; display:inline-flex;
        align-items:center; justify-content:center; flex:none; }
.sh-step h2 .sh-more { margin-left:auto; font-size:13px; min-height:44px; }
.shop button.sh-more { border:0; background:none; padding:0; cursor:pointer; font-family:Poppins, Arial, sans-serif; }
.sh-lead { color:#666; font-size:13px; margin:0 0 14px; line-height:1.6; }
.sh-field { margin-bottom:12px; }
.sh-field label { display:block; font-size:12px; color:#666; margin-bottom:4px; font-weight:400; }
.sh-field label .req { color:var(--pink); }
.shop .sh-field input { width:100%; font:300 15px Poppins, Arial, sans-serif; padding:11px 12px; border:1px solid #ccc;
                        border-radius:8px; min-height:44px; background:#fff; color:var(--ink); }
.shop .sh-field input.bad { border-color:var(--red); background:#fff7f7; }
.sh-err { color:var(--red); font-size:12px; margin-top:4px; }
.sh-help { color:var(--muted); font-size:12px; margin-top:4px; }
.sh-row2 { display:grid; grid-template-columns:130px 1fr; gap:10px; }
.sh-addr { font-size:15px; line-height:1.7; } .sh-addr small { color:var(--muted); font-size:12px; display:block; }
.sh-chk { display:flex; gap:10px; align-items:flex-start; font-size:14px; line-height:1.6; cursor:pointer; }
/* The theme hides real checkboxes (it draws its own beside a following label); this one is shown as it is. */
.shop .sh-chk input[type="checkbox"] { display:inline-block; position:static; opacity:1; visibility:visible; width:22px;
                                       height:22px; margin:1px 0 0; flex:none; accent-color:var(--teal);
                                       -webkit-appearance:checkbox; appearance:auto; }
.sh-chk a { color:var(--teal-d); }
.shop button.sh-company { border:0; background:none; padding:0; font:500 13px Poppins, Arial, sans-serif; color:var(--teal-d);
                          cursor:pointer; margin:-2px 0 12px; min-height:32px; }
.sh-summary { border-radius:16px; background:#fff; box-shadow:0 2px 18px rgba(0,0,0,.08); padding:22px 24px;
              border-top:4px solid var(--teal); position:sticky; top:20px; }
.sh-summary.online { border-top-color:var(--purple); }
.sh-what { font:400 22px/1.3 Prata, Georgia, serif; margin:0 0 4px; }
.sh-summary dl { display:grid; grid-template-columns:96px 1fr; gap:8px 10px; margin:0 0 14px; font-size:14px; }
.sh-summary dt { color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.5px; padding-top:2px; font-weight:400; }
.sh-summary dd { margin:0; font-weight:500; }
.sh-summary dd small { display:block; color:var(--muted); font-weight:400; font-size:12px; }
.sh-total { display:flex; justify-content:space-between; align-items:baseline; border-top:1px solid var(--line); padding-top:12px;
            margin-bottom:16px; }
.sh-total b { font:400 30px Prata, Georgia, serif; }
.sh-barion { display:flex; gap:10px; align-items:center; justify-content:center; margin-top:12px; color:var(--muted); font-size:12px;
             text-align:center; }
.sh-barion span { border:1px solid #ddd; border-radius:4px; padding:2px 6px; font-weight:600; color:#0097db; font-size:11px; }
.sh-info { background:var(--tint); border-radius:10px; padding:10px 12px; font-size:13px; color:#3d6b61; margin-bottom:14px; line-height:1.6; }
.sh-warn { background:#fdecea; border-radius:10px; padding:10px 12px; font-size:13px; color:var(--red); margin-bottom:14px; line-height:1.6; }
.sh-loading { color:var(--muted); padding:40px 30px; text-align:center; }
@container (max-width:760px) {
  .sh-crumb { padding:12px 16px 0; } .sh-checkout { grid-template-columns:1fr; padding:6px 16px 0; gap:0; }
  .shop .sh-h1 { font-size:28px; padding:6px 16px 0; }
  .sh-summary { position:static; margin-bottom:18px; } .sh-side { order:-1; } .sh-step { padding:16px; }
  .sh-row2 { grid-template-columns:110px 1fr; }
}

/* ------------------------------------------------------------------ back from Barion */
.sh-result { max-width:640px; margin:0 auto; padding:56px 30px 10px; text-align:center; }
.sh-ico { width:76px; height:76px; border-radius:50%; margin:0 auto 18px; display:flex; align-items:center; justify-content:center;
          font-size:38px; color:#fff; }
.sh-result[data-state="ok"] .sh-ico { background:var(--teal); }
.sh-result[data-state="wait"] .sh-ico { background:#f9a825; }
.sh-result[data-state="bad"] .sh-ico { background:#e57373; }
.shop .sh-result h1 { font:400 34px/1.2 Prata, Georgia, serif; margin:0 0 10px; }
.sh-result p { color:#666; font-size:15px; line-height:1.7; margin:0 0 14px; }
.sh-card { text-align:left; border-radius:14px; border:1px solid var(--line); padding:16px 18px; margin:18px 0 22px; font-size:14px; }
.sh-card dl { display:grid; grid-template-columns:110px 1fr; gap:6px 10px; margin:0; }
.sh-card dt { color:var(--muted); font-size:12px; padding-top:2px; font-weight:400; } .sh-card dd { margin:0; font-weight:500; }
.sh-acts { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.sh-spin { display:inline-block; width:14px; height:14px; border:2px solid #f9a825; border-right-color:transparent; border-radius:50%;
           animation:sh-spin 1s linear infinite; vertical-align:-2px; margin-right:6px; }
@keyframes sh-spin { to { transform:rotate(360deg); } }
@container (max-width:700px) { .sh-result { padding:34px 16px 6px; } .shop .sh-result h1 { font-size:28px; } }

/* ------------------------------------------------------------------ paying classes (/fizetes, the return page) */
.shop .sh-items { list-style:none; padding:0; margin:0 0 14px; }
.shop .sh-items li { display:flex; gap:12px; justify-content:space-between; align-items:baseline; padding:9px 0;
                     border-bottom:1px solid var(--line); font-size:14px; line-height:1.4; }
.shop .sh-items li:last-child { border-bottom:0; }
.shop .sh-items li span { min-width:0; }
.shop .sh-items small { display:block; color:var(--muted); font-size:12px; }
.shop .sh-items b { font-weight:600; white-space:nowrap; font-variant-numeric:tabular-nums; }
.shop .sh-result .sh-items { text-align:left; }
.shop .sh-btn.ghost.red { color:var(--red); box-shadow:inset 0 0 0 1.5px var(--red); }
.shop .sh-btn.ghost.red:hover { background:#fdecec; color:var(--red); }
.shop .sh-note { color:#666; font-size:13px; line-height:1.6; margin:0 0 12px; }
.shop .sh-cardnote { margin:14px 0 0; background:#f6eef6; border-radius:12px; padding:12px 16px; font-size:14px; line-height:1.6; color:#555; }
.shop .sh-cardnote a { color:var(--purple); font-weight:500; }
