/* ==========================================================================
   Truza Aero Store — Sticker Pop storefront theme
   Loaded after app.css on every public page. Admin keeps its own layout.
   ========================================================================== */
:root {
  --ink: #333333;
  --ink-2: #3f4650;
  --muted: #5d6672;
  --line: #333333;
  --line-2: #333333;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --brand: #1f4e9a;
  --brand-dark: #163b75;
  --brand-soft: #e6f5fc;
  --sky: #29a9e1;
  --royal: #1f4e9a;
  --amber: #f9b233;
  --white: #ffffff;
  --paper: #f4f8fb;
  --sale: #b42318;
  --ok: #067647;
  --warn: #a15c00;
  --radius: 12px;
  --radius-sm: 9px;
  --shadow-sm: 3px 3px 0 #333333;
  --shadow: 5px 5px 0 #333333;
  --wrap: 1240px;
  --tap: 44px;
}

html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
body.sf {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
body.sf h1, body.sf h2, body.sf h3, body.sf .logo {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -.035em;
}
body.sf .brand strong, body.sf h4, body.sf .brand small { font-family: var(--font-display); }
body.sf h1 { font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.02; }
body.sf h2 { font-size: clamp(1.45rem, 3vw, 2.25rem); line-height: 1.05; }
body.sf h3 { letter-spacing: -.015em; }
body.sf a { color: inherit; }
body.sf img { max-width: 100%; }
body.sf p { margin: 0 0 .8em; }

.sf .wrap { width: min(100% - 40px, var(--wrap)); max-width: none; margin-inline: auto; padding: 0; }
.sf-main { padding-bottom: 46px; }

/* ------------------------------------------------------------- header */
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
body > .announcement {
  line-height: 1.5; text-align: center; background: var(--royal); color: var(--white);
  padding: 8px 16px; font-size: .75rem; font-weight: 750;
}
.sf header { border-bottom: 2px solid var(--ink); background: var(--white); }
body > .shop-header .header-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: 16px 12px; padding-block: 20px 8px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo {
  display: grid; place-items: center; width: 43px; height: 39px; flex: none;
  border: 2px solid var(--ink); border-radius: 9px; box-shadow: 2px 3px var(--ink);
  background: var(--amber); transform: rotate(-7deg); font-size: 1.3rem; letter-spacing: -.08em;
  overflow: hidden;
}
.logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 5px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1rem; line-height: 1.2; font-weight: 700; }
.brand small { font-size: .68rem; color: var(--ink-2); }
body > .shop-header nav {
  display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px 18px;
  font-size: .75rem; font-weight: 750; grid-column: 1 / -1; min-width: 0;
  padding-top: 4px; border-top: 1px solid var(--ink); scrollbar-width: none;
}
body > .shop-header nav::-webkit-scrollbar { display: none; }
body > .shop-header nav a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 40px; }
body > .shop-header nav a:hover, .sf footer a:hover { text-decoration: underline; }
body > .shop-header .nav-custom .nav-list { display:flex; gap:6px 18px; list-style:none; margin:0; padding:0; min-width:0; }
.nav-item { position:relative; display:flex; align-items:center; flex:0 0 auto; }
.nav-item > a { display:inline-flex; align-items:center; min-height:40px; }
.nav-toggle { width:30px; height:30px; display:grid; place-items:center; border:0; background:transparent; color:inherit; font-size:.7rem; cursor:pointer; transition:transform .15s ease; }
.nav-item.open > .nav-toggle { transform:rotate(180deg); }
.nav-sub { display:none; position:absolute; top:100%; left:0; z-index:75; min-width:200px; max-width:min(280px,calc(100vw - 40px)); padding:6px; list-style:none; margin:0; background:var(--white); border:2px solid var(--ink); border-radius:10px; box-shadow:3px 3px var(--ink); }
body > .shop-header .nav-sub a { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 10px; min-height:38px; border-radius:6px; overflow-wrap:anywhere; }
body > .shop-header .nav-sub a > span:first-child { min-width:0; }
.nav-count {
  flex:none; min-width:22px; padding:1px 5px; border:1.5px solid var(--ink); border-radius:999px;
  background:var(--amber); color:var(--ink); font-size:.62rem; font-weight:900; text-align:center;
  font-variant-numeric:tabular-nums;
}
.nav-sub a:hover { background:var(--brand-soft); }
.nav-item.open > .nav-sub,
.nav-item.has-sub:not(.nav-closed):hover > .nav-sub,
.nav-item.has-sub:not(.nav-closed):focus-within > .nav-sub { display:block; }
@media (min-width: 700px) {
  body > .shop-header nav.nav-custom { overflow:visible; }
  body > .shop-header .nav-custom .nav-list { flex-wrap:wrap; justify-content:center; }
}
@media (max-width: 699px) {
  body > .shop-header .nav-custom .nav-list { flex-wrap:nowrap; gap:6px 14px; }
  body > .shop-header .nav-custom { font-size:.72rem; }
  .nav-custom .nav-item { scroll-snap-align:start; }
  body > .shop-header .nav-custom a { scroll-snap-align:none; }
  /* Di ponsel caret jadi bagian label: satu target ketuk besar untuk membuka
     daftar, dan panelnya tampil sebagai kartu di bawah header. */
  body > .shop-header .nav-custom .nav-item.has-sub > .nav-toggle { display:none; }
  body > .shop-header .nav-custom .nav-item.has-sub > a::after {
    content:''; width:6px; height:6px; margin-left:7px;
    border-right:2px solid currentColor; border-bottom:2px solid currentColor;
    transform:rotate(45deg) translateY(-2px); transition:transform .15s ease;
  }
  body > .shop-header .nav-custom .nav-item.has-sub.open > a::after {
    transform:rotate(-135deg) translateY(-2px);
  }
  body > .shop-header .nav-custom .nav-item.has-sub > .nav-sub { display:none; }
  body > .shop-header .nav-custom .nav-item.has-sub > .nav-sub:popover-open {
    display:block; position:fixed; inset:auto; overflow-y:auto; color:inherit;
    width:min(360px,calc(100vw - 16px)); min-width:0; max-width:none;
    padding:8px; box-shadow:4px 4px var(--ink);
  }
  body > .shop-header .nav-custom .nav-sub a { min-height:46px; padding:11px 12px; font-size:.86rem; }
}
body > .shop-header .tools { display: flex; gap: 7px; justify-self: end; }
body > .shop-header .icon-button { width: 38px; height: 40px; }
body > .shop-header .brand, body > .shop-footer .brand { gap: 12px; overflow-wrap: anywhere; }
body > .shop-header .brand small, body > .shop-footer .brand small { margin-top: 3px; line-height: 1.35; }
body > .shop-header .logo, body > .shop-footer .logo { width: 44px; height: 44px; }
body > .shop-header .logo img, body > .shop-footer .logo img { display: block; }
.icon-button {
  position: relative; display: grid; place-items: center; width: 36px; height: 38px;
  border: 2px solid var(--ink); border-radius: 8px; background: var(--paper);
}
.icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-button .cart-count {
  position: absolute; top: -7px; right: -7px; min-width: 18px; height: 18px;
  display: grid; place-items: center; padding: 0 4px; border: 2px solid var(--ink);
  border-radius: 999px; background: var(--amber); color: var(--ink);
  font-size: .62rem; font-weight: 900; line-height: 1;
}
[hidden] { display: none !important; }

