/* AAKAAR · app shell and mobile-first patterns
 * Loaded after components.css. Phone layout is the default; wider screens
 * progressively enhance. Safe-area insets support notched phones in
 * installed (PWA) mode. */

:root {
  --ak-tabbar-h: 64px;
  --ak-safe-b: env(safe-area-inset-bottom, 0px);
  --ak-ease: cubic-bezier(.2, .7, .2, 1);
  --ak-ease-out: cubic-bezier(.16, 1, .3, 1);
  --ak-radius-xl: var(--ak-radius-lg);
  --ak-shadow-card: var(--ak-shadow-xs);
  --ak-shadow-lift: var(--ak-shadow-sm);
}

/* ---------- Demo notice (replaces the old prototype banner) ---------- */
.ak-demo-banner { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 6px 12px; background: var(--ak-sample-bg); border-bottom: 1px solid #EFE4D2; color: var(--ak-sample-fg); font-size: .78rem; line-height: 1.3; }
.ak-demo-banner i { margin-right: 4px; }
.ak-demo-link, .ak-demo-close { border: 0; background: transparent; color: inherit; padding: 4px 6px; border-radius: 6px; font-weight: 600; min-height: 32px; }
.ak-demo-link { text-decoration: underline; text-underline-offset: 2px; }
.ak-demo-close:hover, .ak-demo-link:hover { background: rgba(90,67,37,.08); }

/* ---------- Bottom tab bar (phones and small tablets) ---------- */
.ak-tabbar { display: none; }
@media (max-width: 991.98px) {
  body.has-tabbar { padding-bottom: calc(var(--ak-tabbar-h) + var(--ak-safe-b)); }
  .ak-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; height: calc(var(--ak-tabbar-h) + var(--ak-safe-b)); padding: 6px 6px var(--ak-safe-b); background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-top: 1px solid rgba(23,33,29,.08); }
  .ak-tab-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: var(--ak-radius-card); color: #6B746F; font-size: .68rem; font-weight: 600; letter-spacing: .01em; text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .ak-tab-ico { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 30px; border-radius: var(--ak-radius-card); font-size: 1.2rem; transition: background-color .25s var(--ak-ease), transform .2s var(--ak-ease); }
  .ak-tab-item.active { color: var(--ak-green); }
  .ak-tab-item.active .ak-tab-ico { background: var(--ak-muted-green); }
  .ak-tab-item:active .ak-tab-ico { transform: scale(.9); }
  .ak-tab-badge { position: absolute; top: -2px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--ak-green); color: #fff; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
  /* Tab bar replaces the floating CTA bar position */
  body.has-tabbar .ak-mobile-cta { bottom: calc(var(--ak-tabbar-h) + var(--ak-safe-b)); }
  body.has-tabbar .ak-toast-zone { bottom: calc(var(--ak-tabbar-h) + var(--ak-safe-b) + 16px); }
}

/* ---------- Compact app bar on phones ---------- */
@media (max-width: 767.98px) {
  :root { --ak-header-h: 60px; }
  .ak-header { -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); background: rgba(255,255,255,.9); }
  .ak-header-main { height: var(--ak-header-h); gap: 12px; }
  .ak-icon-act-label { display: none; }
  .ak-header .ak-logo svg { width: 28px; height: 28px; }
  .ak-header .ak-icon-btn { width: 40px; height: 40px; min-height: 40px; }
  .ak-header .ak-mobile-only[data-bs-toggle="offcanvas"] { border: 0; }
}

