/* JSCODE Studio — theme for the «Студія» app. Colours come from theme settings via --sx-accent / --sx-ink. */
:root { --sx-accent:#FF6A1F; --sx-ink:#15171C; --sx-paper:#FFFFFF; --sx-card:#F6F7F9; --sx-line:#E2E5EA; --sx-text2:#4B505B; --sx-muted:#667085; --sx-on-dark:#A9AFBC; --sx-dark-line:#343843; }
*,*::before,*::after { box-sizing:border-box; }
[hidden] { display:none !important; }
html { scroll-behavior:smooth; scroll-padding-top:88px; -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--sx-paper); color:var(--sx-ink); font-family:'Geologica','Segoe UI',system-ui,-apple-system,sans-serif; font-size:16px; line-height:1.55; -webkit-font-smoothing:antialiased; }
img { max-width:100%; height:auto; display:block; }
a { color:inherit; }
h1,h2,h3,p,ul,ol,dl,dd { margin:0; padding:0; }
ul,ol { list-style:none; }
button,input,select,textarea { font:inherit; color:inherit; border-radius:0; }
:focus-visible { outline:3px solid var(--sx-accent); outline-offset:2px; }
.sx-mono { font-family:'JetBrains Mono',ui-monospace,Menlo,Consolas,monospace; }
.sx-muted { color:var(--sx-muted); }
.sx-wrap { width:100%; max-width:1240px; margin:0 auto; padding:0 24px; }
.sx-narrow { max-width:760px; }
.sx-skip { position:absolute; left:-9999px; top:0; z-index:100; padding:12px 16px; background:var(--sx-ink); color:#fff; }
.sx-skip:focus { left:8px; top:8px; }
.sx-visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.sx-hp { position:absolute !important; left:-9999px; width:1px; height:1px; opacity:0; }

/* type */
.sx-h1 { font-size:clamp(34px,5.4vw,68px); line-height:1.04; letter-spacing:-.04em; font-weight:600; }
.sx-h2 { font-size:clamp(26px,3.4vw,42px); line-height:1.1; letter-spacing:-.03em; font-weight:600; }
.sx-h3 { font-size:20px; line-height:1.25; letter-spacing:-.02em; font-weight:600; }
.sx-mark { background:var(--sx-accent); padding:0 .18em; box-decoration-break:clone; -webkit-box-decoration-break:clone; }
.sx-eyebrow { display:inline-block; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--sx-text2); margin-bottom:14px; }
.sx-lead { font-size:clamp(16px,1.5vw,19px); color:var(--sx-text2); max-width:40em; }
.sx-sub { color:var(--sx-text2); max-width:44em; margin-top:12px; }
.sx-hint { font-size:13px; color:var(--sx-muted); }
.sx-link { display:inline-flex; align-items:center; min-height:44px; font-size:13px; text-decoration:underline; text-underline-offset:4px; }