body > .shop-header .header-search {
  position: relative; grid-column: 1 / -1; min-width: 0; width: 100%;
}
.shop-header .header-search-field {
  display: flex; align-items: center; gap: 5px; padding: 4px;
  height: 44px; box-sizing: border-box;
  border: 2px solid var(--ink); border-radius: 10px; background: var(--white);
  box-shadow: 3px 3px var(--ink);
}
.shop-header .header-search-field:focus-within { border-color: var(--royal); box-shadow: 0 0 0 3px rgba(41, 169, 225, .28); }
body > .shop-header .header-search input {
  flex: 1; min-width: 0; width: 100%; height: 100%; min-height: 0; padding: 6px 8px;
  border: 0; outline: none; box-shadow: none; background: transparent; color: var(--ink);
  font: inherit; font-size: .9rem;
}
body > .shop-header .header-search button {
  display: grid; place-items: center; flex: 0 0 44px; height: 100%; padding: 0; font: inherit;
  border: 2px solid var(--ink); border-radius: 7px; background: var(--amber); color: var(--ink);
  cursor: pointer;
}
.shop-header .header-search button svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
}
.shop-header .search-suggestions {
  position: absolute; inset: calc(100% + 8px) 0 auto; z-index: 50; max-height: min(360px, 55vh);
  overflow-y: auto; border: 2px solid var(--ink); border-radius: 10px;
  background: var(--white); box-shadow: 3px 3px var(--ink);
}
.shop-header .search-suggestions a {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px;
  font-size: .85rem; line-height: 1.3; overflow-wrap: anywhere;
}
.shop-header .search-suggestions a + a { border-top: 1px solid #d8dee5; }
.shop-header .search-suggestions a:hover,
.shop-header .search-suggestions [aria-selected="true"] { background: var(--brand-soft); }
.shop-header .search-suggestions a:last-child { color: var(--royal); }
.shop-header .search-suggestions small { display: block; margin-top: 3px; color: var(--muted); }
.shop-header .search-suggestions img { flex: 0 0 42px; width: 42px; height: 42px; object-fit: contain; }

.sf .flash-wrap { padding-top: 22px; }
.flash {
  border: 2px solid var(--ink); border-radius: 10px; padding: 10px 13px; margin-bottom: 8px;
  background: var(--white); box-shadow: 3px 3px var(--ink); font-size: .85rem; font-weight: 650;
}
.flash.ok { background: #e9f9ee; }
.flash.err { background: #fff0ee; }

/* ------------------------------------------------------------ buttons */
.sf .btn {
  height: var(--tap); min-height: var(--tap); box-sizing: border-box; padding: 8px 15px; border: 2px solid var(--ink);
  border-radius: 9px; background: var(--white); color: var(--ink);
  font-family: var(--font-body); font-weight: 850; font-size: .88rem; box-shadow: 3px 3px var(--ink);
  transition: transform .08s, box-shadow .08s, background .15s;
}
.sf .btn:hover { transform: translate(-1px, -2px); box-shadow: 5px 5px var(--ink); }
.sf .btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px var(--ink); }
.sf .btn-primary { background: var(--amber); border-color: var(--ink); color: var(--ink); }
.sf .btn-primary:hover { background: var(--amber); }
.sf .btn-dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.sf .btn-ghost { background: var(--white); }
.sf .btn-wa { background: #25d366; border-color: var(--ink); color: #10351d; }
.sf .btn-danger { background: #fff0ee; border-color: var(--ink); color: var(--sale); }
.sf .btn-sm { height: 38px; min-height: 38px; padding: 5px 11px; font-size: .8rem; box-shadow: 2px 2px var(--ink); }
.sf .btn-block { width: 100%; }
.sf .btn[disabled] { opacity: .55; pointer-events: none; }

/* ------------------------------------------------------------- forms */
.sf input[type=text], .sf input[type=search], .sf input[type=email],
.sf input[type=tel], .sf input[type=password], .sf input[type=number],
.sf input[type=file], .sf select, .sf textarea {
  border: 2px solid var(--ink); border-radius: 9px;
  background: var(--white); padding: 9px 12px; font-size: .92rem;
}
.sf input[type=text], .sf input[type=search], .sf input[type=email],
.sf input[type=tel], .sf input[type=password], .sf input[type=number],
.sf input[type=file], .sf select {
  height: 44px; min-height: 44px; box-sizing: border-box;
}
.sf input:focus, .sf select:focus, .sf textarea:focus {
  border-color: var(--royal); box-shadow: 0 0 0 3px rgba(41, 169, 225, .28);
}
.sf .field > label { font-weight: 750; color: var(--ink); }
.sf .field .hint, .sf .hint { color: var(--muted); }
.sf .check { font-weight: 600; }
.sf .check input { accent-color: var(--royal); }

/* ------------------------------------------------------------- panels */
.sf .panel, .sf .form-card, .sf .summary, .sf .gallery {
  border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white);
  box-shadow: 3px 3px var(--ink);
}
.sf .form-card, .sf .summary { padding: 16px; }
.sf .panel { padding: 16px; }
.sf .panel h3, .sf .form-card h3 { font-size: 1rem; }
.sf .layout { display: grid; gap: 18px; }
.sf .side { display: none; }
.sf .side .panel { padding: 0; overflow: hidden; }
.sf .side .panel h3 { padding: 12px 14px; border-bottom: 2px solid var(--ink); background: var(--paper); margin: 0; }
.sf .side ul { list-style: none; margin: 0; padding: 6px; }
.sf .side li a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 7px; font-size: .86rem; font-weight: 650; }
.sf .side li a:hover { background: var(--brand-soft); color: var(--royal); }
.sf .side li a.is-active { background: var(--brand-soft); color: var(--brand); }
.sf .side li a .n { color: var(--muted); font-weight: 500; }

/* ------------------------------------------------------------- crumbs */
.sf .crumbs { padding: 14px 0 0; font-size: .76rem; color: var(--muted); font-weight: 600; }
.sf .crumbs a:hover { color: var(--royal); text-decoration: underline; }
.sf .page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 16px 0 14px; }
.sf .page-head h1 { margin: 0; }
.sf .listing-head { padding: 8px 0 14px; }
.sf .listing-head h1 { font-size: clamp(1.55rem, 3.4vw, 2.4rem); }

/* ---------------------------------------------------------- product grid */
.sf .grid { gap: 14px; }
.sf .card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  border: 2px solid var(--ink); border-radius: 12px; background: var(--white);
  box-shadow: 3px 3px var(--ink); overflow: hidden;
}
.sf .card:hover { transform: translate(-1px, -2px); box-shadow: 5px 5px var(--ink); }
.sf .card .thumb { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--white); }
.sf .card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.sf .card .body { display: flex; flex: 1; flex-direction: column; padding: 10px 11px 11px; gap: 6px; }
.sf .card .name {
  display: -webkit-box; overflow: hidden; font-size: .8rem; font-weight: 750; line-height: 1.35;
  -webkit-line-clamp: 4; -webkit-box-orient: vertical; min-height: 4.3em;
}
.sf .card .price-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.sf .card .price { color: var(--royal); font-weight: 900; font-size: 1rem; }
.sf .card .was { color: var(--muted); font-size: .74rem; text-decoration: line-through; }
.sf .card .meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-right: 42px; font-size: .7rem; min-height: 16px; }
.sf .card .add {
  position: absolute; right: 9px; bottom: 9px; display: grid; place-items: center; width: 36px; height: 36px;
  border: 2px solid var(--ink); border-radius: 8px; background: var(--amber); color: var(--ink);
  box-shadow: 2px 2px var(--ink); font: inherit; cursor: pointer;
}
.sf .card .add svg { width: 18px; height: 18px; }
.sf .badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 6px;
  font-size: .68rem; font-weight: 700; letter-spacing: .02em; border: 1px solid var(--ink);
}
.sf .badge.sale { background: #fee4e2; color: var(--sale); }
.sf .badge.out { background: #f1f5f9; color: var(--muted); }
.sf .badge.low { background: #fef0c7; color: var(--warn); }
.sf .badge.in { background: #dcfae6; color: var(--ok); }
.sf .thumb .badge { position: absolute; left: 8px; top: 8px; z-index: 2; }
.sf .pager a, .sf .pager span { border: 2px solid var(--ink); box-shadow: 2px 2px var(--ink); }
.sf .pager .on { background: var(--amber); color: var(--ink); }
.sf .empty { border: 2px dashed var(--ink); background: var(--paper); color: var(--ink-2); }
.sf .alert { border: 2px solid var(--ink); box-shadow: 3px 3px var(--ink); color: var(--ink); }
.sf .alert.err { background: #fff0ee; }
.sf .alert.ok { background: #e9f9ee; }
.sf .alert.warn { background: #fff5dc; }
.sf .login-error { margin-block: 8px 18px; }

/* ------------------------------------------------------------- product */
.sf .product { padding-top: 10px; }
.sf .buybox h1 { font-size: clamp(1.35rem, 2.6vw, 2rem); }
.sf .price-block .now { color: var(--royal); font-weight: 950; }
.sf .buy-row { align-items: center; }
.sf .qty { border: 2px solid var(--ink); border-radius: 9px; }
.sf .qty button { font-weight: 900; }
.sf .cart-line .qty button,
.sf .cart-line .qty input[type=number],
.sf .cart-line .js-qty-form .btn {
  height: 40px; min-height: 40px;
}
.sf .variants .opt { border: 2px solid var(--ink); border-radius: 9px; }
.sf .variants .opt.on { background: var(--brand-soft); }
.sf .tabs { border-top: 2px solid var(--ink); }
.sf .sticky-buy { border-top: 2px solid var(--ink); }
.sf .sticky-buy .p { color: var(--royal); }

/* ---------------------------------------------------------------- cart */
.sf .cart-line { border-bottom: 1px solid #d8dee5; }
.sf .cart-line img { border: 2px solid var(--ink); border-radius: 9px; }
.sf .summary { position: sticky; top: 14px; }
.sf .summary .total { border-top: 2px solid var(--ink); font-weight: 950; color: var(--royal); }
.sf .paynote { border: 2px solid var(--ink); background: var(--paper); }

/* ------------------------------------------------------------ checkout */
.sf .steps { font-weight: 650; }
.sf .steps .on { color: var(--royal); }
.sf .checkout-grid .form-card { box-shadow: 3px 3px var(--ink); }
.sf .pay-opt { border: 2px solid var(--ink); border-radius: 9px; background: var(--white); }
.sf .pay-opt.on { background: var(--brand-soft); border-color: var(--royal); }
.sf .account-bar { border: 2px solid var(--ink); border-radius: 9px; background: var(--paper); }
.sf .form-grid .two { align-items: start; }
.sf .form-grid .field { align-content: start; }
.sf #dest-q:focus { outline: none; border-color: var(--royal); box-shadow: none; }
.sf .dest-pick:focus-within { border-radius: 9px; box-shadow: 0 0 0 3px rgba(41, 169, 225, .28); }
.sf .dest-chosen, .sf .dest-results, .sf .dest-empty {
  border: 2px solid var(--ink); border-radius: 9px;
}

/* --------------------------------------------------------------- footer */
.sf footer { border-top: 2px solid var(--ink); background: var(--royal); color: var(--white); margin-top: 26px; }
body > .shop-footer { font-size: 15px; line-height: 1.5; }
body > .shop-footer .footer-grid { display: grid; align-items: start; gap: 24px; padding-block: 32px 28px; }
body > .shop-footer .brand { justify-self: start; }
.shop-footer .brand strong { color: var(--white); }
.shop-footer .brand small { color: #dbeafe; }
.shop-footer .logo { color: var(--ink); }
body > .shop-footer address { font-style: normal; display: grid; gap: 8px; font-size: .88rem; }
.shop-footer a { color: var(--white); }
.soc-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 2px 0 4px; }
body .shop-footer .soc {
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 2px solid var(--ink); border-radius: 10px;
  background: var(--white); color: var(--ink); font-size: .68rem; font-weight: 900;
  letter-spacing: .02em; box-shadow: 2px 2px var(--ink); text-decoration: none;
}
body .shop-footer .soc-ig { background: #e1306c; color: #fff; }
body .shop-footer .soc-fb { background: #1877f2; color: #fff; }
body .shop-footer .soc-yt { background: #c00; color: #fff; }
body .shop-footer .soc-tt { background: #111; color: #fff; }
body .shop-footer .soc-sp { background: #ee4d2d; color: #fff; }
body .shop-footer .soc-tp { background: #03ac0e; color: #fff; }
body .shop-footer .soc:is(:hover, :focus) { transform: translateY(-2px); box-shadow: 2px 4px var(--ink); }
.shop-footer .footer-hours { color: #dbeafe; }
body > .shop-footer .button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 8px 13px; margin-top: 18px; border: 2px solid var(--ink); border-radius: 9px;
  box-shadow: 3px 3px var(--ink); background: var(--amber); color: var(--ink); font-family: var(--font-body); font-weight: 850;
}
body > .shop-footer .footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding-block: 16px 24px; border-top: 1px solid rgba(255, 255, 255, .35);
  font-size: .74rem; color: #dbeafe;
}
.footer-bottom a { text-decoration: underline; }

.toast {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 20px);
  z-index: 90; padding: 10px 16px; border: 2px solid var(--ink); border-radius: 10px;
  background: var(--ink); color: var(--white); font-size: .82rem; font-weight: 700;
  opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------- desktop */
@media (min-width: 700px) {
  .sf .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .categories { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  body > .shop-footer .footer-grid { grid-template-columns: 1.1fr .9fr; padding-block: 42px 34px; }
  body > .shop-header .header-row {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 45%) minmax(0, 1fr);
    gap: 16px clamp(16px, 3vw, 36px); padding-block: 24px 8px;
  }
  body > .shop-header .header-search { grid-area: 1 / 2; }
  body > .shop-header .tools { grid-area: 1 / 3; }
  body > .shop-header nav { justify-content: center; gap: 28px; font-size: .87rem; }
}
@media (min-width: 900px) {
  .sf .layout { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
  .sf .side {
    display: block;
    position: sticky;
    top: 16px;
    align-self: start;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding-inline-end: 3px;
    margin-inline-end: -3px;
  }
  .sf .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sf .checkout-grid, .sf .cart-grid { grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr); }
  .sf .product { grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: 28px; }
}

/* Foto produk: atribut height dari HTML tidak boleh memaksa tinggi 800px
   saat lebarnya mengecil. */
.sf .gallery img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.sf .gallery .thumbs img { width: 100%; height: 100%; }

/* Layout lama menyisakan padding bawah untuk tabbar yang sudah tidak dipakai. */
body.sf { padding-bottom: 0; }
@media (max-width: 899px) {
  body.sf:has(.sticky-buy) { padding-bottom: 72px; }
  .sf .sticky-buy { border-top: 2px solid var(--ink); box-shadow: 0 -4px 0 rgba(51, 51, 51, .12); }
}
.sf .gallery { align-self: start; }
body > .shop-footer .footer-brand { display: grid; justify-items: start; gap: 14px; max-width: 36ch; }
.shop-footer .footer-about { margin: 0; color: #dbeafe; font-size: .86rem; line-height: 1.55; }
@media (max-width: 699px) {
  body > .shop-header nav .nav-wa { display: none; }
}
.sf .ship-choice { display: grid; gap: 8px; }
.sf .ship-choice .pay-opt { margin: 0; }
.sf .pickup-info {
  display: grid; gap: 4px; padding: 12px 14px; border: 2px solid var(--ink);
  border-radius: 9px; background: var(--paper); font-size: .86rem;
}
.sf .pickup-info b { color: var(--royal); }
.sf .pickup-info .muted { color: var(--muted); font-size: .78rem; }
.sf .coupon-form { align-items: stretch; }
.sf .coupon-form input { height: 44px; min-height: 44px; padding: 0 12px; box-sizing: border-box; }
.sf .coupon-form .btn { height: 44px; min-height: 44px; padding: 0 14px; margin-top: 0; }
@media (max-width: 699px) {
  body > .shop-header nav {
    gap: 6px 22px; padding-right: 30px; scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent);
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent);
  }
  body > .shop-header nav a { scroll-snap-align: start; }
}
@media (min-width: 700px) {
  .sf .wrap { width: min(100% - 64px, var(--wrap)); }
}

/* Header menempel di atas saat digulir (ponsel): navigasi & pencarian selalu
   terjangkau. Ringkas otomatis 24px pertama supaya tidak memakan layar. */
@media (max-width: 899px) {
  body > .shop-header { position: sticky; top: 0; z-index: 60; }
  html { scroll-padding-top: 150px; }
  body > .shop-header.is-compact .header-row { padding-block: 8px 6px; gap: 8px 10px; }
  body > .shop-header.is-compact .brand small { display: none; }
  body > .shop-header.is-compact .logo { width: 34px; height: 34px; font-size: 1.05rem; }
  body > .shop-header.is-compact .brand strong { font-size: .94rem; }
  body > .shop-header.is-compact .header-search-field { height: 40px; }
  body > .shop-header.is-compact nav { padding-top: 2px; }
  body > .shop-header.is-compact nav a,
  body > .shop-header.is-compact .nav-item > a { min-height: 34px; }
}

/* ==========================================================================
   Halaman panduan: Cara belanja + Cek resi
   Memakai token & bahasa visual yang sama dengan beranda (border 2px,
   hard shadow, amber untuk aksi, sky untuk aksen).
   ========================================================================== */

.sf .eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 5px 9px;
  border: 2px solid var(--ink); border-radius: 5px; background: var(--sky);
  font-size: .66rem; font-weight: 900; letter-spacing: .09em;
  transform: rotate(-2deg);
}

/* --------------------------------------------------------- cara belanja */

.sf .flow-hero {
  position: relative; display: grid; gap: 26px; margin-top: 14px;
  padding: clamp(20px, 4vw, 44px);
  border: 2px solid var(--ink); border-radius: 18px;
  background:
    linear-gradient(100deg, #fff 0%, rgba(255, 255, 255, .93) 52%, rgba(255, 255, 255, 0) 86%),
    radial-gradient(rgba(31, 78, 154, .5) 1px, transparent 1px) 0 0 / 14px 14px,
    var(--paper);
  box-shadow: 5px 5px var(--ink);
}
.sf .flow-hero::before {
  content: ""; position: absolute; inset: 8px;
  border: 2px solid rgba(51, 51, 51, .08); border-radius: 12px; pointer-events: none;
}
.sf .flow-hero-copy { position: relative; z-index: 1; min-width: 0; }
.sf .flow-hero h1 {
  margin: 0 0 12px; font-size: clamp(2rem, 5.6vw, 3.7rem);
  line-height: .98; letter-spacing: -.055em;
}
.sf .flow-hero .lead { max-width: 52ch; font-size: clamp(.94rem, 1.3vw, 1.05rem); color: var(--ink-2); }
.sf .flow-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sf .flow-trust { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.sf .flow-trust li {
  padding: 5px 11px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--white); font-size: .73rem; font-weight: 750;
}
.sf .flow-trust li::before { content: "✓"; margin-right: 6px; color: var(--ok); font-weight: 900; }

.sf .flow-hero-card {
  position: relative; align-self: start; padding: 18px 18px 22px;
  border: 2px solid var(--ink); border-radius: 14px; background: var(--white);
  box-shadow: 5px 5px var(--ink); transform: rotate(1.4deg);
}
.sf .flow-tag {
  display: inline-block; padding: 4px 8px; border-radius: 4px;
  background: var(--ink); color: var(--white);
  font-size: .61rem; font-weight: 900; letter-spacing: .13em;
}
.sf .flow-mini {
  display: grid; grid-template-columns: 1fr 1fr; gap: 9px;
  list-style: none; margin: 14px 0 0; padding: 0;
}
.sf .flow-mini li {
  display: flex; align-items: center; gap: 8px; padding: 9px 10px;
  border: 2px solid var(--ink); border-radius: 9px; background: var(--paper);
  font-size: .78rem; font-weight: 750; line-height: 1.2;
}
.sf .flow-mini b { font-family: var(--font-display); font-size: .95rem; color: var(--royal); }
.sf .flow-stamp {
  position: absolute; right: -6px; bottom: -20px; padding: 6px 10px;
  border: 2px solid var(--ink); border-radius: 8px; background: var(--amber);
  box-shadow: 3px 3px var(--ink); transform: rotate(-8deg);
  font-size: .58rem; font-weight: 900; letter-spacing: .1em; line-height: 1.15; text-align: center;
}
.sf .flow-stamp b { font-size: .72rem; }

.sf .flow-block { padding-block: clamp(30px, 5vw, 54px) 0; }
.sf .flow-block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 18px; margin-bottom: 18px; }
.sf .flow-block-head h2 { margin: 0; font-size: clamp(1.5rem, 3.6vw, 2.3rem); letter-spacing: -.04em; }
.sf .flow-block-head p { margin: 0; }

.sf .step-grid { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.sf .step-card {
  display: flex; flex-direction: column; padding: 16px;
  border: 2px solid var(--ink); border-radius: 12px; background: var(--white);
  box-shadow: 3px 3px var(--ink);
}
.sf .step-no {
  display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 12px;
  border: 2px solid var(--ink); border-radius: 9px; background: var(--amber);
  box-shadow: 2px 2px var(--ink); transform: rotate(-4deg);
  font-family: var(--font-display); font-size: .92rem; font-weight: 950;
}
.sf .step-card:nth-child(even) .step-no { background: var(--sky); }
.sf .step-card h3 { margin: 0 0 6px; font-size: 1.02rem; }
.sf .step-card p { margin: 0 0 10px; font-size: .85rem; color: var(--ink-2); }
.sf .step-card a { color: var(--royal); text-decoration: underline; }
.sf .step-tip {
  margin-top: auto; padding-left: 9px; border-left: 3px solid var(--amber);
  font-size: .75rem; font-weight: 650; color: var(--muted);
}

.sf .howto-cols { display: grid; align-items: start; gap: 16px; margin: 22px 0 24px; }
.sf .panel.howto-panel,
.sf .panel.track-result,
.sf .panel.track-help { padding: 0; overflow: hidden; margin-bottom: 0; }
.sf .howto-panel > .head,
.sf .track-result > .head,
.sf .track-help > .head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px;
  padding: 11px 14px; border-bottom: 2px solid var(--ink); background: var(--paper);
}
.sf .howto-panel > .head h3,
.sf .track-result > .head h3,
.sf .track-help > .head h3 { margin: 0; font-size: .95rem; }
.sf .howto-panel > .body,
.sf .track-result > .body,
.sf .track-help > .body { padding: 14px; }
.sf .howto-badge {
  padding: 2px 8px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--white); font-size: .64rem; font-weight: 800;
}
.sf .howto-label {
  margin: 0 0 8px; font-size: .65rem; font-weight: 900; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.sf .howto-panel .bank-row { margin-bottom: 8px; border: 2px solid var(--ink); }
.sf .howto-panel .bank-row:last-of-type { margin-bottom: 0; }
.sf .howto-methods { display: grid; gap: 9px; margin-top: 14px; }
.sf .howto-method { padding: 10px 12px; border: 2px solid var(--ink); border-radius: 9px; background: var(--paper); }
.sf .howto-method b { display: block; font-size: .84rem; }
.sf .howto-method span { font-size: .78rem; color: var(--ink-2); }
.sf .howto-note {
  display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; padding: 9px 11px;
  border: 2px solid var(--ink); border-radius: 9px; background: #e9f9ee;
  font-size: .78rem; font-weight: 600;
}
.sf .chip-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 14px; padding: 0; }
.sf .chip-list li {
  padding: 4px 9px; border: 2px solid var(--ink); border-radius: 7px;
  background: var(--paper); font-size: .73rem; font-weight: 800;
}
.sf .howto-facts { display: grid; gap: 8px; margin: 0; padding-left: 18px; font-size: .84rem; color: var(--ink-2); }
.sf .howto-facts b { color: var(--ink); }

.sf .chips-fix, .sf .fix-grid { display: grid; gap: 12px; }
.sf .fix-item { padding-left: 12px; border-left: 4px solid var(--royal); }
.sf .fix-item b { display: block; font-size: .88rem; margin-bottom: 3px; }
.sf .fix-item p { margin: 0; font-size: .81rem; color: var(--muted); }
.sf .fix-item a { color: var(--royal); text-decoration: underline; }

.sf .faq-list details {
  margin-bottom: 10px; padding: 12px 14px;
  border: 2px solid var(--ink); border-radius: 10px; background: var(--white);
  box-shadow: 3px 3px var(--ink);
}
.sf .faq-list details[open] { background: var(--paper); }
.sf .faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: .88rem; font-weight: 800; cursor: pointer; list-style: none;
}
.sf .faq-list summary::-webkit-details-marker { display: none; }
.sf .faq-list summary::after {
  content: "+"; flex: none; display: grid; place-items: center;
  width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 6px;
  background: var(--amber); font-weight: 900; line-height: 1;
}
.sf .faq-list details[open] summary::after { content: "–"; }
.sf .faq-list p { margin: 9px 0 0; font-size: .83rem; color: var(--ink-2); }
.sf .faq-list a { color: var(--royal); text-decoration: underline; }

.sf .flow-cta {
  display: grid; gap: 14px; align-items: center; margin: 26px 0 30px;
  padding: clamp(18px, 3.4vw, 30px);
  border: 2px solid var(--ink); border-radius: 16px;
  background: var(--royal); color: var(--white); box-shadow: 5px 5px var(--ink);
}
.sf .flow-cta h2 { margin: 0 0 4px; font-size: clamp(1.5rem, 3.4vw, 2.1rem); letter-spacing: -.04em; }
.sf .flow-cta .small { margin: 0; color: rgba(255, 255, 255, .85); }
.sf .flow-cta .flow-actions { margin-top: 0; }
.sf .flow-cta .btn { background: var(--white); border-color: var(--ink); color: var(--ink); box-shadow: 3px 3px var(--ink); }
.sf .flow-cta .btn-primary { background: var(--amber); }

/* -------------------------------------------------------------- cek resi */

.sf .track-head { max-width: 62ch; padding: 18px 0 14px; }
.sf .track-head h1 { margin: 0 0 8px; font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -.05em; }
.sf .track-head .lead { margin: 0; font-size: .94rem; color: var(--ink-2); }

.sf .panel.track-form { margin-bottom: 16px; }
.sf .track-form .field-label { display: block; margin-bottom: 2px; font-size: .78rem; font-weight: 800; }
.sf .track-input { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.sf .track-input input { flex: 1 1 240px; min-width: 0; font-weight: 700; letter-spacing: .04em; }
.sf .track-input .btn { flex: 0 0 auto; }
.sf .track-form .hint { margin: 8px 0 0; font-size: .76rem; }
.sf .track-alert { margin: 0 0 16px; }

.sf .track-top { display: grid; gap: 10px; }
.sf .track-k { font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sf .track-code { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 3px; }
.sf .track-code b { font-size: clamp(1.15rem, 3.4vw, 1.5rem); letter-spacing: .03em; overflow-wrap: anywhere; }
.sf .track-code .copy {
  padding: 4px 9px; border: 2px solid var(--ink); border-radius: 7px;
  background: var(--amber); box-shadow: 2px 2px var(--ink);
  font-size: .68rem; font-weight: 900; cursor: pointer;
}
.sf .track-sub { display: block; margin-top: 6px; font-size: .75rem; color: var(--muted); }
.sf .track-sub a { color: var(--royal); font-weight: 700; text-decoration: underline; }


.sf .track-note {
  display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 9px 11px;
  border: 2px solid var(--ink); border-radius: 9px; background: #fff5dc; font-size: .78rem;
}
.sf .track-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 2px dashed #cbd5e1; }

.sf .track-help-grid { display: grid; gap: 16px; margin-top: 16px; }
.sf .track-help .btn-block { margin-top: 10px; }
.sf .courier-links { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 10px 0 0; padding: 0; }
.sf .courier-links a {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px;
  border: 2px solid var(--ink); border-radius: 7px; background: var(--paper);
  font-size: .75rem; font-weight: 800;
}
.sf .courier-links a:hover { background: var(--amber); }

@media (max-width: 560px) {
  .sf .track-actions { display: grid; grid-template-columns: 1fr; }
  .sf .track-actions .btn { width: 100%; }
}
@media (min-width: 620px) {
  .sf .step-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 860px) {
  .sf .howto-cols,
  .sf .track-help-grid { grid-template-columns: 1fr 1fr; }
  .sf .flow-cta { grid-template-columns: 1fr auto; }
  .sf .fix-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (min-width: 900px) {
  .sf .flow-hero { grid-template-columns: 1.25fr .75fr; align-items: start; }
}
@media (min-width: 1060px) {
  .sf .step-grid { grid-template-columns: repeat(4, 1fr); }
  .sf .step-card { padding: 18px 16px 16px; }
}

/* Baris resi di halaman pesanan pembeli: hanya salin + tautan kurir. */
.sf .resi-pill {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 10px; padding: 8px 10px;
  border: 2px solid var(--ink); border-radius: 9px; background: var(--paper);
}
.sf .resi-pill .resi-k {
  font-size: .6rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.sf .resi-pill b { font-size: .86rem; letter-spacing: .02em; overflow-wrap: anywhere; }
.sf .resi-pill .copy {
  padding: 3px 8px; border: 2px solid var(--ink); border-radius: 6px;
  background: var(--amber); box-shadow: 2px 2px var(--ink);
  font-size: .66rem; font-weight: 900; cursor: pointer;
}
.sf .resi-pill a { margin-left: auto; font-size: .76rem; font-weight: 800; color: var(--royal); text-decoration: underline; }

/* Kartu "Cara bayar" di halaman pesanan: QRIS dan transfer memakai urutan
   blok yang sama (nominal → alat bayar → alternatif → batas waktu). */
.sf .pay-box .bank-alt.first { margin-top: 14px; padding-top: 0; border-top: 0; }
.sf .pay-box .bank-alt .qris { margin-top: 8px; }
.sf .pay-box .bank-alt .bank-row:first-of-type { margin-top: 8px; }
.sf .pay-box .qris-live { margin-top: 14px; }
body > .shop-header .nav-custom .nav-item.open > a,
body > .shop-header .nav-custom .nav-item > a:hover { color: var(--royal); }
/* Keterangan QRIS di kartu bayar rata kiri, sejajar label blok. */
.sf .pay-box .bank-alt .qris { text-align: left; }


/* ---------------------------------------------- pengiriman & retur (doc) */
/* Halaman /halaman/pengiriman: kartu ringkasan di hero, daftar isi yang
   menempel di kiri saat layar lebar, lalu bagian bernomor. Semua memakai
   bahasa visual sticker pop yang sama dengan /cara-belanja. */
.sf .pg-kv { display: grid; gap: 8px; margin: 14px 0 0; }
.sf .pg-kv > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding-bottom: 7px; border-bottom: 2px dashed rgba(51, 51, 51, .2);
}
.sf .pg-kv > div:last-child { border-bottom: 0; padding-bottom: 0; }
.sf .pg-kv dt { font-size: .6rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.sf .pg-kv dd { margin: 0; font-family: var(--font-display); font-size: .92rem; font-weight: 900; text-align: right; }

.sf .doc-layout { display: grid; gap: 18px; margin: clamp(22px, 4vw, 36px) 0 0; align-items: start; }
.sf .doc-layout.doc-wide .doc-body { max-width: none; }
.sf .doc-body > [id] { scroll-margin-top: 16px; }
.sf .doc-body .flow-block { padding-block: 0; }
.sf .doc-body .howto-cols { margin: 0; }
.sf .doc-toc {
  padding: 11px; border: 2px solid var(--ink); border-radius: 12px;
  background: var(--white); box-shadow: 3px 3px var(--ink);
}
.sf .doc-toc h2 {
  margin: 0 0 6px; padding: 0 9px; font-family: var(--font-body);
  font-size: .62rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
}
.sf .doc-toc ol { counter-reset: toc; list-style: none; display: grid; gap: 2px; margin: 0; padding: 0; }
.sf .doc-toc li { counter-increment: toc; }
.sf .doc-toc a { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 9px; border-radius: 7px; font-size: .8rem; font-weight: 750; line-height: 1.25; }
/* Halaman yang punya penomoran sendiri (langkah 01–04) memakai titik, bukan angka. */
.sf .doc-toc.plain li { counter-increment: none; }
.sf .doc-toc.plain a::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: var(--royal); box-shadow: 1px 1px 0 var(--ink);
}
.sf .doc-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-display); font-size: .65rem; font-weight: 900; color: var(--royal); }
.sf .doc-toc a:hover { background: var(--brand-soft); }

.sf .doc-body { display: grid; gap: 18px; min-width: 0; max-width: 880px; }
.sf .doc-sec {
  scroll-margin-top: 16px; padding: clamp(16px, 2.5vw, 26px);
  border: 2px solid var(--ink); border-radius: 16px; background: var(--white);
  box-shadow: 4px 4px var(--ink);
}
.sf .doc-sec > h2 {
  display: flex; align-items: flex-start; gap: 10px; margin: 0;
  font-size: clamp(1.18rem, 2.6vw, 1.55rem); letter-spacing: -.03em;
}
.sf .doc-h { min-width: 0; }
.sf .doc-no {
  display: inline-grid; place-items: center; min-width: 34px; height: 30px; padding: 0 6px;
  border: 2px solid var(--ink); border-radius: 8px; background: var(--amber);
  box-shadow: 2px 2px var(--ink); transform: rotate(-4deg);
  font-family: var(--font-display); font-size: .76rem; font-weight: 950; letter-spacing: .02em;
}
.sf .doc-sec:nth-of-type(even) .doc-no { background: var(--sky); }

.sf .doc-lead { margin: 10px 0 0; font-size: .88rem; color: var(--ink-2); }
.sf .doc-rows { display: grid; margin: 14px 0 0; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; }
.sf .doc-row { display: grid; gap: 2px; padding: 10px 12px; background: var(--white); }
.sf .doc-row:nth-child(odd) { background: var(--paper); }
.sf .doc-row + .doc-row { border-top: 1px solid rgba(51, 51, 51, .16); }
.sf .doc-row b { font-size: .82rem; }
.sf .doc-row span { font-size: .83rem; color: var(--ink-2); }
.sf .doc-note {
  display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; padding: 9px 11px;
  border: 2px solid var(--ink); border-radius: 9px; background: #e9f9ee;
  font-size: .78rem; font-weight: 600;
}
.sf .doc-note.warn { background: #fff6e5; }
.sf .doc-note svg { flex: none; margin-top: 1px; }
.sf .doc-note span { min-width: 0; }

.sf .doc-list { display: grid; gap: 8px; list-style: none; margin: 12px 0 0; padding: 0; }
.sf .doc-list li { position: relative; padding-left: 26px; font-size: .83rem; color: var(--ink-2); }
.sf .doc-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center;
  width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 5px;
  background: #e9f9ee; color: var(--ok); font-size: .6rem; font-weight: 900;
}
.sf .doc-list.no li::before { content: "×"; background: #fdecea; color: var(--sale); }
.sf .doc-muted { margin: 8px 0 0; font-size: .79rem; color: var(--ink-2); }

.sf .doc-pickup {
  margin-top: 14px; padding: 12px; border: 2px solid var(--ink); border-radius: 10px;
  background: var(--paper); box-shadow: 3px 3px var(--ink);
}
.sf .doc-pickup-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 900; }
.sf .doc-pickup p { margin: 6px 0 0; font-size: .82rem; color: var(--ink-2); }
.sf .doc-pickup .doc-pickup-addr { margin-top: 6px; padding-top: 6px; border-top: 1px dashed rgba(51, 51, 51, .28); font-size: .78rem; color: var(--ink-2); }

.sf .doc-cards { display: grid; gap: 10px; margin-top: 14px; }
.sf .doc-card { padding: 11px 12px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper); }
.sf .doc-card b { display: block; font-size: .84rem; }
.sf .doc-card p { margin: 4px 0 0; font-size: .82rem; color: var(--ink-2); }

.sf .doc-badge {
  display: inline-flex; align-items: center; gap: 7px; margin: 12px 0 0; padding: 5px 11px;
  border: 2px solid var(--ink); border-radius: 999px; background: var(--amber);
  box-shadow: 2px 2px var(--ink); font-size: .72rem; font-weight: 850;
}
.sf .doc-cols { display: grid; gap: 12px; margin-top: 14px; }
.sf .doc-col { padding: 11px 12px; border: 2px solid var(--ink); border-radius: 10px; background: var(--white); }
.sf .doc-col.ok { border-left: 6px solid var(--ok); }
.sf .doc-col.no { border-left: 6px solid var(--sale); }
.sf .doc-col > b { display: block; font-size: .8rem; letter-spacing: .01em; }
.sf .doc-col .doc-list { margin-top: 8px; }
.sf .doc-col .doc-list li { font-size: .79rem; }

.sf .doc-sub { margin-top: 16px; }
.sf .doc-sub-title { font-size: .8rem; }
.sf .doc-ol { display: grid; gap: 6px; margin: 8px 0 0; padding-left: 18px; font-size: .82rem; color: var(--ink-2); }
.sf .doc-ol li::marker { font-weight: 800; color: var(--royal); }

.sf .doc-facts { display: grid; gap: 9px; margin-top: 14px; }
.sf .doc-fact { padding: 10px 12px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper); }
.sf .doc-fact b { display: block; font-size: .6rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.sf .doc-fact span { display: block; margin-top: 3px; font-size: .85rem; font-weight: 650; }

.sf .doc-steps { display: grid; gap: 11px; list-style: none; margin: 14px 0 0; padding: 0; counter-reset: none; }
.sf .doc-steps li { padding: 13px; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); box-shadow: 3px 3px var(--ink); }
.sf .doc-steps li b { display: block; margin-top: 8px; font-size: .88rem; }
.sf .doc-steps li p { margin: 3px 0 0; font-size: .8rem; color: var(--ink-2); }
.sf .doc-step-no {
  display: inline-grid; place-items: center; width: 30px; height: 28px;
  border: 2px solid var(--ink); border-radius: 7px; background: var(--amber);
  font-family: var(--font-display); font-size: .72rem; font-weight: 950;
}
.sf .doc-steps li:nth-child(even) .doc-step-no { background: var(--sky); }

@media (min-width: 640px) {
  .sf .doc-row { grid-template-columns: 180px minmax(0, 1fr); gap: 12px; align-items: baseline; }
  .sf .doc-cards { grid-template-columns: repeat(3, 1fr); }
  .sf .doc-facts { grid-template-columns: 1fr 1fr; }
  .sf .doc-cols { grid-template-columns: 1fr 1fr; }
  .sf .doc-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .sf .doc-layout { grid-template-columns: 226px minmax(0, 1fr); gap: 24px; }
  .sf .doc-toc { position: sticky; top: 14px; }
  .sf .doc-toc ol { display: grid; gap: 1px; }
  .sf .doc-toc a { padding: 8px 9px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
