/* =========================================================================
   LavTech Store — store-specific styles (builds on css/styles.css tokens)
   ========================================================================= */

/* ------------------------------ hero band -------------------------------- */

.store-hero { min-height: auto; padding: calc(var(--header-h) + clamp(56px, 9vh, 96px)) 0 clamp(56px, 8vh, 88px); }
.store-hero .hero-inner { padding-top: 0; }
.store-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.store-hero .hero-trust { margin-top: clamp(28px, 5vh, 44px); }

.noscript-note {
  position: fixed; inset: auto 16px 16px 16px; z-index: 999;
  padding: 16px 20px; border-radius: 14px;
  background: var(--card-2); border: 1px solid var(--accent);
  color: var(--text); font-size: .95rem; text-align: center;
}

/* --------------------------- header store btn ---------------------------- */
/* Badge + .store-btn styles live in css/styles.css so the main page shares them. */

/* --------------------------- category picker ----------------------------- */

.cat-grid {
  margin-top: clamp(38px, 6vh, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 3vw, 32px);
}
.cat-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(30px, 4vw, 46px);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.22, .8, .3, 1), border-color .3s, box-shadow .3s;
}
.cat-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(60% 50% at 20% 0%, rgba(224, 106, 56, .14), transparent 70%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.cat-tile:hover, .cat-tile:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(224, 106, 56, .5);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
}
.cat-tile:hover::after, .cat-tile:focus-visible::after { opacity: 1; }
.cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(224, 106, 56, .12);
  border: 1px solid rgba(224, 106, 56, .35);
  color: var(--accent-2);
  margin-bottom: 6px;
}
.cat-icon svg { width: 28px; height: 28px; }
.cat-kicker {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.cat-tile h3 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
}
.cat-tile p { color: var(--muted); font-size: .96rem; max-width: 46ch; }
.cat-tag {
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
}
.cat-tag-live {
  background: rgba(224, 106, 56, .14);
  border-color: rgba(224, 106, 56, .4);
  color: var(--accent-2);
}
.cat-tag-live::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  vertical-align: 1px;
}
.cat-go {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 700;
  color: var(--accent-2);
}
.cat-tile:hover .cat-go span { display: inline-block; transform: translateX(5px); transition: transform .25s; }

/* ------------------------- category page heads --------------------------- */

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  font-size: .88rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.back-link:hover { color: var(--accent-2); }

.software-section, .gear-section { padding-top: clamp(30px, 5vh, 52px); }

/* --------------------------- price hint/save ----------------------------- */

.price-hint {
  font-size: .85rem;
  color: var(--muted);
  margin-top: -6px;
}
.term-save {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: 1px;
}
.term-btn.is-on .term-save { background: rgba(0, 0, 0, .22); }

/* ----------------------------- gear CTA ---------------------------------- */

.gear-cta {
  margin-top: clamp(30px, 5vh, 46px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 26px;
  border: 1px dashed rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .02);
}
.gear-cta p { color: var(--muted); font-size: .95rem; }
.gear-cta-actions { display: flex; gap: 10px; }

/* ---------------------------- product card ------------------------------- */

.prod-card {
  margin-top: clamp(38px, 6vh, 60px);
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: clamp(26px, 4vw, 48px);
  padding: clamp(28px, 4vw, 46px);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}
.prod-art {
  display: flex; align-items: center; justify-content: center;
  padding: clamp(18px, 3vw, 34px);
  background:
    radial-gradient(70% 70% at 50% 40%, rgba(224, 106, 56, .14), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.prod-art svg { width: min(100%, 240px); height: auto; }

.prod-body { display: flex; flex-direction: column; gap: 14px; }
.prod-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.prod-tag {
  font-family: var(--font-head); font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2);
}
.prod-badge {
  padding: 4px 10px; border-radius: 999px;
  background: rgba(224, 106, 56, .14); border: 1px solid rgba(224, 106, 56, .4);
  color: var(--accent-2); font-size: .72rem; font-weight: 600;
}
.prod-body h3 { font-family: var(--font-head); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -.02em; }
.prod-desc { color: var(--muted); max-width: 56ch; }
.prod-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.prod-chips li {
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  font-size: .8rem; color: var(--text);
}
.prod-chips li::before { content: "✓ "; color: var(--accent-2); font-weight: 700; }

.prod-buy {
  margin-top: 8px; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
}
.prod-price { display: flex; align-items: baseline; gap: 8px; }
.pp-amount { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; }
.pp-unit { color: var(--muted); font-size: .95rem; }

.prod-controls { display: flex; gap: 14px; flex-wrap: wrap; }

.qty {
  display: inline-flex; align-items: stretch;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg-2); overflow: hidden;
}
.qty-btn {
  width: 42px; border: 0; background: transparent;
  color: var(--text); font-size: 1.2rem; cursor: pointer;
  transition: background .2s;
}
.qty-btn:hover { background: rgba(255, 255, 255, .06); }
.qty-input {
  width: 58px; border: 0; border-inline: 1px solid var(--line);
  background: transparent; color: var(--text);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  text-align: center;
}
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input { -moz-appearance: textfield; appearance: textfield; }

