/* ============================================================
   ORKEN STORE — Stylesheet
   Layered on top of Bootstrap 5 (loaded via CDN)
   ============================================================ */

:root {
  --canvas:      #F8F9FC;
  --surface:     #FFFFFF;
  --ink:         #0E1020;
  --muted:       #5A6079;
  --border:      #E6E8F0;
  --primary:     #4F46E5;
  --primary-deep:#312E81;
  --accent:      #06B6D4;
  --amber:       #F59E0B;
  --success:     #10B981;
  --grad:        linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
  --shadow-sm:   0 1px 2px rgba(14,16,32,.04), 0 8px 24px rgba(14,16,32,.06);
  --shadow-md:   0 4px 8px rgba(14,16,32,.06), 0 16px 40px rgba(14,16,32,.10);
  --mono:        "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans:        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5 { font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: 2.75rem; line-height: 1.12; }
h2 { font-size: 2rem;    line-height: 1.2; }
h3 { font-size: 1.25rem; }
p  { color: var(--muted); }
a  { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-deep); }

.font-mono { font-family: var(--mono); }
.text-muted-2 { color: var(--muted) !important; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Section rhythm ---------- */
.sec      { padding: 88px 0; }
.sec-sm   { padding: 56px 0; }
.sec-alt  { background: #F2F4FA; }

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  display: inline-block;
  margin-bottom: .6rem;
}
.eyebrow::after {
  content: ""; display: block; width: 26px; height: 3px;
  border-radius: 2px; background: var(--grad); margin-top: 6px;
}
.eyebrow.center::after { margin-left: auto; margin-right: auto; }

/* ---------- Navbar ---------- */
.o-nav {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 1030;
}
.o-nav .navbar-brand {
  font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; color: var(--ink);
}
.o-nav .navbar-brand span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.o-nav .nav-link { color: var(--muted); font-weight: 500; font-size: .94rem; padding: .5rem .9rem !important; }
.o-nav .nav-link:hover, .o-nav .nav-link.active { color: var(--primary); }
.o-search {
  border: 1px solid var(--border); border-radius: 9px; background: #F4F6FB;
  padding: .45rem .8rem; font-size: .9rem; min-width: 240px;
}
.o-search:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,.15); background: #fff; }

