@property --hero-cloud-reveal { syntax:"<number>"; inherits:true; initial-value:.06; }
@property --hero-cloud-brightness { syntax:"<number>"; inherits:true; initial-value:.34; }
@property --hero-cloud-veil { syntax:"<number>"; inherits:true; initial-value:.86; }
.hero-ui8 { min-height: calc(100vh - 76px); width: 100%; padding: 0; display: block; background: var(--bg); }
.hero-stage { --hero-cloud-reveal:.06; --hero-cloud-brightness:.34; --hero-cloud-veil:.86; width: 100%; min-height: calc(100vh - 76px); position: relative; display: flex; align-items: center; justify-content: center; padding: 72px 28px 42px; overflow: hidden; isolation:isolate; touch-action:none; user-select:none; -webkit-user-select:none; transition:--hero-cloud-reveal 1.18s cubic-bezier(.22,1,.36,1),--hero-cloud-brightness 1.18s cubic-bezier(.22,1,.36,1),--hero-cloud-veil 1.18s cubic-bezier(.22,1,.36,1); }
.hero-stage:has(.hero-card-cloud.is-ready) { --hero-cloud-reveal:.98; --hero-cloud-brightness:1.08; --hero-cloud-veil:.38; }
.hero-card-cloud { position:absolute; inset:-12% -10% -10%; z-index:1; overflow:hidden; perspective:980px; perspective-origin:center; opacity:var(--hero-cloud-reveal); filter:brightness(var(--hero-cloud-brightness)) contrast(1.04); touch-action:none; user-select:none; cursor:grab; pointer-events:auto; -webkit-mask-image:linear-gradient(to right,transparent,black 9%,black 91%,transparent),linear-gradient(to bottom,transparent,black 7%,black 92%,transparent); -webkit-mask-composite:source-in; mask-image:linear-gradient(to right,transparent,black 9%,black 91%,transparent),linear-gradient(to bottom,transparent,black 7%,black 92%,transparent); mask-composite:intersect; contain:layout paint style; }
.hero-card-cloud.is-dragging { cursor:grabbing; }
.hero-card-cloud__space { position:absolute; inset:0; transform-style:preserve-3d; will-change:transform; pointer-events:none; }
.hero-cloud-card { position:absolute; left:50%; top:50%; width:clamp(104px,10.5vw,174px); aspect-ratio:16/10; border:1px solid rgba(255,255,255,.075); border-radius:10px; overflow:hidden; background:#111; box-shadow:0 14px 34px rgba(0,0,0,.34); opacity:0; transform-style:preserve-3d; backface-visibility:hidden; will-change:transform,opacity,filter; pointer-events:none; }
.hero-cloud-card img { display:block; width:100%; height:100%; object-fit:cover; transform:scale(1.006); opacity:1; }
.hero-stage::before { content:""; position:absolute; inset:0; z-index:2; background:radial-gradient(ellipse at center,rgba(7,7,7,var(--hero-cloud-veil)) 0%,rgba(7,7,7,calc(var(--hero-cloud-veil) * .82)) 31%,rgba(7,7,7,.16) 57%,rgba(7,7,7,.28) 100%); pointer-events:none; }
.hero-stage::after { content:""; position:absolute; inset:0; z-index:3; background:radial-gradient(ellipse at center,rgba(7,7,7,.42) 0%,rgba(7,7,7,.26) 28%,rgba(7,7,7,.04) 54%,rgba(7,7,7,.32) 118%); pointer-events:none; }
.hero-content-ui8 { position:relative; z-index:20; max-width:900px; margin:auto; text-align:center; padding:0 0 20px; pointer-events:none; }
.hero-content-ui8 > * { pointer-events:auto; }
.hero-content-ui8 h1 { margin:0; font-size:clamp(40px,5.4vw,66px); line-height:1.02; letter-spacing:-2px; font-weight:950; text-shadow:0 10px 30px rgba(0,0,0,.8); }
.hero-content-ui8 p { max-width:720px; margin:24px auto 0; color:#d1d1d6; font-size:20px; line-height:1.8; text-shadow:0 4px 15px rgba(0,0,0,.8); }
.hero-tabs-wrapper { display:flex; justify-content:center; margin-top:60px; }
.hero-tabs { position:relative; padding:4px; display:inline-flex; align-items:center; border-radius:999px; background:rgba(18,18,22,.7); backdrop-filter:blur(24px); isolation:isolate; box-shadow:inset 0 0 0 1px rgba(255,255,255,.05),0 20px 40px rgba(0,0,0,.6); }
.hero-tabs::before { content:""; position:absolute; inset:-1px; border-radius:999px; padding:1px; background:linear-gradient(90deg,rgba(88,101,242,.55),rgba(236,72,153,.65),rgba(56,189,248,.65),rgba(88,101,242,.55)); background-size:300% 100%; animation:electricBorder 4.5s linear infinite; -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); -webkit-mask-composite:xor; mask-composite:exclude; z-index:-1; opacity:.9; }
@keyframes electricBorder { from{background-position:0 50%} to{background-position:300% 50%} }
.hero-tabs-indicator { position:absolute; top:4px; bottom:4px; left:0; border-radius:999px; background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.03)); box-shadow:0 4px 24px rgba(0,0,0,.3),inset 0 1px 1px rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.06); z-index:1; pointer-events:none; transition:transform .45s cubic-bezier(.25,1,.5,1),width .45s cubic-bezier(.25,1,.5,1); }
.hero-tab { position:relative; z-index:2; min-width:104px; padding:10px 18px; border-radius:999px; color:#8e8e93; font-weight:700; font-size:15px; text-align:center; cursor:pointer; transition:color .3s ease; }
.hero-tab:hover { color:#e8d7ff; }
.hero-tab:focus-visible { outline:2px solid rgba(255,255,255,.92); outline-offset:4px; color:#fff; }
.hero-tab.active { color:#dcb7ff; text-shadow:0 0 18px rgba(236,72,153,.26); }
.home-template-panel { min-width:0; }
.home-template-panel.is-entering { animation:homeTemplatePanelIn .18s ease both; }
@keyframes homeTemplatePanelIn { from{opacity:.35;transform:translateY(5px)} to{opacity:1;transform:translateY(0)} }
#templates { margin-top:-180px; padding-top:40px; position:relative; z-index:10; background:linear-gradient(to bottom,transparent 0%,rgba(7,7,7,.86) 120px,var(--bg) 320px); }
.templates-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
#categories { padding:110px 0 70px; background:var(--bg); position:relative; z-index:10; }
.categories-title { margin:0 0 58px; text-align:center; font-size:clamp(32px,4vw,46px); line-height:1.1; font-weight:950; letter-spacing:-1px; color:#fff; }
.categories-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:34px; }
.category-card { position:relative; aspect-ratio:16/10; border-radius:18px; overflow:hidden; background:#161616; cursor:pointer; isolation:isolate; }
.category-card img { width:100%; height:100%; object-fit:cover; transform:scale(1.001); transition:transform .55s cubic-bezier(.25,1,.5,1),opacity .35s ease; }
.category-card::after { content:""; position:absolute; inset:0; background:linear-gradient(to bottom,rgba(0,0,0,.1),rgba(0,0,0,.58)); opacity:0; transition:opacity .3s ease; z-index:1; }
.category-card-title { position:absolute; inset-inline:22px; bottom:22px; z-index:2; color:#fff; font-size:20px; font-weight:950; line-height:1.2; opacity:0; transform:translateY(14px); transition:opacity .3s ease,transform .3s cubic-bezier(.25,1,.5,1); text-shadow:0 8px 24px rgba(0,0,0,.6); }
.category-card:hover img { transform:scale(1.055); opacity:.82; }
.category-card:hover::after, .category-card:focus-visible::after { opacity:1; }
.category-card:hover .category-card-title, .category-card:focus-visible .category-card-title { opacity:1; transform:translateY(0); }
.value-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(92px,9vw,132px) 0 clamp(88px,8vw,120px);
  background:
    radial-gradient(circle at 12% 22%,rgba(88,101,242,.13),transparent 27%),
    radial-gradient(circle at 88% 74%,rgba(236,72,153,.09),transparent 24%),
    linear-gradient(180deg,var(--bg) 0%,var(--bg2) 48%,var(--bg) 100%);
}
.value-section::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.28;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:42px 42px;
  -webkit-mask-image:linear-gradient(to bottom,transparent,black 18%,black 82%,transparent);
  mask-image:linear-gradient(to bottom,transparent,black 18%,black 82%,transparent);
}
.value-section > .container { position:relative; }
.value-section-head {
  max-width:820px;
  margin:0 auto clamp(44px,6vw,72px);
  text-align:center;
}
.value-section-head .badge {
  margin-bottom:20px;
  color:#c9c9d1;
  background:rgba(255,255,255,.035);
  border-color:rgba(255,255,255,.09);
}
.value-section-head h2 {
  margin:0;
  color:#fff;
  font-size:clamp(38px,5vw,66px);
  line-height:1.08;
  letter-spacing:-2px;
}
.value-section-head p {
  max-width:760px;
  margin:22px auto 0;
  color:#aaaab3;
  font-size:clamp(16px,1.7vw,19px);
  line-height:1.9;
}
.value-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.value-card {
  --value-accent:88,101,242;
  position:relative;
  min-width:0;
  min-height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:30px;
  padding:24px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  background:
    linear-gradient(145deg,rgba(var(--value-accent),.09),transparent 46%),
    rgba(19,19,23,.72);
  backdrop-filter:blur(20px);
  box-shadow:inset 0 1px rgba(255,255,255,.035),0 22px 60px rgba(0,0,0,.24);
  text-align:start;
  transition:border-color .25s ease,box-shadow .25s ease;
}
.value-card:nth-child(2) { --value-accent:56,189,248; }
.value-card:nth-child(3) { --value-accent:236,72,153; }
.value-card:nth-child(4) { --value-accent:168,85,247; }
.value-card::after {
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  inset-inline-end:-92px;
  top:-96px;
  border-radius:50%;
  background:rgba(var(--value-accent),.12);
  filter:blur(8px);
  pointer-events:none;
}
.value-card:hover {
  border-color:rgba(var(--value-accent),.34);
  box-shadow:inset 0 1px rgba(255,255,255,.05),0 28px 72px rgba(0,0,0,.34);
}
.value-card-top {
  position:relative;
  z-index:1;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.value-icon {
  width:52px;
  height:52px;
  flex:0 0 52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(var(--value-accent),.28);
  border-radius:15px;
  color:rgb(var(--value-accent));
  background:rgba(var(--value-accent),.1);
  box-shadow:inset 0 1px rgba(255,255,255,.06);
}
.value-icon svg { width:27px; height:27px; }
.value-card-copy { position:relative; z-index:1; }
.value-card h3 {
  margin:0 0 12px;
  color:#fff;
  font-size:clamp(19px,1.55vw,23px);
  line-height:1.4;
  letter-spacing:-.45px;
}
.value-card p {
  margin:0;
  color:#a8a8b1;
  font-size:14px;
  line-height:1.75;
}

.admin-mfa-shell { min-height:calc(100vh - 76px); display:flex; align-items:center; padding-block:clamp(52px,8vw,92px); }
.admin-mfa-shell h1 { margin:0; color:#fff; font-size:clamp(32px,5vw,48px); line-height:1.14; }
.admin-mfa-shell p { color:#b7b7bf; line-height:1.8; }
.admin-mfa-panel { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:22px; margin:28px 0; }
.admin-mfa-qr { width:244px; min-width:244px; padding:8px; border-radius:8px; background:#fff; }
.admin-mfa-qr img { display:block; width:228px; height:228px; }
.admin-mfa-key, .admin-mfa-form { display:grid; gap:10px; min-width:0; }
.admin-mfa-key label, .admin-mfa-form label { color:#e6e6ea; font-weight:850; }
.admin-mfa-key input, .admin-mfa-form input, .admin-mfa-copy { width:100%; min-height:48px; padding:12px 14px; border:1px solid rgba(255,255,255,.12); border-radius:8px; color:#fff; background:#141418; font:inherit; }
.admin-mfa-key input { direction:ltr; font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace; letter-spacing:1px; }
.admin-mfa-form { margin-top:22px; }
.admin-mfa-codes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:28px 0 16px; }
.admin-mfa-codes code { min-height:46px; display:flex; align-items:center; justify-content:center; padding:10px; border:1px solid rgba(255,255,255,.12); border-radius:8px; color:#fff; background:#141418; direction:ltr; font-size:14px; }
.admin-mfa-copy { height:132px; resize:none; direction:ltr; font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace; }
.admin-mfa-link { margin-top:16px; text-align:center; }

.admin-catalog-shell { min-height:calc(100vh - 76px); padding:16px 0 clamp(42px,6vw,64px); background:var(--bg); color:#f7f7f8; }
.admin-catalog-head { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; margin-bottom:28px; }
.admin-catalog-head h1 { margin:0; font-size:clamp(30px,4vw,46px); line-height:1.1; }
.admin-catalog-head p { margin:12px 0 0; color:#aaaab3; line-height:1.75; }
.admin-catalog-back { display:inline-flex; margin-bottom:14px; color:#bdbdc6; font-weight:800; }
.admin-catalog-button, .admin-secondary-button { min-height:46px; display:inline-flex; align-items:center; justify-content:center; padding:0 18px; border-radius:8px; border:1px solid rgba(255,255,255,.14); color:#050506; background:#fff; font-weight:900; cursor:pointer; }
.admin-secondary-button { color:#e8e8ee; background:#19191d; }
.admin-catalog-notice, .admin-catalog-error, .admin-catalog-warning, .admin-catalog-empty { margin:18px 0; padding:16px 18px; border:1px solid rgba(255,255,255,.1); border-radius:8px; background:#151519; color:#dedee5; }
.admin-catalog-error { border-color:rgba(248,113,113,.45); color:#ffd7d7; }
.admin-catalog-warning { border-color:rgba(251,191,36,.38); color:#f7e7b4; }
.admin-catalog-warning ul { margin:10px 0 0; padding-inline-start:22px; line-height:1.7; }
.admin-catalog-table-wrap { overflow:auto; border:1px solid rgba(255,255,255,.08); border-radius:8px; background:#111115; }
.admin-catalog-table { width:100%; min-width:820px; border-collapse:collapse; }
.admin-catalog-table th, .admin-catalog-table td { padding:14px 16px; border-bottom:1px solid rgba(255,255,255,.07); text-align:start; vertical-align:middle; }
.admin-catalog-table th { color:#a9a9b2; font-size:13px; text-transform:uppercase; }
.admin-catalog-table td { color:#f2f2f4; }
.admin-catalog-table code { direction:ltr; display:inline-block; color:#cfd2ff; }
.admin-status { display:inline-flex; align-items:center; min-height:28px; padding:4px 10px; border-radius:999px; color:#d9d9df; background:#222229; font-size:12px; font-weight:900; }
.admin-catalog-actions { display:flex; gap:12px; white-space:nowrap; }
.admin-catalog-actions a { color:#fff; font-weight:850; text-decoration:underline; text-underline-offset:4px; }
/* The site header is sticky at top:0 with height 76px + 1px border, so the
   action bar sticks right below it and the section rail below both. */
.admin-topbar { position:sticky; top:85px; z-index:24; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; padding:10px 14px; border:1px solid rgba(255,255,255,.12); border-radius:10px; background:rgba(17,17,21,.96); backdrop-filter:blur(18px); box-shadow:0 10px 30px rgba(0,0,0,.35); }
.admin-topbar-info { display:flex; flex-wrap:wrap; align-items:center; gap:12px; min-width:0; }
.admin-topbar-info h1 { margin:0; font-size:20px; line-height:1.2; }
.admin-topbar-id { color:#8f93c9; font-size:12px; direction:ltr; }
.admin-topbar-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.admin-topbar-actions .admin-catalog-button, .admin-topbar-actions .admin-secondary-button, .admin-topbar-actions .admin-danger-button { min-height:40px; padding:0 14px; font-size:14px; }
.admin-catalog-workspace { display:grid; grid-template-columns:240px minmax(0,1fr); gap:22px; align-items:start; }
.admin-catalog-main { display:grid; gap:18px; min-width:0; }
.admin-workspace-js [data-admin-section] { display:none; }
.admin-workspace-js [data-admin-section].is-active-section { display:grid; }
.admin-catalog-section-rail { position:sticky; top:156px; display:grid; gap:12px; }
.admin-catalog-section-nav { display:grid; gap:6px; padding:10px; border:1px solid rgba(255,255,255,.09); border-radius:8px; background:#111115; }
.admin-catalog-section-nav a { display:flex; align-items:center; gap:8px; padding:10px 12px; border-radius:8px; color:#bdbdc7; font-weight:850; line-height:1.35; }
.admin-catalog-section-nav a:hover, .admin-catalog-section-nav a.is-active { color:#fff; background:#202027; }
.admin-section-nav-label { flex:1; min-width:0; }
.admin-section-badge { display:inline-flex; align-items:center; justify-content:center; min-width:22px; height:22px; padding:0 7px; border-radius:999px; background:#57151a; border:1px solid rgba(248,113,113,.5); color:#ffc9c9; font-size:12px; font-weight:900; }
.admin-section-check { color:#8fdcaa; font-size:13px; font-weight:900; }
.admin-section-picker-label { display:none; }
.admin-section-picker { display:none; width:100%; min-height:46px; padding:11px 12px; border:1px solid rgba(255,255,255,.12); border-radius:8px; color:#fff; background:#18181d; font:inherit; }
.admin-catalog-form { display:grid; gap:14px; min-width:0; }
.admin-catalog-form fieldset { scroll-margin-top:18px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0; padding:16px; border:1px solid rgba(255,255,255,.09); border-radius:8px; background:#111115; }
.admin-catalog-form legend { padding:0 8px; color:#fff; font-size:17px; font-weight:950; }
.admin-catalog-form label { display:grid; gap:6px; min-width:0; color:#d9d9df; font-weight:850; }
.admin-catalog-form input, .admin-catalog-form textarea, .admin-catalog-form select { width:100%; min-height:44px; padding:10px 12px; border:1px solid rgba(255,255,255,.12); border-radius:8px; color:#fff; background:#18181d; font:inherit; }
.admin-catalog-form textarea { min-height:84px; resize:vertical; line-height:1.55; }
.admin-field-helper { display:block; color:#a7a7b0; font-size:13px; font-weight:650; line-height:1.45; }
.admin-field-wide { grid-column:1 / -1; }
.admin-check { display:flex !important; grid-template-columns:auto 1fr; align-items:center; gap:10px; }
.admin-check input { width:18px; min-height:18px; }
.admin-locale-block, .admin-feature-row { grid-column:1 / -1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:12px; border:1px solid rgba(255,255,255,.07); border-radius:8px; background:#151519; }
.admin-locale-block h2, .admin-feature-row h2 { grid-column:1 / -1; margin:0; color:#fff; font-size:17px; }
.admin-repeater { grid-column:1 / -1; display:grid; gap:10px; }
.admin-repeater [data-repeater-items] { display:grid; gap:10px; }
.admin-repeat-card { border:1px solid rgba(255,255,255,.08); border-radius:8px; background:#151519; overflow:hidden; }
.admin-repeat-card summary { min-height:46px; display:flex; align-items:center; gap:12px; cursor:pointer; padding:10px 14px; color:#fff; font-weight:950; }
.admin-repeat-card summary [data-repeat-title] { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.admin-repeat-card[open] summary { border-bottom:1px solid rgba(255,255,255,.08); }
.admin-repeat-tools { display:flex; gap:6px; }
.admin-repeat-move { width:34px; height:34px; display:inline-flex; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.14); border-radius:8px; color:#d9d9df; background:#1d1d23; font-size:15px; cursor:pointer; }
.admin-repeat-move:hover { color:#fff; background:#26262e; }
.admin-repeat-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:12px; }
.admin-repeat-remove { justify-self:start; align-self:end; }
.admin-danger-button { min-height:46px; display:inline-flex; align-items:center; justify-content:center; padding:0 18px; border-radius:8px; border:1px solid rgba(248,113,113,.45); color:#ffc9c9; background:#2a1215; font-weight:900; cursor:pointer; }
.admin-catalog-button:disabled, .admin-secondary-button:disabled { opacity:.48; cursor:not-allowed; }
.admin-form-actions, .admin-publish-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:18px; }
.admin-publish-actions form { margin:0; }
.admin-field-error { display:block; color:#ffb4b4; font-size:13px; font-weight:800; line-height:1.45; }
.admin-field-invalid input, .admin-field-invalid textarea, .admin-field-invalid select { border-color:rgba(248,113,113,.6); }
.admin-inline-note { grid-column:1 / -1; margin:0; padding:10px 12px; border:1px solid rgba(255,255,255,.08); border-radius:8px; background:#151519; color:#a7a7b0; font-size:13px; font-weight:650; line-height:1.55; }
.admin-inline-warning { border-color:rgba(251,191,36,.3); color:#e8d9a8; }
.admin-section-errors { grid-column:1 / -1; padding:12px 14px; border:1px solid rgba(248,113,113,.45); border-radius:8px; background:#1d1114; color:#ffd7d7; }
.admin-section-errors ul { margin:0; padding-inline-start:20px; line-height:1.7; font-size:14px; }
.admin-publish-checklist { display:grid; gap:10px; }
.admin-publish-checklist h3 { margin:0; color:#fff; font-size:15px; }
.admin-checklist { margin:0; padding:0; list-style:none; display:grid; gap:6px; }
.admin-checklist-item { display:flex; align-items:center; gap:10px; padding:8px 12px; border:1px solid rgba(255,255,255,.08); border-radius:8px; font-size:14px; font-weight:750; }
.admin-checklist-item.is-complete { border-color:rgba(74,222,128,.35); background:#0f2117; color:#a9ecc0; }
.admin-checklist-item.is-incomplete { border-color:rgba(251,191,36,.4); background:#241c0e; color:#f0dcb0; }
.admin-checklist-icon { flex:none; font-size:15px; }
.admin-checklist-label { flex:1; min-width:0; }
.admin-checklist-state { flex:none; font-size:12px; font-weight:900; opacity:.85; }
.admin-checklist-ready { margin:0; color:#8fdcaa; font-weight:800; }
.admin-config-features { grid-column:1 / -1; display:grid; gap:8px; }
.admin-add-category { border:1px solid rgba(255,255,255,.08); border-radius:8px; background:#151519; overflow:hidden; }
.admin-add-category summary { min-height:42px; display:flex; align-items:center; cursor:pointer; padding:9px 14px; color:#cfd2ff; font-size:14px; font-weight:850; }
.admin-add-category[open] summary { border-bottom:1px solid rgba(255,255,255,.08); }
.admin-add-category-body { display:grid; gap:12px; padding:12px; }
.admin-add-category-body .admin-secondary-button { justify-self:start; }
.admin-add-category-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.admin-feature-badges { display:flex; gap:6px; }
.admin-feature-badge { display:inline-flex; align-items:center; min-height:24px; padding:2px 10px; border-radius:999px; font-size:11px; font-weight:900; }
.admin-feature-badge--core { color:#bcd3ff; background:#15233c; border:1px solid rgba(96,165,250,.4); }
.admin-feature-badge--locked { color:#e3c9a1; background:#2b2214; border:1px solid rgba(251,191,36,.4); }
.admin-status[data-status="published"] { color:#a9ecc0; background:#12291b; }
.admin-status[data-status="withdrawn"] { color:#f0dcb0; background:#2b2214; }
.admin-toast { position:fixed; bottom:24px; left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:14px; max-width:min(92vw,480px); padding:13px 18px; border:1px solid rgba(255,255,255,.14); border-radius:10px; background:#1c1c22; color:#f2f2f4; font-weight:800; box-shadow:0 12px 34px rgba(0,0,0,.45); z-index:40; }
.admin-toast--success { border-color:rgba(74,222,128,.4); }
.admin-toast--error { border-color:rgba(248,113,113,.5); }
.admin-toast.is-hidden { display:none; }
.admin-toast button { border:0; background:none; color:#a7a7b0; font-size:20px; line-height:1; cursor:pointer; padding:0; }
.admin-toast button:hover { color:#fff; }

@media (max-width: 680px) {
  .admin-mfa-panel { grid-template-columns:1fr; }
  .admin-mfa-qr { width:100%; min-width:0; display:flex; justify-content:center; }
  .admin-mfa-codes { grid-template-columns:1fr; }
  .admin-catalog-head { display:grid; }
  .admin-catalog-workspace { grid-template-columns:1fr; }
  .admin-catalog-section-rail { position:static; }
  .admin-catalog-section-nav { display:none; }
  .admin-section-picker-label { display:block; color:#d9d9df; font-weight:850; }
  .admin-section-picker { display:block; }
  .admin-catalog-form fieldset, .admin-locale-block, .admin-feature-row, .admin-repeat-grid, .admin-add-category-grid { grid-template-columns:1fr; }
  .admin-topbar { position:static; }
  .admin-topbar-actions { width:100%; }
  .admin-topbar-actions .admin-catalog-button, .admin-topbar-actions .admin-secondary-button, .admin-topbar-actions .admin-danger-button { flex:1 1 44%; width:auto; }
  .admin-toast { bottom:12px; }
}

.template-showcase {
  --showcase-gap:13px;
  position:relative;
  overflow:hidden;
  margin-top:-1px;
  padding:clamp(48px,5.5vw,72px) 0 clamp(76px,8vw,108px);
  background:linear-gradient(180deg,var(--bg) 0%,#08080a 22%,#050506 58%,#040405 100%);
  border-top:0;
}
.template-showcase::before,
.template-showcase::after {
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  z-index:3;
  width:clamp(20px,5vw,86px);
  pointer-events:none;
}
.template-showcase::before {
  left:0;
  background:linear-gradient(to right,rgba(4,4,5,.98),transparent);
}
.template-showcase::after {
  right:0;
  background:linear-gradient(to left,rgba(4,4,5,.98),transparent);
}
.template-showcase-rows {
  display:flex;
  flex-direction:column;
  gap:clamp(10px,1.2vw,16px);
}
.template-showcase-row {
  width:100%;
  overflow:hidden;
  padding:8px 0;
}
.template-showcase-track {
  display:flex;
  width:max-content;
  gap:var(--showcase-gap);
  will-change:transform;
}
.template-showcase-row--forward .template-showcase-track {
  animation:templateShowcaseForward 76s linear infinite;
}
.template-showcase-row--reverse .template-showcase-track {
  animation:templateShowcaseReverse 84s linear infinite;
}
.template-showcase-row:nth-child(3) .template-showcase-track {
  animation-duration:92s;
}
.template-showcase-row:hover .template-showcase-track,
.template-showcase-row:focus-within .template-showcase-track {
  animation-play-state:paused;
}
.template-showcase-set {
  display:flex;
  gap:var(--showcase-gap);
  flex:none;
}
.template-showcase-card {
  position:relative;
  flex:0 0 clamp(175px,16.8vw,238px);
  width:clamp(175px,16.8vw,238px);
  aspect-ratio:16/10;
  overflow:hidden;
  isolation:isolate;
  border:1px solid rgba(255,255,255,.1);
  border-radius:clamp(10px,1.05vw,14px);
  background:var(--card);
  box-shadow:0 18px 46px rgba(0,0,0,.34);
  outline-offset:4px;
}
.template-showcase-card img {
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.001);
  transition:transform .4s cubic-bezier(.25,1,.5,1);
}
.template-showcase-overlay {
  position:absolute;
  inset:0;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:flex-start;
  gap:5px;
  padding:clamp(12px,1.35vw,16px);
  color:#fff;
  background:linear-gradient(to top,rgba(0,0,0,.82),rgba(0,0,0,.28) 55%,transparent 82%);
  opacity:0;
  transition:opacity .28s ease;
  pointer-events:none;
}
.template-showcase-overlay strong {
  font-size:clamp(16px,1.45vw,20px);
  line-height:1.25;
  font-weight:900;
  text-shadow:0 5px 18px rgba(0,0,0,.7);
}
.template-showcase-overlay span {
  font-size:13px;
  line-height:1.2;
  font-weight:800;
  color:rgba(255,255,255,.86);
}
.template-showcase-card:hover img,
.template-showcase-card:focus-visible img {
  transform:scale(1.025);
}
.template-showcase-card:hover .template-showcase-overlay,
.template-showcase-card:focus-visible .template-showcase-overlay {
  opacity:1;
}
@media (hover:none), (pointer:coarse) {
  .category-card::after,
  .category-card-title,
  .template-showcase-overlay {
    opacity:1;
    transform:none;
  }
  .ui8-card-overlay {
    opacity:1;
    pointer-events:auto;
    background:rgba(0,0,0,.24);
  }
}
@keyframes templateShowcaseForward {
  from { transform:translate3d(0,0,0); }
  to { transform:translate3d(calc(-50% - var(--showcase-gap) / 2),0,0); }
}
@keyframes templateShowcaseReverse {
  from { transform:translate3d(calc(-50% - var(--showcase-gap) / 2),0,0); }
  to { transform:translate3d(0,0,0); }
}
@media (max-width:700px) {
  .template-showcase {
    --showcase-gap:10px;
    padding:46px 0 72px;
  }
  .template-showcase-card {
    flex-basis:clamp(205px,58vw,230px);
    width:clamp(205px,58vw,230px);
    border-radius:12px;
  }
  .template-showcase-overlay { padding:13px; }
}
@media (prefers-reduced-motion:reduce) {
  .home-template-panel.is-entering { animation:none!important; }
  .filters-scroll { scroll-behavior:auto!important; }
  .filter-chip,.catalog-rail-arrow,.catalog-sort-button,.catalog-sort-option,.catalog-featured-toggle,.catalog-switch-track,.catalog-switch-track>span { transition:none!important; }
  .template-showcase { padding-block:52px 76px; }
  .template-showcase-row { overflow-x:auto; scrollbar-width:thin; overscroll-behavior-inline:contain; }
  .template-showcase-track { animation:none!important; transform:none!important; width:max-content; will-change:auto; }
  .template-showcase-set[data-showcase-set="duplicate"] { display:none; }
  .template-showcase-card img { transform:none!important; }
}

.page-shell { min-height:calc(100vh - 153px); padding:110px 0; background:radial-gradient(circle at 50% 0,rgba(255,255,255,.065),transparent 38%),var(--bg); }
.page-shell h1 { margin:0; font-size:clamp(36px,5vw,64px); letter-spacing:-1.8px; }
.page-shell p { max-width:760px; color:#b1b1b8; font-size:17px; line-height:1.9; }
.catalog-shell h1 { margin-bottom:14px; }
.catalog-shell > .container > p { margin-bottom:42px; }
.catalog-shell .templates-grid { margin-top:40px; }
.shell-narrow { max-width:850px; text-align:center; }
.shell-narrow p { margin:20px auto 32px; }
.error-code { display:block; margin-bottom:14px; color:#777780; font-size:20px; font-weight:900; letter-spacing:.18em; }
.breadcrumbs { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:32px; color:var(--muted); font-size:14px; }
.breadcrumbs a:hover { color:#fff; }
.detail-shell-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(340px, 1fr); gap:46px; align-items:start; }
.detail-media { position: sticky; top: 110px; }
.detail-gallery-main { border-radius:18px; background:#111; overflow:hidden; box-shadow:0 18px 48px rgba(0,0,0,.4); }
.detail-gallery-main img { width:100%; aspect-ratio:16/10; object-fit:cover; display:block; }
.detail-purchase-card { padding:32px; border-radius:24px; background:rgba(18,18,22,.6); backdrop-filter:blur(24px); border:1px solid rgba(255,255,255,.05); box-shadow:0 24px 64px rgba(0,0,0,.5); }
.detail-purchase-card h1 { margin-bottom:8px; font-size:32px; }
.detail-purchase-card .badge { margin-bottom:16px; display:inline-block; }
.detail-price-box { margin:24px 0; padding-bottom:24px; border-bottom:1px solid rgba(255,255,255,.06); }
.detail-price-amount { font-size:42px; font-weight:950; letter-spacing:-1px; color:#fff; display:block; margin-bottom:6px; }
.detail-price-label { font-size:14px; color:var(--muted); }
.availability-notice { padding:14px 16px; border:1px solid rgba(236,72,153,.3); border-radius:10px; background:rgba(236,72,153,.05); font-size:14px!important; color:#fff; }
.detail-actions { display:flex; flex-direction:column; gap:12px; margin-top:26px; }
.detail-actions .btn { width:100%; justify-content:center; }
.detail-section { margin-top:60px; padding-top:40px; border-top:1px solid rgba(255,255,255,.04); }
.detail-section h2 { font-size:28px; margin-bottom:24px; color:#fff; letter-spacing:-0.5px; }
.detail-features-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.detail-feature-card { padding:20px; background:#161618; border:1px solid rgba(255,255,255,.04); border-radius:14px; }
.detail-feature-card h3 { margin:0 0 8px; font-size:16px; color:#fff; }
.detail-feature-card p { margin:0; font-size:14px; color:var(--muted); line-height:1.6; }
.detail-feature-card.paid { border-color:rgba(88,101,242,.4); background:rgba(88,101,242,.05); }
.detail-feature-price { display:block; margin-top:10px; font-size:13px; font-weight:700; color:#a5b4fc; }
.compatibility-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:12px; }
.compatibility-list li { display:flex; justify-content:space-between; padding:16px 20px; background:#161618; border-radius:12px; border:1px solid rgba(255,255,255,.04); align-items:center; }
.compat-family { font-weight:700; color:#fff; display:block; }
.compat-tested { font-size:12px; color:var(--muted); display:block; margin-top:4px; }
.compat-status { font-size:14px; color:var(--muted); text-align:end; }
.compat-status.verified { color:#4ade80; }
.content-list { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.content-list li { position:relative; padding-inline-start:24px; color:#d1d1d6; }
.content-list li::before { content:"\2022"; color:#5865f2; position:absolute; inset-inline-start:0; font-size:20px; line-height:1; }
.quick-highlights { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:20px; }
.highlight-item { display:flex; flex-direction:column; gap:4px; padding:10px 14px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.05); border-radius:10px; flex:1; min-width:100px; }
.highlight-label { font-size:12px; color:var(--muted); }
.highlight-value { font-size:14px; font-weight:700; color:#fff; }
.highlight-value.ready { color:#38bdf8; }
.presentation-grid { display:flex; flex-direction:column; gap:32px; margin-top:24px; }
.presentation-img { width:100%; border-radius:18px; border:1px solid rgba(255,255,255,.05); box-shadow:0 24px 64px rgba(0,0,0,.3); background:#111; display:block; }
.tags-container { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.tag-badge { padding:6px 14px; font-size:13px; font-weight:600; color:#b1b1b8; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.06); border-radius:999px; transition:color .3s, background .3s; }
.tag-badge:hover { color:#fff; background:rgba(255,255,255,.08); }
.page-shell.catalog-shell { padding:0 0 110px; background:var(--bg); }
.catalog-hero { position:relative; isolation:isolate; width:100vw; margin-inline:calc(50% - 50vw); overflow:hidden; background:rgba(10,10,12,.78); box-shadow:inset 0 1px rgba(255,255,255,.025); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); }
.catalog-hero::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:radial-gradient(circle at 50% 12%,rgba(88,101,242,.13),transparent 36%),linear-gradient(180deg,rgba(255,255,255,.025),transparent 58%); }
.catalog-hero-inner { padding-block:clamp(58px,7vw,92px) clamp(44px,5.5vw,70px); }
.catalog-header { display:flex; flex-direction:column; align-items:center; max-width:780px; margin:0 auto; text-align:center; }
.catalog-header h1 { margin:0; line-height:1.05; }
.catalog-header p { max-width:720px; margin:18px auto 0; color:#b8b8c0; font-size:clamp(16px,1.5vw,19px); line-height:1.75; }
.catalog-filters { position:sticky; top:76px; z-index:950; width:100%; margin:0; padding:14px 0; overflow:visible; border:0; background:rgba(10,10,12,.78); box-shadow:none; backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); }
.catalog-filter-inner { position:relative; overflow:visible; }
.catalog-toolbar { position:relative; display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-width:0; margin-inline:auto; overflow:visible; }
.catalog-rail-shell { display:flex; align-items:center; justify-content:center; gap:10px; min-width:0; max-width:calc(100% - 54px); }
.catalog-sort { position:relative; z-index:2; flex:0 0 auto; }
.filters-scroll { display:flex; flex:0 1 auto; align-items:center; justify-content:flex-start; inline-size:max-content; max-inline-size:100%; min-width:0; gap:12px; overflow-x:auto; padding:2px; scrollbar-width:none; overscroll-behavior-inline:contain; scroll-snap-type:inline proximity; -webkit-overflow-scrolling:touch; }
.filters-scroll::-webkit-scrollbar { display:none; }
.filter-chip { min-height:44px; flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; padding:10px 20px; font-size:14px; font-weight:750; color:#a4a4ad; background:rgba(10,10,12,.38); border:1px solid rgba(255,255,255,.11); border-radius:999px; cursor:pointer; transition:color .25s ease,background .25s ease,border-color .25s ease,box-shadow .25s ease; white-space:nowrap; scroll-snap-align:start; text-decoration:none; backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
.filter-chip:hover { color:#fff; background:rgba(255,255,255,.075); border-color:rgba(255,255,255,.18); }
.filter-chip.active { color:#fff; background:rgba(88,101,242,.16); border-color:#5865f2; box-shadow:0 0 0 1px rgba(88,101,242,.18),0 8px 24px rgba(0,0,0,.2); }
.filter-chip:focus-visible,.catalog-rail-arrow:focus-visible,.catalog-sort-button:focus-visible,.catalog-sort-option:has(input:focus-visible),.catalog-featured-toggle:has(input:focus-visible),.catalog-load-more-button:focus-visible { outline:2px solid rgba(255,255,255,.94); outline-offset:3px; }
.catalog-rail-arrow,.catalog-sort-button { width:44px; height:44px; flex:0 0 44px; display:inline-flex; align-items:center; justify-content:center; padding:0; border:1px solid rgba(255,255,255,.11); border-radius:999px; color:#cfcfd6; background:rgba(10,10,12,.42); cursor:pointer; transition:color .2s ease,background .2s ease,border-color .2s ease,opacity .2s ease,transform .2s ease; backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
.catalog-rail-arrow svg,.catalog-sort-button svg { width:19px; height:19px; }
.catalog-rail-arrow:hover:not(:disabled),.catalog-sort-button:hover:not(:disabled) { color:#fff; background:rgba(255,255,255,.085); border-color:rgba(255,255,255,.2); }
.catalog-rail-arrow:active:not(:disabled),.catalog-sort-button:active:not(:disabled) { transform:scale(.96); }
.catalog-rail-arrow:disabled { opacity:.28; cursor:default; }
[dir="rtl"] .catalog-rail-arrow svg { transform:scaleX(-1); }
.catalog-sort-button[aria-expanded="true"] { color:#fff; border-color:#5865f2; background:rgba(88,101,242,.16); box-shadow:0 0 0 1px rgba(88,101,242,.16),0 8px 22px rgba(0,0,0,.28); }
.catalog-sort-button:disabled { opacity:.58; cursor:wait; }
.catalog-sort-backdrop { display:none; }
.catalog-sort-popover { position:absolute; inset-block-start:calc(100% + 12px); inset-inline-end:0; z-index:1010; width:min(286px,calc(100vw - 32px)); padding:18px; border:1px solid rgba(255,255,255,.085); border-radius:26px; background:rgba(32,32,36,.96); box-shadow:0 30px 86px rgba(0,0,0,.66),inset 0 1px rgba(255,255,255,.045); backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px); }
.catalog-sort-group { min-width:0; display:grid; gap:10px; margin:0; padding:0; border:0; }
.catalog-sort-group legend { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.catalog-sort-option { position:relative; min-height:52px; display:flex; align-items:center; justify-content:flex-start; padding:0 18px; border:1px solid rgba(255,255,255,.075); border-radius:999px; color:#a9a9b2; background:rgba(255,255,255,.018); font-size:16px; font-weight:760; cursor:pointer; transition:color .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease; }
.catalog-sort-option:hover { color:#fff; border-color:rgba(255,255,255,.18); background:rgba(255,255,255,.045); }
.catalog-sort-option:active { transform:scale(.985); }
.catalog-sort-option input[type="radio"] { position:absolute; inset:0; z-index:2; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; pointer-events:auto; }
.catalog-sort-option > span { position:relative; z-index:1; pointer-events:none; }
.catalog-sort-option:has(input:checked) { color:#fff; border-color:#5865f2; background:rgba(88,101,242,.08); box-shadow:0 0 0 1px rgba(88,101,242,.32),0 10px 28px rgba(0,0,0,.2); }
.catalog-sort-divider { height:0; margin:14px 0 2px; background:transparent; }
.catalog-featured-toggle { min-height:48px; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:0 8px; border-radius:12px; color:#b9b9c1; font-size:15px; font-weight:740; cursor:pointer; transition:color .2s ease,background .2s ease; }
.catalog-featured-toggle:hover { color:#fff; background:rgba(255,255,255,.035); }
.catalog-switch-control { position:relative; width:38px; height:22px; flex:0 0 38px; }
.catalog-featured-input { position:absolute; inset:0; z-index:2; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; }
.catalog-switch-track { position:absolute; inset:0; display:block; border:1px solid rgba(255,255,255,.16); border-radius:999px; background:#2b2b31; transition:background .2s ease,border-color .2s ease; }
.catalog-switch-track > span { position:absolute; width:16px; height:16px; inset-block-start:2px; inset-inline-start:2px; border-radius:50%; background:#fff; box-shadow:0 2px 8px rgba(0,0,0,.38); transition:transform .2s ease; }
.catalog-featured-input:checked + .catalog-switch-track { border-color:rgba(88,101,242,.75); background:#5865f2; }
.catalog-featured-input:checked + .catalog-switch-track > span { transform:translateX(16px); }
[dir="rtl"] .catalog-featured-input:checked + .catalog-switch-track > span { transform:translateX(-16px); }
.catalog-sort-apply { width:100%; margin-top:10px; justify-content:center; }
.catalog-sort-noscript { display:flex; flex-wrap:wrap; align-items:end; gap:12px; margin-top:12px; padding:14px; border:1px solid rgba(255,255,255,.08); border-radius:14px; background:rgba(255,255,255,.03); }
.catalog-sort-noscript label { display:flex; flex-direction:column; gap:7px; color:#b8b8c0; font-size:13px; font-weight:700; }
.catalog-sort-noscript select { min-height:42px; padding:8px 12px; border:1px solid rgba(255,255,255,.12); border-radius:10px; color:#fff; background:#18181c; }
.catalog-content { padding-top:24px; }
.catalog-summary { min-height:30px; display:flex; align-items:center; justify-content:flex-start; margin-bottom:20px; }
.catalog-result-count { margin:0!important; color:#8e8e98!important; font-size:14px!important; font-weight:800; }
.catalog-results .templates-grid { margin-top:0; }
.catalog-load-more { display:flex; justify-content:center; min-height:44px; margin-top:38px; }
.catalog-load-more-button { min-width:156px; justify-content:center; }
.catalog-load-more-button.is-loading { opacity:.68; pointer-events:none; }
.catalog-all-loaded { margin:0!important; color:#777780!important; font-size:13px!important; text-align:center; }
.catalog-empty-state { margin-top:4px; }
.catalog-empty-state .btn { margin-top:8px; }
.ui8-card-badge { position:absolute; inset-block-start:12px; inset-inline-start:12px; z-index:3; max-inline-size:calc(100% - 82px); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:4px 10px; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:0.5px; color:#fff; background:rgba(0,0,0,.6); backdrop-filter:blur(8px); border-radius:6px; border:1px solid rgba(255,255,255,.1); }
.ui8-real-price { font-weight:800; color:#fff; font-size:18px; }
.empty-state { padding:48px 24px; border:1px solid var(--border); border-radius:16px; background:var(--card); text-align:center; }
.empty-state h2 { margin-top:0; }
.empty-state p { margin-inline:auto; color:var(--muted); }
@media (max-width:700px) {
  .catalog-hero-inner { padding-block:44px 34px; }
  .catalog-header { margin-bottom:34px; }
  .catalog-header p { margin-top:14px; font-size:15px; line-height:1.7; }
  .catalog-filters { padding-block:10px; }
  .catalog-toolbar { gap:8px; }
  .catalog-rail-shell { max-width:calc(100% - 52px); }
  .catalog-rail-arrow { display:none!important; }
  .filters-scroll { gap:9px; padding-inline:1px; }
  .filter-chip { min-height:42px; padding:9px 17px; }
  .catalog-sort-button { width:44px; height:44px; }
  body.catalog-sort-sheet-lock { overflow:hidden; touch-action:none; }
  .catalog-sort-backdrop:not([hidden]) { position:fixed; inset:0; z-index:1000; display:block; background:rgba(0,0,0,.58); backdrop-filter:blur(2px); -webkit-backdrop-filter:blur(2px); }
  .catalog-sort-popover { position:fixed; inset-inline:12px; inset-block-start:auto; inset-block-end:0; z-index:1010; width:auto; max-height:min(76vh,520px); overflow:auto; overscroll-behavior:contain; padding:14px 16px max(18px,calc(16px + env(safe-area-inset-bottom))); border-radius:24px 24px 0 0; border-color:rgba(255,255,255,.12); box-shadow:0 -22px 76px rgba(0,0,0,.74),inset 0 1px rgba(255,255,255,.06); }
  .catalog-sort-popover::before { content:""; display:block; width:42px; height:4px; margin:0 auto 16px; border-radius:999px; background:rgba(255,255,255,.32); }
  .catalog-sort-group { gap:9px; }
  .catalog-content { padding-top:20px; }
  .catalog-summary { margin-bottom:16px; }
  .catalog-load-more { margin-top:28px; }
  .catalog-load-more-button { width:100%; }
}
@media (max-width:1200px) { .templates-grid{grid-template-columns:repeat(3,1fr)} }
@media (max-width:1100px) { .value-grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:900px) {
  .templates-grid{grid-template-columns:repeat(2,1fr);gap:16px}
  .hero-stage{padding:78px 16px 58px}#templates{margin-top:0;padding-top:20px;background:var(--bg)}
  .hero-card-cloud{inset:-8% -20% -4%;perspective:760px}
  .hero-cloud-card{width:clamp(86px,30vw,132px);border-radius:8px}
  .categories-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}#categories{padding:70px 0 40px}
  .category-card-title{opacity:1;transform:none}.category-card::after{opacity:1}
  .detail-shell-grid{grid-template-columns:1fr}.page-shell{padding:76px 0}
}
@media (max-width:700px) { .value-grid{grid-template-columns:1fr} }
@media (max-width:550px) {
  .templates-grid,.categories-grid{grid-template-columns:1fr}.value-section{padding:76px 0 80px}.value-section-head{margin-bottom:36px;text-align:start}.value-section-head h2{font-size:36px;letter-spacing:-1px}.value-section-head p{font-size:15px;line-height:1.8}.value-card{min-height:0;gap:28px;padding:22px;border-radius:20px}.value-icon{width:50px;height:50px;flex-basis:50px;border-radius:14px}.value-icon svg{width:26px;height:26px}.value-card h3{font-size:22px}.hero-tab{min-width:90px;padding:12px 16px;font-size:13px}.hero-content-ui8 h1{font-size:32px}.categories-title{margin-bottom:32px}.page-shell{padding:58px 0}.detail-actions .btn{width:100%}
}
@media (max-width:560px) {
  .hero-ui8,.hero-stage{min-height:clamp(620px,74vh,704px);min-height:clamp(620px,74svh,704px)}
  .hero-stage{padding:56px 16px 44px}
  .hero-card-cloud{inset:-14% -24% -12%}
}

@media (prefers-reduced-motion:reduce) {
  .hero-stage { --hero-cloud-reveal:.68; --hero-cloud-brightness:.82; --hero-cloud-veil:.48; transition-duration:.28s; }
  .hero-stage:has(.hero-card-cloud.is-ready) { --hero-cloud-reveal:.68; --hero-cloud-brightness:.82; --hero-cloud-veil:.48; }
  .hero-card-cloud,.hero-cloud-card,.hero-card-cloud__space { transition:none!important; animation:none!important; }
}


/* Template product detail */
.sr-only {
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}
.template-product-page {
  position:relative;isolation:isolate;overflow-x:clip;padding:0;
  background:
    radial-gradient(circle at 78% 2%,rgba(110,88,255,.14),transparent 27%),
    radial-gradient(circle at 4% 23%,rgba(39,134,255,.08),transparent 25%),
    var(--bg);
}
.template-product-glow {
  position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.42;
  background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:72px 72px;mask-image:linear-gradient(to bottom,#000,transparent 58%);
}
.template-product-container{position:relative;padding-bottom:132px}.template-breadcrumbs{margin:20px 0 20px;color:#77777f;font-size:13px}.template-breadcrumbs a{transition:color .2s ease}.template-breadcrumbs a:hover{color:#fff}

.product-bar-sentinel{display:block;width:100%;height:1px;margin-top:-1px;pointer-events:none}
.product-sticky-bar{
  position:sticky;top:var(--product-header-offset,76px);z-index:900;width:100%;min-height:118px;padding:0;
  border-bottom:1px solid rgba(255,255,255,.075);
  background:
    radial-gradient(circle at 80% 15%,rgba(111,89,255,.13),transparent 33%),
    linear-gradient(180deg,rgba(10,10,12,.97),rgba(15,15,19,.95));
  box-shadow:inset 0 1px rgba(255,255,255,.025);
  backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);
  transition:min-height .24s ease,background .24s ease,box-shadow .24s ease;
}
.product-sticky-bar.is-compact{
  min-height:72px;
  background:rgba(10,10,12,.94);
  box-shadow:0 16px 36px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.035);
}
.product-sticky-bar-inner{
  min-height:118px;display:grid;grid-template-columns:minmax(0,1fr) auto;
  align-items:center;gap:28px;padding-block:16px;
  transition:min-height .24s ease,padding .24s ease;
}
.product-sticky-bar.is-compact .product-sticky-bar-inner{
  min-height:72px;align-items:center;padding-block:9px;
}
.sticky-product-identity{min-width:0;display:flex;align-items:center;gap:14px}
.sticky-publisher-avatar{
  width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;border-radius:13px;
  color:#fff;background:linear-gradient(135deg,#7b61ff,#3c75ff);font-size:16px;font-weight:950;
  box-shadow:0 10px 24px rgba(80,94,255,.25);
  transition:width .24s ease,height .24s ease,flex-basis .24s ease,border-radius .24s ease,font-size .24s ease;
}
.sticky-product-copy{min-width:0;display:grid;gap:6px}
.sticky-product-copy>strong{
  overflow:hidden;color:#f7f7f9;font-size:clamp(25px,2.6vw,34px);line-height:1.05;
  letter-spacing:-1.2px;text-overflow:ellipsis;white-space:nowrap;
  transition:font-size .24s ease,letter-spacing .24s ease;
}
.sticky-product-meta{display:flex;align-items:center;gap:9px;overflow:hidden;color:#95959d;font-size:11px;font-weight:750;white-space:nowrap}
.sticky-product-meta i{color:#55555e;font-style:normal}
.product-sticky-bar.is-compact .sticky-publisher-avatar{width:36px;height:36px;flex-basis:36px;border-radius:10px;font-size:13px}
.product-sticky-bar.is-compact .sticky-product-copy{gap:0}
.product-sticky-bar.is-compact .sticky-product-copy>strong{font-size:15px;letter-spacing:-.2px}
.product-sticky-bar.is-compact .sticky-product-meta{display:none}
.sticky-product-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.sticky-like-button{
  min-width:66px;height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:0 14px;border:1px solid rgba(255,255,255,.09);border-radius:999px;
  color:#b6b6be;background:rgba(255,255,255,.035);cursor:pointer;
  transition:height .24s ease,color .2s ease,background .2s ease,transform .2s ease;
}
.sticky-like-button:hover{color:#ff6882;background:rgba(255,255,255,.08);transform:translateY(-1px)}
.sticky-like-button span{direction:ltr;font-size:12px;font-weight:900}
.sticky-like-button svg{width:19px;height:19px}
.sticky-preview-button,.sticky-cart-button{
  min-height:48px;border-radius:999px;padding-inline:20px;font-size:12px;font-weight:900;
  transition:min-height .24s ease,padding .24s ease,background .2s ease,transform .2s ease;
}
.sticky-preview-button{
  position:relative;isolation:isolate;overflow:hidden;border:1px solid rgba(255,255,255,.09);
  color:#43e58b;background:#101713;box-shadow:none;
}
.sticky-preview-button::before{
  content:"";position:absolute;z-index:0;inset:-75%;pointer-events:none;
  background:conic-gradient(
    from 0deg,
    transparent 0 58%,
    rgba(67,229,139,.10) 63%,
    #43e58b 70%,
    #c8ffe0 76%,
    #43e58b 82%,
    rgba(67,229,139,.10) 90%,
    transparent 96%
  );
  animation:stickyPreviewOrbit 4s linear infinite;
}
.sticky-preview-button::after{
  content:"";position:absolute;z-index:1;inset:1px;border-radius:inherit;
  background:#101713;pointer-events:none;transition:background .2s ease;
}
.sticky-preview-button>svg,.sticky-preview-button>span{position:relative;z-index:2}
.sticky-preview-button:hover{color:#78f3af;box-shadow:0 0 20px rgba(67,229,139,.13)}
.sticky-preview-button:hover::after{background:#14231a}
.preview-action-icon{width:17px;height:17px;flex:0 0 auto}
@keyframes stickyPreviewOrbit{to{transform:rotate(1turn)}}
.sticky-cart-button{display:inline-flex;align-items:center;gap:12px;color:var(--bg);background:var(--text);box-shadow:0 12px 28px rgba(0,0,0,.24)}
.sticky-cart-button:hover{opacity:.88;transform:translateY(-1px)}
.sticky-cart-button strong{padding-left:11px;border-left:1px solid rgba(0,0,0,.18);direction:ltr;unicode-bidi:isolate;font-size:13px}
html[dir="rtl"] .sticky-cart-button strong{padding-right:11px;padding-left:0;border-right:1px solid rgba(0,0,0,.18);border-left:0}
.product-sticky-bar.is-compact .sticky-like-button{height:44px}
.product-sticky-bar.is-compact .sticky-preview-button,
.product-sticky-bar.is-compact .sticky-cart-button{min-height:44px;padding-inline:17px}
.template-product-hero{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(360px,.82fr);grid-template-areas:"gallery purchase" "info purchase";gap:28px;align-items:start}
.product-gallery-card{grid-area:gallery;align-self:start}
.template-information-card{grid-area:info;align-self:start}
.product-purchase-card{grid-area:purchase;align-self:start}
.product-gallery-card,.product-purchase-card,.template-information-card,.template-reviews-section,.template-detail-section{
  border:1px solid rgba(255,255,255,.08);background:linear-gradient(145deg,rgba(23,23,27,.93),rgba(14,14,17,.96));
  box-shadow:0 28px 80px rgba(0,0,0,.32),inset 0 1px rgba(255,255,255,.035);
}
.product-gallery-card{min-width:0;padding:14px;border-radius:26px}.product-gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 8px 14px}
.product-kicker{margin:0;color:#9c8cff;font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.product-gallery-counter{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:7px 12px;border:1px solid rgba(255,255,255,.08);border-radius:999px;color:#d9d9dd;background:rgba(255,255,255,.035);font-size:12px;font-weight:850}
.product-gallery-stage{position:relative;overflow:hidden;min-height:520px;border:1px solid rgba(255,255,255,.06);border-radius:19px;background:radial-gradient(circle at 50% 36%,rgba(113,92,255,.13),transparent 42%),#09090b}
.product-gallery-image-button{width:100%;height:100%;min-height:520px;display:grid;place-items:center;padding:16px;cursor:zoom-in}
.product-gallery-image-button img{width:100%;height:100%;max-height:630px;aspect-ratio:2624/1632;object-fit:contain;transition:opacity .18s ease,transform .35s ease}
.product-gallery-image-button:hover img{transform:scale(1.008)}
.gallery-arrow{position:absolute;z-index:3;width:46px;height:46px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.12);border-radius:50%;color:#fff;background:rgba(12,12,15,.75);box-shadow:0 12px 28px rgba(0,0,0,.3);backdrop-filter:blur(14px);cursor:pointer;transition:transform .2s ease,background .2s ease,border-color .2s ease}
.gallery-arrow:hover{transform:scale(1.05);background:rgba(255,255,255,.13);border-color:rgba(255,255,255,.28)}.gallery-arrow svg{width:21px;height:21px}
.gallery-arrow-previous{inset-inline-start:18px;top:50%;transform:translateY(-50%)}.gallery-arrow-next{inset-inline-end:18px;top:50%;transform:translateY(-50%)}
.gallery-arrow-previous:hover,.gallery-arrow-next:hover{transform:translateY(-50%) scale(1.05)}
[dir="rtl"] .gallery-arrow svg{transform:rotate(180deg)}
.product-gallery-thumbnails{display:flex;gap:10px;overflow-x:auto;padding:11px 2px 2px;scrollbar-width:thin;overscroll-behavior-inline:contain;scroll-snap-type:inline proximity}
.product-gallery-thumbnail{position:relative;flex:0 0 124px;overflow:hidden;aspect-ratio:16/10;padding:0;border:1px solid transparent;border-radius:12px;background:#0b0b0d;opacity:.58;cursor:pointer;scroll-snap-align:start;transition:opacity .2s ease,border-color .2s ease,transform .2s ease}
.product-gallery-thumbnail:hover{opacity:.9;transform:translateY(-2px)}.product-gallery-thumbnail.is-active{opacity:1;border-color:#8d7aff;box-shadow:0 0 0 2px rgba(141,122,255,.14)}
.product-gallery-thumbnail img{width:100%;height:100%;object-fit:contain}.product-gallery-thumbnail>span{position:absolute;inset-inline-end:6px;inset-block-end:6px;min-width:23px;height:23px;display:grid;place-items:center;border-radius:999px;color:#fff;background:rgba(0,0,0,.74);font-size:10px;font-weight:900}
.product-gallery-empty{min-height:520px;display:grid;place-items:center;border-radius:19px;color:var(--muted);background:#09090b}

.product-purchase-card{position:relative;top:auto;padding:28px;border-radius:26px}.product-title-row{display:flex;align-items:center;justify-content:flex-start;gap:16px}.product-category-pill{display:inline-flex;align-items:center;min-height:34px;padding:7px 11px;border:1px solid rgba(135,116,255,.26);border-radius:999px;color:#c6bcff;background:rgba(114,91,255,.09);font-size:11px;font-weight:900}
.product-purchase-card h1{margin:20px 0 10px;font-size:clamp(36px,3.5vw,53px);line-height:1.04;letter-spacing:-1.8px}.product-summary{margin:0;color:#a2a2aa;font-size:15px;line-height:1.75}
.product-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:20px}.product-meta-grid>div{min-height:57px;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:10px 12px;border:1px solid rgba(255,255,255,.065);border-radius:11px;background:rgba(255,255,255,.024)}.product-meta-grid>div:first-child{align-items:center;color:#d8d2ff;background:linear-gradient(135deg,rgba(115,92,255,.15),rgba(74,124,255,.08));font-size:12px;font-weight:900}.product-meta-grid small{color:#777780;font-size:10px;font-weight:800}.product-meta-grid strong{color:#e9e9ec;font-size:12px}
.product-base-price{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-top:20px;padding:18px 0;border-block:1px solid rgba(255,255,255,.07)}.product-base-price span{color:#8d8d95;font-size:12px;font-weight:800}.product-base-price strong{font-size:30px;line-height:1;letter-spacing:-1px}
.product-primary-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}.product-primary-actions .btn{min-height:50px;border-radius:10px}.product-primary-actions .btn svg{width:17px;height:17px}.product-cart-button{grid-column:1/-1;border:1px solid rgba(255,255,255,.08);color:#d6d6da;background:rgba(255,255,255,.025)}.product-cart-button:hover{background:rgba(255,255,255,.07)}.product-availability-note{margin:12px 0 0;color:#73737b;font-size:11px;line-height:1.65}
.product-license-box,.product-feature-selector,.product-price-summary{margin-top:18px;padding:17px;border:1px solid rgba(255,255,255,.07);border-radius:16px;background:rgba(8,8,10,.36)}
.product-box-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.product-box-heading h2,.product-price-summary h2{margin:0;color:#f6f6f7;font-size:14px}.product-box-heading p{margin:5px 0 0;color:#83838b;font-size:11px}.product-box-heading>span{max-width:120px;color:#9d90f7;font-size:10px;font-weight:850;text-align:end;line-height:1.4}
.router-stepper{display:grid;grid-template-columns:42px minmax(64px,1fr) 42px;gap:8px;margin-top:14px}.router-stepper button,.router-stepper output{height:42px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.035)}.router-stepper button{color:#fff;font-size:21px;cursor:pointer}.router-stepper button:hover:not(:disabled){background:rgba(255,255,255,.1)}.router-stepper button:disabled{opacity:.34;cursor:not-allowed}.router-stepper output{color:#fff;font-size:15px;font-weight:900}
.product-feature-selector{min-width:0;border-color:rgba(255,255,255,.07)}.product-feature-selector legend{padding:0 5px;color:#f0f0f2;font-size:13px;font-weight:850}.product-feature-toggle{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:9px;padding:11px;border:1px solid rgba(255,255,255,.055);border-radius:11px;background:rgba(255,255,255,.018);cursor:pointer;transition:border-color .2s ease,background .2s ease}.product-feature-toggle:hover{border-color:rgba(255,255,255,.14)}.product-feature-toggle:has(input:checked){border-color:rgba(133,111,255,.42);background:rgba(112,88,255,.08)}.product-feature-toggle input{position:absolute;inset-inline-start:11px;width:34px;height:20px;margin:0;opacity:0;cursor:pointer;z-index:2}.feature-toggle-control{pointer-events:none;width:34px;height:20px;position:relative;border-radius:999px;background:#33333a;transition:background .2s ease}.feature-toggle-control::after{content:"";position:absolute;top:3px;inset-inline-start:3px;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .2s ease}.product-feature-toggle input:checked+.feature-toggle-control{background:#7865ff}.product-feature-toggle input:checked+.feature-toggle-control::after{transform:translateX(14px)}[dir="rtl"] .product-feature-toggle input:checked+.feature-toggle-control::after{transform:translateX(-14px)}.product-feature-toggle input:focus-visible+.feature-toggle-control{outline:3px solid var(--focus);outline-offset:3px}.feature-toggle-copy{min-width:0}.feature-toggle-copy strong,.feature-toggle-copy small{display:block}.feature-toggle-copy strong{font-size:11px}.feature-toggle-copy small{margin-top:3px;overflow:hidden;color:#777780;font-size:12px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.product-feature-toggle b{color:#b7abff;font-size:10px;white-space:nowrap}
.product-price-summary h2{margin-bottom:13px}.price-summary-row,.price-summary-total{display:flex;align-items:center;justify-content:space-between;gap:14px}.price-summary-row{padding:7px 0;color:#9999a1;font-size:11px}.price-summary-row strong{color:#e5e5e8;font-size:11px}.price-summary-row small{color:#6f6f77}.price-selected-features{margin-top:6px;padding-top:7px;border-top:1px solid rgba(255,255,255,.055)}.price-selected-heading{display:block;margin-bottom:4px;color:#777780;font-size:10px;font-weight:800}.price-selected-features p{margin:6px 0;color:#66666e;font-size:10px}.price-summary-total{margin-top:12px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08)}.price-summary-total span{font-size:12px;font-weight:850}.price-summary-total strong{font-size:24px;letter-spacing:-.7px}.price-pay-only{margin:12px 0 0;color:#b7adf9;font-size:11px;font-weight:800}.price-authority-note{margin:7px 0 0;color:#65656d;font-size:12px;line-height:1.55}

.template-information-card{padding:24px;border-radius:22px}
.compact-info-section,.compact-information-block{scroll-margin-top:112px}
.compact-overview{padding-bottom:20px;border-bottom:1px solid rgba(255,255,255,.065)}
.compact-overview h2{margin:6px 0 0;font-size:clamp(22px,2.2vw,30px);letter-spacing:-.7px}
.compact-overview>p:last-child{max-width:900px;margin:12px 0 0;color:#9898a1;font-size:13px;line-height:1.8}
.compact-features{padding-top:20px}
.compact-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}
.compact-section-heading h3,.compact-information-block h3{margin:6px 0 0;font-size:16px;letter-spacing:-.25px}
.compact-section-heading>span{display:grid;place-items:center;min-width:32px;height:32px;padding:0 9px;border:1px solid rgba(136,117,255,.22);border-radius:999px;color:#c8c0ff;background:rgba(111,91,255,.09);font-size:10px;font-weight:900}
.compact-feature-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.compact-feature-list span{display:inline-flex;align-items:center;min-height:34px;padding:7px 11px;border:1px solid rgba(255,255,255,.07);border-radius:999px;color:#c4c4ca;background:rgba(255,255,255,.025);font-size:10px;font-weight:800}
.compact-feature-list span::before{content:"";width:6px;height:6px;margin-inline-end:7px;border-radius:50%;background:#57c89c;box-shadow:0 0 10px rgba(87,200,156,.42)}
.compact-information-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}
.compact-information-block{min-width:0;padding:17px;border:1px solid rgba(255,255,255,.065);border-radius:16px;background:rgba(255,255,255,.02)}
.compact-status-list{display:grid;gap:8px;margin-top:14px}
.compact-status-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border-radius:10px;background:rgba(255,255,255,.025)}
.compact-status-list span{color:#c7c7cc;font-size:11px;font-weight:800}
.compact-status-list strong{color:#cda76b;font-size:12px;font-weight:850}
.compact-info-note{margin:12px 0 0;color:#707078;font-size:12px;line-height:1.65}
.compact-release-list{list-style:none;margin:14px 0 0;padding:0}
.compact-release-list li{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:11px;border-radius:10px;background:rgba(255,255,255,.025)}
.compact-release-list div{display:grid;gap:4px}
.compact-release-list strong{font-size:11px}
.compact-release-list span,.compact-release-list time{color:#777780;font-size:12px;line-height:1.5}
.compact-release-list time{white-space:nowrap}
.compact-contents-block{grid-column:1/-1}
.compact-content-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;list-style:none;margin:14px 0 0;padding:0}
.compact-content-list li{position:relative;min-width:0;padding:10px 11px 10px 28px;border-radius:10px;color:#bdbdc3;background:rgba(255,255,255,.025);font-size:10px;font-weight:750}
[dir="rtl"] .compact-content-list li{padding:10px 28px 10px 11px}
.compact-content-list li::before{content:"";position:absolute;inset-inline-start:11px;top:50%;width:7px;height:7px;border:1px solid #8f7dff;border-radius:2px;transform:translateY(-50%) rotate(45deg)}
.template-content-stack{display:grid;gap:20px}.template-detail-section{scroll-margin-top:150px;padding:38px;border-radius:24px}.template-overview-section{display:grid;grid-template-columns:90px minmax(0,1fr);gap:28px;align-items:start}.section-index{color:rgba(255,255,255,.15);font-size:52px;font-weight:900;line-height:1}.template-detail-section h2{margin:7px 0 0;font-size:clamp(28px,3vw,40px);letter-spacing:-1.1px}.section-lead{max-width:920px;margin:18px 0 0;color:#a2a2aa;font-size:16px;line-height:1.95}.section-heading-row{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}.text-link{color:#bbb1ff;font-size:12px;font-weight:850}.text-link:hover{color:#fff}
.feature-group+.feature-group{margin-top:32px}.feature-group>h3{margin:0 0 14px;color:#c9c9ce;font-size:14px}.template-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.template-feature-card{position:relative;min-height:156px;padding:20px;border:1px solid rgba(255,255,255,.065);border-radius:16px;background:rgba(255,255,255,.021)}.template-feature-card.is-optional{background:linear-gradient(145deg,rgba(112,89,255,.065),rgba(255,255,255,.018))}.feature-state-badge{display:inline-flex;padding:5px 8px;border-radius:999px;color:#9f95e9;background:rgba(111,91,255,.11);font-size:9px;font-weight:900}.is-included .feature-state-badge{color:#75d7b7;background:rgba(56,194,146,.09)}.template-feature-card h4{margin:18px 0 7px;font-size:15px}.template-feature-card p{margin:0;color:#7f7f87;font-size:11px;line-height:1.65}.template-feature-card>strong{display:block;margin-top:15px;color:#b6abff;font-size:12px}
.compatibility-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.compatibility-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:19px;border:1px solid rgba(255,255,255,.065);border-radius:16px;background:rgba(255,255,255,.02)}.compatibility-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:rgba(255,184,76,.07)}.compatibility-icon span{width:9px;height:9px;border-radius:50%;background:#dca14e;box-shadow:0 0 16px rgba(220,161,78,.56)}.compatibility-card h3{margin:0;font-size:14px}.compatibility-card p{margin:4px 0 0;color:#777780;font-size:10px}.compatibility-state{padding:6px 8px;border-radius:999px;color:#cfaa6e;background:rgba(220,161,78,.08);font-size:9px;font-weight:850}.compatibility-disclaimer{max-width:850px;margin:16px 0 0;color:#74747c;font-size:11px;line-height:1.7}
.template-content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.template-content-grid article{min-height:104px;padding:18px;border:1px solid rgba(255,255,255,.065);border-radius:15px;background:rgba(255,255,255,.02)}.template-content-grid article>span{color:#8172e8;font-size:10px;font-weight:900}.template-content-grid h3{margin:22px 0 0;font-size:13px}.template-content-note{margin:16px 0 0;color:#707078;font-size:10px}
.template-release-list{list-style:none;margin:0;padding:0}.template-release-list li{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:start;padding:18px 0}.template-release-list li+li{border-top:1px solid rgba(255,255,255,.06)}.release-dot{width:11px;height:11px;margin-top:4px;border:2px solid #8e7aff;border-radius:50%;box-shadow:0 0 18px rgba(142,122,255,.44)}.template-release-list strong{font-size:13px}.template-release-list p{margin:5px 0 0;color:#85858d;font-size:11px}.template-release-list time{color:#66666e;font-size:10px}
.template-related-section{margin-top:56px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;scroll-margin-top:150px}
.template-related-heading{margin:0 0 28px;text-align:start}
.template-related-section h2{margin:0;font-size:clamp(30px,3vw,42px);letter-spacing:-1.1px}
.related-template-grid{grid-template-columns:repeat(auto-fit,minmax(260px,360px));justify-content:start;gap:24px}
.template-related-actions{display:flex;justify-content:start;margin-top:30px}
.related-browse-button{min-height:48px;padding-inline:24px;border-radius:999px;font-size:12px;font-weight:900}


.template-lightbox{width:100vw;max-width:none;height:100vh;max-height:none;margin:0;padding:0;border:0;background:rgba(4,4,6,.88);color:#fff}.template-lightbox::backdrop{background:rgba(4,4,6,.88);backdrop-filter:blur(12px)}.template-lightbox-panel{position:relative;width:100%;height:100%;display:grid;place-items:center;padding:58px 90px}.template-lightbox figure{width:min(1160px,100%);height:min(78vh,760px);display:grid;grid-template-rows:minmax(0,1fr) auto;gap:14px;margin:0}.template-lightbox figure img{width:100%;height:100%;object-fit:contain}.template-lightbox figcaption{color:#b2b2b8;font-size:12px;text-align:center}.lightbox-close{position:absolute;top:24px;inset-inline-end:26px;width:46px;height:46px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.14);border-radius:50%;color:#fff;background:rgba(255,255,255,.06);cursor:pointer}.lightbox-close:hover{background:rgba(255,255,255,.13)}.lightbox-close svg{width:21px;height:21px}.lightbox-previous{inset-inline-start:28px;top:50%;transform:translateY(-50%)}.lightbox-next{inset-inline-end:28px;top:50%;transform:translateY(-50%)}.lightbox-previous:hover,.lightbox-next:hover{transform:translateY(-50%) scale(1.05)}.lightbox-counter{position:absolute;top:30px;inset-inline-start:30px;color:#aaaab1;font-size:12px;font-weight:850}

.product-gallery-counter,.lightbox-counter,.product-base-price strong,.product-box-heading>span,.product-feature-toggle>b,.price-summary-row strong,.price-summary-total strong,.sticky-cart-button strong{direction:ltr;unicode-bidi:isolate}

@media(max-width:1120px){
  .template-product-hero{grid-template-columns:1fr;grid-template-areas:"gallery" "purchase" "info"}.product-gallery-stage,.product-gallery-image-button{min-height:430px}.product-primary-actions{grid-template-columns:1fr 1fr}.template-feature-grid,.template-content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.related-template-grid{grid-template-columns:repeat(auto-fit,minmax(260px,340px))}
}
@media(max-width:760px){
  .template-product-page{padding:0}
  .template-product-container{padding-bottom:96px}
  .product-sticky-bar{min-height:96px}
  .product-sticky-bar-inner{min-height:96px;grid-template-columns:minmax(0,1fr);align-items:center;gap:10px;padding-block:12px}
  .product-sticky-bar.is-compact{min-height:62px}
  .product-sticky-bar.is-compact .product-sticky-bar-inner{min-height:62px;padding-block:7px}
  .sticky-publisher-avatar{width:38px;height:38px;flex-basis:38px;border-radius:11px;font-size:13px}
  .sticky-product-copy{gap:5px}
  .sticky-product-copy>strong{font-size:20px;letter-spacing:-.5px}
  .sticky-product-meta{font-size:9px}
  .product-sticky-bar.is-compact .sticky-publisher-avatar{display:none}
  .product-sticky-bar.is-compact .sticky-product-copy>strong{font-size:13px}
  .sticky-product-actions{justify-content:flex-start;flex-wrap:wrap;gap:7px}
  .sticky-like-button{min-width:48px;height:42px;padding:0 10px}
  .sticky-preview-button{display:none}
  .sticky-cart-button{min-height:42px;padding-inline:13px;font-size:11px}
  .sticky-cart-button strong{padding-left:8px;font-size:12px}
  html[dir="rtl"] .sticky-cart-button strong{padding-right:8px;padding-left:0}
  .product-sticky-bar.is-compact .sticky-like-button{height:40px}
  .product-sticky-bar.is-compact .sticky-product-actions{justify-content:flex-end}
  .product-sticky-bar.is-compact .sticky-cart-button{min-height:40px;padding-inline:12px}
  .template-breadcrumbs{margin:18px 0 17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .template-product-hero{gap:16px}
  .product-gallery-card,.product-purchase-card{padding:10px;border-radius:20px}
  .product-gallery-heading{padding:7px 4px 11px}
  .product-gallery-stage,.product-gallery-image-button{min-height:290px}
  .product-gallery-image-button{padding:8px}
  .gallery-arrow{width:42px;height:42px}
  .gallery-arrow-previous{inset-inline-start:10px}
  .gallery-arrow-next{inset-inline-end:10px}
  .product-gallery-thumbnail{flex-basis:92px}
  .product-purchase-card{padding:20px}
  .product-purchase-card h1{font-size:37px}
  .product-meta-grid{grid-template-columns:1fr 1fr}
  .product-primary-actions{grid-template-columns:1fr}
  .product-cart-button{grid-column:auto}
  .product-feature-toggle{grid-template-columns:auto minmax(0,1fr) auto}
  .template-information-card{padding:20px;border-radius:19px}
  .compact-info-section,.compact-information-block{scroll-margin-top:150px}
  .compact-information-grid{grid-template-columns:1fr}
  .compact-contents-block{grid-column:auto}
  .compact-content-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .template-detail-section{padding:24px 20px;border-radius:19px;scroll-margin-top:150px}
  .template-related-section{margin-top:42px;padding:0;scroll-margin-top:150px}
  .template-related-heading{margin-bottom:22px}
  .template-related-actions{margin-top:24px}
  .template-overview-section{grid-template-columns:1fr;gap:8px}
  .section-index{font-size:34px}
  .template-feature-grid,.compatibility-grid,.template-content-grid{grid-template-columns:1fr}
  .related-template-grid{grid-template-columns:minmax(0,1fr)}
  .section-heading-row{align-items:start}
  .compatibility-card{grid-template-columns:auto minmax(0,1fr)}
  .compatibility-state{grid-column:2}
  .template-lightbox-panel{padding:68px 12px 52px}
  .lightbox-previous{inset-inline-start:10px}
  .lightbox-next{inset-inline-end:10px}
  .lightbox-close{top:14px;inset-inline-end:14px}
  .lightbox-counter{top:25px;inset-inline-start:18px}
}
@media(max-width:430px){
  .product-sticky-bar{min-height:88px}
  .product-sticky-bar-inner{min-height:88px;gap:8px;padding-block:10px}
  .sticky-product-identity{gap:8px}
  .sticky-publisher-avatar{display:none}
  .sticky-product-copy>strong{font-size:17px}
  .sticky-product-meta{max-width:180px;overflow:hidden;text-overflow:ellipsis}
  .sticky-like-button{min-width:44px;padding:0 9px}
  .sticky-cart-button span{display:inline}
  .product-gallery-stage,.product-gallery-image-button{min-height:245px}
  .product-meta-grid{grid-template-columns:1fr}
  .product-primary-actions .btn{width:100%}
  .product-box-heading{flex-direction:column}
  .product-box-heading>span{max-width:none;text-align:start}
  .product-feature-toggle{padding:10px 8px}
  .feature-toggle-copy small{display:none}
  .compact-content-list{grid-template-columns:1fr}
  .compact-overview h2{font-size:24px}
  .template-detail-section h2{font-size:29px}
  .template-related-section h2{font-size:30px}
  .section-lead{font-size:14px}
  .template-release-list li{grid-template-columns:auto minmax(0,1fr)}
  .template-release-list time{grid-column:2}
}
@media(prefers-reduced-motion:reduce){
  .product-sticky-bar,.product-sticky-bar-inner,.sticky-publisher-avatar,.sticky-product-copy>strong,
  .sticky-like-button,.sticky-preview-button,.sticky-cart-button{transition:none}
  .sticky-preview-button::before{animation:none;transform:rotate(25deg)}
  .sticky-preview-button::after{transition:none}
}

.auth-page {
  background:
    linear-gradient(135deg, rgba(88,101,242,.12), transparent 28%),
    linear-gradient(215deg, rgba(236,72,153,.09), transparent 34%),
    linear-gradient(180deg, #0b0b0d 0%, #111114 58%, #08080a 100%);
}
.auth-shell {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  padding: clamp(72px, 9vh, 110px) 22px 24px;
  overflow-x: hidden;
  isolation: isolate;
}
.auth-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .32;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 18%, black 78%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 78%, transparent);
}
.auth-language {
  position: absolute;
  inset-block-start: 22px;
  inset-inline-end: 22px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: #d8d8de;
  background: rgba(15,15,18,.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: 14px;
  font-weight: 850;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.auth-language:hover {
  color: #fff;
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.07);
}
.auth-main {
  width: 100%;
  display: grid;
  place-items: center;
}
.auth-panel {
  width: min(100%, 460px);
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  background: rgba(17,17,20,.72);
  box-shadow: 0 28px 90px rgba(0,0,0,.34), inset 0 1px rgba(255,255,255,.035);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.auth-page--register .auth-register-panel {
  width: min(100%, 500px);
}
.auth-page--register .auth-register-form {
  gap: 14px;
}
.auth-brand {
  width: max-content;
  justify-self: center;
  font-size: 22px;
}
.auth-brand .brand-mark {
  box-shadow: 0 12px 30px rgba(0,0,0,.32);
}
.auth-header {
  text-align: center;
}
.auth-header h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(31px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 950;
}
.auth-header p {
  margin: 12px auto 0;
  max-width: 360px;
  color: #a8a8b1;
  font-size: 15px;
  line-height: 1.8;
}
.auth-form {
  display: grid;
  gap: 16px;
}
.auth-field {
  display: grid;
  gap: 8px;
}
.auth-field label {
  color: #efeff2;
  font-size: 13px;
  font-weight: 850;
}
.auth-field input:not([type="checkbox"]) {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  outline: 0;
  color: #fff;
  background: rgba(7,7,10,.72);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  text-align: start;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.auth-field input::placeholder {
  color: #777780;
  opacity: 1;
}
.auth-field input:not([type="checkbox"]):focus {
  border-color: rgba(139,185,255,.66);
  box-shadow: 0 0 0 4px rgba(139,185,255,.14);
  background: rgba(10,10,13,.9);
}
.auth-field input[aria-invalid="true"] {
  border-color: #fb7185;
  box-shadow: 0 0 0 4px rgba(251,113,133,.13);
}
.auth-password-control {
  position: relative;
}
.auth-password-control input {
  padding-inline-end: 52px;
}
[dir="rtl"] .auth-password-control input {
  padding-inline-end: 14px;
  padding-inline-start: 52px;
}
.auth-password-toggle {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 6px;
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #c6c6ce;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color .2s ease, background .2s ease;
}
[dir="rtl"] .auth-password-toggle {
  inset-inline-end: auto;
  inset-inline-start: 6px;
}
.auth-password-toggle:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.auth-password-toggle .auth-eye-off,
.auth-password-toggle[aria-pressed="true"] .auth-eye {
  display: none;
}
.auth-password-toggle[aria-pressed="true"] .auth-eye-off {
  display: block;
}
.auth-field-error {
  min-height: 18px;
  margin: 0;
  color: #fda4af;
  font-size: 12px;
  line-height: 1.5;
}
.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: -2px;
}
.auth-options a,
.auth-secondary a {
  color: #b9c7ff;
  font-size: 13px;
  font-weight: 850;
}
.auth-options a:hover,
.auth-secondary a:hover {
  color: #fff;
}
.auth-check {
  position: relative;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #cfcfd6;
  font-size: 13px;
  cursor: pointer;
}
.auth-check input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.auth-check span {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 6px;
  background: rgba(255,255,255,.035);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.auth-check span::after {
  content: "";
  position: absolute;
  inset-block-start: 6px;
  left: 5px;
  width: 10px;
  height: 6px;
  display: block;
  border-left: 2px solid #050506;
  border-bottom: 2px solid #050506;
  opacity: 0;
  transform: rotate(-45deg);
}
.auth-check input:checked + span {
  border-color: #fff;
  background: #fff;
}
.auth-check input:checked + span::after {
  opacity: 1;
}
.auth-check:has(input:focus-visible) span {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.auth-check strong {
  overflow-wrap: anywhere;
  font-size: inherit;
}
.auth-submit {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 8px;
  color: #070708;
  background: #fff;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}
.auth-submit:hover:not(:disabled) {
  opacity: .9;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0,0,0,.28);
}
.auth-submit:disabled {
  cursor: wait;
  opacity: .72;
}
.auth-submit-spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: none;
  border: 2px solid rgba(0,0,0,.22);
  border-top-color: #050506;
  border-radius: 50%;
  animation: authSpinner .8s linear infinite;
}
.auth-form.is-loading .auth-submit-spinner {
  display: inline-block;
}
@keyframes authSpinner {
  to { transform: rotate(1turn); }
}
.auth-status,
.auth-error-summary {
  min-height: 0;
  padding: 12px 13px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.65;
}
.auth-status:empty {
  display: none;
}
.auth-status {
  color: #dbeafe;
  border: 1px solid rgba(96,165,250,.22);
  background: rgba(59,130,246,.1);
}
.auth-status.is-warning {
  color: #fde68a;
  border-color: rgba(251,191,36,.22);
  background: rgba(251,191,36,.09);
}
.auth-error-summary {
  color: #fecdd3;
  border: 1px solid rgba(251,113,133,.22);
  background: rgba(251,113,133,.1);
}
.auth-secondary,
.auth-legal {
  margin: 0;
  text-align: center;
}
.auth-secondary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  color: #9e9ea7;
  font-size: 13px;
  line-height: 1.6;
}
.auth-legal {
  max-width: 520px;
  padding-top: 22px;
  color: #777780;
  font-size: 12px;
  line-height: 1.7;
}
@media (max-width: 560px) {
  .auth-shell {
    justify-items: stretch;
    padding: 76px 16px 20px;
  }
  .auth-language {
    inset-block-start: 16px;
    inset-inline-end: 16px;
    max-width: calc(100vw - 32px);
  }
  .auth-panel {
    justify-self: center;
    padding: 24px 18px;
  }
  .auth-options {
    align-items: flex-start;
  }
}
@media (max-height: 680px) and (min-width: 700px) {
  .auth-shell {
    align-items: start;
    padding-top: 68px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .auth-language,
  .auth-field input,
  .auth-password-toggle,
  .auth-check span,
  .auth-submit {
    transition: none;
  }
  .auth-submit:hover:not(:disabled) {
    transform: none;
  }
  .auth-submit-spinner {
    animation: none;
  }
}

/* Cart page (WP-1H) */
.cart-page .shell-narrow { text-align: start; }
.cart-page h1, .cart-page .cart-description { text-align: center; }
.cart-page h1 { margin-bottom: 8px; }
.cart-page .cart-description { margin: 12px auto 28px; }
.cart-status { max-width: 760px; margin: 0 auto 24px; padding: 12px 18px; border-radius: 12px; text-align: center; font-size: 15px; }
.cart-status-success { background: rgba(64, 200, 130, .12); color: #7fe0b0; border: 1px solid rgba(64, 200, 130, .35); }
.cart-status-error { background: rgba(224, 92, 92, .12); color: #f0a0a0; border: 1px solid rgba(224, 92, 92, .35); }
.cart-empty { text-align: center; padding: 48px 0; }
.cart-empty h2 { margin: 0 0 12px; font-size: 28px; }
.cart-items { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 20px; }
.cart-item { background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; padding: 22px 24px; }
.cart-item-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cart-item-heading h2 { margin: 0; font-size: 22px; }
.cart-item-heading h2 a { color: inherit; text-decoration: none; }
.cart-item-notice { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; font-size: 14px; background: rgba(240, 190, 80, .12); color: #ecd39a; border: 1px solid rgba(240, 190, 80, .3); }
.cart-item-pricing { margin-top: 16px; display: grid; gap: 10px; }
.cart-price-row { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.cart-price-row strong, .cart-price-row b, .cart-option-toggle b, .cart-total-row strong { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.cart-features-heading { display: block; margin-bottom: 6px; color: #b1b1b8; font-size: 13px; text-transform: uppercase; letter-spacing: .4px; }
.cart-no-features { margin: 0; color: #8f8f97; font-size: 14px; }
.cart-item-subtotal { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 12px; font-weight: 600; }
.cart-snapshot-note { margin: 0; color: #8f8f97; font-size: 13px; }
.cart-update-options { margin-top: 16px; border-top: 1px dashed rgba(255, 255, 255, .08); padding-top: 14px; }
.cart-update-options summary { cursor: pointer; color: #b1b1b8; font-size: 14px; }
.cart-update-options form { margin-top: 12px; display: grid; gap: 10px; justify-items: start; }
.cart-option-toggle { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.cart-option-toggle b { font-variant-numeric: tabular-nums; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; margin-bottom: 24px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); font-size: 18px; font-weight: 700; }

/* Create-order card inside the cart */
.cart-create-order { margin: 0 0 24px; padding: 30px 30px 28px; border-radius: 18px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); text-align: start; }
.cart-create-order-head { margin-bottom: 22px; }
.cart-create-order-head h2 { margin: 0 0 8px; font-size: 22px; }
.cart-create-order-hint { margin: 0; max-width: none; color: #b1b1b8; font-size: 14px; line-height: 1.7; }
.cart-order-form { display: grid; gap: 20px; }
.cart-order-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cart-field { display: grid; gap: 9px; text-align: start; min-width: 0; }
.cart-field-label { color: #efeff2; font-size: 13px; font-weight: 850; }
.cart-field input, .cart-field textarea { width: 100%; box-sizing: border-box; padding: 14px 15px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; outline: 0; color: #fff; background: rgba(7, 7, 10, .72); font: inherit; font-size: 16px; line-height: 1.4; text-align: start; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.cart-field input { min-height: 52px; }
.cart-field textarea { min-height: 104px; resize: vertical; line-height: 1.6; }
.cart-field input::placeholder, .cart-field textarea::placeholder { color: #777780; opacity: 1; }
.cart-field input:focus, .cart-field textarea:focus { border-color: rgba(139, 185, 255, .66); box-shadow: 0 0 0 4px rgba(139, 185, 255, .14); background: rgba(10, 10, 13, .9); }
.cart-order-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
.cart-order-actions .btn { min-width: 190px; }
@media (max-width: 600px) {
  .cart-create-order { padding: 22px 20px; }
  .cart-order-grid { grid-template-columns: 1fr; }
  .cart-order-actions { flex-direction: column; align-items: stretch; }
  .cart-order-actions .btn { width: 100%; min-width: 0; }
}

/* Order confirmation / status page */
.page-shell.order-page { padding: 36px 0 !important; }
.order-page .shell-narrow { text-align: start; }
.order-page h1, .order-page .order-description { text-align: center; }
.order-page h1 { margin-bottom: 8px; }
.order-page .order-description { margin: 12px auto 28px; }
.order-page h2 { font-size: 22px; margin: 28px 0 14px; }
.cart-status-notice { background: rgba(240, 190, 80, .12); color: #ecd39a; border: 1px solid rgba(240, 190, 80, .3); max-width: none; text-align: start; }
.order-summary { display: grid; gap: 12px; padding: 22px 24px; border-radius: 18px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); }
.order-summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; }
.order-summary-row span { color: #b1b1b8; }
.order-summary-row strong { font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.order-items { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 18px; }
.order-item { background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; padding: 20px 24px; }
.order-item h3 { margin: 0 0 14px; font-size: 20px; }
.order-item-pricing { display: grid; gap: 10px; }
.order-contact { margin: 22px 0 8px; padding: 22px 24px; border-radius: 18px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 12px; }
.order-contact h2 { margin: 0; font-size: 20px; }

/* WP-2E manual payment (dark theme: use real tokens, never light fallbacks) */
.order-payment { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.order-payment-form { display: grid; gap: 0.75rem; max-width: 420px; }
.order-payment-form .field { display: grid; gap: 0.25rem; }
.order-payment-form .field span,
.admin-payment-actions .field span { color: var(--text); }
.order-payment-form input[type="text"],
.admin-payment-actions input[type="text"] {
  width: 100%; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg2); color: var(--text);
}
.order-payment-form .field-hint,
.order-payment .field-hint { color: var(--muted); font-size: 0.85rem; }
[data-payment-reason] { display: block; margin-top: 0.25rem; font-weight: 600; }
.admin-payment-list { list-style: none; padding: 0; display: grid; gap: 1rem; }
.admin-payment-claim { border: 1px solid var(--border); border-radius: 12px; padding: 1rem; display: grid; gap: 0.75rem; background: var(--card); color: var(--text); }
.admin-payment-claim strong, .admin-decided-claim strong { color: var(--text); }
.admin-payment-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; }
.admin-payment-actions form { display: grid; gap: 0.4rem; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1rem; }
.admin-decided-heading { margin-top: 2rem; }
.admin-decided-claim { background: var(--bg2); }
.decision-approved { color: #7fe0b0; }
.decision-rejected { color: #f0a0a0; }
/* WP-3J dignity pass: the artifact review pages (admin-artifacts-index,
   admin-artifact-detail) were written against .button/.button-secondary/
   .button-primary/.button-danger, which no stylesheet ever defined, so the
   review actions rendered as bare text. Mirror the established admin button
   idiom (.admin-catalog-button family, see ~line 195) scoped to these pages.
   Scoped under .admin-payments so nothing outside the admin surfaces can be
   restyled by these generic class names. */
.admin-payments .button {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 18px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .14);
  color: #050506; background: #fff; font-weight: 900; cursor: pointer; text-decoration: none;
}
.admin-payments .button-secondary { color: #e8e8ee; background: #19191d; }
.admin-payments .button-danger { border-color: rgba(248, 113, 113, .45); color: #ffc9c9; background: #2a1215; }
.admin-payments .button:disabled { opacity: .48; cursor: not-allowed; }
/* Hashes, refs and ids are LTR data in both locales; 64-hex values must wrap
   instead of distorting the narrow shell. */
.admin-payments code {
  direction: ltr; unicode-bidi: isolate; text-align: left;
  font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .86em; overflow-wrap: anywhere;
}
/* Section rhythm + form fields for the artifact detail page (cards already
   come from .admin-payment-claim; this only restores grouping and readable
   fields, matching the payments idiom above — not a redesign). */
.admin-artifact-detail h2 { margin: 2.1rem 0 .85rem; font-size: 1.25rem; }
.admin-artifact-detail form.admin-payment-claim { gap: .9rem; }
.admin-artifact-detail label { display: grid; gap: .45rem; color: var(--text); font-weight: 700; }
.admin-artifact-detail textarea,
.admin-artifact-detail input[type="text"],
.admin-artifact-detail select {
  width: 100%; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg2); color: var(--text); font: inherit;
}
.admin-artifact-detail input[type="text"],
.admin-artifact-detail select { min-height: 46px; }
/* Reviewed-manifest JSON is code: LTR and monospace even on the RTL page. */
.admin-artifact-detail textarea[name="manifest_content"] {
  direction: ltr; text-align: left; unicode-bidi: isolate;
  font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9rem; line-height: 1.55; min-height: 12rem; resize: vertical;
}
/* WP-2F cosmetic delivery preview — one installation card with internal sections. */
.order-delivery { display: grid; gap: 8px; margin-top: 8px; }
.order-delivery-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 2px; }
.order-delivery-head h2 { margin: 0; }
.order-delivery-badge { font-size: 0.75rem; padding: 3px 10px; border-radius: 999px; background: rgba(240,190,80,.12); color: #ecd39a; border: 1px solid rgba(240,190,80,.3); }
.order-delivery-note { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0; }
.order-delivery-command { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; overflow-x: auto; direction: ltr; text-align: left; margin: 0; }
.order-delivery-command code { color: #b7adf9; font-family: ui-monospace, monospace; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.delivery-box { border: 1px solid var(--border); border-radius: 14px; background: var(--card); padding: 35px 14px; display: grid; gap: 0; }
.delivery-top-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(220px, .85fr); direction: ltr; }
.delivery-section { display: grid; gap: 7px; align-content: start; }
.delivery-top-grid > .delivery-section { padding-block: 12px; }
html[dir="rtl"] .delivery-top-grid { direction: rtl; }
html[dir="rtl"] .delivery-top-grid > .delivery-section { direction: rtl; }
html[dir="ltr"] .delivery-top-grid > .delivery-section { direction: ltr; }
.delivery-instructions-section { padding-right: 14px; }
.delivery-summary-section { padding-left: 14px; border-left: 1px solid var(--border); }
.delivery-command-section { padding-top: 20px; margin-top: 10px; border-top: 1px solid var(--border); padding-bottom: 0; }
html[dir="rtl"] .delivery-instructions-section { padding-right: 0; padding-left: 12px; border-left: 1px solid var(--border); }
html[dir="rtl"] .delivery-summary-section { padding-left: 0; padding-right: 12px; border-left: 0; }
.delivery-section > h3 { margin: 0; color: var(--text); font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.delivery-section-icon { width: 26px; height: 26px; border-radius: 8px; display: inline-grid; place-items: center; flex: 0 0 auto; color: #ecd39a; background: rgba(240,190,80,.1); border: 1px solid rgba(240,190,80,.22); }
.delivery-section-icon svg { width: 15px; height: 15px; }
.delivery-summary-section .order-summary { gap: 7px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.delivery-summary-section .order-summary-row { flex-wrap: wrap; gap: 2px 10px; }
.delivery-summary-section .order-summary-row strong { word-break: break-word; }
.delivery-summary-actions { display: grid; gap: 8px; justify-items: center; }
.delivery-file-status { margin: 0; color: var(--muted); font-size: 13px; }
.delivery-download { justify-self: center; width: fit-content; max-width: 100%; justify-content: center; min-width: 180px; gap: 8px; }
.order-delivery-steps { margin: 0; padding-inline-start: 22px; display: grid; gap: 10px; color: var(--text); font-size: 14px; }
.order-delivery-steps li { line-height: 1.6; padding-inline-start: 2px; }
.order-delivery-steps li::marker { color: #ecd39a; font-weight: 800; }

@media (max-width: 600px) {
  .delivery-box { padding: 35px 12px; }
  .delivery-top-grid { grid-template-columns: 1fr; }
  .delivery-instructions-section,
  html[dir="rtl"] .delivery-instructions-section { padding-right: 0; padding-left: 0; border-left: 0; }
  .delivery-summary-section,
  html[dir="rtl"] .delivery-summary-section { margin-top: 10px; padding-left: 0; padding-right: 0; padding-top: 10px; border-left: 0; border-top: 1px solid var(--border); }
  .delivery-download { width: fit-content; }
}

/* Checkout wizard progress (cart + order pages) */
.checkout-progress { list-style: none; padding: 0; margin: 0 0 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.checkout-chip { flex: 1 1 0; min-width: 96px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg2); color: var(--muted); }
.checkout-chip-num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--border); color: var(--muted); font-weight: 700; font-size: 13px; flex: 0 0 auto; position: relative; }
.checkout-chip-label { font-size: 14px; font-weight: 600; }
.checkout-chip.is-active { border-color: #fff; color: #fff; }
.checkout-chip.is-active .checkout-chip-num { background: #fff; color: #000; border-color: #fff; }
.checkout-chip.is-done { border-color: rgba(64,200,130,.45); color: #7fe0b0; }
.checkout-chip.is-done .checkout-chip-num { background: rgba(64,200,130,.16); border-color: rgba(64,200,130,.5); color: transparent; }
.checkout-chip.is-done .checkout-chip-num::after { content: "\2713"; position: absolute; inset: 0; display: grid; place-items: center; color: #7fe0b0; }
.checkout-back { margin-bottom: 10px; }
/* WP-2F package stepper extras */
.delivery-command-wrap { display: grid; gap: 8px; justify-items: start; width: 100%; }
.delivery-command-wrap .order-delivery-command { width: 100%; margin: 0; }
.delivery-copy.is-copied { border-color: rgba(64,200,130,.5); color: #7fe0b0; }
/* WP-2E payment method switcher (cosmetic) */
.payment-methods { display: grid; gap: 14px; }
.payment-method-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.method-tab { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg2); color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.method-tab.is-active { border-color: #fff; color: #fff; background: var(--card); }
.method-soon-badge { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: rgba(240,190,80,.14); color: #ecd39a; border: 1px solid rgba(240,190,80,.3); }
.method-details { border: 1px solid var(--border); border-radius: 12px; background: var(--bg2); padding: 14px; display: grid; gap: 8px; margin-bottom: 14px; }
.method-details-title { margin: 0 0 4px; color: var(--text); font-weight: 700; }
/* Contained payment box: side menu at the START (right in RTL, left in LTR) */
.payment-box { display: grid; grid-template-columns: minmax(150px, 200px) minmax(0, 1fr); gap: 16px; align-items: start; border: 1px solid var(--border); border-radius: 14px; background: var(--card); padding: 14px; }
.payment-side { grid-column: 1; grid-row: 1; display: grid; gap: 8px; align-content: start; border-inline-end: 1px solid var(--border); padding-inline-end: 16px; }
.payment-main { grid-column: 2; grid-row: 1; min-width: 0; }
.payment-side .payment-method-tabs { flex-direction: column; align-items: stretch; }
.payment-side .method-tab { width: 100%; justify-content: space-between; }
.payment-side-title { margin: 0 0 4px; color: var(--text); font-weight: 700; font-size: 14px; }
.payment-side-status { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.payment-side-status span { color: var(--muted); font-size: 12px; }
.payment-side-status strong { color: #ecd39a; }
.payment-box-single { display: block; }
/* read-only items summary shown on the checkout/payment step */
.order-items-readonly { border: 1px solid var(--border); border-radius: 14px; background: var(--card); padding: 14px; margin-bottom: 12px; }
.order-items-heading { margin: 0 0 8px; color: var(--text); font-weight: 700; font-size: 15px; }
.order-summary-total { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--border); }
.order-summary-total strong { color: #ecd39a; }
.purchases-page .shell-narrow { text-align: start; }
.purchases-page h1,
.purchases-page .order-description { text-align: center; }
.purchases-list { display: grid; gap: 14px; margin-top: 26px; }
.purchase-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px; border: 1px solid var(--border); border-radius: 8px; background: var(--card); }
.purchase-main { min-width: 0; display: grid; gap: 10px; }
.purchase-number { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; color: var(--muted); font-size: 13px; }
.purchase-number strong { color: var(--text); font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.purchase-card h2 { margin: 0; font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }
.purchase-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0; }
.purchase-meta div { display: grid; gap: 3px; min-width: 112px; }
.purchase-meta dt { color: var(--muted); font-size: 12px; font-weight: 800; }
.purchase-meta dd { margin: 0; font-size: 14px; font-weight: 850; font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.purchase-status { color: #ecd39a; }
.purchase-action { flex: 0 0 auto; white-space: nowrap; }
.purchases-empty { margin-top: 26px; }
.checkout-contact-heading { margin-top: 6px; }
/* compact main content so the box fits on one screen */
.payment-main .method-details { padding: 12px; gap: 5px; margin-bottom: 12px; }
.payment-main .method-details .order-summary-row { font-size: 14px; }
.payment-main .order-payment-form { gap: 10px; }
/* wizard prev/next below the box */
.wizard-nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 16px 0 0; }
.wizard-btn { padding: 10px 22px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg2); color: var(--text); font-weight: 700; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.wizard-next { background: #fff; color: #000; border-color: #fff; }
.wizard-prev::before,
.wizard-next::after { content: ""; width: 18px; height: 18px; flex: 0 0 auto; background: currentColor; mask: var(--wizard-icon) center / contain no-repeat; -webkit-mask: var(--wizard-icon) center / contain no-repeat; }
.wizard-prev { --wizard-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E"); }
.wizard-next { --wizard-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E"); }
html[dir="rtl"] .wizard-prev { --wizard-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E"); }
html[dir="rtl"] .wizard-next { --wizard-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E"); }
.wizard-btn.is-disabled, .wizard-btn[disabled] { opacity: .4; cursor: not-allowed; pointer-events: none; }
@media (max-width: 500px) {
  .payment-box { grid-template-columns: 1fr; }
  .payment-side { grid-column: 1; grid-row: auto; order: -1; border-inline-end: 0; padding-inline-end: 0; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
  .payment-main { grid-column: 1; grid-row: auto; }
}
@media (max-width: 720px) {
  .purchase-card { align-items: stretch; flex-direction: column; }
  .purchase-action { width: 100%; justify-content: center; }
}
