/* ==========================================================================
   Weblogy Shop (weblogy.eu/shop) – builds on styles.css tokens
   ========================================================================== */
html[data-language="de"] [data-lang="en"],
html[data-language="en"] [data-lang="de"] { display: none !important; }

.shop-page { background: var(--paper); }
.shop-page h1, .shop-page h2, .shop-page h3 { letter-spacing: -0.02em; }
.shop-page .button-ghost { background: var(--paper); border: 1px solid var(--line); color: var(--ink); backdrop-filter: none; }
.shop-muted { color: var(--muted); }
[hidden] { display: none !important; }

/* header cart */
.shop-cart-link { position: relative; flex-shrink: 0; display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: .3rem; border-radius: 10px; background: var(--ink); color: var(--paper); transition: transform 160ms ease; }
.shop-cart-link:hover { transform: translateY(-2px); }
.shop-cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--coral); color: #fff; font-size: .72rem; font-weight: 900; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--paper); }
.shop-cart-count.is-bump { animation: shop-bump 420ms ease; }
@keyframes shop-bump { 40% { transform: scale(1.35); } }

/* ---------------------------------------------------------------- hero */
.shop-hero { position: relative; overflow: hidden; padding: 9rem 0 4.2rem;
  background:
    radial-gradient(900px 500px at 88% 0%, rgba(63, 176, 113, 0.20), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(8, 127, 115, 0.14), transparent 60%),
    var(--soft); }
.shop-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%); }
.shop-hero > .container { position: relative; }
.shop-hero-sm { padding: 8rem 0 2.6rem; }
.shop-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3.5rem; align-items: center; }
.shop-kicker { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.1rem; padding: .4rem .85rem .4rem .55rem; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); font-weight: 800; font-size: .9rem; box-shadow: var(--shadow-soft); color: var(--ink); }
.shop-kicker-light { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; box-shadow: none; }
.shop-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(63,176,113,.2); }
.shop-hero h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); line-height: 1.04; margin: 0 0 1.2rem; max-width: 16ch; }
.shop-hero-sm h1 { font-size: clamp(2rem, 4vw, 3.1rem); max-width: 24ch; }
.shop-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--teal), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shop-lead { font-size: 1.12rem; color: var(--muted); max-width: 40rem; margin: 0 0 1.6rem; line-height: 1.6; }
.shop-crumbs { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.2rem; font-size: .92rem; color: var(--muted); font-weight: 600; }
.shop-crumbs a { color: var(--teal); }
.shop-search { display: flex; align-items: center; gap: .7rem; max-width: 34rem; padding: .35rem .5rem .35rem 1rem; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-soft); color: var(--muted); }
.shop-search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(8,127,115,.14); }
.shop-search input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; padding: .75rem 0; font: inherit; color: var(--ink); outline: none; box-shadow: none !important; }
.shop-trust { display: flex; flex-wrap: wrap; gap: .45rem 1.4rem; list-style: none; padding: 0; margin: 1.6rem 0 0; color: var(--muted); font-size: .9rem; font-weight: 600; }
.shop-trust li::before { content: "✓"; color: var(--green); font-weight: 900; margin-right: .4rem; }

.shop-spotlight { position: relative; display: flex; flex-direction: column; gap: .4rem; padding: 1.6rem; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); transition: transform 220ms ease, box-shadow 220ms ease; }
.shop-spotlight:hover { transform: translateY(-4px) rotate(-.3deg); }
.shop-spotlight-badge { position: absolute; top: 1.2rem; right: 1.2rem; padding: .3rem .8rem; border-radius: 999px; background: var(--coral); color: #fff; font-weight: 900; font-size: .8rem; }
.shop-spotlight-media { height: 190px; border-radius: 14px; display: grid; place-items: center; margin-bottom: .8rem;
  background: radial-gradient(260px 160px at 50% 40%, rgba(63,176,113,.28), transparent 70%), linear-gradient(135deg, var(--mint), var(--soft)); }
.shop-spotlight-media img { width: 104px; height: 104px; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(8,127,115,.35)); }
.shop-spotlight h2 { margin: 0; font-size: 1.6rem; }
.shop-spotlight p { margin: 0; color: var(--muted); }
.shop-spotlight-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.shop-pill-cta { padding: .55rem 1rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 800; font-size: .9rem; }