.term { display: inline-flex; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); padding: 4px; gap: 4px; }
.term-btn {
  padding: 9px 18px; border: 0; border-radius: 9px;
  background: transparent; color: var(--muted);
  font-family: var(--font-head); font-size: .88rem; font-weight: 600;
  cursor: pointer; transition: background .2s, color .2s;
}
.term-btn.is-on { background: var(--accent-grad); color: #fff; box-shadow: 0 6px 18px rgba(224, 106, 56, .3); }
.term-wide { display: flex; width: fit-content; }

.prod-total {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 14px 18px; border-radius: 12px;
  background: rgba(224, 106, 56, .08); border: 1px solid rgba(224, 106, 56, .28);
}
.pt-label { color: var(--muted); font-size: .9rem; }
.pt-amount { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--accent-2); }

.prod-note { font-size: .82rem; color: var(--muted); }

/* ------------------------------ steps ------------------------------------ */

.steps {
  list-style: none; margin: clamp(38px, 6vh, 60px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative; padding: 26px 24px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--accent-grad); color: #fff;
  font-family: var(--font-head); font-weight: 800;
  box-shadow: 0 8px 20px rgba(224, 106, 56, .3);
}
.step h4 { margin: 16px 0 8px; font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; }
.step p { color: var(--muted); font-size: .92rem; }

/* --------------------------- coming soon --------------------------------- */

.gear-cards .card { position: relative; }
.soon-badge {
  align-self: flex-start; margin-top: auto;
  padding: 5px 12px; border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, .28);
  color: var(--muted); font-size: .76rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
}

/* ---------------------------- page heads --------------------------------- */

.view[hidden] { display: none !important; }

.store-page-head {
  padding: calc(var(--header-h) + clamp(48px, 8vh, 80px)) 0 8px;
  text-align: center;
}
.store-page-head h1 { margin-top: 16px; font-family: var(--font-head); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; }
.store-page-head .lede { margin-top: 14px; }
.ok-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.15em; height: 1.15em; margin-right: .18em;
  border-radius: 50%;
  background: rgba(61, 220, 132, .16); border: 1.5px solid #3ddc84;
  color: #3ddc84; font-size: .7em; vertical-align: middle;
}

/* ----------------------------- checkout ---------------------------------- */

.checkout-section { padding-top: clamp(30px, 5vh, 50px); }
.checkout-grid {
  display: grid; grid-template-columns: 1.55fr 1fr;
  gap: clamp(24px, 4vw, 44px); align-items: start;
}

.checkout-form {
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(24px, 3.4vw, 38px);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
}
.checkout-form h3 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  color: var(--accent-2); letter-spacing: .04em; text-transform: uppercase;
  margin-top: 6px;
}
.checkout-form h3:not(:first-of-type) { margin-top: 10px; }