/* ---------- Footer: collapsible groups on phones ---------- */
.ak-fgroup summary { list-style: none; cursor: default; }
.ak-fgroup summary::-webkit-details-marker { display: none; }
.ak-fgroup summary h2 { display: inline; }
@media (max-width: 767.98px) {
  .ak-footer .row { --bs-gutter-y: 0; }
  .ak-fgroup { border-bottom: 1px solid #2C5A4C; }
  .ak-fgroup summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
  .ak-fgroup summary::after { content: "\f282"; font-family: "bootstrap-icons"; transition: transform .25s var(--ak-ease); }
  .ak-fgroup[open] summary::after { transform: rotate(180deg); }
  .ak-fgroup ul { padding-bottom: 14px; }
  .ak-footer-main { padding-top: 32px; padding-bottom: 24px; }
}

/* ---------- Cards: softer, app-like ---------- */
.ak-card, .ak-panel, .ak-vendor-row, .ak-kpi { box-shadow: var(--ak-shadow-card); }
.ak-card { border-radius: var(--ak-radius-card); }
.ak-panel { border-radius: var(--ak-radius-card); }
@media (hover: hover) {
  a.ak-card, .ak-card.is-link, article.ak-card { transition: box-shadow .2s ease, border-color .2s ease; }
  a.ak-card:hover, article.ak-card:hover { box-shadow: var(--ak-shadow-sm); border-color: #C9D3CC; }
  .ak-card .ak-img-wrap, a.ak-card { overflow: hidden; }
}

/* ---------- Swipe carousels on phones (grids become horizontal rails) ---------- */
@media (max-width: 767.98px) {
  .ak-rail { display: flex !important; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin-inline: -16px; padding: 4px 16px 14px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .ak-rail::-webkit-scrollbar { display: none; }
  .ak-rail > * { flex: 0 0 82%; max-width: 340px; scroll-snap-align: start; }
  .ak-rail.sm > * { flex-basis: 66%; max-width: 260px; }
  .ak-rail.row { --bs-gutter-x: 0; }
  .ak-rail.row > * { padding: 0; width: auto; }
  .ak-section-head { margin-bottom: 18px; }
  .ak-section-head .ak-h2 { font-size: 1.55rem; }
}

/* ---------- Hero on phones ---------- */
@media (max-width: 767.98px) {
  .ak-trust { flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .ak-trust::-webkit-scrollbar { display: none; }
  .ak-trust li { flex: 0 0 auto; padding: 8px 12px; background: #fff; border: 1px solid var(--ak-border); border-radius: var(--ak-radius-sm); font-size: .78rem; }
  .ak-trust li br { display: none; }
  .ak-trust i { font-size: 1rem; }
  .ak-hero-ctas { display: grid !important; grid-template-columns: 1fr 1fr; }
  .ak-hero-ctas .btn { padding-inline: 10px; font-size: .95rem; }
  .ak-search { margin-top: 20px !important; padding: 0 16px; }
  .ak-search-card { border-radius: var(--ak-radius-card); padding: 16px; }
  .ak-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--ak-warm); border-radius: var(--ak-radius-card); margin-bottom: 16px; }
  .ak-tab { height: 40px; padding: 0 6px; font-size: .78rem; gap: 6px; background: transparent; border-radius: 9px; flex: auto; }
  .ak-tab i { display: none; }
  .ak-tab[aria-selected="true"] { background: #fff; color: var(--ak-green); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
  .ak-chips-rail { flex-wrap: nowrap !important; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .ak-chips-rail::-webkit-scrollbar { display: none; }
  .ak-chips-rail .ak-chip { flex: 0 0 auto; }
}

/* ---------- Bottom sheet (Bootstrap offcanvas-bottom) ---------- */
.offcanvas-bottom.ak-sheet { height: auto; max-height: 88vh; border-radius: var(--ak-radius-lg) var(--ak-radius-lg) 0 0; border: 0; padding-bottom: var(--ak-safe-b); }
.ak-sheet .ak-sheet-handle { width: 40px; height: 5px; border-radius: 3px; background: #D6D2C8; margin: 8px auto 0; }
.ak-sheet .offcanvas-body { overflow-y: auto; }

/* ---------- Tables become cards on phones (opt-in: .ak-stack) ---------- */
@media (max-width: 767.98px) {
  .ak-table-wrap:has(.ak-stack) { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .ak-table.ak-stack { min-width: 0 !important; }
  .ak-table.ak-stack thead { display: none; }
  .ak-table.ak-stack, .ak-table.ak-stack tbody { display: block; }
  .ak-table.ak-stack tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 16px; margin-bottom: 12px; background: #fff; border: 1px solid var(--ak-border); border-radius: var(--ak-radius-card); box-shadow: var(--ak-shadow-card); }
  .ak-table.ak-stack td { display: block; padding: 0; border: 0; }
  .ak-table.ak-stack td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ak-body); font-weight: 600; margin-bottom: 2px; }
  .ak-table.ak-stack td:last-child { grid-column: 1 / -1; }
  .ak-table.ak-stack td:last-child .btn { width: 100%; }
  .ak-table-wrap:has(.ak-stack) .ak-pager { background: #fff; border-radius: var(--ak-radius-card); border: 1px solid var(--ak-border); }
}

/* ---------- Dashboard as an app on phones (customer) ---------- */
@media (max-width: 991.98px) {
  body[data-role="customer"] .ak-topbar .ak-search-input { display: none; }
  body[data-role="customer"] .ak-topbar { min-height: 60px; padding: 8px 16px; }
  body[data-role="customer"] .ak-topbar .btn-primary { display: none; }
  .ak-page-head h1 { font-size: 1.45rem; }
}
.ak-hello { position: relative; overflow: hidden; border-radius: var(--ak-radius-card); padding: 22px; color: #fff; background: var(--ak-green); }
.ak-hello h1 { color: #fff; font-family: var(--ak-font-title); font-weight: 700; letter-spacing: -0.02em; font-size: 1.7rem; margin: 0 0 4px; }
.ak-hello p { margin: 0; color: #CFE0D7; font-size: .9rem; }

.ak-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ak-quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: var(--ak-radius-card); background: #fff; border: 1px solid var(--ak-border); text-decoration: none; color: var(--ak-ink); font-size: .74rem; font-weight: 600; text-align: center; box-shadow: var(--ak-shadow-card); transition: transform .2s var(--ak-ease); }
.ak-quick a i { width: 40px; height: 40px; border-radius: var(--ak-radius-card); display: inline-flex; align-items: center; justify-content: center; background: var(--ak-muted-green); color: var(--ak-green); font-size: 1.15rem; }
.ak-quick a:active { transform: scale(.96); }
.ak-kpis.app { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .ak-kpis.app { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ak-list-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--ak-border); border-radius: var(--ak-radius-card); text-decoration: none; color: var(--ak-ink); box-shadow: var(--ak-shadow-card); }
.ak-list-card + .ak-list-card { margin-top: 10px; }
.ak-list-card .ak-lc-ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: var(--ak-radius-card); background: var(--ak-muted-green); color: var(--ak-green); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.ak-list-card .ak-lc-body { flex: 1; min-width: 0; }
.ak-list-card .ak-lc-body b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ak-menu-list { background: #fff; border: 1px solid var(--ak-border); border-radius: var(--ak-radius-card); overflow: hidden; box-shadow: var(--ak-shadow-card); }
.ak-menu-list a, .ak-menu-list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; min-height: 52px; border: 0; background: none; text-align: left; color: var(--ak-ink); text-decoration: none; font-weight: 500; }
.ak-menu-list > * + * { border-top: 1px solid var(--ak-border); }
.ak-menu-list i.bi:first-child { width: 22px; color: var(--ak-green); font-size: 1.1rem; }
.ak-menu-list .bi-chevron-right { margin-left: auto; color: #A9A598; }
.ak-quote-cards { display: none; }
@media (max-width: 767.98px) {
  .ak-quote-cards { display: flex; }
  .ak-compare-wrap { display: none; }
}
.ak-qcard { background: #fff; border: 1px solid var(--ak-border); border-radius: var(--ak-radius-card); padding: 18px; box-shadow: var(--ak-shadow-card); display: flex; flex-direction: column; gap: 10px; }
.ak-qcard.is-short { border-color: var(--ak-green); }
.ak-qcard .ak-qtotal { font-family: var(--ak-font-title); font-size: 1.6rem; font-weight: 800; }
.ak-qcard dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: .85rem; }
.ak-qcard dt { color: var(--ak-body); font-weight: 500; }
.ak-qcard dd { margin: 0; text-align: right; }

/* ---------- Touch comfort ---------- */
@media (pointer: coarse) {
  .btn-sm { min-height: 40px; }
  .form-check-input { width: 1.3em; height: 1.3em; }
  .ak-filters .form-check { min-height: 32px; display: flex; align-items: center; gap: 8px; }
}
html { -webkit-tap-highlight-color: transparent; }
@media (max-width: 767.98px) {
  .ak-steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .ak-steps-row li { font-size: .85rem; }
  .ak-step-ico { width: 52px; height: 52px; }
  #home-testimonials > * { flex-basis: 86%; }
  .ak-vendor-row .ak-img-wrap { flex-basis: 100%; }
  .ak-vendor-row .ak-img-wrap img { min-height: 0; height: 180px; }
}

/* ---------- Auth screens (login, register) ---------- */
.ak-auth-page .ak-header, .ak-auth-page .ak-footer, .ak-auth-page .ak-tabbar, .ak-auth-page .ak-demo-banner { display: none !important; }
.ak-auth-page { padding-bottom: 0 !important; background: #fff; }
.ak-auth { display: grid; grid-template-columns: 1fr; min-height: 100vh; min-height: 100dvh; }
.ak-auth-visual { position: relative; overflow: hidden; height: 120px; }
.ak-auth-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ak-auth-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,51,41,.25) 0%, rgba(14,51,41,.55) 60%, rgba(14,51,41,.85) 100%); }
.ak-auth-visual-copy { display: none; position: absolute; left: 56px; right: 56px; bottom: 56px; z-index: 1; color: #fff; }
.ak-auth-quote { font-family: var(--ak-font-title); font-weight: 700; letter-spacing: -0.02em; font-size: 2.2rem; line-height: 1.15; margin: 10px 0 20px; color: #fff; }
.ak-auth-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; color: #DCE9E2; }
.ak-auth-points i { margin-right: 10px; color: #9FD3B0; }
.ak-auth-panel { position: relative; z-index: 2; margin-top: -28px; background: #fff; border-radius: var(--ak-radius-lg) var(--ak-radius-lg) 0 0; padding: 12px 20px calc(32px + var(--ak-safe-b)); display: flex; justify-content: center; animation: ak-rise .55s var(--ak-ease-out) both; }
.ak-auth-panel::before { content: ""; position: absolute; top: 10px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: #E2DED5; }
.ak-auth-card { width: 100%; max-width: 420px; padding-top: 18px; }
.ak-auth-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.ak-auth-back { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--ak-radius-card); border: 1px solid var(--ak-border); color: var(--ak-ink); font-size: 1.15rem; text-decoration: none; }
.ak-auth-back:hover { background: var(--ak-warm); color: var(--ak-ink); }
.ak-auth-title { font-family: var(--ak-font-title); font-weight: 700; font-size: 2rem; line-height: 1.15; margin-bottom: 6px; letter-spacing: -0.02em; }
.ak-segmented { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: var(--ak-warm); border-radius: var(--ak-radius-card); }
.ak-segmented button { position: relative; z-index: 1; border: 0; background: transparent; min-height: 44px; border-radius: var(--ak-radius-sm); font-weight: 600; font-size: .92rem; color: var(--ak-body); transition: color .25s; }
.ak-segmented button[aria-selected="true"] { color: var(--ak-green); }
.ak-seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: var(--ak-radius-sm); background: #fff; box-shadow: 0 1px 3px rgba(23,33,29,.12); transition: transform .35s var(--ak-ease-out); }
.ak-segmented[data-active="1"] .ak-seg-pill { transform: translateX(100%); }
.ak-otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.ak-otp input { height: 58px; min-height: 58px; padding: 0; text-align: center; font-size: 1.5rem !important; font-weight: 700; border-radius: var(--ak-radius-card); border-width: 1.5px; caret-color: var(--ak-green); }
.ak-otp input:focus { border-color: var(--ak-green); box-shadow: 0 0 0 4px rgba(18,63,50,.12); }
.ak-otp input.filled { border-color: var(--ak-green); background: #F7FAF7; }
.ak-otp.is-invalid input { border-color: var(--ak-danger); }
.ak-pw { position: relative; }
.ak-pw .form-control { padding-right: 52px; }
.ak-pw-toggle { position: absolute; right: 4px; top: 4px; width: 44px; height: calc(100% - 8px); max-height: 46px; border: 0; background: transparent; color: var(--ak-body); border-radius: 8px; font-size: 1.1rem; }
.ak-pw-toggle:hover { color: var(--ak-ink); background: var(--ak-warm); }
.ak-pw .invalid-feedback { position: static; }
.ak-strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.ak-strength span { height: 4px; border-radius: 2px; background: var(--ak-border); transition: background-color .3s; }
.ak-strength[data-level="1"] span:nth-child(-n+1) { background: var(--ak-danger); }
.ak-strength[data-level="2"] span:nth-child(-n+2) { background: #C77C1E; }
.ak-strength[data-level="3"] span:nth-child(-n+3) { background: #5E9C3F; }
.ak-strength[data-level="4"] span { background: var(--ak-success); }
.ak-demo-hint { font-size: .8rem; color: var(--ak-sample-fg); background: var(--ak-sample-bg); border: 1px dashed #E1D2B8; border-radius: var(--ak-radius-sm); padding: 8px 12px; }
.ak-pill-note { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--ak-radius-sm); background: var(--ak-muted-green); color: var(--ak-green); font-size: .8rem; font-weight: 700; }
.ak-auth-partner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; padding-top: 18px; border-top: 1px solid var(--ak-border); font-size: .85rem; color: var(--ak-body); }
.ak-auth-partner .collapse, .ak-auth-partner .collapsing { flex-basis: 100%; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: ak-spin .7s linear infinite; }
@keyframes ak-spin { to { transform: rotate(360deg); } }
@media (min-width: 992px) {
  .ak-auth { grid-template-columns: 1.05fr 1fr; }
  .ak-auth-visual { height: auto; max-height: none; min-height: 100vh; }
  .ak-auth-visual-copy { display: block; }
  .ak-auth-panel { margin: 0; border-radius: 0; align-items: center; padding: 48px; }
  .ak-auth-panel::before { display: none; }
  .ak-auth-card { padding-top: 0; }
  .ak-auth-title { font-size: 2.4rem; }
}

/* ---------- Project (portfolio) details ---------- */
.ak-round-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.92); color: var(--ak-ink); font-size: 1.05rem; box-shadow: 0 2px 10px rgba(0,0,0,.12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-decoration: none; transition: transform .15s var(--ak-ease); }
.ak-round-btn:hover { color: var(--ak-green); }
.ak-round-btn:active { transform: scale(.92); }
.ak-save-btn[aria-pressed="true"] i::before, .ak-round-btn[aria-pressed="true"] i::before { content: "\f415"; color: #C2410C; }
.ak-pd-hero { position: relative; }
.ak-pd-topbar { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 3; display: flex; justify-content: space-between; }
.ak-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; height: min(62vh, 460px); background: var(--ak-beige); }
.ak-gallery::-webkit-scrollbar { display: none; }
.ak-gallery figure { flex: 0 0 100%; margin: 0; scroll-snap-align: center; position: relative; }
.ak-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ak-gallery-ui { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.ak-gallery-count { padding: 3px 10px; border-radius: var(--ak-radius-xs); background: rgba(23,33,29,.6); color: #fff; font-size: .75rem; font-weight: 600; }
.ak-dots { display: flex; gap: 6px; }
.ak-dots span { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.55); transition: width .3s var(--ak-ease), background-color .3s; }
.ak-dots span.on { width: 18px; background: #fff; }
.ak-mosaic { display: none; }
.ak-pd-sheet { position: relative; z-index: 2; margin: -24px -16px 0; padding: 22px 16px 40px; background: var(--ak-warm); border-radius: var(--ak-radius-lg) var(--ak-radius-lg) 0 0; }
.ak-pd-crumbs { display: none; }
.ak-pd-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--ak-body); font-size: .9rem; }
.ak-pd-meta i { color: var(--ak-green); margin-right: 4px; }
.ak-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.ak-fact { display: flex; gap: 12px; align-items: center; padding: 14px; background: #fff; border: 1px solid var(--ak-border); border-radius: var(--ak-radius-card); box-shadow: var(--ak-shadow-card); }
.ak-fact i { width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--ak-radius-card); background: var(--ak-muted-green); color: var(--ak-green); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.ak-fact span { display: block; font-size: .72rem; color: var(--ak-body); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.ak-fact b { display: block; font-size: .95rem; line-height: 1.3; }
.ak-scope { list-style: none; padding: 0; margin: 0; counter-reset: sc; display: flex; flex-direction: column; }
.ak-scope li { counter-increment: sc; position: relative; padding: 0 0 18px 48px; }
.ak-scope li::before { content: counter(sc); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--ak-green); color: #fff; font-weight: 700; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; }
.ak-scope li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 32px; bottom: 2px; width: 2px; background: #CFDDD4; }
.ak-scope b { display: block; }
.ak-scope span { color: var(--ak-body); font-size: .88rem; }
.ak-mat { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--ak-radius-sm); background: #fff; border: 1px solid var(--ak-border); font-size: .88rem; }
.ak-mat::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sw, #C9B79C); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.ak-cta-panel { background: radial-gradient(120% 140% at 100% 0%, #2A6B57 0%, var(--ak-green) 60%, #0E3329 100%); border: 0; color: #fff; }
.ak-pro-card .ak-logo-badge { width: 56px; height: 56px; }
.ak-pd-page .ak-header { position: relative; }
@media (max-width: 991.98px) {
  .ak-pd-page .ak-header { display: none; }
  .ak-pd-page .ak-demo-banner { display: none !important; }
}
@media (min-width: 992px) {
  .ak-pd-topbar, .ak-gallery, .ak-gallery-ui { display: none; }
  .ak-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 10px; padding-top: 24px; }
  .ak-mosaic button { position: relative; border: 0; padding: 0; border-radius: var(--ak-radius-card); overflow: hidden; background: var(--ak-beige); cursor: zoom-in; }
  .ak-mosaic button:first-child { grid-row: span 2; }
  .ak-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ak-ease); }
  .ak-mosaic button:hover img { transform: scale(1.04); }
  .ak-mosaic .ak-more { position: absolute; right: 14px; bottom: 14px; padding: 8px 14px; border-radius: var(--ak-radius-sm); background: #fff; font-weight: 600; font-size: .85rem; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
  .ak-pd-sheet { margin: 0; padding: 20px 0 64px; background: transparent; border-radius: 0; }
  .ak-pd-crumbs { display: block; margin-bottom: 14px; }
  .ak-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Lightbox */
.ak-lightbox .modal-content { background: #0B1310; color: #fff; }
.ak-lb-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px calc(14px); font-size: .9rem; }
.ak-lb-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ak-lb-track::-webkit-scrollbar { display: none; }
.ak-lb-track figure { flex: 0 0 100%; margin: 0; display: flex; align-items: center; justify-content: center; scroll-snap-align: center; padding: 64px 16px; }
.ak-lb-track img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.ak-lb-nav { position: absolute; top: 50%; margin-top: -21px; z-index: 3; }
.ak-lb-nav.prev { left: 16px; } .ak-lb-nav.next { right: 16px; }
@media (pointer: coarse) { .ak-lb-nav { display: none; } }
.ak-fact > div { min-width: 0; }
.ak-fact b { overflow-wrap: anywhere; }
@media (min-width: 992px) { .ak-mosaic { grid-template-columns: 2fr 1fr; } }
@media (max-width: 767.98px) { .ak-view-toggle { display: none !important; } #fp-sort { flex: 1; } }
.ak-topbar-brand { display: none; }
@media (max-width: 991.98px) {
  body[data-role="customer"] .ak-side-toggle { display: none; }
  body[data-role="customer"] .ak-topbar-brand { display: inline-flex; }
  body[data-role="customer"] .ak-topbar { position: sticky; -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); background: rgba(255,255,255,.9); }
}
/* Customer messages: list first, conversation slides in on phones */
.ak-chat-back { display: none; }
@media (max-width: 767.98px) {
  .ak-chat .ak-chat-list { max-width: none !important; }
  .ak-chat:not([data-open]) .ak-chat-thread { display: none !important; }
  .ak-chat[data-open] .ak-chat-list { display: none; }
  .ak-chat[data-open] .ak-chat-thread { animation: ak-slide-in-r .3s var(--ak-ease, ease) both; min-height: calc(100dvh - 260px) !important; }
  .ak-chat .ak-chat-back { display: inline-flex; width: 36px; height: 36px; }
}