/* ---------------------------------------------------------------- sections */
.shop-section { padding: 4.5rem 0; }
.shop-section-tight { padding-top: 2.5rem; }
.shop-section-soft { background: var(--soft); }
.shop-heading { margin-bottom: 2rem; }
.shop-heading h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: .3rem 0 0; }
.shop-heading-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }

.shop-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.shop-cat { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); overflow: hidden; transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease; }
.shop-cat::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(63,176,113,.18), transparent 70%); transition: transform 300ms ease; }
.shop-cat:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: var(--shadow-soft); }
.shop-cat:hover::after { transform: scale(1.4); }
.shop-cat strong { font-size: 1.15rem; margin-top: .5rem; }
.shop-cat span:not(.shop-cat-icon) { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.shop-cat em { font-style: normal; font-weight: 800; color: var(--teal); font-size: .88rem; margin-top: auto; padding-top: .6rem; }
.shop-cat-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--mint); color: var(--teal); }
.shop-kicker .shop-cat-icon { width: 26px; height: 26px; border-radius: 8px; }
.shop-cat-icon svg { width: 60%; height: 60%; }

.shop-filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.shop-filters button { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: .5rem 1rem; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; transition: background 150ms ease, color 150ms ease; }
.shop-filters button.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------------------------------------------------------------- product cards */
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.shop-card { display: flex; flex-direction: column; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.shop-card.is-featured { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.shop-card-media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--mint), var(--soft)); overflow: hidden; }
.shop-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.shop-card:hover .shop-card-media img { transform: scale(1.05); }
.shop-card-media img.is-contain { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(8,127,115,.3)); }
.shop-badge { position: absolute; top: .8rem; left: .8rem; padding: .25rem .7rem; border-radius: 999px; background: var(--coral); color: #fff; font-size: .78rem; font-weight: 900; }
.shop-icon-fallback { display: grid; place-items: center; width: 86px; height: 86px; border-radius: 22px; background: var(--paper); color: var(--teal); box-shadow: 0 18px 40px rgba(8,127,115,.22); }
.shop-icon-fallback svg { width: 54%; height: 54%; }
.shop-product-media .shop-icon-fallback { width: 140px; height: 140px; border-radius: 32px; }
.shop-card-body { display: flex; flex-direction: column; gap: .35rem; padding: 1.2rem 1.25rem 1.3rem; flex: 1; }
.shop-card-type { margin: 0; font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); }
.shop-card h3 { margin: 0; font-size: 1.18rem; }
.shop-card h3 a { color: var(--ink); }
.shop-card-text { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; flex: 1; }
.shop-card-foot { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-top: .9rem; flex-wrap: wrap; }
.shop-price { font-weight: 900; color: var(--ink); }
.shop-card-cta { font-weight: 800; color: var(--teal); font-size: .92rem; }
.shop-card-cta span { display: inline-block; transition: transform 160ms ease; }
.shop-card:hover .shop-card-cta span { transform: translateX(3px); }
.shop-empty { text-align: center; color: var(--muted); padding: 2rem 0; }
.shop-empty a { color: var(--teal); font-weight: 800; }

.shop-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.shop-steps li { display: flex; flex-direction: column; gap: .4rem; padding: 1.4rem; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); }
.shop-steps b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--teal), var(--green)); color: #fff; font-weight: 900; }
.shop-steps strong { font-size: 1.1rem; margin-top: .4rem; }
.shop-steps span { color: var(--muted); line-height: 1.55; }

.shop-custom { padding: 0 0 1rem; }
.shop-custom-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding: 2.6rem; border-radius: 22px; color: #fff;
  background: radial-gradient(600px 300px at 100% 0%, rgba(63,176,113,.35), transparent 60%), radial-gradient(500px 260px at 0% 100%, rgba(240,170,44,.18), transparent 60%), var(--charcoal); }
.shop-custom-inner h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); margin: 0 0 .5rem; }
.shop-custom-inner p { color: rgba(255,255,255,.75); margin: 0; max-width: 40rem; line-height: 1.6; }