.demo-ribbon {
  padding: 10px 16px; border-radius: 10px;
  background: rgba(224, 106, 56, .12); border: 1px dashed rgba(224, 106, 56, .55);
  color: var(--accent-2); font-family: var(--font-head);
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-align: center;
}

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: .88rem; color: var(--muted); }
.field span { font-weight: 500; }
.field input, .field select {
  padding: 12px 14px; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--line);
  color: var(--text); font-family: var(--font-body); font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224, 106, 56, .2);
}
.field input.is-bad { border-color: #ff5d5d; }
.field-err { color: #ff7a7a; font-size: .78rem; font-style: normal; min-height: 0; }
.field-err:empty { display: none; }

.pay-btn { margin-top: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 1.02rem; }
.pay-btn[disabled] { opacity: .6; cursor: wait; }
.checkout-note { text-align: center; font-size: .8rem; color: var(--muted); }

.order-summary {
  position: sticky; top: calc(var(--header-h) + 18px);
  padding: clamp(22px, 3vw, 30px);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  display: flex; flex-direction: column; gap: 14px;
}
.order-summary h4 { font-family: var(--font-head); font-size: .95rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sum-line {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
  font-size: .94rem;
}
.sum-line strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.sum-line span { color: var(--muted); font-size: .84rem; }
.sum-line > span:first-child { color: var(--text); }
.sum-total { border-bottom: 0; padding-bottom: 0; align-items: baseline; }
.sum-total span { color: var(--muted); font-size: .9rem; }
.sum-total strong, .sum-total > span:last-child { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; color: var(--accent-2); }
.sum-note { font-size: .82rem; color: var(--muted); }
.sum-note span { color: var(--text); font-weight: 600; }
.sum-back { font-size: .86rem; color: var(--accent-2); text-decoration: none; }
.sum-back:hover { text-decoration: underline; }

/* ------------------------------ success ---------------------------------- */

.success-section { padding-top: clamp(30px, 5vh, 50px); }
.success-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(24px, 4vw, 44px); align-items: start; }
.success-main { display: flex; flex-direction: column; gap: 22px; }

.dl-card, .timeline-card, .side-card {
  padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
}
.dl-head { display: flex; gap: 16px; align-items: center; }
.dl-head .card-icon { flex: 0 0 auto; margin: 0; }
.dl-head h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; }
.dl-head p { color: var(--muted); font-size: .88rem; }
.dl-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.dl-steps { margin: 20px 0 0; padding-left: 20px; color: var(--muted); font-size: .92rem; display: flex; flex-direction: column; gap: 8px; }
.dl-steps strong { color: var(--text); }

.tl-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.tl-head h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; }
.tl-live {
  padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 154, 102, .12); border: 1px solid rgba(255, 154, 102, .4);
  color: var(--accent-2); font-size: .76rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.tl-live.is-done { background: rgba(61, 220, 132, .12); border-color: rgba(61, 220, 132, .45); color: #3ddc84; }
.tl-live.is-bad { background: rgba(255, 93, 93, .12); border-color: rgba(255, 93, 93, .5); color: #ff7a7a; }

.timeline { list-style: none; margin: 20px 0 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px;
  width: 2px; background: var(--line);
}
.tl-item {
  position: relative; display: flex; gap: 14px; align-items: baseline;
  padding: 9px 0 9px 34px;
}
.tl-dot {
  position: absolute; left: 0; top: 12px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 800; color: transparent;
}
.tl-text { font-size: .93rem; color: var(--muted); }
.tl-detail { display: block; font-size: .78rem; color: rgba(154, 163, 178, .75); margin-top: 2px; }

.tl-item.tl-ok .tl-dot { border-color: #3ddc84; background: rgba(61, 220, 132, .15); color: #3ddc84; }
.tl-item.tl-ok .tl-dot::before { content: "✓"; }
.tl-item.tl-ok .tl-text { color: var(--text); }
.tl-item.tl-running .tl-dot { border-color: var(--accent); animation: tl-pulse 1.1s ease-in-out infinite; }
.tl-item.tl-running .tl-text { color: var(--text); }
.tl-item.tl-failed .tl-dot { border-color: #ff5d5d; background: rgba(255, 93, 93, .14); color: #ff5d5d; }
.tl-item.tl-failed .tl-dot::before { content: "✕"; }
.tl-item.tl-failed .tl-text { color: #ff9a9a; }
.tl-item.tl-skipped .tl-dot { border-color: rgba(255, 255, 255, .25); color: var(--muted); }
.tl-item.tl-skipped .tl-dot::before { content: "–"; }
.tl-item.tl-pending .tl-dot { border-color: var(--line); }

@keyframes tl-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224, 106, 56, .5); }
  50% { box-shadow: 0 0 0 7px rgba(224, 106, 56, 0); }
}

.success-side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: calc(var(--header-h) + 18px); }
.side-card h4 { font-family: var(--font-head); font-size: .95rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.side-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .9rem; display: flex; flex-direction: column; gap: 10px; }
.side-card a { color: var(--accent-2); text-decoration: none; }
.side-card a:hover { text-decoration: underline; }
.side-card .sum-line { margin-bottom: 10px; }

/* ----------------------------- cart drawer -------------------------------- */

.cart-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(3, 5, 9, .62);
  backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .25s;
}
.cart-backdrop.is-open { opacity: 1; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 91;
  width: min(420px, 92vw);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 70px rgba(0, 0, 0, .5);
  transform: translateX(105%);
  transition: transform .3s cubic-bezier(.22, .8, .3, 1);
}
.cart-drawer.is-open { transform: none; }

