/* Alya Hotel System — single-page documentation portal.
   Isolated under .adp-portal. No booking/Stripe CSS. No CDN. */

.adp-portal {
  --adp-teal: #1b4845;
  --adp-teal-2: #2a6b66;
  --adp-bronze: #c4a574;
  --adp-ink: #000e19;
  --adp-muted: #475259;
  --adp-canvas: #ecf2f8;
  --adp-paper: #f8fafc;
  --adp-line: #e4e5e7;
  --adp-side: 272px;
  --adp-font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --adp-shadow: 0 18px 40px rgba(0, 14, 25, 0.1);
  --adp-glass: rgba(255, 255, 255, 0.72);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: var(--adp-side) minmax(0, 1fr) 56px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--adp-ink);
  font-family: var(--adp-font);
  background: var(--adp-canvas);
  line-height: 1.55;
  isolation: isolate;
  position: relative;
  z-index: 2;
}

.adp-portal *,
.adp-portal *::before,
.adp-portal *::after {
  box-sizing: border-box;
}

body.alya-docs-page .adp-portal {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.adp-portal.adp-has-sidebar {
  min-height: 70vh;
}

.adp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.adp-menu-btn {
  display: none;
  position: sticky;
  top: 8px;
  z-index: 30;
  margin: 8px 12px;
  background: var(--adp-teal);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font: 600 0.9rem var(--adp-font);
  cursor: pointer;
}

.adp-sidebar {
  background: linear-gradient(180deg, var(--adp-teal) 0%, #123330 100%);
  color: #fff;
  padding: 22px 14px 48px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
}

.adp-side-brand {
  margin-bottom: 18px;
}

.adp-side-brand strong {
  display: block;
  font-size: 1.05rem;
}

.adp-side-brand small {
  color: var(--adp-bronze);
}

.adp-kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--adp-bronze);
  margin: 0 0 4px;
}

.adp-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.adp-nav a {
  color: #e3ecea;
  text-decoration: none;
  font-size: 0.86rem;
  padding: 7px 8px;
  border-radius: 8px;
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.adp-nav a:hover,
.adp-nav a.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--adp-bronze);
}

.adp-num {
  font-size: 0.7rem;
  opacity: 0.7;
  min-width: 1.5rem;
}

.adp-main {
  padding: 0 28px 80px;
  min-width: 0;
}

.adp-top {
  padding: 28px 0 8px;
}

.adp-top h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
}

.adp-sub {
  color: var(--adp-muted);
  margin: 6px 0 10px;
}

.adp-top a {
  color: var(--adp-teal-2);
}

.adp-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.adp-btn {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--adp-teal);
  border: 1px solid var(--adp-line);
  border-radius: 999px;
  padding: 8px 14px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0, 14, 25, 0.05);
}

.adp-btn:hover {
  border-color: var(--adp-bronze);
  color: var(--adp-teal);
}

.adp-btn-bronze {
  background: var(--adp-teal);
  color: #fff;
  border-color: var(--adp-teal);
}

.adp-search-wrap {
  position: relative;
  max-width: 640px;
}

.adp-search {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--adp-line);
  font: inherit;
  background: #fff;
}

.adp-search-results {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  margin: 4px 0 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--adp-shadow);
  max-height: 280px;
  overflow: auto;
}

.adp-search-results a {
  display: block;
  padding: 8px;
  text-decoration: none;
  color: var(--adp-ink);
  border-radius: 8px;
}

.adp-search-results a:hover {
  background: var(--adp-canvas);
}

.adp-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 36px 28px;
  margin: 12px 0 28px;
  background: linear-gradient(135deg, var(--adp-teal) 0%, #0d2c2a 55%, #1b4845 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--adp-shadow);
}

.adp-hero h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.04em;
}

.adp-lede {
  font-size: 1.15rem;
  color: var(--adp-muted);
  max-width: 46rem;
}

.adp-hero .adp-lede {
  color: #f4efe6;
}

.adp-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.adp-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--adp-bronze);
  opacity: 0.35;
  animation: adp-float 8s ease-in-out infinite;
}

.adp-particle:nth-child(1) { top: 18%; left: 22%; }
.adp-particle:nth-child(2) { top: 62%; left: 72%; animation-delay: -2s; }
.adp-particle:nth-child(3) { top: 40%; left: 88%; animation-delay: -4s; width: 5px; height: 5px; }