.shop-faq { max-width: 860px; }
.shop-faq-item { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.shop-faq-item summary { cursor: pointer; font-weight: 800; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.shop-faq-item summary::after { content: "+"; color: var(--teal); font-weight: 900; font-size: 1.3rem; line-height: 1; }
.shop-faq-item[open] summary::after { content: "−"; }
.shop-faq-item p { color: var(--muted); line-height: 1.65; margin: .8rem 0 0; }
.shop-note-card { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; margin-top: 2rem; padding: 1.4rem 1.6rem; border-radius: 16px; background: var(--soft); border: 1px dashed var(--line); }
.shop-note-card span { color: var(--muted); flex: 1; min-width: 14rem; }

/* ---------------------------------------------------------------- product page */
.shop-product { padding: 8.5rem 0 3rem; background: linear-gradient(180deg, var(--soft), var(--paper) 420px); }
.shop-product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.shop-product-media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(320px 220px at 50% 40%, rgba(63,176,113,.3), transparent 70%), linear-gradient(135deg, var(--mint), var(--soft)); box-shadow: var(--shadow-soft); }
.shop-product-media img { width: 100%; height: 100%; object-fit: cover; }
.shop-product-media img.is-contain { width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(8,127,115,.35)); }
.shop-features { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem; }
.shop-features li { display: flex; gap: .55rem; align-items: flex-start; font-weight: 600; font-size: .95rem; }
.shop-features li::before { content: "✓"; flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--mint); color: var(--teal); font-weight: 900; font-size: .8rem; }
.shop-product-info h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: .4rem 0 .8rem; line-height: 1.08; }
.shop-buy { padding: 1.4rem; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.shop-billing { display: inline-flex; gap: .3rem; padding: .3rem; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); margin-bottom: 1rem; }
.shop-billing button { border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 800; padding: .55rem 1rem; border-radius: 9px; cursor: pointer; }
.shop-billing button.is-active { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-soft); }
.shop-billing em { font-style: normal; color: var(--green); }
.shop-plans { display: grid; gap: .7rem; }
.shop-plan { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "radio name price" "radio for unit"; gap: .1rem .8rem; align-items: center; padding: 1rem 1.1rem; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color 150ms ease, background 150ms ease; }
.shop-plan.is-selected { border-color: var(--teal); background: color-mix(in srgb, var(--mint) 45%, transparent); }
.shop-plan input { grid-area: radio; width: 20px; height: 20px; accent-color: var(--teal); }
.shop-plan-name { grid-area: name; font-weight: 900; font-size: 1.05rem; }
.shop-plan-for { grid-area: for; color: var(--muted); font-size: .88rem; }
.shop-plan-price { grid-area: price; font-weight: 900; font-size: 1.25rem; text-align: right; }
.shop-plan-unit { grid-area: unit; color: var(--muted); font-size: .8rem; text-align: right; }
.shop-seats { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; font-weight: 700; }
.shop-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); }
.shop-qty button { width: 40px; height: 44px; border: 0; background: var(--soft); color: var(--ink); font-size: 1.2rem; font-weight: 800; cursor: pointer; }
.shop-qty input { width: 64px; height: 44px; border: 0 !important; text-align: center; font: inherit; font-weight: 800; background: transparent !important; color: var(--ink); box-shadow: none !important; -moz-appearance: textfield; }
.shop-qty input::-webkit-outer-spin-button, .shop-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.shop-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 700; }
.shop-total strong { font-size: 1.5rem; }
.shop-total-note { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; min-height: 1.3em; }
.shop-buy-cta { width: 100%; margin-top: 1rem; font-size: 1.05rem; min-height: 52px; }
.shop-buy-meta { margin: .7rem 0 0; color: var(--muted); font-size: .86rem; text-align: center; line-height: 1.5; }
.shop-bigprice { font-size: 2rem; font-weight: 900; }
.shop-buy-row { display: flex; gap: .7rem; margin-top: 1.1rem; }
.shop-buy-row .button { flex: 1; }
.shop-soldout { margin: 1rem 0 0; font-weight: 700; }
.shop-soldout a { color: var(--teal); }
.shop-facts { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.shop-facts li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; font-size: .94rem; }
.shop-facts b { color: var(--muted); font-weight: 700; }
.shop-links { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.2rem; }
.shop-links a { color: var(--teal); font-weight: 800; }
.shop-desc { max-width: 780px; margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.shop-desc h2 { font-size: 1.6rem; }
.shop-desc p { color: var(--muted); font-size: 1.05rem; line-height: 1.75; }

/* ---------------------------------------------------------------- cart / checkout */
.shop-cart-layout, .shop-checkout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 2rem; align-items: start; }
.shop-cart-line { display: grid; grid-template-columns: 84px 1fr auto auto; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; margin-bottom: .8rem; background: var(--paper); }
.shop-cart-line .shop-cart-thumb { width: 84px; height: 64px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--mint), var(--soft)); }
.shop-cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.shop-cart-thumb img.is-contain { width: 40px; height: 40px; object-fit: contain; }
.shop-cart-line strong { display: block; }
.shop-cart-line small { color: var(--muted); }
.shop-remove { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 1.4rem; line-height: 1; padding: .3rem; }
.shop-remove:hover { color: var(--coral); }
.shop-summary { position: sticky; top: 6.5rem; padding: 1.5rem; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); }
.shop-summary h2 { font-size: 1.25rem; margin: 0 0 1rem; }
.shop-summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.shop-summary-row small { display: block; color: var(--muted); font-size: .82rem; }
.shop-summary-total { font-weight: 900; font-size: 1.1rem; border-bottom: 0; }
.shop-summary .shop-trust { flex-direction: column; gap: .4rem; font-size: .86rem; margin-top: 1.2rem; }
.shop-step-card { padding: 1.6rem; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 1.2rem; }
.shop-step-card h2 { display: flex; align-items: center; gap: .7rem; font-size: 1.3rem; margin: 0 0 .4rem; }
.shop-step-no { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--paper); font-size: .9rem; font-weight: 900; }
.shop-step-card > .shop-muted { margin: 0 0 1.1rem; line-height: 1.55; }
.shop-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; }
.shop-form label > span:first-child { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
.shop-form input[type="text"], .shop-form input[type="email"], .shop-form input[type="tel"], .shop-form textarea, .shop-form select {
  width: 100%; padding: .85rem .95rem; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; }
.shop-form input:focus, .shop-form textarea:focus, .shop-form select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(8,127,115,.14); }
.shop-form .is-invalid { border-color: var(--coral) !important; }
.shop-span-2 { grid-column: 1 / -1; }
.shop-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.shop-check { display: flex; gap: .7rem; align-items: flex-start; margin: 1.2rem 0 .4rem; font-size: .9rem; color: var(--muted); line-height: 1.55; }
.shop-check input { margin-top: .2rem; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--teal); }
.shop-check a { color: var(--teal); font-weight: 700; }
.shop-captcha { margin: 1rem 0 .2rem; }
.shop-form-error { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: 10px; background: rgba(231,86,61,.1); color: var(--coral); font-weight: 700; font-size: .92rem; }
.shop-secure::before { content: "🔒 "; }
.shop-code { display: block; width: 100%; max-width: 15rem; margin: .4rem 0 0; padding: .9rem; text-align: center; font-size: 1.8rem; font-weight: 900; letter-spacing: .45em; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); }
.shop-code:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(8,127,115,.14); }
.shop-linkbtn { display: block; margin: .8rem auto 0; border: 0; background: none; color: var(--teal); font: inherit; font-weight: 700; cursor: pointer; }
.shop-alert { padding: 1rem 1.2rem; border-radius: 12px; background: rgba(240,170,44,.14); border: 1px solid rgba(240,170,44,.4); margin-bottom: 1.2rem; font-weight: 600; }
.button.is-busy { pointer-events: none; opacity: .85; }
.button.is-busy::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; animation: shop-spin 700ms linear infinite; }