.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; }
.cart-close {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line); background: transparent;
  color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer;
  transition: color .2s, border-color .2s;
}
.cart-close:hover { color: var(--text); border-color: var(--accent); }

.cart-items { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.cart-empty { color: var(--muted); font-size: .92rem; text-align: center; margin-top: 30px; }

.cart-item {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg-2);
}
.ci-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.ci-name { font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.ci-meta { color: var(--muted); font-size: .8rem; }
.ci-price { font-family: var(--font-head); font-weight: 700; color: var(--accent-2); white-space: nowrap; }
.ci-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ci-remove { background: none; border: 0; color: var(--muted); font-size: .8rem; cursor: pointer; text-decoration: underline; }
.ci-remove:hover { color: #ff7a7a; }

.cart-foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.cart-foot .sum-back { text-align: center; }

/* -------------------------------- toast ----------------------------------- */

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 95;
  transform: translate(-50%, 16px);
  padding: 13px 22px; border-radius: 12px;
  background: var(--card-2); border: 1px solid var(--accent);
  color: var(--text); font-size: .92rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
  opacity: 0; transition: opacity .25s, transform .25s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------ responsive -------------------------------- */

@media (max-width: 1020px) {
  .checkout-grid, .success-grid { grid-template-columns: 1fr; }
  .order-summary, .success-side { position: static; }
  .prod-card { grid-template-columns: 1fr; }
  .prod-art { max-width: 340px; margin-inline: auto; }
}

@media (max-width: 860px) {
  .cat-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .field-grid { grid-template-columns: 1fr; }
  .prod-controls { flex-direction: column; align-items: stretch; }
  .term { justify-content: center; }
  .qty { justify-content: center; }
  .dl-actions .btn { width: 100%; }
}


/* --------------------------- catalog (software) -------------------------- */

[hidden] { display: none !important; }

.catalog-bar {
  margin-top: clamp(30px, 5vh, 46px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.catalog-note { color: var(--muted); font-size: .92rem; }

.catalog-grid {
  margin-top: clamp(26px, 4vh, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: clamp(20px, 2.6vw, 30px);
}

.catalog-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(22px, 2.6vw, 30px);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  transition: transform .25s, border-color .25s;
}
.catalog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 106, 56, .45);
}
.catalog-card h3 {
  font-family: var(--font-head); font-size: 1.3rem;
  font-weight: 700; letter-spacing: -.01em;
}

.cc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cc-icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(224, 106, 56, .12);
  border: 1px solid rgba(224, 106, 56, .35);
  color: var(--accent-2);
}
.cc-icon svg { width: 24px; height: 24px; }
.cc-badge {
  padding: 4px 10px; border-radius: 999px;
  background: rgba(224, 106, 56, .14);
  border: 1px solid rgba(224, 106, 56, .4);
  color: var(--accent-2); font-size: .72rem; font-weight: 600;
}
.cc-soon {
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px dashed var(--line);
  color: var(--muted); font-size: .72rem; font-weight: 600;
  white-space: nowrap;
}
.cc-blurb { color: var(--muted); font-size: .93rem; flex: 1 0 auto; }
.catalog-card .prod-chips { margin-top: 2px; }

.cc-price {
  display: flex; align-items: baseline; gap: 8px;
  padding-top: 12px; border-top: 1px solid var(--line);
}
.cc-price .pp-amount { font-size: 1.7rem; }

.cc-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.cc-controls .qty-input { width: 48px; }

.catalog-card.is-soon { opacity: .72; }
.catalog-card.is-soon:hover { transform: none; border-color: var(--line); }

/* checkout summary lines (rendered by js) */
#sumLines .sum-line + .sum-line { margin-top: 10px; }