/* buttons, chips, fields */
.sx-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 18px; border:1px solid var(--sx-ink); background:transparent; color:var(--sx-ink); font-size:15px; font-weight:500; text-decoration:none; cursor:pointer; white-space:nowrap; transition:background .15s,color .15s; }
.sx-btn:hover { background:var(--sx-card); }
.sx-btn.is-primary { background:var(--sx-ink); color:#fff; }
.sx-btn.is-primary:hover { background:#2A2D36; }
.sx-btn.is-accent { background:var(--sx-accent); border-color:var(--sx-accent); color:var(--sx-ink); }
.sx-btn.is-accent:hover { filter:brightness(1.06); }
.sx-btn.is-big { min-height:54px; padding:0 26px; font-size:16px; }
.sx-btn.is-small { min-height:40px; padding:0 14px; font-size:14px; }
.sx-btn[disabled] { opacity:.55; cursor:default; }
.sx-chip { display:inline-flex; align-items:center; padding:3px 8px; border:1px solid var(--sx-ink); font-size:11px; line-height:1.3; white-space:nowrap; }
.sx-chip.is-accent { background:var(--sx-accent); border-color:var(--sx-accent); color:var(--sx-ink); }
.sx-field { display:flex; flex-direction:column; gap:6px; min-width:0; }
.sx-field > span { font-size:11px; letter-spacing:.04em; color:var(--sx-text2); }
.sx-input,.sx-select,.sx-textarea { width:100%; min-height:48px; padding:0 14px; border:1px solid var(--sx-ink); background:#fff; color:var(--sx-ink); font-size:16px; }
.sx-input::placeholder,.sx-textarea::placeholder { color:var(--sx-muted); opacity:1; }
.sx-textarea { padding:12px 14px; resize:vertical; min-height:96px; line-height:1.45; }
.sx-select { appearance:none; -webkit-appearance:none; background-image:linear-gradient(45deg,transparent 50%,var(--sx-ink) 50%),linear-gradient(135deg,var(--sx-ink) 50%,transparent 50%); background-position:calc(100% - 20px) 21px,calc(100% - 14px) 21px; background-size:6px 6px; background-repeat:no-repeat; padding-right:36px; }
.sx-form-msg { padding:12px 14px; border:1px solid var(--sx-ink); background:var(--sx-accent); font-size:15px; }
.sx-form-msg.is-error { background:#fff; border-color:#C62828; color:#C62828; }

/* utility bar + header */
.sx-util { background:var(--sx-ink); color:var(--sx-on-dark); font-size:12px; }
.sx-util-in { min-height:36px; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.sx-util-links { display:flex; gap:20px; align-items:center; }
.sx-util a { color:#fff; text-decoration:none; min-height:36px; display:inline-flex; align-items:center; }
.sx-util a:hover { text-decoration:underline; }
.sx-header { position:sticky; top:0; z-index:50; background:rgba(255,255,255,.96); backdrop-filter:blur(8px); border-bottom:1px solid var(--sx-ink); }
.sx-header-in { min-height:76px; display:flex; align-items:center; gap:24px; }
.sx-logo { display:inline-flex; align-items:center; text-decoration:none; flex-shrink:0; }
.sx-logo img { width:auto; max-height:60px; }
.sx-logo-text { font-size:22px; font-weight:600; letter-spacing:-.03em; }
.sx-nav { display:flex; gap:4px; flex-grow:1; justify-content:center; flex-wrap:wrap; }
.sx-nav a { min-height:44px; padding:0 12px; display:inline-flex; align-items:center; font-size:15px; text-decoration:none; }
.sx-nav a:hover { background:var(--sx-card); }
.sx-header-cta { display:flex; gap:8px; flex-shrink:0; }
.sx-menu { display:none; position:relative; margin-left:auto; }
.sx-menu summary { list-style:none; width:48px; height:48px; border:1px solid var(--sx-ink); display:flex; flex-direction:column; justify-content:center; align-items:center; gap:5px; cursor:pointer; }
.sx-menu summary::-webkit-details-marker { display:none; }
.sx-menu summary span { width:20px; height:2px; background:var(--sx-ink); }
.sx-menu-list { position:absolute; right:0; top:56px; width:min(320px,calc(100vw - 32px)); background:#fff; border:1px solid var(--sx-ink); display:flex; flex-direction:column; }
.sx-menu-list a { min-height:52px; padding:0 18px; display:flex; align-items:center; text-decoration:none; border-bottom:1px solid var(--sx-line); font-size:16px; }
.sx-menu-list a.is-accent { background:var(--sx-accent); font-weight:600; border-bottom:0; }

/* sections */
.sx-section { padding:clamp(56px,8vw,104px) 0; }
.sx-section.is-tint { background:var(--sx-card); border-top:1px solid var(--sx-line); border-bottom:1px solid var(--sx-line); }
.sx-section.is-tight { padding:clamp(32px,5vw,64px) 0; }
.sx-head { margin-bottom:clamp(28px,4vw,48px); }
.sx-head.is-row { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap:wrap; }
.sx-grid { display:grid; gap:20px; }
.sx-grid.c3 { grid-template-columns:repeat(3,minmax(0,1fr)); }

/* hero */
.sx-hero { padding:clamp(48px,7vw,96px) 0; border-bottom:1px solid var(--sx-ink); }
.sx-hero-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:clamp(32px,5vw,72px); align-items:center; }
.sx-hero-copy { display:flex; flex-direction:column; gap:24px; align-items:flex-start; }
.sx-hero-copy .sx-eyebrow { margin-bottom:0; padding:6px 10px; border:1px solid var(--sx-ink); color:var(--sx-ink); }
.sx-actions { display:flex; gap:12px; flex-wrap:wrap; padding-top:8px; }
.sx-procard { border:1px solid var(--sx-ink); background:var(--sx-card); padding:24px; display:flex; flex-direction:column; gap:16px; box-shadow:10px 10px 0 var(--sx-ink); }
.sx-procard-head { display:flex; justify-content:space-between; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--sx-text2); }
.sx-procard-title { font-size:20px; font-weight:600; letter-spacing:-.02em; line-height:1.25; }
.sx-procard-steps li { min-height:44px; display:flex; align-items:center; gap:12px; border-top:1px solid var(--sx-line); font-size:15px; }
.sx-procard-name { flex-grow:1; }
.sx-procard-state { font-size:11px; color:var(--sx-text2); }
.sx-box { width:18px; height:18px; border:1px solid var(--sx-ink); flex-shrink:0; background:transparent; }
.is-done > .sx-box { background:var(--sx-ink); }
.is-now > .sx-box { background:var(--sx-accent); }
.sx-procard-steps .is-next,.sx-steps .is-todo { color:var(--sx-muted); }

/* ticker */
.sx-ticker { background:var(--sx-ink); color:#fff; overflow:hidden; border-bottom:1px solid var(--sx-ink); }
.sx-ticker-track { display:flex; align-items:center; gap:28px; width:max-content; padding:16px 0; animation:sx-ticker 36s linear infinite; font-size:14px; letter-spacing:.04em; text-transform:uppercase; }
.sx-ticker-dot { width:8px; height:8px; background:var(--sx-accent); flex-shrink:0; }
@keyframes sx-ticker { from { transform:translateX(0); } to { transform:translateX(-50%); } }

/* cards */
.sx-card { border:1px solid var(--sx-ink); background:#fff; padding:28px; display:flex; flex-direction:column; gap:14px; }
.sx-card p { color:var(--sx-text2); }
.sx-card .sx-link { margin-top:auto; }
.sx-num { font-size:13px; color:var(--sx-ink); background:var(--sx-accent); align-self:flex-start; padding:4px 8px; }
.sx-card-img { border:1px solid var(--sx-line); aspect-ratio:16/10; object-fit:cover; width:100%; }
.sx-card-price { font-size:15px; color:var(--sx-ink) !important; }

/* calculator */
.sx-calc { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:24px; align-items:start; }
.sx-calc-options { display:flex; flex-direction:column; gap:24px; }
.sx-fieldset { border:0; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.sx-fieldset legend { font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--sx-text2); padding:0 0 12px; }
.sx-option { display:flex; align-items:center; gap:14px; min-height:64px; padding:12px 16px; border:1px solid var(--sx-ink); background:#fff; cursor:pointer; flex-wrap:wrap; }
.sx-option:hover { background:var(--sx-paper); box-shadow:4px 4px 0 var(--sx-ink); }
.sx-option input { width:20px; height:20px; accent-color:var(--sx-ink); flex-shrink:0; margin:0; }
.sx-option-name { flex:1 1 200px; font-weight:500; display:flex; flex-direction:column; gap:2px; }
.sx-option-name small { font-weight:400; font-size:13px; color:var(--sx-muted); }
.sx-option-name .sx-chip { align-self:flex-start; }
.sx-option-price { font-size:15px; white-space:nowrap; }
.sx-option .sx-select { width:auto; min-height:44px; font-size:14px; }
.sx-calc-total { position:sticky; top:96px; background:var(--sx-ink); color:#fff; padding:28px; display:flex; flex-direction:column; gap:16px; }
.sx-calc-cap { font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--sx-on-dark); }
.sx-calc-lines { display:flex; flex-direction:column; }
.sx-calc-lines > div { display:flex; justify-content:space-between; gap:16px; padding:10px 0; border-bottom:1px solid var(--sx-dark-line); font-size:15px; }
.sx-calc-lines > div span:last-child { white-space:nowrap; font-family:'JetBrains Mono',ui-monospace,monospace; font-size:14px; }
.sx-calc-sum { display:flex; justify-content:space-between; align-items:baseline; gap:16px; font-size:16px; }
.sx-calc-sum strong { font-size:clamp(24px,2.6vw,32px); font-weight:500; color:var(--sx-accent); white-space:nowrap; }
.sx-calc-note { font-size:13px; color:var(--sx-on-dark); }
.sx-calc-total .sx-field > span { color:var(--sx-on-dark); }
.sx-calc-total .sx-input { border-color:#fff; }
.sx-calc-total .sx-form-msg { color:var(--sx-ink); }

/* packages */
.sx-packages { align-items:stretch; }
.sx-package { border:1px solid var(--sx-ink); background:#fff; padding:32px 28px; display:flex; flex-direction:column; gap:16px; }
.sx-package.is-popular { background:var(--sx-ink); color:#fff; box-shadow:10px 10px 0 var(--sx-accent); }
.sx-package-head { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.sx-package-price { font-size:clamp(28px,3vw,38px); font-weight:600; letter-spacing:-.03em; line-height:1.1; }
.sx-package-desc { color:var(--sx-text2); }
.sx-package.is-popular .sx-package-desc { color:var(--sx-on-dark); }
.sx-list { display:flex; flex-direction:column; gap:10px; flex-grow:1; padding:8px 0; }
.sx-list li { position:relative; padding-left:22px; font-size:15px; line-height:1.45; }
.sx-list li::before { content:''; position:absolute; left:0; top:.5em; width:10px; height:10px; background:var(--sx-accent); }
.sx-included { margin-top:40px; border:1px solid var(--sx-ink); padding:28px; background:var(--sx-card); }
.sx-included-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px 24px; padding-top:20px; }
.sx-included-list li { position:relative; padding-left:22px; font-size:15px; }
.sx-included-list li::before { content:''; position:absolute; left:0; top:.5em; width:10px; height:10px; border:1px solid var(--sx-ink); background:var(--sx-accent); }

/* works, results */
.sx-work { border:1px solid var(--sx-ink); background:#fff; display:flex; flex-direction:column; }
.sx-work-img { width:100%; aspect-ratio:16/10; object-fit:cover; object-position:top; border-bottom:1px solid var(--sx-ink); }
.sx-work-img.is-empty { background:var(--sx-ink); color:#fff; display:flex; align-items:center; justify-content:center; padding:16px; text-align:center; font-size:18px; overflow-wrap:anywhere; }
.sx-work-body { padding:22px; display:flex; flex-direction:column; gap:8px; flex-grow:1; }
.sx-work-body p { color:var(--sx-text2); font-size:15px; }
.sx-work-body .sx-link { margin-top:auto; }
.sx-results-group + .sx-results-group { margin-top:40px; }
.sx-results-head { display:flex; justify-content:space-between; align-items:baseline; gap:16px; padding-bottom:16px; border-bottom:1px solid var(--sx-ink); margin-bottom:20px; }
.sx-shot { padding:0; border:1px solid var(--sx-ink); background:#fff; cursor:zoom-in; display:block; }
.sx-shot img { width:100%; aspect-ratio:16/10; object-fit:cover; object-position:top left; }
.sx-shot:hover { box-shadow:6px 6px 0 var(--sx-ink); }
.sx-lightbox { padding:0; border:1px solid var(--sx-ink); background:#fff; max-width:min(96vw,1400px); max-height:94vh; }
.sx-lightbox::backdrop { background:rgba(21,23,28,.8); }
.sx-lightbox img { max-width:100%; max-height:92vh; }
.sx-lightbox-close { position:absolute; right:0; top:0; width:48px; height:48px; border:0; background:var(--sx-ink); color:#fff; font-size:26px; line-height:1; cursor:pointer; }

/* stats, cta, contact, seo */
.sx-stats { background:var(--sx-ink); color:#fff; }
.sx-stats-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.sx-stat { padding:clamp(32px,4vw,56px) 24px; border-left:1px solid var(--sx-dark-line); display:flex; flex-direction:column; gap:10px; }
.sx-stat:first-child { border-left:0; padding-left:0; }
.sx-stat-num { font-size:clamp(36px,4.6vw,60px); font-weight:600; letter-spacing:-.04em; line-height:1; color:var(--sx-accent); }
.sx-stat-label { font-size:12px; letter-spacing:.04em; color:var(--sx-on-dark); }
.sx-cta { background:var(--sx-accent); border-top:1px solid var(--sx-ink); border-bottom:1px solid var(--sx-ink); }
.sx-cta-in { padding-top:clamp(40px,6vw,72px); padding-bottom:clamp(40px,6vw,72px); display:flex; justify-content:space-between; align-items:center; gap:32px; flex-wrap:wrap; }
.sx-cta-sub { margin-top:10px; font-size:18px; }
.sx-contact { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:clamp(32px,5vw,72px); align-items:start; }
.sx-contact-copy { display:flex; flex-direction:column; gap:12px; align-items:flex-start; }
.sx-contacts { width:100%; margin-top:12px; border-top:1px solid var(--sx-ink); }
.sx-contacts li { display:flex; justify-content:space-between; align-items:center; gap:16px; min-height:60px; padding:8px 0; border-bottom:1px solid var(--sx-line); font-size:18px; flex-wrap:wrap; }
.sx-contacts li > span:first-child { font-size:11px; letter-spacing:.06em; text-transform:uppercase; }
.sx-contacts a { text-decoration:none; }
.sx-contacts a:hover { text-decoration:underline; }
.sx-contacts-row { display:flex; gap:8px; flex-wrap:wrap; }
.sx-form { border:1px solid var(--sx-ink); background:var(--sx-card); padding:clamp(20px,3vw,36px); display:flex; flex-direction:column; gap:18px; box-shadow:10px 10px 0 var(--sx-ink); }
.sx-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.sx-form-grid .is-wide { grid-column:1/-1; }
.sx-form-package { padding:10px 12px; border:1px dashed var(--sx-ink); font-size:13px; }
.sx-seo { padding:48px 0; border-top:1px solid var(--sx-line); color:var(--sx-muted); font-size:14px; }
.sx-seo .sx-h3 { color:var(--sx-text2); margin-bottom:12px; font-size:17px; }
.sx-seo p { max-width:70em; }

/* footer */
.sx-footer { background:var(--sx-ink); color:#fff; }
.sx-footer-in { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr); gap:32px; padding-top:56px; padding-bottom:40px; }
.sx-footer-brand { display:flex; flex-direction:column; gap:10px; }
.sx-footer-name { font-size:24px; font-weight:600; letter-spacing:-.03em; }
.sx-footer-muted { font-size:12px; color:var(--sx-on-dark); }
.sx-footer-col { display:flex; flex-direction:column; }
.sx-footer-col a { min-height:40px; display:inline-flex; align-items:center; text-decoration:none; font-size:15px; }
.sx-footer-col a:hover { text-decoration:underline; }
.sx-footer-bottom { border-top:1px solid var(--sx-dark-line); padding-top:20px; padding-bottom:28px; font-size:12px; color:var(--sx-on-dark); }

/* cabinet, invoice */
.sx-cab-head { background:var(--sx-card); border-bottom:1px solid var(--sx-ink); padding:clamp(28px,4vw,48px) 0; }
.sx-cab-head-in { display:flex; justify-content:space-between; align-items:center; gap:24px; }
.sx-cab-head .sx-eyebrow { margin-bottom:8px; }
.sx-avatar { width:64px; height:64px; background:var(--sx-ink); color:#fff; display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }
.sx-cab { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); gap:24px; align-items:start; }
.sx-cab-main,.sx-cab-side { display:flex; flex-direction:column; gap:24px; min-width:0; }
.sx-panel { border:1px solid var(--sx-ink); background:#fff; padding:clamp(20px,2.6vw,28px); display:flex; flex-direction:column; gap:16px; min-width:0; }
.sx-panel.is-accent { box-shadow:8px 8px 0 var(--sx-accent); }
.sx-panel-head { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.sx-meter { height:10px; border:1px solid var(--sx-ink); background:var(--sx-card); display:flex; }
.sx-meter > span { background:var(--sx-ink); }
.sx-note { padding:12px 14px; background:var(--sx-accent); border:1px solid var(--sx-ink); font-size:15px; }
.sx-steps li { min-height:48px; display:flex; align-items:center; gap:12px; border-top:1px solid var(--sx-line); font-size:15px; }
.sx-step-name { flex-grow:1; }
.sx-step-state { font-size:11px; color:var(--sx-text2); text-align:right; }
.sx-tasks li { min-height:56px; padding:10px 0; display:flex; align-items:center; justify-content:space-between; gap:12px; border-top:1px solid var(--sx-line); font-size:15px; }
.sx-tasks li:first-child { border-top:0; }
.sx-tasks li.is-done .sx-task-name { text-decoration:line-through; color:var(--sx-muted); }
.sx-task-name { display:flex; flex-direction:column; gap:2px; min-width:0; overflow-wrap:anywhere; }
.sx-task-name small { font-size:13px; color:var(--sx-muted); }
.sx-chat { display:flex; flex-direction:column; gap:10px; max-height:420px; overflow-y:auto; padding:4px 2px; }
.sx-msg { max-width:86%; padding:12px 14px; border:1px solid var(--sx-ink); background:var(--sx-card); font-size:15px; line-height:1.45; overflow-wrap:anywhere; align-self:flex-start; }
.sx-msg.is-mine { align-self:flex-end; background:var(--sx-ink); color:#fff; }
.sx-msg small { display:block; margin-top:6px; font-size:10px; opacity:.7; }
.sx-chat-form { display:flex; gap:10px; align-items:stretch; }
.sx-chat-form .sx-textarea { min-height:56px; }
.sx-kv > div { display:flex; justify-content:space-between; gap:24px; padding:14px 0; border-top:1px solid var(--sx-line); font-size:16px; }
.sx-kv dt { color:var(--sx-text2); }
.sx-kv dd { text-align:right; overflow-wrap:anywhere; }
.sx-kv .is-total { border-top:1px solid var(--sx-ink); font-weight:600; font-size:20px; }
.sx-pay { display:flex; gap:12px; flex-wrap:wrap; }
.sx-pay form { flex:1 1 240px; display:flex; }
.sx-pay .sx-btn { width:100%; }
.sx-details { padding:16px; background:var(--sx-card); border:1px solid var(--sx-line); display:flex; flex-direction:column; gap:8px; font-size:15px; }
.sx-error { text-align:center; display:flex; flex-direction:column; align-items:center; gap:20px; padding-top:40px; padding-bottom:40px; }
.sx-error-code { font-size:clamp(72px,14vw,160px); line-height:1; font-weight:500; color:var(--sx-ink); letter-spacing:-.04em; border-bottom:10px solid var(--sx-accent); padding-bottom:6px; }

/* ------------------------------------------------------------------ brand gradient
   Colours come from theme settings (index.html sets --sx-grad-a / -m / -b).
   --sx-grad       bright, decorative only: lines, offsets, dots, big numbers on the dark band.
   --sx-grad-deep  darkened so that white text on it and gradient text on white both stay readable (≥ 4.5:1).
   body.g-bold — first screen and key bands filled; body.g-soft — washes and accents; body.g-off — none. */
:root { --sx-grad-a:#9E64F7; --sx-grad-m:#3F7DF2; --sx-grad-b:#2CC6F6;
  --sx-grad: linear-gradient(100deg, var(--sx-grad-a) 0%, var(--sx-grad-m) 55%, var(--sx-grad-b) 100%);
  --sx-grad-deep: linear-gradient(100deg, #7649C9 0%, #3063CC 55%, #16759B 100%); }
@supports (color: color-mix(in srgb, red, blue)) {
  :root { --sx-grad-deep: linear-gradient(100deg, color-mix(in srgb, var(--sx-grad-a) 70%, #1A0B5E) 0%, color-mix(in srgb, var(--sx-grad-m) 72%, #0B1F6B) 55%, color-mix(in srgb, var(--sx-grad-b) 46%, #03304D) 100%); }
}
.g-soft .sx-header, .g-bold .sx-header { border-bottom:0; }
.g-soft .sx-header::after, .g-bold .sx-header::after { content:''; display:block; height:3px; background:var(--sx-grad); }
.g-soft .sx-footer, .g-bold .sx-footer { border-top:4px solid transparent; border-image:var(--sx-grad) 1; }
.g-soft .sx-hero-grid, .g-bold .sx-hero-grid { position:relative; z-index:0; }
.g-soft .sx-eyebrow, .g-bold .sx-eyebrow, .g-soft .sx-error-code, .g-bold .sx-error-code { background:var(--sx-grad-deep); -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent; font-weight:500; }
.g-soft .sx-stat-num, .g-bold .sx-stat-num { background:var(--sx-grad); -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent; }
.g-soft .sx-work:hover, .g-bold .sx-work:hover, .g-soft .sx-shot:hover, .g-bold .sx-shot:hover, .g-soft .sx-option:hover, .g-bold .sx-option:hover { box-shadow:6px 6px 0 var(--sx-grad-a); }
.g-soft .sx-form, .g-bold .sx-form { box-shadow:10px 10px 0 var(--sx-grad-a); }

/* soft */
.g-soft .sx-hero, .g-soft .sx-cab-head { background:linear-gradient(120deg, rgba(158,100,247,.10), rgba(44,198,246,.12)), #fff; }
@supports (color: color-mix(in srgb, red, blue)) {
  .g-soft .sx-hero, .g-soft .sx-cab-head {
    background:
      radial-gradient(46% 70% at 88% 8%, color-mix(in srgb, var(--sx-grad-b) 28%, transparent), transparent 62%),
      radial-gradient(40% 64% at 58% -6%, color-mix(in srgb, var(--sx-grad-a) 24%, transparent), transparent 60%),
      #fff;
  }
}
.g-soft .sx-hero-copy .sx-eyebrow { border-color:var(--sx-grad-a); }
.g-soft .sx-mark { background:var(--sx-grad-deep); -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent; padding:0; }
.g-soft .sx-procard { position:relative; box-shadow:none; }
.g-soft .sx-procard::before { content:''; position:absolute; inset:0; transform:translate(10px,10px); background:var(--sx-grad); z-index:-1; }
.g-soft .sx-calc-total { border-top:4px solid transparent; border-image:var(--sx-grad) 1; }
.g-soft .sx-package.is-popular { box-shadow:10px 10px 0 var(--sx-grad-a); }

/* bold */
.g-bold .sx-hero, .g-bold .sx-cab-head, .g-bold .sx-cta { background:var(--sx-grad-deep); color:#fff; }
.g-bold .sx-hero, .g-bold .sx-cab-head { border-bottom:0; }
.g-bold .sx-cta { border-top:0; border-bottom:0; }
.g-bold .sx-hero .sx-lead, .g-bold .sx-cta-sub { color:#fff; }
.g-bold .sx-hero .sx-eyebrow, .g-bold .sx-cab-head .sx-eyebrow { background:none; -webkit-text-fill-color:#fff; color:#fff; border-color:#fff; }
.g-bold .sx-mark { background:#fff; color:var(--sx-ink); }
.g-bold .sx-hero .sx-btn, .g-bold .sx-cta .sx-btn { border-color:#fff; color:#fff; background:transparent; }
.g-bold .sx-hero .sx-btn:hover, .g-bold .sx-cta .sx-btn:hover { background:rgba(255,255,255,.16); }
.g-bold .sx-hero .sx-btn.is-primary, .g-bold .sx-cta .sx-btn.is-primary { background:#fff; color:var(--sx-ink); }
.g-bold .sx-hero .sx-btn.is-primary:hover, .g-bold .sx-cta .sx-btn.is-primary:hover { background:var(--sx-card); }
.g-bold .sx-cab-head .sx-avatar { background:#fff; color:var(--sx-ink); }
.g-bold .sx-procard { box-shadow:10px 10px 0 var(--sx-ink); color:var(--sx-ink); }
.g-bold .sx-calc-total { background:var(--sx-grad-deep); }
.g-bold .sx-calc-total .sx-calc-sum strong { color:#fff; }
.g-bold .sx-calc-cap, .g-bold .sx-calc-note, .g-bold .sx-calc-total .sx-field > span { color:#fff; }
.g-bold .sx-calc-lines > div { border-bottom-color:rgba(255,255,255,.35); }
.g-bold .sx-package.is-popular { background:var(--sx-grad-deep); box-shadow:10px 10px 0 var(--sx-ink); border-color:transparent; }
.g-bold .sx-package.is-popular .sx-package-desc { color:#fff; }
.g-bold .sx-package.is-popular .sx-list li::before { background:#fff; }
.g-bold .sx-num { background:var(--sx-grad-deep); color:#fff; }
.g-bold .sx-list li::before, .g-bold .sx-included-list li::before { background:var(--sx-grad); border-color:transparent; }
.g-bold .sx-ticker-dot { background:var(--sx-grad); }
@media (max-width:860px) {
  .g-soft .sx-procard::before { transform:translate(6px,6px); }
  .g-bold .sx-procard { box-shadow:6px 6px 0 var(--sx-ink); }
  .g-soft .sx-form, .g-bold .sx-form { box-shadow:6px 6px 0 var(--sx-grad-a); }
}

@media (max-width:1080px) {
  .sx-nav { display:none; }
  .sx-menu { display:block; }
  .sx-header-cta { display:none; }
  .sx-grid.c3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sx-included-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:860px) {
  .sx-hero-grid,.sx-calc,.sx-contact,.sx-cab { grid-template-columns:minmax(0,1fr); }
  .sx-calc-total { position:static; }
  .sx-stats-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sx-stat { padding-left:0; border-left:0; border-top:1px solid var(--sx-dark-line); }
  .sx-stat:nth-child(-n+2) { border-top:0; }
  .sx-footer-in { grid-template-columns:minmax(0,1fr); gap:24px; }
  .sx-procard,.sx-form { box-shadow:6px 6px 0 var(--sx-ink); }
}
@media (max-width:620px) {
  .sx-wrap { padding:0 16px; }
  .sx-hide-s { display:none !important; }
  .sx-util-in > span:first-child { display:none; }
  .sx-util-in { justify-content:center; }
  .sx-header-in { min-height:64px; }
  .sx-logo img { max-height:40px; }
  .sx-grid.c3,.sx-included-list,.sx-form-grid { grid-template-columns:minmax(0,1fr); }
  .sx-actions .sx-btn,.sx-cta .sx-btn { width:100%; }
  .sx-chat-form { flex-direction:column; }
  .sx-kv > div { flex-direction:column; gap:4px; }
  .sx-kv dd { text-align:left; }
  .sx-cab-head .sx-avatar { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .sx-ticker-track { animation:none; }
  .sx-btn { transition:none; }
}
/* Shop theme additions on top of the site's base styles (same tokens, same geometry). */
.sh-search { flex:1 1 320px; display:flex; max-width:520px; }
.sh-search input { flex:1; min-height:48px; padding:0 14px; border:1px solid var(--sx-ink); border-right:0; background:#fff; font-size:15px; min-width:0; }
.sh-search button { min-height:48px; padding:0 16px; border:1px solid var(--sx-ink); background:var(--sx-ink); color:#fff; cursor:pointer; font-size:14px; }
.sh-head-links { display:flex; gap:8px; align-items:center; margin-left:auto; flex-shrink:0; }
.sh-cart { position:relative; }
.sh-cart b { display:inline-flex; min-width:22px; height:22px; align-items:center; justify-content:center; padding:0 6px; background:var(--sx-accent); color:var(--sx-ink); font-size:12px; font-weight:600; }
.sh-cats { border-bottom:1px solid var(--sx-ink); background:#fff; }
.sh-cats-in { display:flex; gap:4px; overflow-x:auto; }
.sh-cats a { flex:0 0 auto; min-height:52px; padding:0 14px; display:inline-flex; align-items:center; text-decoration:none; font-size:15px; white-space:nowrap; }
.sh-cats a:hover { background:var(--sx-card); }
.sh-cats a.is-active { background:var(--sx-ink); color:#fff; }
.sh-cats a.is-back { margin-left:auto; color:var(--sx-text2); font-size:13px; }

.sh-hero { border-bottom:1px solid var(--sx-ink); padding:clamp(36px,5vw,64px) 0; }
.sh-hero-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:clamp(28px,4vw,64px); align-items:center; }
.sh-hero h1 { font-size:clamp(30px,4.4vw,56px); line-height:1.05; letter-spacing:-.035em; font-weight:600; margin-bottom:18px; }
.sh-feature { border:1px solid var(--sx-ink); background:var(--sx-ink); color:#fff; padding:28px; display:flex; flex-direction:column; gap:14px; box-shadow:10px 10px 0 var(--sx-accent); }
.sh-feature .sx-list li { font-size:15px; }
.sh-feature-price { font-size:40px; font-weight:600; letter-spacing:-.03em; line-height:1; }
.sh-feature-top { display:flex; justify-content:space-between; align-items:center; gap:12px; color:var(--sx-on-dark); font-size:12px; }

.sh-tiles { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.sh-tile { border:1px solid var(--sx-ink); padding:22px; display:flex; flex-direction:column; gap:8px; text-decoration:none; background:#fff; min-height:150px; }
.sh-tile:hover { box-shadow:6px 6px 0 var(--sx-ink); }
.sh-tile strong { font-size:19px; letter-spacing:-.02em; font-weight:600; }
.sh-tile span { color:var(--sx-text2); font-size:14px; }
.sh-tile em { margin-top:auto; font-style:normal; font-size:12px; }

.sh-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.sh-grid.c3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.sh-card { border:1px solid var(--sx-ink); background:#fff; display:flex; flex-direction:column; position:relative; }
.sh-card:hover { box-shadow:6px 6px 0 var(--sx-ink); }
.sh-thumb { display:block; border-bottom:1px solid var(--sx-ink); background:var(--sx-card); aspect-ratio:4/3; }
.sh-thumb svg { display:block; width:100%; height:100%; }
.sh-badge { position:absolute; left:12px; top:12px; background:var(--sx-accent); color:var(--sx-ink); font-size:11px; padding:3px 8px; }
.sh-card-body { padding:16px; display:flex; flex-direction:column; gap:6px; flex-grow:1; }
.sh-card-body h3 { font-size:18px; letter-spacing:-.02em; font-weight:600; line-height:1.25; }
.sh-card-body h3 a { text-decoration:none; }
.sh-card-meta { font-size:12px; color:var(--sx-muted); }
.sh-card-feat { font-size:14px; color:var(--sx-text2); }
.sh-card-foot { margin-top:auto; padding-top:12px; display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; }
.sh-price { font-size:20px; font-weight:600; letter-spacing:-.02em; white-space:nowrap; }
.sh-card-actions { display:flex; gap:6px; }

.sh-rows { border:1px solid var(--sx-ink); background:#fff; }
.sh-row { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1.7fr) 210px 118px; gap:20px; align-items:center; padding:18px 20px; border-top:1px solid var(--sx-line); }
.sh-row .sh-price { text-align:right; white-space:normal; font-size:18px; line-height:1.25; }
.sh-row:first-child { border-top:0; }
.sh-row strong { font-size:17px; font-weight:600; }
.sh-row p { color:var(--sx-text2); font-size:14px; }
.sh-trust { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border:1px solid var(--sx-ink); margin-top:48px; }
.sh-trust div { padding:22px; border-left:1px solid var(--sx-ink); display:flex; flex-direction:column; gap:6px; }
.sh-trust div:first-child { border-left:0; }
.sh-trust strong { font-size:17px; font-weight:600; }
.sh-trust span { font-size:14px; color:var(--sx-text2); }

.sh-crumbs { display:flex; gap:8px; font-size:12px; color:var(--sx-muted); padding:20px 0 0; flex-wrap:wrap; }
.sh-crumbs a { text-decoration:none; }
.sh-pagehead { display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap; padding:14px 0 24px; }
.sh-pagehead h1 { font-size:clamp(28px,3.6vw,44px); letter-spacing:-.03em; line-height:1.1; font-weight:600; }
.sh-sort { display:flex; gap:10px; align-items:center; font-size:13px; }
.sh-sort .sx-select { width:auto; min-height:44px; font-size:14px; }
.sh-catalog { display:grid; grid-template-columns:268px minmax(0,1fr); gap:28px; align-items:start; padding-bottom:72px; }
.sh-filters { border:1px solid var(--sx-ink); background:var(--sx-card); padding:20px; display:flex; flex-direction:column; gap:20px; position:sticky; top:96px; }
.sh-filters fieldset { border:0; margin:0; padding:0; display:flex; flex-direction:column; gap:2px; }
.sh-filters legend { font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--sx-text2); padding:0 0 8px; }
.sh-check { display:flex; align-items:center; gap:10px; min-height:40px; font-size:15px; cursor:pointer; }
.sh-check input { width:18px; height:18px; accent-color:var(--sx-ink); margin:0; }
.sh-check small { margin-left:auto; color:var(--sx-muted); font-size:12px; }
.sh-range { display:flex; gap:8px; align-items:center; }
.sh-range .sx-input { min-height:44px; font-size:14px; }
.sh-filter-toggle { display:none; }
.sh-pager { display:flex; gap:6px; justify-content:center; padding-top:32px; }
.sh-pager a { min-width:44px; min-height:44px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--sx-ink); text-decoration:none; font-size:14px; }
.sh-pager a.is-active { background:var(--sx-ink); color:#fff; }

.sh-product { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:clamp(24px,4vw,56px); align-items:start; padding:16px 0 56px; }
.sh-gallery-main { border:1px solid var(--sx-ink); background:var(--sx-card); aspect-ratio:4/3; }
.sh-gallery-main svg { width:100%; height:100%; display:block; }
.sh-thumbs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:10px; }
.sh-thumbs button { padding:0; border:1px solid var(--sx-line); background:var(--sx-card); aspect-ratio:4/3; cursor:pointer; }
.sh-thumbs button.is-active { border-color:var(--sx-ink); box-shadow:3px 3px 0 var(--sx-ink); }
.sh-thumbs svg { width:100%; height:100%; display:block; }
.sh-buy { display:flex; flex-direction:column; gap:16px; }
.sh-buy h1 { font-size:clamp(28px,3.6vw,46px); letter-spacing:-.03em; line-height:1.08; font-weight:600; }
.sh-badges { display:flex; gap:6px; flex-wrap:wrap; }
.sh-buy-row { display:flex; gap:10px; flex-wrap:wrap; align-items:stretch; }
.sh-buy-row .sx-btn { flex:1 1 200px; }
.sh-spec { width:100%; border-collapse:collapse; font-size:15px; }
.sh-spec th, .sh-spec td { text-align:left; padding:12px 0; border-top:1px solid var(--sx-line); vertical-align:top; }
.sh-spec th { width:38%; font-weight:400; color:var(--sx-text2); }
.sh-two { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(24px,4vw,56px); }

.sh-checkout { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:28px; align-items:start; padding-bottom:72px; }
.sh-block { border:1px solid var(--sx-ink); background:#fff; padding:clamp(18px,2.4vw,26px); display:flex; flex-direction:column; gap:16px; }
.sh-block + .sh-block { margin-top:20px; }
.sh-block-head { display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
.sh-item { display:grid; grid-template-columns:72px minmax(0,1fr) auto auto; gap:16px; align-items:center; padding:14px 0; border-top:1px solid var(--sx-line); }
.sh-item:first-of-type { border-top:0; padding-top:0; }
.sh-item-thumb { width:72px; height:54px; border:1px solid var(--sx-ink); background:var(--sx-card); }
.sh-item-thumb svg { width:100%; height:100%; display:block; }
.sh-item-name { display:flex; flex-direction:column; gap:2px; min-width:0; }
.sh-item-name strong { font-weight:600; font-size:16px; }
.sh-item-name span { font-size:13px; color:var(--sx-muted); }
.sh-qty { display:inline-flex; border:1px solid var(--sx-ink); }
.sh-qty button { width:40px; height:40px; border:0; background:#fff; font-size:18px; cursor:pointer; }
.sh-qty span { min-width:74px; padding:0 8px; display:inline-flex; align-items:center; justify-content:center; font-size:13px; border-left:1px solid var(--sx-ink); border-right:1px solid var(--sx-ink); }
.sh-addon { display:flex; align-items:center; gap:14px; padding:12px 0; border-top:1px solid var(--sx-line); }
.sh-addon:first-of-type { border-top:0; }
.sh-addon div { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.sh-addon small { font-size:13px; color:var(--sx-muted); }
.sh-pay { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.sh-pay label { border:1px solid var(--sx-ink); padding:14px; display:flex; flex-direction:column; gap:4px; cursor:pointer; font-size:15px; }
.sh-pay label.is-active { background:var(--sx-ink); color:#fff; }
.sh-pay small { font-size:12px; opacity:.75; }
.sh-pay input { position:absolute; opacity:0; }
.sh-summary { position:sticky; top:96px; background:var(--sx-ink); color:#fff; padding:26px; display:flex; flex-direction:column; gap:14px; }
.sh-summary .sx-calc-lines > div { font-size:15px; }
.sh-coupon { display:flex; }
.sh-coupon input { flex:1; min-width:0; min-height:44px; padding:0 12px; border:1px solid #fff; border-right:0; background:transparent; color:#fff; font-size:14px; }
.sh-coupon input::placeholder { color:var(--sx-on-dark); }
.sh-coupon button { min-height:44px; padding:0 14px; border:1px solid #fff; background:#fff; color:var(--sx-ink); font-size:14px; cursor:pointer; }

@media (max-width:1080px) {
  .sh-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .sh-tiles { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sh-head-links .sx-btn.is-cab { display:none; }
}
@media (max-width:860px) {
  .sh-hero-grid, .sh-product, .sh-checkout, .sh-two { grid-template-columns:minmax(0,1fr); }
  .sh-catalog { grid-template-columns:minmax(0,1fr); }
  .sh-filters { position:static; display:none; }
  .sh-filters.is-open { display:flex; }
  .sh-filter-toggle { display:inline-flex; }
  .sh-grid, .sh-grid.c3 { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .sh-row { grid-template-columns:minmax(0,1fr) auto; }
  .sh-row .sh-price { grid-column:1; grid-row:2; text-align:left; }
  .sh-row .sx-btn { grid-column:2; grid-row:1 / span 2; }
  .sh-row p { grid-column:1/-1; order:3; }
  .sh-trust { grid-template-columns:minmax(0,1fr); }
  .sh-trust div { border-left:0; border-top:1px solid var(--sx-ink); }
  .sh-trust div:first-child { border-top:0; }
  .sh-summary { position:static; }
  .sh-feature { box-shadow:6px 6px 0 var(--sx-accent); }
  .sh-pay { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:620px) {
  .sh-search { order:3; flex:1 1 100%; max-width:none; padding-bottom:12px; }
  .sh-sort { width:100%; }
  .sh-sort label { display:none; }
  .sh-sort .sx-select { flex:1 1 auto; min-width:0; width:100%; }
  .sx-header-in { flex-wrap:wrap; gap:12px; }
  .sh-card-body { padding:12px; }
  .sh-card-body h3 { font-size:16px; }
  .sh-card-actions .sx-btn.is-demo { display:none; }
  .sh-price { font-size:17px; }
  .sh-item { grid-template-columns:56px minmax(0,1fr); }
  .sh-item-thumb { width:56px; height:42px; }
  .sh-item .sh-qty, .sh-item .sh-price { grid-column:2; justify-self:start; }
  .sh-tiles { gap:10px; }
  .sh-tile { padding:16px; min-height:120px; }
}

/* ------------------------------------------------------------------ real storefront additions */
.sh-main { min-height:50vh; }
.sh-feature-name { font-size:26px; line-height:1.15; letter-spacing:-.02em; font-weight:600; }
.sh-feature-name a { text-decoration:none; }
.sh-feature-text { font-size:15px; color:var(--sx-on-dark); }
.sh-feature form { display:flex; }
.sh-feature form .sx-btn { width:100%; }
.sh-hero-grid.is-single { grid-template-columns:minmax(0,1fr); }
.sh-thumb img { width:100%; height:100%; object-fit:cover; object-position:top; display:block; }
.sh-price small { font-size:12px; font-weight:400; color:var(--sx-muted); }
.sh-price.is-big { font-size:32px; }
.sh-price-old { font-size:14px; font-weight:400; color:var(--sx-muted); }
.sh-row strong a, .sh-card-body h3 a, .sh-addon a, .sh-item-name a { text-decoration:none; }
.sh-row strong a:hover, .sh-card-body h3 a:hover, .sh-addon a:hover, .sh-item-name a:hover { text-decoration:underline; }
.sh-row form { display:flex; justify-content:flex-end; }
.sh-catalog.is-wide { grid-template-columns:minmax(0,1fr); }
.sh-catalog.is-wide .sh-grid.c3 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.sh-filters form { display:flex; flex-direction:column; gap:20px; }
.sh-subcats { display:flex; gap:8px; flex-wrap:wrap; padding-bottom:20px; }
.sh-sorting { display:flex; gap:4px 14px; flex-wrap:wrap; align-items:center; padding:0 0 18px; font-size:13px; }
.sh-sorting li a { text-decoration:none; display:inline-flex; min-height:36px; align-items:center; }
.sh-sorting li.is-active a, .sh-sorting li a:hover { text-decoration:underline; text-underline-offset:4px; }
.sh-sorting-label { color:var(--sx-muted); }
.sh-pager-list, .sh-pager ul { display:flex; gap:6px; justify-content:center; flex-wrap:wrap; }
.sh-pager li a, .sh-pager li span { min-width:44px; min-height:44px; padding:0 8px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--sx-ink); text-decoration:none; font-size:14px; }
.sh-pager li.selected a { background:var(--sx-ink); color:#fff; }
.sh-empty { border:1px dashed var(--sx-ink); padding:40px 24px; text-align:center; display:flex; flex-direction:column; gap:16px; align-items:center; margin-bottom:72px; }
.sh-cat-desc { padding:0 0 72px; max-width:60em; color:var(--sx-text2); }
.sh-gallery-main { display:flex; align-items:center; justify-content:center; overflow:hidden; }
.sh-gallery-main img { width:100%; height:100%; object-fit:contain; }
.sh-thumbs button img { width:100%; height:100%; object-fit:cover; display:block; }
.sh-buyform { display:flex; flex-direction:column; gap:16px; }
.sh-buy-price { display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; }
.sx-option.is-disabled { opacity:.55; cursor:default; }
.sh-product-links { display:flex; gap:16px; flex-wrap:wrap; font-size:13px; }
.sh-h2 { margin-bottom:20px; }
.sh-item { position:relative; grid-template-columns:72px minmax(0,1fr) auto auto 44px; }
.sh-item-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.sh-item-remove { width:44px; height:44px; border:1px solid var(--sx-line); background:#fff; font-size:22px; line-height:1; cursor:pointer; color:var(--sx-ink); }
.sh-item-remove:hover { border-color:var(--sx-ink); }
.sh-item-error { color:#C62828 !important; }
.sh-item-services { grid-column:2 / -1; display:flex; flex-direction:column; gap:6px; }
.sh-qty input { width:64px; height:40px; border:0; border-left:1px solid var(--sx-ink); border-right:1px solid var(--sx-ink); text-align:center; font-size:15px; color:var(--sx-ink); background:#fff; }
.sh-linkbtn { background:none; border:0; padding:0; color:inherit; text-decoration:underline; cursor:pointer; font:inherit; }
.sh-summary a { color:#fff; }
.sh-coupon input { color:#fff; }
.sh-plugin-block { padding-top:16px; padding-bottom:16px; }
.sh-toast { position:fixed; right:20px; bottom:20px; z-index:80; max-width:360px; padding:14px 18px; background:var(--sx-ink); color:#fff; font-size:15px; box-shadow:6px 6px 0 var(--sx-accent); }
.sh-toast a { color:#fff; }
.sh-page { padding-bottom:72px; }
.sh-page-title { font-size:clamp(28px,3.6vw,44px); letter-spacing:-.03em; line-height:1.1; font-weight:600; padding:14px 0 24px; }

/* rich text coming from the editor */
.sh-content { font-size:16px; line-height:1.65; }
.sh-content h1, .sh-content h2, .sh-content h3, .sh-content h4 { margin:1.4em 0 .5em; line-height:1.2; letter-spacing:-.02em; font-weight:600; }
.sh-content h1 { font-size:32px; } .sh-content h2 { font-size:26px; } .sh-content h3 { font-size:20px; }
.sh-content > :first-child { margin-top:0; }
.sh-content p, .sh-content ul, .sh-content ol, .sh-content table, .sh-content blockquote { margin:0 0 1em; }
.sh-content ul { list-style:square; padding-left:22px; } .sh-content ol { list-style:decimal; padding-left:22px; }
.sh-content a { text-decoration:underline; text-underline-offset:3px; }
.sh-content table { border-collapse:collapse; width:100%; }
.sh-content th, .sh-content td { border:1px solid var(--sx-line); padding:8px 10px; text-align:left; }
.sh-content blockquote { border-left:4px solid var(--sx-accent); padding:8px 16px; background:var(--sx-card); }

/* account, auth and step-by-step checkout: framework markup (wa-form / wa-field) in the theme's look */
.sh-account { display:grid; grid-template-columns:240px minmax(0,1fr); gap:32px; padding-top:32px; padding-bottom:72px; align-items:start; }
.sh-account-nav { border:1px solid var(--sx-ink); display:flex; flex-direction:column; }
.sh-account-nav li a { display:flex; min-height:48px; padding:0 16px; align-items:center; text-decoration:none; border-bottom:1px solid var(--sx-line); }
.sh-account-nav li:last-child a { border-bottom:0; }
.sh-account-nav li.selected a { background:var(--sx-ink); color:#fff; }
.sh-account-body h1, #page h1, .checkout h1 { font-size:clamp(26px,3.2vw,40px); letter-spacing:-.03em; line-height:1.1; font-weight:600; margin-bottom:20px; }
#page { max-width:560px; margin:0 auto; padding:48px 24px 72px; }
.wa-form { display:flex; flex-direction:column; gap:14px; max-width:640px; }
.wa-field { display:flex; flex-direction:column; gap:6px; }
.wa-field .wa-name { font-family:'JetBrains Mono',ui-monospace,monospace; font-size:12px; color:var(--sx-text2); }
.wa-field .wa-value p { display:flex; flex-direction:column; gap:4px; margin-bottom:8px; }
.sh-main input[type=text], .sh-main input[type=email], .sh-main input[type=password], .sh-main input[type=tel], .sh-main input[type=number], .sh-main input[type=search], .sh-main select, .sh-main textarea {
  min-height:48px; padding:0 14px; border:1px solid var(--sx-ink); background:#fff; color:var(--sx-ink); font-size:16px; max-width:100%; }
.sh-main textarea { padding:12px 14px; min-height:96px; width:100%; }
.sh-main .wa-field input[type=text], .sh-main .wa-field input[type=email], .sh-main .wa-field input[type=password], .sh-main .wa-field select { width:100%; }
.sh-main input[type=submit], .sh-main input[type=button], .sh-main button.button, .sh-main a.button, .sh-main .wa-button {
  min-height:48px; padding:0 22px; border:1px solid var(--sx-ink); background:var(--sx-ink); color:#fff; font-size:15px; font-weight:500; cursor:pointer; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; }
.sh-main input[type=submit].gray, .sh-main input[type=button].gray { background:#fff; color:var(--sx-ink); }
.sh-main input[type=submit]:disabled { opacity:.5; cursor:default; }
.sh-summary input[type=text] { min-height:44px; border-color:#fff; background:transparent; color:#fff; font-size:14px; }
.sh-qty input[type=text] { min-height:40px; padding:0; border-top:0; border-bottom:0; }
.errormsg, .wa-error-msg, .error { color:#C62828; }
input.error, input.wa-error { border-color:#C62828 !important; }
.hint, .wa-hint { font-size:13px; color:var(--sx-muted); }
.clear-both { clear:both; }
.float-right { float:right; }
.gray { color:var(--sx-muted); }
.bold { font-weight:600; }
.nowrap { white-space:nowrap; }
.small { font-size:13px; }
.checkout { max-width:860px; margin:0 auto; padding:32px 24px 72px; }
.checkout-step { border:1px solid var(--sx-ink); background:#fff; margin-bottom:12px; }
.checkout-step .step-header { margin:0; font-size:18px; font-weight:600; padding:16px 20px; border:0; }
.checkout-step .step-header a { text-decoration:none; }
.checkout-step .step-header.upcoming { color:var(--sx-muted); }
.checkout-step.is-done .step-header { background:var(--sx-card); }
.checkout-step-content { padding:0 20px 20px; margin-top:0 !important; }
.checkout-step-content.auth ul { display:flex; gap:16px; flex-wrap:wrap; padding-bottom:12px; }
.checkout-options { display:flex; flex-direction:column; gap:8px; margin:0 0 16px; }
.checkout-options li { border:1px solid var(--sx-line); padding:14px 16px; }
.checkout-options li h3 { font-size:16px; font-weight:600; display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.checkout-options li h3 label { display:flex; gap:10px; align-items:center; cursor:pointer; }
.checkout-options li img.method-logo, .checkout-options li img { max-height:28px; width:auto; display:inline-block; }
.checkout-options .rate { margin-left:auto; }
.checkout blockquote { display:flex; gap:14px; align-items:flex-start; background:var(--sx-card); padding:14px; margin-bottom:16px; }
.checkout blockquote img { width:50px; height:50px; }
table.table, .checkout table { width:100%; border-collapse:collapse; margin-bottom:16px; }
table.table th, table.table td, .checkout table th, .checkout table td { padding:10px 8px; border-bottom:1px solid var(--sx-line); text-align:left; vertical-align:top; }
.align-right { text-align:right !important; } .align-center { text-align:center !important; }
.sh-account-body table { width:100%; border-collapse:collapse; }
.sh-account-body table th, .sh-account-body table td { padding:12px 8px; border-bottom:1px solid var(--sx-line); text-align:left; }
.order-status { display:inline-flex; align-items:center; gap:8px; padding:3px 10px 3px 8px; font-size:13px; color:var(--sx-ink) !important; background:#fff !important; border:1px solid var(--sx-ink); }
.order-status-dot { width:10px; height:10px; display:inline-block; flex-shrink:0; font-size:0; color:transparent !important; }
.wa-auth-adapters ul { display:flex; gap:8px; padding:12px 0; }
.wa-login-form-wrapper, .wa-signup-form-wrapper, .wa-forgotpassword-form-wrapper { display:flex; flex-direction:column; gap:14px; }

/* gradient layer for the shop parts */
.g-soft .sh-hero-grid, .g-bold .sh-hero-grid { position:relative; z-index:0; }
.g-soft .sh-tile:hover, .g-soft .sh-card:hover, .g-bold .sh-tile:hover, .g-bold .sh-card:hover { box-shadow:6px 6px 0 var(--sx-grad-a); }
.g-soft .sh-toast, .g-bold .sh-toast { box-shadow:6px 6px 0 var(--sx-grad-a); }
.g-soft .sh-hero { background:linear-gradient(120deg, rgba(158,100,247,.10), rgba(44,198,246,.12)), #fff; }
@supports (color: color-mix(in srgb, red, blue)) {
  .g-soft .sh-hero { background:
    radial-gradient(46% 70% at 88% 8%, color-mix(in srgb, var(--sx-grad-b) 28%, transparent), transparent 62%),
    radial-gradient(40% 64% at 58% -6%, color-mix(in srgb, var(--sx-grad-a) 24%, transparent), transparent 60%), #fff; }
}
.g-soft .sh-feature { position:relative; box-shadow:none; }
.g-soft .sh-feature::before { content:''; position:absolute; inset:0; transform:translate(10px,10px); background:var(--sx-grad); z-index:-1; }
.g-soft .sh-cats a.is-active { box-shadow:inset 0 -3px 0 var(--sx-grad-b); }
.g-soft .sh-summary { border-top:4px solid transparent; border-image:var(--sx-grad) 1; }
.g-bold .sh-hero { background:var(--sx-grad-deep); color:#fff; border-bottom:0; }
.g-bold .sh-hero .sx-lead { color:#fff; }
.g-bold .sh-hero .sx-eyebrow { background:none; -webkit-text-fill-color:#fff; color:#fff; }
.g-bold .sh-hero .sx-btn { border-color:#fff; color:#fff; background:transparent; }
.g-bold .sh-hero .sx-btn:hover { background:rgba(255,255,255,.16); }
.g-bold .sh-hero .sx-btn.is-primary { background:#fff; color:var(--sx-ink); }
.g-bold .sh-hero .sx-btn.is-accent { background:var(--sx-accent); border-color:var(--sx-accent); color:var(--sx-ink); }
.g-bold .sh-feature { background:#fff; color:var(--sx-ink); box-shadow:10px 10px 0 var(--sx-ink); }
.g-bold .sh-feature-top, .g-bold .sh-feature-text { color:var(--sx-text2); }
.g-bold .sh-cats a.is-active { background:var(--sx-grad-deep); color:#fff; }
.g-bold .sh-badge { background:var(--sx-grad-deep); color:#fff; }
.g-bold .sh-summary { background:var(--sx-grad-deep); }
.g-bold .sh-summary .sx-calc-sum strong { color:#fff; }
.g-bold .sh-summary .sx-calc-cap, .g-bold .sh-summary .sx-calc-note { color:#fff; }
.g-bold .sh-summary .sx-calc-lines > div { border-bottom-color:rgba(255,255,255,.35); }
.g-bold .sh-account-nav li.selected a { background:var(--sx-grad-deep); }
@media (max-width:1080px) { .sh-catalog.is-wide .sh-grid.c3 { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:860px) {
  .sh-catalog.is-wide .sh-grid.c3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sh-account { grid-template-columns:minmax(0,1fr); }
  .g-soft .sh-feature::before { transform:translate(6px,6px); }
  .g-bold .sh-feature { box-shadow:6px 6px 0 var(--sx-ink); }
}
@media (max-width:620px) {
  .sh-item { grid-template-columns:56px minmax(0,1fr) 44px; }
  .sh-item .sh-item-name { grid-column:2; }
  .sh-item .sh-item-remove { grid-column:3; grid-row:1; }
  .sh-item .sh-qty, .sh-item .sh-price { grid-column:2 / -1; justify-self:start; }
  .checkout { padding:20px 12px 48px; }
}

/* pages that keep Shop-Script's stock markup (reviews, comparison, product subpages) */
.sh-legacy { padding-top:28px; padding-bottom:72px; }
.sh-legacy h1 { font-size:clamp(26px,3.2vw,40px); letter-spacing:-.03em; line-height:1.1; font-weight:600; margin-bottom:16px; }
.sh-legacy h3, .sh-legacy h4 { font-size:18px; font-weight:600; margin:16px 0 8px; }
.sh-legacy .product-nav { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:24px; }
.sh-legacy .product-nav li a { display:inline-flex; min-height:44px; align-items:center; padding:0 14px; border:1px solid var(--sx-ink); text-decoration:none; font-size:14px; }
.sh-legacy .product-nav li.selected a { background:var(--sx-ink); color:#fff; }
.sh-legacy .product-nav .hint { margin-left:6px; }
.sh-legacy .product-sidebar { float:right; width:min(380px,100%); margin:0 0 24px 32px; border:1px solid var(--sx-ink); padding:20px; background:var(--sx-card); }
.sh-legacy .reviews ul, .sh-legacy ul.reviews-branch { display:flex; flex-direction:column; gap:14px; }
.sh-legacy .review { border:1px solid var(--sx-line); padding:16px; background:#fff; }
.sh-legacy .review .summary { display:flex; gap:10px; flex-wrap:wrap; align-items:baseline; margin-bottom:6px; }
.sh-legacy .review-form-fields p { display:flex; flex-direction:column; gap:6px; margin-bottom:12px; max-width:560px; }
.sh-legacy .review-form-fields label { font-family:'JetBrains Mono',ui-monospace,monospace; font-size:12px; color:var(--sx-text2); }
.sh-legacy table.compare { width:100%; border-collapse:collapse; }
.sh-legacy table.compare th, .sh-legacy table.compare td { border:1px solid var(--sx-line); padding:10px; vertical-align:top; text-align:left; }
.sh-legacy img { max-width:100%; height:auto; }
.rate i.icon16, .rating i.icon16, i.icon16.star, i.icon16.star-empty, i.icon16.star-half { display:inline-block; width:14px; height:14px; margin-right:2px; background:var(--sx-line); clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
i.icon16.star, i.icon16.star-full, i.icon16.star-hover { background:var(--sx-accent); }
i.icon16.star-half { background:linear-gradient(90deg,var(--sx-accent) 50%,var(--sx-line) 50%); }
@media (max-width:860px) { .sh-legacy .product-sidebar { float:none; width:100%; margin:0 0 24px; } }

/* framework auth forms (login / signup / password recovery): its own inline styles use low-contrast greys */
.sh-main .wa-name, .sh-main .wa-field .wa-name { color:var(--sx-text2) !important; font-family:'JetBrains Mono',ui-monospace,monospace; font-size:12px; }
.sh-main .wa-signup-form-title, .sh-main .wa-login-form-title, .sh-main .wa-forgotpassword-form-title, #page .wa-section-header { font-size:clamp(26px,3.2vw,40px) !important; letter-spacing:-.03em; line-height:1.1; font-weight:600 !important; margin:0 0 20px !important; color:var(--sx-ink) !important; }
.sh-main .wa-signup-form-wrapper, .sh-main .wa-login-form-wrapper, .sh-main .wa-forgotpassword-form-wrapper { max-width:520px; }
.sh-main .wa-signup-form-wrapper .wa-field, .sh-main .wa-login-form-wrapper .wa-field, .sh-main .wa-forgotpassword-form-wrapper .wa-field { margin-bottom:14px; }
.sh-main .wa-signup-form-wrapper input[type=text], .sh-main .wa-signup-form-wrapper input[type=password], .sh-main .wa-login-form-wrapper input[type=text], .sh-main .wa-login-form-wrapper input[type=password], .sh-main .wa-forgotpassword-form-wrapper input[type=text] { width:100%; }
.sh-main .wa-buttons-wrapper { display:flex; gap:14px; align-items:center; flex-wrap:wrap; margin-top:8px; }
.sh-main .wa-login-url, .sh-main .wa-signup-url, .sh-main .wa-login-forgotpassword-url { color:var(--sx-ink) !important; font-size:14px; }
.sh-main .wa-login-url a, .sh-main .wa-signup-url a, .sh-main .wa-login-forgotpassword-url a { color:var(--sx-ink) !important; text-decoration:underline; }
.sh-main .wa-error-msg, .sh-main .wa-uncaught-errors { color:#C62828 !important; font-size:14px; }
.sh-main .wa-info-msg { color:var(--sx-ink); background:var(--sx-card); padding:12px 14px; border:1px solid var(--sx-line); }

/* one-page checkout (v2) keeps Shop-Script's own stylesheet; the theme only frames it */
.sh-order { padding-top:24px; padding-bottom:72px; }
.sh-order .s-order-page { font-size:15px; }
.sh-order .wa-section-header, .sh-order .wa-header, .sh-order h2, .sh-order h3 { font-size:20px !important; line-height:1.25 !important; font-weight:600 !important; letter-spacing:-.02em; margin:0 0 12px !important; }
.sh-order .s-section-header h2, .sh-order .s-section-header .s-header { font-size:22px !important; }