/* ---------------------------------------------------------------- order status */
.shop-order { padding-top: 8.5rem; background: linear-gradient(180deg, var(--soft), var(--paper) 520px); min-height: 70vh; }
.shop-order-shell { max-width: 720px; }
.shop-order-card { padding: 2.4rem; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.shop-order-card h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: .2rem 0 .6rem; }
.shop-order-card .shop-lead { margin-left: auto; margin-right: auto; }
.shop-order-icon { width: 76px; height: 76px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; font-size: 2.2rem; font-weight: 900; color: #fff; }
.shop-order-icon.is-ok { background: linear-gradient(135deg, var(--teal), var(--green)); box-shadow: 0 16px 40px rgba(8,127,115,.35); animation: shop-pop 520ms cubic-bezier(.2,1.4,.4,1); }
.shop-order-icon.is-bad { background: var(--coral); }
.shop-order-icon.is-wait { background: var(--soft); border: 1px solid var(--line); }
@keyframes shop-pop { from { transform: scale(.4); opacity: 0; } }
.shop-spinner { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--teal); animation: shop-spin 800ms linear infinite; }
@keyframes shop-spin { to { transform: rotate(360deg); } }
.shop-order-lines { text-align: left; margin: 1.6rem 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.shop-order-lines div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); }
.shop-order-lines div:last-child { border-bottom: 0; }
.shop-order-lines .is-total { background: var(--soft); font-weight: 900; }
.shop-next { text-align: left; list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .8rem; counter-reset: n; }
.shop-next li { position: relative; padding: 1rem 1.1rem 1rem 3.4rem; border-radius: 14px; background: var(--soft); counter-increment: n; display: flex; flex-direction: column; gap: .2rem; }
.shop-next li::before { content: counter(n); position: absolute; left: 1rem; top: 1rem; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 900; font-size: .85rem; }
.shop-next span { color: var(--muted); line-height: 1.5; }
.shop-next a { color: var(--teal); font-weight: 800; }
.shop-next-sm li { background: var(--paper); border: 1px solid var(--line); }
.shop-order-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* toast */
.shop-toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%) translateY(20px); opacity: 0; z-index: 100; padding: .9rem 1.2rem; border-radius: 12px; background: var(--ink); color: var(--paper); font-weight: 700; box-shadow: var(--shadow); transition: opacity 200ms ease, transform 200ms ease; display: flex; gap: .8rem; align-items: center; }
.shop-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
.shop-toast a { color: var(--green); }