@keyframes adp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.adp-iso {
  width: 110px;
  transform: perspective(600px) rotateX(12deg) rotateY(-18deg);
  filter: drop-shadow(8px 16px 12px rgba(0, 0, 0, 0.28));
  animation: adp-tilt 10s ease-in-out infinite;
}

.adp-iso-sm {
  width: 56px;
  margin: 0 auto 8px;
  animation: none;
}

.adp-iso svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes adp-tilt {
  0%, 100% { transform: perspective(600px) rotateX(12deg) rotateY(-18deg); }
  50% { transform: perspective(600px) rotateX(8deg) rotateY(-8deg); }
}

.adp-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
}

.adp-facts div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(196, 165, 116, 0.3);
  border-radius: 14px;
  padding: 10px 14px;
  min-width: 120px;
}

.adp-facts span {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--adp-bronze);
}

.adp-facts small {
  color: #d7e0de;
}

.adp-section {
  margin: 0 0 48px;
  padding-top: 12px;
  scroll-margin-top: 16px;
}

.adp-section h2 {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.adp-grid-2,
.adp-product-grid,
.adp-bo-grid,
.adp-cat-grid {
  display: grid;
  gap: 16px;
}

.adp-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.adp-product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.adp-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.adp-pillar {
  background: var(--adp-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--adp-line);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 10px 24px rgba(0, 14, 25, 0.05);
}

.adp-pillar h3 {
  margin: 0;
  font-size: 1.05rem;
}

.adp-pillar-remain {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  flex: 1;
}

.adp-pillar-remain li {
  font-size: 0.82rem;
  line-height: 1.4;
  padding: 7px 0;
  border-top: 1px solid var(--adp-line);
}

.adp-remain-card {
  margin-top: 20px;
}

.adp-audience-commercial .adp-remain-card,
.adp-audience-commercial .adp-pillar-remain {
  display: none !important;
}

.adp-phase {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  margin-right: 6px;
}

.adp-bo-grid,
.adp-cat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.adp-card,
.adp-pcard {
  background: var(--adp-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--adp-line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0, 14, 25, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.adp-pcard {
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.adp-card:hover,
.adp-pcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--adp-shadow);
}

.adp-card h3,
.adp-pcard strong {
  margin: 0 0 8px;
}

.adp-dl {
  list-style: none;
  margin: 0;
  padding: 0;
}

.adp-dl li {
  margin: 0 0 8px;
}

.adp-flow,
.adp-steps,
.adp-manual {
  margin: 0;
  padding-left: 1.2rem;
}

.adp-note,
.adp-muted {
  color: var(--adp-muted);
  font-size: 0.92rem;
}

.adp-workflow {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.adp-arrow {
  text-align: center;
  color: var(--adp-bronze);
  font-weight: 700;
  animation: adp-pulse 2.4s ease-in-out infinite;
}

@keyframes adp-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.adp-step {
  background: #fff;
  border: 1px solid var(--adp-line);
  border-radius: 16px;
  padding: 4px 14px 4px;
}

.adp-step summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  font-weight: 700;
}

.adp-step-body {
  padding: 0 0 14px;
}

.adp-pay-flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  margin: 0 0 20px;
  max-width: 420px;
}

.adp-node {
  background: var(--adp-teal);
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 20px rgba(27, 72, 69, 0.25);
}

.adp-db-flow {
  max-width: none;
}

.adp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 20px;
}

.adp-chips > span {
  background: #fff;
  border: 1px solid var(--adp-line);
  border-radius: 999px;
  padding: 6px 12px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.adp-badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  vertical-align: middle;
}