/* ---------- Buttons ---------- */
.btn { border-radius: 10px; font-weight: 600; font-size: .94rem; padding: .62rem 1.3rem; border: 1px solid transparent; transition: all .18s ease; }
.btn-o-primary { background: var(--grad); color: #fff; box-shadow: 0 4px 14px rgba(79,70,229,.28); }
.btn-o-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(79,70,229,.4); }
.btn-o-outline { background: var(--surface); border-color: var(--border); color: var(--ink); }
.btn-o-outline:hover { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-o-light { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #fff; }
.btn-o-light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-o-white { background: #fff; color: var(--primary) !important; }
.btn-lg-o { padding: .82rem 1.7rem; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  padding: 84px 0 92px;
  color: #fff;
}
.hero h1, .hero h2 { color: #fff; }
.hero p { color: rgba(255,255,255,.72); }
.hero .eyebrow { color: #7DD3FC; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; }
.orb-a { width: 460px; height: 460px; background: #4F46E5; top: -160px; left: -120px; }
.orb-b { width: 420px; height: 420px; background: #06B6D4; bottom: -180px; right: -100px; opacity: .38; }
.dotgrid {
  position: absolute; inset: 0; opacity: .16; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.6) 1px, transparent 0);
  background-size: 26px 26px;
}
.hero-inner { position: relative; z-index: 2; }

.chip-dark {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: .74rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.85); padding: .3rem .7rem; border-radius: 999px;
}

/* ---------- Hero search ---------- */
.hero-search {
  display: flex; background: #fff; border-radius: 12px; padding: 6px;
  box-shadow: 0 12px 36px rgba(0,0,0,.28); max-width: 520px;
}
.hero-search input {
  flex: 1; border: none; outline: none; padding: .7rem .9rem;
  font-size: .96rem; border-radius: 8px; color: var(--ink);
}

/* ---------- Cards ---------- */
.o-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%;
}
.o-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(79,70,229,.4); }
.o-card-body { padding: 20px; }

/* Category card */
.cat-card { display: block; color: inherit; padding: 22px; }
.cat-card:hover { color: inherit; }
.cat-tile {
  width: 52px; height: 52px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 14px;
  background: var(--grad);
}
.cat-tile svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cat-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.cat-card .count { font-family: var(--mono); font-size: .76rem; color: var(--muted); }

/* Product card */
.p-thumb { border-radius: 11px 11px 0 0; overflow: hidden; display: block; background: #EEF1F8; }
.p-thumb svg { display: block; width: 100%; height: auto; }
.p-thumb img {
  display: block; width: 100%; height: auto;
  transition: transform .35s ease;
}
.o-card:hover .p-thumb img { transform: scale(1.03); }
.p-body { padding: 16px 18px 18px; }
.p-body h3 { font-size: .98rem; line-height: 1.35; margin-bottom: 6px; }
.p-body h3 a { color: var(--ink); }
.p-body h3 a:hover { color: var(--primary); }
.p-desc { font-size: .855rem; color: var(--muted); margin-bottom: 12px; min-height: 42px; }
.price { font-family: var(--mono); font-weight: 600; color: var(--amber); font-size: 1.12rem; }

/* Badges */
.tag {
  display: inline-block; font-family: var(--mono); font-size: .68rem; font-weight: 600;
  padding: .2rem .5rem; border-radius: 5px; margin-right: 5px; margin-bottom: 4px;
  background: rgba(79,70,229,.1); color: var(--primary);
}
.tag-amber  { background: rgba(245,158,11,.13); color: #B45309; }
.tag-teal   { background: rgba(6,182,212,.13);  color: #0E7490; }
.tag-green  { background: rgba(16,185,129,.13); color: #047857; }
.cat-pill {
  display: inline-block; font-size: .72rem; font-weight: 600;
  padding: .22rem .6rem; border-radius: 999px; background: #EEF1F8; color: var(--muted);
}

/* ---------- Steps ---------- */
.step-num {
  width: 38px; height: 38px; border-radius: 10px; background: var(--grad);
  color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--mono);
  font-size: .95rem; margin-bottom: 14px;
}

/* ---------- Product detail ---------- */
.gallery-main {
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm);
}
.gallery-main svg { display: block; width: 100%; height: auto; }
.gallery-main img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10;
  object-fit: contain; object-position: center; background: #F1F3F9;
  transition: object-position .25s ease;
}
.thumbstrip { display: flex; gap: 10px; margin-top: 12px; }
.thumbstrip > div {
  flex: 1; border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
  cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.thumbstrip > div:hover { border-color: var(--primary); }
.thumbstrip > div.sel { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,.14); }
.thumbstrip img { display: block; width: 100%; height: 82px !important; object-fit: cover; }

.buy-panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px; box-shadow: var(--shadow-sm);
  position: sticky; top: 90px;
}
.buy-price { font-family: var(--mono); font-size: 2.1rem; font-weight: 700; color: var(--amber); line-height: 1; }
.incl-list { list-style: none; padding: 0; margin: 18px 0 0; }
.incl-list li {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: .875rem; color: var(--muted); padding: 6px 0;
  border-top: 1px solid var(--border);
}
.incl-list li:first-child { border-top: none; }
.incl-list svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 4px; stroke: var(--success); fill: none; stroke-width: 2.4; }

/* Tabs */
.o-tabs { border-bottom: 1px solid var(--border); display: flex; gap: 4px; overflow-x: auto; }
.o-tabs button {
  background: none; border: none; padding: 13px 18px; font-weight: 600;
  font-size: .92rem; color: var(--muted); cursor: pointer;
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.o-tabs button:hover { color: var(--ink); }
.o-tabs button.active { color: var(--primary); border-bottom-color: var(--primary); }
.tabpane { display: none; padding-top: 28px; }
.tabpane.active { display: block; }

/* ---------- Docs / code ---------- */
.doc-step { margin-bottom: 30px; }
.doc-step h4 {
  font-size: 1.02rem; display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.doc-step h4 .n {
  width: 26px; height: 26px; border-radius: 7px; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-size: .78rem; font-family: var(--mono); flex-shrink: 0;
}
pre.code {
  background: var(--ink); color: #D7DCEC; border-radius: 10px; padding: 16px 18px;
  font-family: var(--mono); font-size: .82rem; line-height: 1.65; overflow-x: auto;
  border-top: 2px solid transparent; border-image: var(--grad) 1; margin: 12px 0;
  position: relative;
}
pre.code .k { color: #7DD3FC; }
pre.code .s { color: #FCD34D; }
pre.code .c { color: #6B7394; }
.copy-btn {
  position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16); color: #CBD5E1; border-radius: 6px;
  font-size: .7rem; font-family: var(--mono); padding: .18rem .5rem; cursor: pointer;
}
.copy-btn:hover { background: rgba(255,255,255,.16); color: #fff; }
.tree {
  background: #F4F6FB; border: 1px solid var(--border); border-radius: 10px;
  padding: 16px 18px; font-family: var(--mono); font-size: .82rem; color: var(--ink);
  line-height: 1.85; white-space: pre; overflow-x: auto;
}
table.o-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin: 14px 0; }
table.o-table th {
  text-align: left; background: rgba(79,70,229,.07); color: var(--ink);
  font-size: .74rem; letter-spacing: .06em; text-transform: uppercase;
  font-family: var(--mono); padding: 10px 14px; border-bottom: 1px solid var(--border);
}
table.o-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); color: var(--muted); }
table.o-table tbody tr:nth-child(even) { background: #FAFBFD; }
table.o-table td:first-child { font-family: var(--mono); color: var(--ink); font-weight: 600; }

/* Accordion */
.acc-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.acc-head {
  width: 100%; text-align: left; background: none; border: none; padding: 15px 18px;
  font-weight: 600; font-size: .93rem; color: var(--ink); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.acc-head:hover { background: #FAFBFD; }
.acc-head .chev { transition: transform .2s; flex-shrink: 0; color: var(--muted); }
.acc-item.open .acc-head .chev { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 18px 16px; font-size: .89rem; color: var(--muted); }
.acc-item.open .acc-body { display: block; }

/* ---------- Forms ---------- */
.form-label { font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.form-control, .form-select {
  border: 1px solid var(--border); border-radius: 8px; padding: .62rem .85rem;
  font-size: .93rem; background: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,.15);
}

/* ---------- Filters sidebar ---------- */
.filter-box { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px; box-shadow: var(--shadow-sm); }
.filter-box h4 { font-size: .78rem; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.filter-list { list-style: none; padding: 0; margin: 0 0 22px; }
.filter-list li { margin-bottom: 2px; }
.filter-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 10px; border-radius: 7px; font-size: .875rem; color: var(--muted);
}
.filter-list a:hover { background: #F4F6FB; color: var(--ink); }
.filter-list a.active { background: rgba(79,70,229,.09); color: var(--primary); font-weight: 600; }
.filter-list .n { font-family: var(--mono); font-size: .74rem; opacity: .75; }

/* ---------- Alerts / notices ---------- */
.notice {
  border-radius: 10px; padding: 14px 16px; font-size: .875rem;
  background: rgba(79,70,229,.06); border: 1px solid rgba(79,70,229,.18); color: var(--ink);
}
.notice-green { background: rgba(16,185,129,.08); border-color: rgba(16,185,129,.3); }
.notice-amber { background: rgba(245,158,11,.09); border-color: rgba(245,158,11,.35); }

/* ---------- Success panel ---------- */
.success-panel {
  background: var(--grad); border-radius: 16px; padding: 40px; color: #fff; text-align: center;
  box-shadow: 0 18px 48px rgba(79,70,229,.32);
}
.success-panel h1, .success-panel h2 { color: #fff; }
.success-panel p { color: rgba(255,255,255,.85); }

/* ---------- Legal pages ---------- */
.legal-toc { position: sticky; top: 90px; }
.legal-toc a {
  display: block; padding: 6px 10px; border-radius: 6px; font-size: .855rem; color: var(--muted);
}
.legal-toc a:hover { background: #F4F6FB; color: var(--ink); }
.legal-body h2 { font-size: 1.35rem; margin: 34px 0 10px; scroll-margin-top: 90px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: .93rem; }
.ph {
  background: #FDF3D9; border: 1px dashed #D9B44A; border-radius: 4px;
  padding: 1px 7px; font-family: var(--mono); font-size: .84em; color: #7A5C10;
}

/* ---------- Footer ---------- */
.o-footer {
  background: var(--ink); color: rgba(255,255,255,.68);
  border-top: 3px solid transparent; border-image: var(--grad) 1;
  padding: 56px 0 28px; margin-top: 80px;
}
.o-footer h5 { color: #fff; font-size: .78rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.o-footer a { color: rgba(255,255,255,.62); font-size: .88rem; display: block; padding: 3px 0; }
.o-footer a:hover { color: #fff; }
.o-footer .brand { font-weight: 800; font-size: 1.3rem; color: #fff; letter-spacing: -.03em; }
.o-footer .brand span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 20px;
  font-size: .8rem; color: rgba(255,255,255,.5);
}

/* ---------- Pagination ---------- */
.o-pager { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.o-pager button {
  min-width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--border);
  background: #fff; color: var(--muted); font-size: .875rem; font-weight: 600; cursor: pointer;
}
.o-pager button:hover { border-color: var(--primary); color: var(--primary); }
.o-pager button.active { background: var(--grad); color: #fff; border-color: transparent; }
.o-pager button:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- Modal ---------- */
.o-modal-backdrop {
  position: fixed; inset: 0; background: rgba(14,16,32,.55); backdrop-filter: blur(3px);
  z-index: 1050; display: none; align-items: center; justify-content: center; padding: 20px;
}
.o-modal-backdrop.show { display: flex; }
.o-modal {
  background: #fff; border-radius: 16px; max-width: 480px; width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,.3); overflow: hidden; max-height: 92vh; overflow-y: auto;
}
.o-modal-head { padding: 22px 24px 0; }
.o-modal-body { padding: 18px 24px 24px; }

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: 60px 20px; }
.empty svg { width: 150px; height: auto; margin-bottom: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
  .sec { padding: 60px 0; }
  .buy-panel { position: static; margin-top: 24px; }
  .legal-toc { position: static; margin-bottom: 24px; }
  .hero { padding: 60px 0 66px; }
}
@media (max-width: 575px) {
  .hero-search { flex-direction: column; }
  .hero-search .btn { width: 100%; }
}

/* ============================================================
   v2 — CARD REDESIGN, SPACING & POLISH
   ============================================================ */

body { font-size: 15.5px; }

/* ---------- rhythm ---------- */
.sec     { padding: 96px 0; }
.sec-sm  { padding: 64px 0; }
.page-head { padding: 56px 0 10px; }
.page-head h1 { font-size: 2.3rem; margin-bottom: .5rem; }
.sec-head {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: flex-end; gap: 18px; margin-bottom: 34px;
}

/* ---------- nav ---------- */
.navtools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.o-nav .dropdown-menu {
  border: 1px solid var(--border); border-radius: 12px; padding: 8px;
  box-shadow: var(--shadow-md); min-width: 270px;
}
.o-nav .dropdown-item {
  border-radius: 8px; font-size: .88rem; padding: 8px 12px; color: var(--muted);
}
.o-nav .dropdown-item:hover { background: #F2F4FA; color: var(--primary); }

/* ---------- PRODUCT CARD (marketplace style) ---------- */
.pcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 1px 2px rgba(14,16,32,.04);
}
.pcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 34px rgba(14,16,32,.11);
  border-color: rgba(79,70,229,.34);
}
.pcover { display: block; background: #EEF1F8; overflow: hidden; }
.pcover img {
  display: block; width: 100%; height: auto;
  transition: transform .4s ease;
}
.pcard:hover .pcover img { transform: scale(1.035); }

.pbody { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }

.ptitle {
  font-size: 1rem; line-height: 1.35; font-weight: 700; margin: 0 0 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ptitle a { color: var(--ink); }
.ptitle a:hover { color: var(--primary); }

.pmeta {
  font-size: .82rem; color: var(--muted); margin: 0 0 12px; font-style: italic;
}
.pmeta span { color: var(--ink); font-weight: 600; font-style: normal; }
.pmeta a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 2px; }
.pmeta a:hover { color: var(--primary); }

.ptags { margin-bottom: 16px; min-height: 22px; }

.pfoot {
  margin-top: auto; padding-top: 15px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.pprice {
  font-family: var(--mono); font-size: 1.32rem; font-weight: 700;
  color: var(--amber); line-height: 1.1;
}
.pver { font-family: var(--mono); font-size: .68rem; color: var(--muted); margin-top: 3px; }

.pactions { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.pcart {
  width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--muted); background: #fff;
  transition: all .15s ease; flex-shrink: 0;
}
.pcart svg { width: 17px; height: 17px; }
.pcart:hover { background: var(--grad); border-color: transparent; color: #fff; }
.ppreview {
  border: 1px solid var(--primary); color: var(--primary); background: #fff;
  font-size: .8rem; font-weight: 700; padding: .5rem .85rem; border-radius: 9px;
  white-space: nowrap; transition: all .15s ease;
}
.ppreview:hover { background: var(--primary); color: #fff; }

/* ---------- category card ---------- */
.cat-card {
  display: block; color: inherit; padding: 24px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; height: 100%;
  box-shadow: 0 1px 2px rgba(14,16,32,.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cat-card:hover {
  color: inherit; transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(14,16,32,.1); border-color: rgba(79,70,229,.34);
}

/* ---------- steps / panels ---------- */
.step-box { text-align: center; padding: 8px 12px; }
.incl-panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 44px 42px; box-shadow: var(--shadow-sm);
}
.incl-item { display: flex; gap: 10px; align-items: flex-start; }
.incl-item svg { flex-shrink: 0; margin-top: 4px; }
.incl-item strong { display: block; font-size: .93rem; }
.incl-item span { display: block; font-size: .85rem; color: var(--muted); }

/* ---------- misc ---------- */
.sidelabel {
  font-size: .72rem; font-family: var(--mono); letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.crumbs { font-size: .85rem; color: var(--muted); }
.crumbs span { margin: 0 7px; }
.doc-ol { font-size: .92rem; color: var(--muted); padding-left: 20px; }
.doclist {
  list-style: none; padding: 0; margin: 12px 0 0;
  font-size: .86rem; max-height: 240px; overflow-y: auto;
}
.doclist li { margin-bottom: 5px; }

/* ---------- auth card ---------- */
.auth-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px 32px; box-shadow: var(--shadow-md);
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .sec { padding: 64px 0; }
  .sec-sm { padding: 44px 0; }
  .page-head { padding: 36px 0 6px; }
  .page-head h1 { font-size: 1.8rem; }
  .incl-panel { padding: 30px 24px; }
  .navtools { width: 100%; margin-top: 12px; }
  .navtools .o-search { flex: 1; min-width: 0; }
}
@media (max-width: 400px) {
  .pfoot { flex-direction: column; align-items: flex-start; }
  .pactions { width: 100%; }
  .ppreview { flex: 1; text-align: center; }
}

/* gallery follows the cover image's own ratio (1200x630) */
.gallery-main img {
  aspect-ratio: auto;
  object-fit: fill;
  height: auto;
  background: transparent;
}