/* ---------------------------------------------------------------- dark mode tweaks */
html[data-theme="dark"] .shop-cart-link { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
html[data-theme="dark"] .shop-custom-inner { border: 1px solid var(--line); }
html[data-theme="dark"] .shop-plan.is-selected { background: rgba(63,176,113,.12); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .shop-grid, .shop-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-hero-grid, .shop-product-grid { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
  .shop-cart-layout, .shop-checkout { grid-template-columns: minmax(0, 1fr); }
  .shop-summary { position: static; }
}
@media (max-width: 720px) {
  .shop-hero { padding: 7.5rem 0 3rem; }
  .shop-grid, .shop-cats, .shop-steps, .shop-form-grid, .shop-features { grid-template-columns: minmax(0, 1fr); }
  .shop-custom-inner { padding: 1.8rem; }
  .shop-cart-line { grid-template-columns: 64px 1fr auto; }
  .shop-cart-line .shop-cart-thumb { width: 64px; height: 52px; }
  .shop-cart-line .shop-line-total { grid-column: 2 / -1; text-align: right; }
  .shop-order-card { padding: 1.6rem 1.2rem; }
  .shop-facts li { grid-template-columns: 1fr; gap: .1rem; }
  .shop-buy-row { flex-direction: column; }
  .shop-qty { align-self: flex-start; }
  .shop-cart-link { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-page *, .shop-page *::before, .shop-page *::after { animation: none !important; transition: none !important; }
}

/* license info on plugin products */
.shop-license-box { margin: 4px 0 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--teal, #087f73) 30%, transparent); background: color-mix(in srgb, var(--teal, #087f73) 7%, transparent); font-size: 14px; line-height: 1.5; }
.shop-license-box p { margin: 0 0 6px; }
.shop-license-box p:last-child { margin-bottom: 0; }
.shop-license-box ul { margin: 0 0 6px; padding-left: 18px; }