.adp-badge-ok { background: #d9f3e6; color: #146c43; }
.adp-badge-code { background: #e4eef8; color: #0b5f9a; }
.adp-badge-part { background: #f7ecd6; color: #8a5a10; }
.adp-badge-req { background: #f8e0d8; color: #a32020; }
.adp-badge-nf { background: #ece7e7; color: #5c3a3a; }
.adp-badge-demo { background: #efe6f8; color: #5b3d86; }
.adp-badge-info { background: #e8f0ee; color: var(--adp-teal); }

.adp-demo {
  border-left: 3px solid var(--adp-bronze);
  padding: 8px 12px;
  background: #fffaf2;
  border-radius: 8px;
}

.adp-future {
  border: 1px dashed var(--adp-bronze);
}

.adp-shot {
  margin: 12px 0 0;
}

.adp-shot-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.adp-shot img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--adp-line);
  display: block;
}

.adp-shot figcaption {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 6px;
  font-size: 0.85rem;
}

.adp-acc {
  background: #fff;
  border: 1px solid var(--adp-line);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 0 0 10px;
}

.adp-acc pre {
  white-space: pre-wrap;
  font-size: 0.85rem;
  overflow: auto;
}

.adp-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.adp-filters button {
  border: 1px solid var(--adp-line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}

.adp-filters button.is-on {
  background: var(--adp-teal);
  color: #fff;
  border-color: var(--adp-teal);
}

.adp-gaps {
  list-style: none;
  padding: 0;
}

.adp-gaps li {
  margin: 0 0 10px;
}

.adp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 14, 25, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.adp-lightbox[hidden] {
  display: none;
}

.adp-lightbox figure {
  margin: 0;
  max-width: min(96vw, 1400px);
}

.adp-lightbox img {
  max-width: 96vw;
  max-height: 82vh;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.adp-lightbox.is-zoom img {
  transform: scale(1.45);
  cursor: zoom-out;
}

.adp-lightbox figcaption {
  color: #fff;
  margin-top: 8px;
  text-align: center;
}

.adp-lb-close,
.adp-lb-prev,
.adp-lb-next,
.adp-lb-zoom {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1.4rem;
}

.adp-lb-close { top: 16px; right: 16px; }
.adp-lb-prev { left: 16px; top: 50%; }
.adp-lb-next { right: 16px; top: 50%; }
.adp-lb-zoom { bottom: 16px; right: 16px; font-size: 0.9rem; }

.adp-sidebar.is-open {
  display: block;
}

@media (max-width: 1100px) {
  .adp-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .adp-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .adp-portal.adp-has-sidebar {
    grid-template-columns: 1fr;
  }
  .adp-menu-btn {
    display: inline-flex;
  }
  .adp-sidebar {
    display: none;
    position: fixed;
    inset: 0 auto 0 0;
    width: min(86vw, 320px);
    z-index: 40;
    height: 100vh;
  }
  .adp-sidebar.is-open {
    display: block;
  }
  .adp-hero,
  .adp-grid-2,
  .adp-bo-grid,
  .adp-cat-grid {
    grid-template-columns: 1fr;
  }
  .adp-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .adp-pillars {
    grid-template-columns: 1fr;
  }
  .adp-main {
    padding: 0 16px 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .adp-portal *,
  .adp-portal *::before,
  .adp-portal *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.adp-portal.adp-no-anim *,
.adp-portal.adp-no-anim *::before,
.adp-portal.adp-no-anim *::after {
  animation: none !important;
}

body.alya-docs-page {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  body.alya-docs-page {
    scroll-behavior: auto;
  }
}

body.alya-docs-page {
  overflow-x: hidden;
}

body.alya-docs-page #st-content-wrapper > .banner,
body.alya-docs-page .st-breadcrumb,
body.alya-docs-page .banner,
body.alya-docs-page .st-banner,
body.alya-docs-page .st-page-header,
body.alya-docs-page .page-featured-image,
body.alya-docs-page img[src*="placehold.co"],
body.alya-docs-page img[data-src*="placehold.co"],
body.alya-docs-page .st-header .mini-cart,
body.alya-docs-page .mini-cart-wrapper,
body.alya-docs-page .dropdown-mini-cart,
body.alya-docs-page .woocommerce-mini-cart,
body.alya-docs-page header .cart-wrapper,
body.alya-docs-page .st-list-cart,
body.alya-docs-page .wc-block-mini-cart,
body.alya-docs-page .woofc-floating-cart,
body.alya-docs-page .xoo-wsc-basket,
body.alya-docs-page .elementor-widget-woocommerce-menu-cart,
body.alya-docs-page a.btn-become-host,
body.alya-docs-page .become-a-host,
body.alya-docs-page .st-header-9 a[href*="become"],
body.alya-docs-page a[href*="become-a-host"],
body.alya-docs-page #toTop,
body.alya-docs-page .st-back-to-top,
body.alya-docs-page #st-scroll-top,
body.alya-docs-page .back-to-top,
body.alya-docs-page .scroll-to-top,
body.alya-docs-page #wpfront-scroll-top-container,
body.alya-docs-page .liteapi-chatbot-container,
body.alya-docs-page [id*="liteapi-chat"],
body.alya-docs-page .chaty-widget,
body.alya-docs-page #chaty-widget,
body.alya-docs-page .elementor-location-footer,
body.alya-docs-page .mailchimp-footer,
body.alya-docs-page #main-footer .widget_mc4wp_form_widget {
  display: none !important;
}

body.alya-docs-page #st-content-wrapper .container {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

body.alya-docs-page .adp-portal {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.adp-skip {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 50;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}
.adp-skip:focus {
  top: 8px;
}

.adp-lang {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.adp-lang button {
  border: 1px solid var(--adp-line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font: 600 0.8rem var(--adp-font);
}
.adp-lang button[aria-pressed="true"] {
  background: var(--adp-teal);
  color: #fff;
  border-color: var(--adp-teal);
}

.adp-hero-brand {
  margin: 0;
  color: var(--adp-bronze);
  font-weight: 700;
}

.adp-hero-icons {
  display: flex;
  gap: 10px;
  margin: 14px 0;
}
.adp-hero-icons span {
  width: 42px;
  display: block;
}

.adp-toc {
  display: none;
}

.adp-restricted {
  min-height: 50vh;
  padding: 48px 24px;
}

#alya-docs-portal.adp-portal[dir="rtl"] .adp-nav a,
#alya-docs-portal.adp-portal[dir="rtl"] .adp-top-actions {
  flex-direction: row-reverse;
}
#alya-docs-portal.adp-portal[dir="rtl"] .adp-sidebar {
  text-align: right;
}
#alya-docs-portal.adp-portal[dir="rtl"] .adp-search-results {
  text-align: right;
}
#alya-docs-portal.adp-portal[dir="rtl"] .adp-lb-prev {
  left: auto;
  right: 16px;
}
#alya-docs-portal.adp-portal[dir="rtl"] .adp-lb-next {
  right: auto;
  left: 16px;
}

#alya-docs-portal .adp-section table,
#alya-docs-portal pre,
#alya-docs-portal .adp-manual {
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 430px) {
  #alya-docs-portal.adp-portal[dir="rtl"] .adp-sidebar {
    inset: 0 0 0 auto;
  }
  #alya-docs-portal .adp-product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  #alya-docs-portal .adp-hero-icons {
    flex-wrap: wrap;
  }
  #alya-docs-portal .adp-facts {
    grid-template-columns: 1fr;
  }
}

.adp-shot img {
  max-width: 100%;
  height: auto;
}

.adp-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 14, 25, 0.45);
  z-index: 35;
}
.adp-portal.adp-menu-open .adp-backdrop {
  display: block;
}

.adp-arch {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}
.adp-arch-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
}
.adp-arch-arrow span {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--adp-bronze);
  position: relative;
}
.adp-arch-arrow span::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -5px;
  border: 6px solid transparent;
  border-left-color: var(--adp-bronze);
}
.adp-portal[dir="rtl"] .adp-arch-arrow span::after {
  right: auto;
  left: -2px;
  border-left-color: transparent;
  border-right-color: var(--adp-bronze);
}
.adp-future {
  border-color: var(--adp-bronze);
  border-style: dashed;
}
.adp-calc {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.adp-calc label {
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
}
.adp-calc input {
  border: 1px solid var(--adp-line);
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  max-width: 12rem;
}
.adp-gloss {
  display: grid;
  grid-template-columns: minmax(8rem, 14rem) 1fr;
  gap: 8px 16px;
  margin: 0;
}
.adp-gloss dt {
  font-weight: 700;
  color: var(--adp-teal);
}
.adp-gloss dd {
  margin: 0;
}
.adp-faq .adp-acc {
  margin: 0 0 8px;
  background: #fff;
  border: 1px solid var(--adp-line);
  border-radius: 12px;
  padding: 8px 14px;
}
.adp-workflow .adp-arrow {
  animation: none;
  opacity: 0.85;
}
.adp-workflow .adp-arrow {
  background: linear-gradient(currentColor, var(--adp-bronze));
  background: none;
}
.adp-pcard:hover .adp-iso-sm {
  animation: adp-tilt 1.2s ease;
}
.adp-filters button.is-on {
  outline: 2px solid var(--adp-bronze);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .adp-arch {
    grid-template-columns: 1fr;
  }
  .adp-arch-arrow {
    transform: rotate(90deg);
    min-height: 32px;
  }
  .adp-gloss {
    grid-template-columns: 1fr;
  }
  .adp-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .adp-pillars {
    grid-template-columns: 1fr;
  }
}

@media print {
  .adp-sidebar,
  .adp-menu-btn,
  .adp-toc,
  .adp-lightbox,
  .adp-search-wrap,
  .adp-top-actions,
  .adp-backdrop {
    display: none !important;
  }
  .adp-portal.adp-has-sidebar {
    grid-template-columns: 1fr;
  }
  .adp-hero-bg,
  .adp-particle {
    display: none;
  }
}

@media (hover: none) {
  .adp-iso,
  .adp-pcard:hover .adp-iso-sm {
    animation: none;
  }
}

@media (min-width: 1280px) {
  .adp-toc {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 80px;
    gap: 4px;
    font-size: 0.7rem;
    padding: 12px;
  }
}

@media (max-width: 900px) {
  .adp-toc {
    display: none;
  }
  #alya-docs-portal.adp-portal {
    overflow-x: hidden;
  }
}

.adp-pager {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 20px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--adp-line);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 14, 25, 0.06);
  position: sticky;
  top: 8px;
  z-index: 12;
}

.adp-page-counter {
  font-weight: 700;
  color: var(--adp-teal);
  min-width: 4.5rem;
  text-align: center;
}

.adp-btn-ico {
  min-width: 7.5rem;
}

.adp-btn-ico:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.adp-portal.adp-mode-pages .adp-section {
  display: none;
  animation: adpPageIn 0.38s ease;
}

.adp-portal.adp-mode-pages .adp-section.is-page {
  display: block;
}

.adp-portal.adp-mode-pages .adp-hero[hidden] {
  display: none;
}

@keyframes adpPageIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.adp-h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
}

.adp-h2-ico {
  display: inline-flex;
  flex-shrink: 0;
}

.adp-h2-ico svg {
  width: 36px;
  height: 36px;
}

.adp-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.adp-nav-ico {
  display: inline-flex;
  flex-shrink: 0;
}

.adp-nav-ico svg {
  width: 16px;
  height: 16px;
}

.adp-portal .adp-shot-btn,
.adp-portal figure.adp-shot {
  overflow: visible;
}

.adp-lightbox figure {
  max-height: 90vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.adp-lightbox img {
  max-width: 96vw;
  max-height: none;
  width: auto;
  height: auto;
}

@media (max-width: 640px) {
  .adp-pager {
    position: sticky;
    bottom: 8px;
    top: auto;
    justify-content: space-between;
  }
  .adp-btn-ico {
    min-width: 0;
    flex: 1;
  }
  .adp-product-grid {
    grid-template-columns: 1fr;
  }
  .adp-hero {
    grid-template-columns: 1fr;
    padding: 24px 16px;
  }
  .adp-iso {
    display: none;
  }
  .adp-h2-ico svg {
    width: 28px;
    height: 28px;
  }
}

body.alya-docs-page #wpadminbar {
  display: none !important;
}
body.alya-docs-page {
  margin-top: 0 !important;
}
body.alya-docs-page header.header-9,
body.alya-docs-page header#header,
body.alya-docs-page .header-9,
body.alya-docs-page .st-header,
body.alya-docs-page .topbar,
body.alya-docs-page .top-bar,
body.alya-docs-page .st-breadcrumb,
body.alya-docs-page .banner,
body.alya-docs-page .page-title,
body.alya-docs-page .st-banner,
body.alya-docs-page .elementor-location-header {
  display: none !important;
}

.adp-portal .adp-shot-btn:hover,
.adp-portal figure:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 22px 48px rgba(27, 72, 69, 0.18);
}

.adp-portal .adp-shot-btn img,
.adp-portal figure img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
}

.adp-btn {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.adp-btn:hover {
  transform: translateY(-1px);
}

.adp-nav a {
  transition: background 0.18s ease, transform 0.18s ease;
}

.adp-nav a.is-active {
  box-shadow: inset 3px 0 0 var(--adp-bronze);
}

@media (prefers-reduced-motion: reduce) {
  .adp-portal.adp-mode-pages .adp-section {
    animation: none;
  }
  .adp-portal .adp-shot-btn:hover,
  .adp-portal figure:hover {
    transform: none;
  }
}
