/*!
 * AitiCore-CMS - Management system built with AitiCore-Flex.
 * Author: Afan
 * Website: https://aiti-solutions.com
 * GitHub: https://github.com/afandisini
 * License: MIT
 * File: app.css
 * Description: Main CSS file for the AitiCore-CMS application.
 */
@keyframes homeTopBadgeBounce {
  0% {
    opacity: 0;
    transform: translateX(-420px) scale(0.72);
  }
  58% {
    opacity: 1;
    transform: translateX(22px) scale(1.02);
  }
  74% {
    transform: translateX(-10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes homePulse {
  0%,
  to {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.08);
  }
}
@keyframes frontThemeToggleSpin {
  0% {
    transform: translateY(-1px) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-1px) rotate(90deg) scale(1.08);
  }
  to {
    transform: translateY(-1px) rotate(180deg) scale(1);
  }
}
@keyframes homeFloatTop {
  0%,
  to {
    transform: translateZ(0) rotate(-1.2deg);
  }
  22% {
    transform: translate3d(-10px, 8px, 0) rotate(-0.2deg);
  }
  51% {
    transform: translate3d(-18px, -6px, 0) rotate(1deg);
  }
  76% {
    transform: translate3d(-8px, -16px, 0) rotate(0.2deg);
  }
}
@keyframes homeFloatBottom {
  0%,
  to {
    transform: translateZ(0) rotate(1deg);
  }
  18% {
    transform: translate3d(6px, -8px, 0) rotate(0.35deg);
  }
  47% {
    transform: translate3d(16px, 4px, 0) rotate(-0.55deg);
  }
  71% {
    transform: translate3d(8px, 14px, 0) rotate(0.2deg);
  }
}
@keyframes homeSkeletonShimmer {
  to {
    transform: translateX(100%);
  }
}
:root {
  --bg-grs: hsla(0, 0%, 100%, 0.05);
  --front-accent: #0d56c4;
  --front-accent-hover: #0a46a0;
  --front-accent-soft: rgba(13, 86, 196, 0.12);
  --front-accent-toggle: #bdbcbb;
  --front-main-bg: #f8f9fa;
  --front-main-grid: rgba(0, 0, 0, 0.06);
  --front-main-accent-glow: rgba(249, 115, 22, 0.08);
  --front-main-text: #212529;
  --front-border: rgba(0, 0, 0, 0.175);
  --front-footer-bg: #e9ecef;
  --front-footer-text: #212529;
  --front-footer-link: #b45309;
  --theme-toggle-bg: hsla(0, 0%, 100%, 0.16);
  --theme-toggle-text: #212529;
  --theme-toggle-border: hsla(0, 0%, 100%, 0.28);
  --theme-toggle-shadow: rgba(15, 23, 42, 0.1);
  --theme-toggle-highlight: hsla(0, 0%, 100%, 0.38);
  --theme-toggle-backdrop: hsla(0, 0%, 100%, 0.18);
  --code-block-bg: #f8fafc;
  --code-block-text: #0f172a;
  --code-block-border: #dbe3ed;
  --code-inline-bg: #eef2f7;
  --code-inline-text: #334155;
  --code-inline-border: #d6dde7;
  --front-user-overlay: rgba(241, 245, 249, 0.6);
  --front-user-panel: #ffffff;
  --front-user-panel-alt: #f8fafc;
  --front-user-panel-border: rgba(15, 23, 42, 0.12);
  --front-user-panel-shadow: rgba(15, 23, 42, 0.18);
  --front-user-panel-text: #0f172a;
  --front-user-panel-subtle: rgba(15, 23, 42, 0.72);
  --front-user-close-bg: rgba(15, 23, 42, 0.08);
  --front-user-close-bg-hover: rgba(15, 23, 42, 0.14);
  --front-user-close-filter: none;
}
.modal {
  backdrop-filter: blur(15px);
}
@media (max-width: 991.98px) {
  body.has-mobile-bottom-nav .client-bottom-nav,
  .client-bottom-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 14px;
    z-index: 1250;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.25rem;
    margin: 0;
    padding: 0.5rem;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
    list-style: none;
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--front-accent) 36%, transparent);
    background: linear-gradient(
      180deg,
      rgba(13, 86, 196, 0.24),
      rgba(13, 86, 196, 0.16)
    );
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--front-accent) 24%, transparent),
      color-mix(in srgb, var(--front-accent) 16%, transparent)
    );
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  [data-theme="light"] .client-bottom-nav {
    background: linear-gradient(
      180deg,
      rgba(13, 86, 196, 0.24),
      rgba(13, 86, 196, 0.16)
    );
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--front-accent) 24%, transparent),
      color-mix(in srgb, var(--front-accent) 16%, transparent)
    );
    border-color: color-mix(in srgb, var(--front-accent) 36%, transparent);
    box-shadow: 0 18px 36px rgba(148, 163, 184, 0.26);
  }
  body.has-mobile-bottom-nav .client-bottom-nav {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 14px !important;
    z-index: 1250 !important;
  }
  .client-bottom-nav-link {
    min-height: 58px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.45rem 0.2rem;
    border-radius: 14px;
    color: #f8fafc !important;
    text-decoration: none !important;
    text-align: center;
    line-height: 1.1;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    transition:
      background-color 0.2s ease,
      color 0.2s ease,
      transform 0.2s ease;
    border: 0;
    background: #0d56c48a;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    cursor: pointer;
  }
  [data-theme="light"] .client-bottom-nav-link {
    color: #f8fafc !important;
  }
  .client-bottom-nav-link i,
  .client-bottom-nav-link span {
    color: inherit !important;
  }
  .client-bottom-nav-link i {
    display: block;
    font-size: 1rem;
    line-height: 1;
  }
  .client-bottom-nav-link span {
    display: block;
  }
  .client-bottom-nav-link.is-active {
    background: var(--front-accent) !important;
    color: #fff !important;
  }
  .client-bottom-nav-link:focus-visible,
  .client-bottom-nav-link:hover {
    background: rgba(13, 86, 196, 0.16);
    background: color-mix(in srgb, var(--front-accent) 16%, transparent);
    color: #fff !important;
  }
  [data-theme="light"] .client-bottom-nav-link:focus-visible,
  [data-theme="light"] .client-bottom-nav-link:hover {
    color: #f8fafc !important;
  }
  .client-bottom-nav-link.is-active:focus-visible,
  .client-bottom-nav-link.is-active:hover,
  [data-theme="light"] .client-bottom-nav-link.is-active:focus-visible,
  [data-theme="light"] .client-bottom-nav-link.is-active:hover {
    background: var(--front-accent) !important;
    color: #fff !important;
  }
  body.has-mobile-bottom-nav {
    padding-bottom: 0;
  }
  body.has-mobile-bottom-nav main:not(.home-main-shell) {
    padding-bottom: max(88px, env(safe-area-inset-bottom));
  }
  body.has-mobile-bottom-nav main.home-main-shell {
    padding-bottom: 0;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .client-bottom-nav {
    left: 50%;
    right: auto;
    width: min(668px, calc(100% - 24px));
    transform: translateX(-50%);
  }
}
@media (min-width: 992px) {
  .client-bottom-nav {
    display: none !important;
  }
}
[data-theme="dark"] {
  --front-main-bg: #212529;
  --front-accent-toggle: #424242;
  --front-main-grid: hsla(0, 0%, 100%, 0.05);
  --front-main-accent-glow: rgba(249, 115, 22, 0.14);
  --front-main-text: #f8f9fa;
  --front-border: hsla(0, 0%, 100%, 0.15);
  --front-footer-bg: #242424;
  --front-footer-text: #f8f9fa;
  --front-footer-link: #d97706;
  --theme-toggle-bg: rgba(15, 23, 42, 0.16);
  --theme-toggle-text: #f8f9fa;
  --theme-toggle-border: hsla(0, 0%, 100%, 0.12);
  --theme-toggle-shadow: rgba(0, 0, 0, 0.16);
  --theme-toggle-highlight: hsla(0, 0%, 100%, 0.12);
  --theme-toggle-backdrop: rgba(15, 23, 42, 0.24);
  --code-block-bg: #0b0f14;
  --code-block-text: #9cdcfe;
  --code-block-border: #1f2937;
  --code-inline-bg: rgba(148, 163, 184, 0.18);
  --code-inline-text: #e2e8f0;
  --code-inline-border: rgba(148, 163, 184, 0.32);
  --front-user-overlay: rgba(12, 16, 22, 0.45);
  --front-user-panel: #2a2f35;
  --front-user-panel-alt: #31363d;
  --front-user-panel-border: rgba(255, 255, 255, 0.08);
  --front-user-panel-shadow: rgba(0, 0, 0, 0.34);
  --front-user-panel-text: #f5f7fb;
  --front-user-panel-subtle: rgba(232, 238, 247, 0.88);
  --front-user-close-bg: rgba(255, 255, 255, 0.08);
  --front-user-close-bg-hover: rgba(255, 255, 255, 0.14);
  --front-user-close-filter: invert(1);
}
* {
  margin: 0;
}
html,
body {
  min-height: 100%;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--front-accent) 72%, #334155)
    transparent;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 6px;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: transparent;
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--front-accent) 72%, #334155);
  border-radius: 999px;
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: var(--front-accent);
}
body {
  background-attachment: fixed;
  background: var(--front-footer-bg) !important;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  background: var(--front-main-bg);
  color: var(--front-main-text);
  flex: 1 0 auto;
}
footer {
  background: var(--front-footer-bg);
  color: var(--front-footer-text);
}
footer a {
  color: var(--front-footer-link);
}
.navbar .nav-link {
  align-items: center;
  display: flex;
  height: 44px;
}
.navbar .nav-link i {
  line-height: 1;
}
.front-nav-mobile-auth-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.front-nav-mobile-auth-row .front-nav-login-link {
  min-height: 44px;
}
.front-nav-mobile-auth-row .front-nav-search-link {
  background: transparent;
  border: 0;
  min-height: 44px;
  min-width: 44px;
}
.footer-latest-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-latest-list li {
  margin-bottom: 0.2rem;
  padding-left: 0.85rem;
  position: relative;
}
.footer-latest-list li::before {
  content: "•";
  left: 0;
  opacity: 0.85;
  position: absolute;
  top: 0;
}
.footer-latest-list a {
  color: #f8fbff !important;
  opacity: 0.95;
  text-decoration: none;
}
.footer-latest-list li {
  color: #f8fbff;
}
[data-theme="light"] .footer-latest-list a.link-light,
[data-theme="light"] .footer-latest-list a,
[data-theme="dark"] .footer-latest-list a.link-light,
[data-theme="dark"] .footer-latest-list a {
  color: #f8fbff !important;
}
.footer-latest-list a:hover {
  color: #fff !important;
  text-decoration: underline;
}
[data-theme="light"] .link-light {
  color: var(--front-main-text) !important;
  -webkit-text-decoration-color: rgba(
    33,
    37,
    41,
    var(--bs-link-underline-opacity, 1)
  ) !important;
  text-decoration-color: rgba(
    33,
    37,
    41,
    var(--bs-link-underline-opacity, 1)
  ) !important;
}
[data-theme="dark"] .link-light {
  color: rgba(var(--bs-light-rgb), var(--bs-link-opacity, 1)) !important;
  -webkit-text-decoration-color: rgba(
    var(--bs-light-rgb),
    var(--bs-link-underline-opacity, 1)
  ) !important;
  text-decoration-color: rgba(
    var(--bs-light-rgb),
    var(--bs-link-underline-opacity, 1)
  ) !important;
}
[data-theme="light"] .link-info {
  color: var(--front-accent) !important;
  -webkit-text-decoration-color: rgba(
    249,
    115,
    22,
    var(--bs-link-underline-opacity, 1)
  ) !important;
  text-decoration-color: rgba(
    249,
    115,
    22,
    var(--bs-link-underline-opacity, 1)
  ) !important;
}
[data-theme="dark"] .link-info {
  color: #fdba74 !important;
  -webkit-text-decoration-color: rgba(
    253,
    186,
    116,
    var(--bs-link-underline-opacity, 1)
  ) !important;
  text-decoration-color: rgba(
    253,
    186,
    116,
    var(--bs-link-underline-opacity, 1)
  ) !important;
}
[data-bs-theme="dark"] .btn-outline-dark {
  --bs-btn-color: #f8f9fa;
  --bs-btn-border-color: var(--front-border);
  --bs-btn-hover-color: #212529;
  --bs-btn-hover-bg: #f8f9fa;
  --bs-btn-hover-border-color: #f8f9fa;
  --bs-btn-active-color: #212529;
  --bs-btn-active-bg: #f8f9fa;
  --bs-btn-active-border-color: #f8f9fa;
}
[data-bs-theme="light"] .btn-outline-light {
  --bs-btn-color: #212529;
  --bs-btn-border-color: var(--front-border);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #212529;
  --bs-btn-hover-border-color: #212529;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #212529;
  --bs-btn-active-border-color: #212529;
}
[data-bs-theme="dark"] .bg-white,
[data-bs-theme="light"] .bg-dark {
  background-color: #212529 !important;
  border-color: var(--front-border) !important;
  color: #f8f9fa !important;
}
[data-bs-theme="light"] .bg-dark {
  background-color: #fff !important;
  color: #212529 !important;
}
.article-hero {
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 52vh;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.article-hero-overlay {
  align-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65));
  display: flex;
  inset: -1px;
  justify-content: center;
  min-height: 52vh;
  position: absolute;
}
.article-hero-title {
  color: #fff;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  padding: 1rem 0;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.article-hero-breadcrumb {
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.95rem;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 0.9rem;
}
.article-hero-breadcrumb a {
  color: #fff;
  text-decoration: none;
}
.article-hero-breadcrumb a:hover {
  text-decoration: underline;
}
.article-meta-bar {
  border-bottom: 1px solid var(--front-border);
  border-top: 1px solid var(--front-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
  padding: 0.75rem 0;
}
.article-meta-item {
  align-items: center;
  color: #64748b;
  display: inline-flex;
  font-weight: 600;
  gap: 0.45rem;
}
.article-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.article-tag-chip {
  align-items: center;
  border: 1px solid var(--front-border);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 600;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
}
.related-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x proximity;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.related-scroll::-webkit-scrollbar {
  display: none;
}
.related-card {
  background: var(--front-main-bg);
  border: 1px solid var(--front-border);
  border-radius: 0.75rem;
  color: inherit;
  flex: 0 0 220px;
  max-width: 220px;
  overflow: hidden;
  scroll-snap-align: start;
  text-decoration: none;
}
.related-card img,
.related-card-placeholder {
  display: block;
  height: 116px;
  object-fit: cover;
  width: 100%;
}
.related-card-placeholder {
  background: rgba(148, 163, 184, 0.16);
  color: #64748b;
  display: grid;
  font-size: 1.3rem;
  place-items: center;
}
.related-card-body {
  padding: 0.65rem 0.75rem 0.75rem;
}
.related-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}
.related-card-date {
  align-items: center;
  color: #64748b;
  display: inline-flex;
  font-size: 0.78rem;
  gap: 0.4rem;
}
[data-front-zoomable] {
  cursor: zoom-in;
}
.front-image-zoom-open {
  overflow: hidden;
}
.front-image-zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  background: rgba(248, 250, 252, 0.56);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.22s ease;
}
.front-image-zoom-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.front-image-zoom-content {
  width: min(92vw, 1280px);
  max-height: 88vh;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 26px 64px rgba(15, 23, 42, 0.18);
  transform: translateY(18px) scale(0.975);
  transition: transform 0.24s ease;
}
.front-image-zoom-overlay.is-open .front-image-zoom-content {
  transform: translateY(0) scale(1);
}
.front-image-zoom-content img {
  width: 100%;
  max-height: min(76vh, 860px);
  display: block;
  object-fit: contain;
  background: #f8fafc;
}
.front-image-zoom-meta {
  padding: 12px 16px;
  color: #0f172a;
}
.front-image-zoom-title {
  font-weight: 700;
  margin-bottom: 2px;
}
.front-image-zoom-caption {
  color: #475569;
  font-size: 0.9rem;
}
.front-image-zoom-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(255, 255, 255, 0.92);
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.front-image-zoom-close:hover {
  background: #fff;
  transform: scale(1.04);
}
.article-content pre,
.product-content pre {
  background: var(--code-block-bg);
  border: 1px solid var(--code-block-border);
  border-radius: 0.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: var(--code-block-text);
  display: block;
  line-height: 1.55;
  margin: 1rem 0;
  max-width: 100%;
  overflow-x: auto;
  padding: 1rem 1.125rem;
  white-space: pre;
}
.article-content code,
.product-content code {
  font-family:
    Cascadia Code,
    Fira Code,
    Consolas,
    Monaco,
    monospace;
  font-size: 0.95rem;
}
.article-content pre code,
.product-content pre code {
  background: 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: inherit;
  display: block;
  padding: 0 !important;
  white-space: pre;
}
.article-content:is(.hljs, .language-php),
.product-content:is(.hljs, .language-php) {
  background: var(--code-block-bg);
  color: var(--code-block-text);
}
.article-content:is(.whitespace-pre, .\!whitespace-pre),
.product-content:is(.whitespace-pre, .\!whitespace-pre) {
  white-space: pre !important;
}
.article-content:not(pre) > code,
.product-content:not(pre) > code {
  background: var(--code-inline-bg);
  border: 1px solid var(--code-inline-border);
  border-radius: 0.35rem;
  color: var(--code-inline-text);
  padding: 0.1rem 0.35rem;
}
.article-content figure img,
.article-content img,
.article-content img.img-responsive,
.product-rich-content img,
.product-rich-content img.img-responsive {
  border-radius: 1rem;
  display: block;
  height: auto !important;
  max-width: 100% !important;
  width: auto;
}
.article-content figure,
.product-rich-content figure {
  max-width: 100%;
}
.read-page-main {
  margin-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
}
.front-cart-toggle,
.front-floating-control,
.front-user-toggle,
.theme-toggle {
  align-items: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--theme-toggle-highlight) 92%, transparent),
      transparent 54%
    ),
    color-mix(in srgb, var(--theme-toggle-bg) 100%, transparent);
  border: 1px solid var(--theme-toggle-border) !important;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 var(--theme-toggle-highlight),
    0 10px 26px var(--theme-toggle-shadow);
  color: var(--theme-toggle-text);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    color 0.28s ease,
    box-shadow 0.28s ease;
  width: 42px;
}
.front-floating-control,
.front-user-toggle,
.theme-toggle {
  text-decoration: none;
}
.front-cart-toggle:focus,
.front-cart-toggle:hover,
.front-floating-control:focus,
.front-floating-control:hover,
.front-user-toggle:focus,
.front-user-toggle:hover,
.theme-toggle:focus,
.theme-toggle:hover {
  border-color: color-mix(
    in srgb,
    var(--theme-toggle-border) 45%,
    var(--front-accent-toggle) 55%
  );
  box-shadow:
    inset 0 1px 0 var(--theme-toggle-highlight),
    0 14px 30px
      color-mix(in srgb, var(--theme-toggle-shadow) 82%, transparent 18%);
  color: var(--theme-toggle-text);
  transform: translateY(-1px);
}
.front-floating-controls-right {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  position: fixed;
  right: 14px;
  top: 14px;
  z-index: 1030;
}
.front-floating-controls-center {
  align-items: center;
  justify-content: center;
  left: 50%;
  pointer-events: none;
  position: fixed;
  top: 14px;
  transform: translateX(-50%);
  z-index: 1025;
}
.home-top-badge {
  align-items: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--theme-toggle-backdrop) 96%, transparent);
  border: 1px solid rgba(180, 83, 9, 0.38);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 var(--theme-toggle-highlight),
    0 10px 26px var(--theme-toggle-shadow);
  color: var(--front-accent);
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 600;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.5rem 1rem;
}
.home-top-badge-animatable {
  opacity: 0;
  transform: translateX(-420px) scale(0.72);
  transform-origin: left center;
  transition:
    opacity 0.34s ease,
    transform 0.72s cubic-bezier(0.2, 0.9, 0.2, 1);
  will-change: transform, opacity;
}
.home-top-badge-animatable.is-ready {
  animation: homeTopBadgeBounce 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 1;
  transform: translateX(0) scale(1);
}
.home-top-badge-animatable.is-docked {
  animation: none;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-420px) scale(0.72);
  visibility: hidden;
}
.theme-toggle {
  isolation: isolate;
  overflow: hidden;
  position: relative;
}
.theme-toggle:before {
  background:
    radial-gradient(
      circle at 50% 18%,
      color-mix(in srgb, var(--theme-toggle-highlight) 92%, transparent),
      transparent 42%
    ),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--theme-toggle-backdrop) 88%, transparent),
      transparent 72%
    );
  border-radius: inherit;
  content: "";
  inset: 0;
  opacity: 0.88;
  position: absolute;
  transition:
    opacity 0.28s ease,
    transform 0.45s ease;
}
.theme-toggle i {
  font-size: 1rem;
  line-height: 1;
  position: absolute;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.28s ease;
  z-index: 1;
}
.front-user-toggle {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.front-cart-toggle {
  position: static;
  text-decoration: none;
}
.front-cart-toggle i {
  font-size: 1rem;
}
.front-cart-count {
  align-items: center;
  background: #f97316;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 700;
  height: 1.15rem;
  justify-content: center;
  line-height: 1;
  min-width: 1.15rem;
  padding: 0 0.2rem;
  position: absolute;
  right: -0.2rem;
  top: -0.3rem;
}
.front-user-offcanvas {
  width: 100% !important;
  background: var(--front-user-overlay);
  border: 0;
  color: var(--front-user-panel-text);
  max-width: 100%;
  padding: 60px 0 100px;
  z-index: 1200;
  backdrop-filter: blur(10px);
}
.front-user-modal .modal-body,
.front-user-modal .modal-header,
.front-user-offcanvas .offcanvas-body,
.front-user-offcanvas .offcanvas-header {
  position: relative;
  z-index: 1;
}
.front-user-offcanvas .offcanvas-header {
  margin: 0 8px;
}
.front-user-modal .modal-header,
.front-user-offcanvas .offcanvas-header {
  align-items: center;
  background: var(--front-user-panel);
  border: 1px solid var(--front-user-panel-border);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  box-shadow:
    0 22px 48px var(--front-user-panel-shadow),
    inset 0 1px 0 color-mix(in srgb, #fff 4%, transparent);
  display: flex;
  gap: 0.75rem;
  padding: 1rem 0.9rem 0.25rem;
}
.front-user-offcanvas .offcanvas-body {
  margin: 0 8px;
}
.front-user-modal .modal-body,
.front-user-offcanvas .offcanvas-body {
  background: var(--front-user-panel);
  border: 1px solid var(--front-user-panel-border);
  border-radius: 0 0 18px 18px;
  border-top: 0;
  box-shadow:
    0 22px 48px var(--front-user-panel-shadow),
    inset 0 1px 0 color-mix(in srgb, #fff 4%, transparent);
  padding: 0.6rem 0.9rem 0.95rem;
}
.front-user-modal .modal-title,
.front-user-offcanvas .offcanvas-title {
  color: var(--front-user-panel-text);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.front-user-modal .btn-close,
.front-user-offcanvas .btn-close {
  align-items: center;
  background-color: var(--front-user-close-bg);
  border-radius: 999px;
  display: inline-flex;
  filter: var(--front-user-close-filter);
  height: 32px;
  justify-content: center;
  margin: 0;
  opacity: 1;
  padding: 0;
  width: 32px;
}
.front-user-modal .btn-close:focus-visible,
.front-user-modal .btn-close:hover,
.front-user-offcanvas .btn-close:focus-visible,
.front-user-offcanvas .btn-close:hover {
  background-color: var(--front-user-close-bg-hover);
  opacity: 1;
}
.front-user-profile {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  text-align: center;
}
.front-user-toggle {
  flex: 0 0 42px;
  overflow: hidden;
  padding: 0;
  position: relative;
}
.front-user-toggle-photo {
  border-radius: 999px;
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}
.front-user-avatar {
  align-items: center;
  background: linear-gradient(135deg, #dbeafe, #a5b4fc);
  border-radius: 999px;
  color: #4f46e5;
  font-size: 1.45rem;
  font-weight: 800;
  height: 66px;
  justify-content: center;
  margin-bottom: 0.9rem;
  overflow: hidden;
  width: 66px;
}
.front-user-avatar,
.front-user-avatar span {
  display: inline-flex;
}
.front-user-avatar-photo {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.front-user-name {
  color: var(--front-user-panel-text);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.2rem;
}
.front-user-email {
  color: var(--front-user-panel-subtle);
  font-size: 0.9rem;
  margin-bottom: 0;
}
.front-user-menu-list {
  background: var(--front-user-panel-alt);
  border: 1px solid var(--front-user-panel-border);
  border-radius: 18px;
  gap: 0;
  margin-top: 1.15rem;
  overflow: hidden;
}
.front-user-menu-list .list-group-item {
  align-items: center;
  background: var(--front-user-panel-alt);
  border-color: var(--front-user-panel-border);
  color: var(--front-user-panel-text);
  display: flex;
  font-size: 0.98rem;
  font-weight: 700;
  gap: 0.25rem;
  padding: 15px 16px;
}
.front-user-menu-list .list-group-item i {
  font-size: 1rem;
  margin-right: 12px;
  opacity: 0.96;
  width: 1rem;
}
.front-user-menu-list .list-group-item:focus,
.front-user-menu-list .list-group-item:hover {
  background: color-mix(
    in srgb,
    var(--front-user-panel-alt) 86%,
    var(--front-accent) 14%
  );
  color: var(--front-user-panel-text);
}
.front-user-logout-form {
  margin: 0;
}
.front-user-modal .modal-dialog {
  max-width: 420px;
}
.front-user-modal .modal-content {
  background: 0 0;
  border: 0;
  box-shadow: none;
}
.front-user-modal .modal-header {
  justify-content: space-between;
  padding-right: 0.9rem;
}
.front-user-modal .modal-title {
  flex: 1 1 auto;
  padding-right: 0.75rem;
}
.front-user-modal .btn-close {
  flex: 0 0 32px;
}
.front-user-modal .modal-body,
.front-user-modal .modal-header {
  margin: 0;
}
.front-user-modal .modal-body {
  padding-top: 0.6rem;
}
@media (min-width: 992px) {
  .front-user-offcanvas {
    display: none !important;
  }
  .front-user-modal .btn-close:focus-visible,
  .front-user-modal .btn-close:hover {
    background-color: var(--front-user-close-bg-hover);
    filter: var(--front-user-close-filter);
  }
}
@media (max-width: 575.98px) {
  .front-user-offcanvas {
    --bs-offcanvas-width: calc(100vw - 16px);
    padding-left: 8px;
    padding-right: 8px;
  }
}
.pwa-install-prompt {
  bottom: 18px;
  left: 50%;
  position: fixed;
  transform: translateX(-50%);
  width: min(92vw, 420px);
  z-index: 1400;
}
.pwa-install-card {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--front-main-bg) 96%, #fff 4%),
    color-mix(in srgb, var(--front-main-bg) 90%, var(--front-accent) 10%)
  );
  border: 1px solid
    color-mix(in srgb, var(--front-accent) 28%, var(--theme-toggle-border));
  border-radius: 1.25rem;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
  color: var(--front-main-text);
  display: grid;
  gap: 0.85rem;
  padding: 1rem 1rem 0.95rem;
  position: relative;
}
.pwa-install-copy {
  display: grid;
  gap: 0.25rem;
}
.pwa-install-title {
  font-size: 0.98rem;
}
.pwa-install-text {
  color: var(--bs-secondary-color);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}
.pwa-install-actions {
  display: flex;
  justify-content: flex-start;
}
.pwa-install-action,
.pwa-install-close {
  border: 0;
  border-radius: 999px;
  line-height: 1;
}
.pwa-install-action {
  background: var(--front-accent);
  color: #fff;
  font-weight: 700;
  padding: 0.68rem 1rem;
}
.pwa-install-close {
  background: 0 0;
  color: var(--front-main-text);
  font-size: 1.1rem;
  height: 32px;
  position: absolute;
  right: 0.6rem;
  top: 0.55rem;
  width: 32px;
}
.pwa-install-action:focus,
.pwa-install-action:hover,
.pwa-install-close:focus,
.pwa-install-close:hover {
  filter: brightness(0.96);
}
.front-floating-controls-left {
  left: 14px;
  position: fixed;
  top: 14px;
  z-index: 1200;
}
.page-back-floating {
  border: 0;
  cursor: pointer;
  position: static;
}
.page-back-floating:hover {
  color: var(--theme-toggle-text);
}
.site-badge-floating {
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--theme-toggle-highlight) 90%, transparent),
      transparent 56%
    ),
    color-mix(in srgb, var(--theme-toggle-backdrop) 100%, transparent);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  position: static;
  text-transform: uppercase;
}
.site-badge-floating span {
  line-height: 1;
}
.site-badge-floating-mobile {
  border: 0;
  cursor: pointer;
}
.theme-toggle .bi-moon-stars-fill {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.theme-toggle .bi-sun-fill {
  opacity: 0;
  transform: rotate(-180deg) scale(0.6);
}
[data-theme="dark"] .theme-toggle .bi-moon-stars-fill {
  opacity: 0;
  transform: rotate(180deg) scale(0.55);
}
[data-theme="dark"] .theme-toggle .bi-sun-fill {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.theme-toggle:focus:before,
.theme-toggle:hover:before {
  opacity: 1;
  transform: rotate(180deg);
}
.theme-toggle.is-switching {
  animation: frontThemeToggleSpin 0.52s cubic-bezier(0.16, 1, 0.3, 1);
}
.theme-toggle.is-switching:before {
  transform: rotate(180deg) scale(1.04);
}
[data-theme="dark"] .article-meta-item,
[data-theme="dark"] .related-card-date {
  color: #94a3b8;
}
@media (max-width: 767.98px) {
  .article-hero,
  .article-hero-overlay {
    min-height: 36vh;
  }
  .article-content figure img,
  .article-content img,
  .article-content img.img-responsive,
  .product-rich-content img,
  .product-rich-content img.img-responsive {
    width: 100% !important;
  }
  footer .container,
  main .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .front-floating-controls-right {
    gap: 6px;
    right: 12px;
    top: 12px;
  }
  .pwa-install-prompt {
    bottom: 10px;
    width: min(420px, calc(100% - 1rem));
  }
  .pwa-install-card {
    padding: 0.95rem 0.95rem 0.9rem;
  }
}
@media (max-width: 991.98px) {
  .product-detail-page ~ footer[data-front-parallax-footer],
  .read-page-main ~ footer[data-front-parallax-footer] {
    display: none !important;
  }
  .read-page-main {
    padding: 0 !important;
  }
  .read-page-main .article-hero {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    margin: 0 0 1rem !important;
  }
  .read-page-main .article-hero .container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
  .read-page-main .article-hero-title {
    padding: 1rem;
  }
  .read-page-main > .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.home-hero {
  --hero-bg-card: #fff;
  --hero-bg-elevated: #ffffffb2;
  --hero-border: rgba(15, 23, 42, 0.12);
  --hero-border-light: rgba(15, 23, 42, 0.28);
  --hero-text-primary: #0f172a;
  --hero-text-secondary: #334155;
  --hero-text-muted: #64748b;
  --hero-accent: #b45309;
  --hero-accent-light: #c2410c;
  --hero-accent-dim: rgba(180, 83, 9, 0.14);
  --hero-success: #22c55e;
  --hero-info: #3b82f6;
  --hero-purple: #a855f7;
  --hero-btn-primary-text: #fff;
  --hero-btn-primary-shadow: rgba(180, 83, 9, 0.24);
  --hero-btn-secondary-bg: #ffffffb2;
  --hero-btn-secondary-text: #0f172a;
  --hero-btn-secondary-border: rgba(15, 23, 42, 0.28);
  --hero-btn-secondary-hover-bg: #fff;
  --hero-btn-secondary-hover-border: rgba(15, 23, 42, 0.38);
  --hero-btn-secondary-shadow: rgba(15, 23, 42, 0.08);
  background: 0 0;
  color: var(--hero-text-primary);
  overflow: hidden;
}
.home-hero .hero-grid {
  inset: 0;
  position: absolute;
  z-index: 0;
}
.home-hero,
.home-hero .hero-shell {
  align-items: center;
  display: flex;
  min-height: calc(100vh - 2rem);
  position: relative;
}
.home-hero .hero-shell {
  padding-bottom: 0;
  padding-top: 0;
  width: 100%;
  z-index: 1;
}
.home-hero .hero-glow {
  display: none;
}
.home-hero .hero-badge {
  align-items: center;
  background: var(--hero-accent-dim);
  border: 1px solid rgba(180, 83, 9, 0.38);
  border-radius: 999px;
  color: var(--hero-accent);
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 500;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.5rem 1rem;
}
@media (min-width: 992px) {
  .home-hero .hero-badge {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-top-badge-animatable,
  .home-top-badge-animatable.is-docked,
  .home-top-badge-animatable.is-ready {
    animation: none !important;
    opacity: 1;
    transform: translateX(0) scale(1);
    transition: none !important;
  }
}
.home-hero .hero-title {
  font-size: clamp(2.1rem, 5.8vw, 4.65rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1rem;
}
.home-hero .hero-title .highlight {
  color: var(--hero-accent);
}
.home-hero .hero-subtitle {
  color: var(--hero-text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
}
.home-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.home-hero .btn-hero-primary {
  background: var(--hero-accent);
  border: 1px solid var(--hero-accent);
  border-radius: 12px;
  color: var(--hero-btn-primary-text);
  font-weight: 600;
  padding: 0.9rem 1.4rem;
}
.home-hero .btn-hero-primary:hover {
  background: var(--hero-accent-light);
  border-color: var(--hero-accent-light);
  box-shadow: 0 6px 14px var(--hero-btn-primary-shadow);
  color: var(--hero-btn-primary-text);
}
.home-hero .btn-hero-secondary {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: var(--hero-btn-secondary-bg);
  border: 1px solid var(--hero-btn-secondary-border);
  border-radius: 12px;
  color: var(--hero-btn-secondary-text);
  font-weight: 500;
  padding: 0.9rem 1.4rem;
}
.home-hero .btn-hero-secondary:hover {
  background: var(--hero-btn-secondary-hover-bg);
  border-color: var(--hero-btn-secondary-hover-border);
  box-shadow: 0 3px 10px var(--hero-btn-secondary-shadow);
  color: var(--hero-btn-secondary-text);
}
.home-hero .hero-visual {
  margin-top: 0;
  perspective: 1100px;
  position: relative;
}
.home-hero .hero-card {
  background: var(--hero-bg-card);
  border: 1px solid var(--hero-border);
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  padding: 1.45rem;
  position: relative;
  transform: rotateY(-8deg) rotateX(5deg);
  transform-origin: left center;
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}
.home-hero .hero-card:hover {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
  transform: rotateY(0deg) rotateX(0deg);
}
.home-hero .hero-card:before {
  background: linear-gradient(
    90deg,
    var(--hero-accent),
    #f43f5e,
    var(--hero-purple)
  );
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.home-hero .card-header-custom {
  align-items: center;
  border-bottom: 1px solid var(--hero-border);
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}
.home-hero .card-dots {
  display: flex;
  gap: 0.35rem;
}
.home-hero .card-dot {
  border-radius: 50%;
  height: 10px;
  width: 10px;
}
.home-hero .card-dot.red {
  background: #ef4444;
}
.home-hero .card-dot.yellow {
  background: #eab308;
}
.home-hero .card-dot.green {
  background: #22c55e;
}
.home-hero .card-title-custom {
  color: var(--hero-text-muted);
  font-size: 0.92rem;
}
.home-hero .code-line {
  color: var(--hero-text-primary);
  display: flex;
  font-family:
    JetBrains Mono,
    Consolas,
    monospace;
  font-size: 0.88rem;
  gap: 0.95rem;
  overflow-x: auto;
  padding: 0.44rem 0;
}
.home-hero .code-number {
  color: var(--hero-text-muted);
  flex: 0 0 auto;
  user-select: none;
}
.home-hero .code-keyword {
  color: var(--hero-purple);
}
.home-hero .code-function {
  color: var(--hero-info);
}
.home-hero .code-string {
  color: var(--hero-success);
}
.home-hero .code-variable {
  color: var(--hero-accent);
}
.home-hero .floating-badge {
  align-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: var(--hero-bg-elevated);
  border: 1px solid var(--hero-border);
  border-radius: 16px;
  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  display: flex;
  gap: 0.75rem;
  padding: 0.78rem 0.95rem;
  pointer-events: none;
  position: absolute;
  will-change: transform;
  z-index: 2;
}
.home-hero .floating-badge.top-right {
  animation: homeFloatTop 9.5s cubic-bezier(0.37, 0, 0.2, 1) infinite;
  right: -0.9rem;
  top: 1.1rem;
}
.home-hero .floating-badge.bottom-left {
  animation: homeFloatBottom 11s cubic-bezier(0.37, 0, 0.2, 1) infinite;
  animation-delay: -2.4s;
  bottom: 1.35rem;
  left: -1.15rem;
}
.home-hero .floating-icon {
  align-items: center;
  border-radius: 9px;
  display: flex;
  font-size: 1.05rem;
  height: 38px;
  justify-content: center;
  width: 38px;
}
.home-hero .floating-icon img {
  border-radius: inherit;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.home-hero .floating-icon.green {
  background: rgba(34, 197, 94, 0.16);
  color: var(--hero-success);
}
.home-hero .floating-icon.blue {
  background: rgba(59, 130, 246, 0.16);
  color: var(--hero-info);
}
.home-hero .floating-text {
  font-size: 0.85rem;
  line-height: 1.2;
}
.home-hero .floating-text strong {
  color: var(--hero-text-primary);
  display: block;
  font-size: 0.95rem;
}
.home-hero .floating-text span {
  color: var(--hero-text-muted);
  font-size: 0.78rem;
}
.font-poduk {
  font-size: 1rem;
}
.home-page-main .btn-home-social,
.home-page-main .home-btn-primary,
.home-page-main .home-product-pagination .page-item.active .page-link {
  background: var(--front-accent);
  border-color: var(--front-accent);
  color: #fff;
}
.home-page-main .btn-home-social:focus,
.home-page-main .btn-home-social:hover,
.home-page-main .home-btn-primary:focus,
.home-page-main .home-btn-primary:hover {
  background: var(--front-accent-hover);
  border-color: var(--front-accent-hover);
  box-shadow: 0 0.75rem 1.5rem rgba(249, 115, 22, 0.18);
  color: #fff;
}
.home-page-main .btn-home-social:active,
.home-page-main .home-btn-primary:active {
  background: var(--front-accent-hover) !important;
  border-color: var(--front-accent-hover) !important;
  color: #fff !important;
}
.home-page-main .card a.home-btn-primary {
  text-decoration: none;
}
.home-page-main .product-highlight-card {
  --product-rating-overlay-bg: rgba(255, 255, 255, 0.92);
  --product-rating-overlay-border: rgba(148, 163, 184, 0.3);
  --product-rating-overlay-text: #0f172a;
  --product-rating-overlay-shadow: rgba(15, 23, 42, 0.14);
  overflow: hidden;
}
[data-theme="dark"] .home-page-main .product-highlight-card {
  --product-rating-overlay-bg: rgba(15, 23, 42, 0.78);
  --product-rating-overlay-border: rgba(255, 255, 255, 0.16);
  --product-rating-overlay-text: rgba(255, 255, 255, 0.96);
  --product-rating-overlay-shadow: rgba(2, 6, 23, 0.24);
}
.home-page-main .product-highlight-media-wrap {
  position: relative;
}
.home-page-main .product-highlight-media-wrap::after {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.04) 0,
    rgba(15, 23, 42, 0) 34%,
    rgba(15, 23, 42, 0.22) 100%
  );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.home-page-main .home-lite-hero-card {
  background:
    radial-gradient(
      circle at top right,
      color-mix(in srgb, var(--front-accent) 18%, transparent),
      transparent 36%
    ),
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--front-main-bg) 97%, #fff 3%),
      color-mix(in srgb, var(--front-main-bg) 90%, var(--front-accent) 10%)
    );
  border: 1px solid color-mix(in srgb, var(--front-border) 78%, transparent);
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.08);
  overflow: hidden;
  padding: 1.35rem;
  position: relative;
}
.home-page-main .home-lite-hero-eyebrow {
  align-items: center;
  background: color-mix(in srgb, var(--front-accent) 12%, transparent);
  border-radius: 999px;
  color: var(--front-accent);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.7rem;
  text-transform: uppercase;
}
.home-page-main .home-lite-hero-logo-wrap {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100%;
}
.home-page-main .home-lite-hero-logo {
  filter: drop-shadow(0 1rem 1.8rem rgba(15, 23, 42, 0.12));
  height: auto;
  object-fit: contain;
  width: min(100%, 260px);
}
.home-page-main .home-lite-hero-title {
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  line-height: 1.2;
  max-width: 760px;
}
.home-page-main .home-lite-hero-copy {
  color: var(--bs-secondary-color);
  line-height: 1.7;
  max-width: 720px;
}
.home-page-main .home-lite-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.home-page-main .home-lite-hero-points span {
  align-items: center;
  background: color-mix(in srgb, var(--front-main-bg) 92%, #fff 8%);
  border: 1px solid color-mix(in srgb, var(--front-border) 74%, transparent);
  border-radius: 999px;
  color: var(--front-text);
  display: inline-flex;
  font-size: 0.9rem;
  gap: 0.45rem;
  padding: 0.55rem 0.8rem;
}
.home-page-main .home-lite-hero-points i {
  color: var(--front-accent);
}
.home-page-main .home-lite-hero-panel {
  background: color-mix(in srgb, var(--front-main-bg) 94%, #fff 6%);
  border: 1px solid
    color-mix(in srgb, var(--front-accent) 20%, var(--front-border));
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
}
.home-page-main .home-lite-hero-stat {
  display: grid;
  gap: 0.35rem;
}
.home-page-main .home-lite-hero-stat-label {
  color: var(--front-accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-page-main .home-product-pagination .page-link {
  background: color-mix(in srgb, var(--front-main-bg) 96%, #fff 4%);
  border-color: color-mix(in srgb, var(--front-border) 78%, transparent);
  box-shadow: none;
  color: var(--front-text);
  min-width: 42px;
  padding: 0.55rem 0.85rem;
}
.home-page-main .home-product-pagination .page-item.disabled .page-link {
  background: color-mix(in srgb, var(--front-main-bg) 94%, transparent);
  color: var(--bs-secondary-color);
}
.home-page-main .home-search-shell {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--front-main-bg) 96%, #fff 4%),
    color-mix(in srgb, var(--front-main-bg) 92%, var(--front-accent) 8%)
  );
  border: 1px solid color-mix(in srgb, var(--front-border) 76%, transparent);
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.06);
  padding: 1rem;
}
.home-page-main .home-search-label {
  align-items: center;
  color: var(--front-accent);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 0.4rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}
.home-page-main .home-search-copy {
  color: var(--bs-secondary-color);
}
.home-page-main .home-search-form {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr) auto auto auto;
  max-width: 860px;
  width: 100%;
}
.home-page-main .home-search-form.is-loading {
  pointer-events: none;
}
.home-page-main .home-search-keyword,
.home-page-main .home-search-type {
  min-width: 0;
}
.home-page-main .home-search-form .form-control,
.home-page-main .home-search-form .form-select {
  border-color: color-mix(in srgb, var(--front-border) 78%, transparent);
  min-height: 48px;
}
.home-page-main .home-search-reset,
.home-page-main .home-search-submit {
  min-height: 48px;
  padding-inline: 1.1rem;
}
.home-page-main .home-search-show-all {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 48px;
  padding-inline: 1.1rem;
  white-space: nowrap;
}
.home-page-main .listing-search-form {
  grid-template-columns: minmax(0, 1fr) minmax(150px, 180px) minmax(
      150px,
      180px
    );
  max-width: 1120px;
}
.home-page-main .listing-search-keyword {
  min-width: 0;
}
.home-page-main .listing-search-form .home-search-reset,
.home-page-main .listing-search-form .home-search-submit {
  justify-content: center;
  width: 100%;
}
.home-page-main .home-search-feedback {
  border: 1px solid transparent;
  border-radius: 1rem;
  font-size: 0.92rem;
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
}
.home-page-main .home-search-feedback.is-success {
  background: #166534;
  border-color: #15803d;
  color: #ecfdf5;
}
.home-page-main .home-search-feedback.is-error {
  background: #991b1b;
  border-color: #b91c1c;
  color: #fef2f2;
}
.home-page-main .home-search-feedback.is-muted {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #334155;
}
.home-page-main .listing-load-status {
  min-height: 2.75rem;
}
.home-page-main .listing-load-spinner {
  align-items: center;
  color: var(--bs-secondary-color);
  display: inline-flex;
  gap: 0.6rem;
  justify-content: center;
}
.home-page-main .listing-load-complete {
  color: var(--bs-secondary-color);
  font-size: 0.95rem;
}
.home-page-main .listing-load-sentinel {
  height: 1px;
  width: 100%;
}
.home-page-main .home-search-results-head {
  min-height: 2.75rem;
}
.home-page-main .product-highlight-ad-card {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--front-main-bg) 96%, #fff 4%),
    color-mix(in srgb, var(--front-main-bg) 90%, var(--front-accent) 10%)
  );
  border: 1px dashed
    color-mix(in srgb, var(--front-accent) 34%, var(--front-border));
}
.home-page-main .product-highlight-card-body {
  min-height: 124px;
}
.home-page-main .product-highlight-ad-label {
  align-items: center;
  background: color-mix(in srgb, var(--front-accent) 12%, transparent);
  border-radius: 999px;
  color: var(--front-accent);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.22rem 0.58rem;
  text-transform: uppercase;
  width: fit-content;
}
.home-page-main .product-highlight-ad-unit {
  background: color-mix(in srgb, var(--front-main-bg) 88%, #fff 12%);
  border-radius: 1rem;
  margin: 0 auto;
  max-width: 100%;
  overflow: hidden;
  width: fit-content;
}
.home-page-main .product-highlight-ad-unit-wrap {
  align-items: center;
  display: flex;
  justify-content: center;
}
.home-page-main .product-highlight-ad-unit .adsbygoogle {
  max-width: 100%;
}
.home-page-main .product-highlight-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.45;
  min-height: 2.9rem;
  overflow: hidden;
}
.home-page-main .product-highlight-rating {
  align-items: center;
  color: #f59e0b;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.85rem;
  gap: 0.35rem 0.5rem;
}
.home-page-main .product-highlight-stars {
  display: inline-flex;
  font-size: 0.86rem;
  gap: 0.15rem;
  line-height: 1;
}
.home-page-main .product-highlight-rating-text {
  color: var(--bs-secondary-color);
  font-size: 0.8rem;
}
.home-page-main .product-highlight-rating-overlay {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: var(--product-rating-overlay-bg);
  border: 1px solid var(--product-rating-overlay-border);
  border-radius: 999px;
  box-shadow: 0 10px 22px var(--product-rating-overlay-shadow);
  left: 0.75rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.38rem 0.65rem;
  position: absolute;
  top: 0.75rem;
  z-index: 2;
}
.home-page-main
  .product-highlight-rating-overlay
  .product-highlight-rating-text {
  color: var(--product-rating-overlay-text);
}
.home-page-main .product-highlight-footer {
  display: flex;
  gap: 0.55rem;
  justify-content: space-between;
  align-items: flex-end;
}
.home-page-main .product-highlight-meta-row {
  display: flex;
  flex: 1 1 auto;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  min-width: 0;
}
.home-page-main .product-highlight-action-row {
  display: flex;
  flex: 0 0 auto;
}
.home-page-main .product-highlight-price {
  font-weight: 600;
  margin: 0;
}
.home-page-main .product-highlight-article-card {
  border-color: color-mix(
    in srgb,
    var(--front-accent) 16%,
    var(--front-border)
  );
}
.home-page-main .product-highlight-article-meta {
  color: var(--front-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.home-page-main .product-highlight-article-badge {
  align-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid transparent;
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 700;
  gap: 0.35rem;
  max-width: calc(100% - 1rem);
  padding: 0.42rem 0.7rem;
  position: absolute;
  right: 0.5rem;
  text-transform: uppercase;
  top: 0.5rem;
  z-index: 2;
}
[data-theme="dark"] .home-page-main .product-highlight-article-badge {
  background: rgba(15, 23, 42, 0.82);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}
[data-theme="light"] .home-page-main .product-highlight-article-badge {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}
.home-page-main .product-highlight-article-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  color: var(--bs-secondary-color);
  font-size: 0.88rem;
  -webkit-line-clamp: 3;
  line-height: 1.5;
  min-height: 3.9rem;
  overflow: hidden;
}
.home-page-main .product-highlight-article-date {
  color: var(--bs-secondary-color);
  font-size: 0.85rem;
}
.home-page-main .product-highlight-skeleton-card {
  background: color-mix(in srgb, var(--front-main-bg) 95%, #fff 5%);
  border: 1px solid color-mix(in srgb, var(--front-border) 78%, transparent);
}
.home-page-main .product-highlight-skeleton-media {
  background: rgba(148, 163, 184, 0.16);
  height: 130px;
}
.home-page-main .product-highlight-skeleton-button,
.home-page-main .product-highlight-skeleton-line,
.home-page-main .product-highlight-skeleton-price,
.home-page-main .product-highlight-skeleton-rating {
  background: rgba(148, 163, 184, 0.16);
  border-radius: 999px;
}
.home-page-main .product-highlight-skeleton-line {
  height: 14px;
  margin-bottom: 0.55rem;
}
.home-page-main .product-highlight-skeleton-line.short {
  margin-bottom: 1rem;
  width: 72%;
}
.home-page-main .product-highlight-skeleton-rating {
  height: 12px;
  margin-bottom: 1.1rem;
  width: 58%;
}
.home-page-main .product-highlight-skeleton-price {
  height: 14px;
  width: 42%;
}
.home-page-main .product-highlight-skeleton-button {
  height: 34px;
  width: 86px;
}
.home-page-main .skeleton-shimmer {
  overflow: hidden;
  position: relative;
}
.home-page-main .skeleton-shimmer:after {
  animation: homeSkeletonShimmer 1.2s ease-in-out infinite;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  content: "";
  inset: 0;
  position: absolute;
  transform: translateX(-100%);
}
.home-page-main .btn-home-social {
  border-radius: 999px;
}
[data-theme="dark"] .home-hero {
  --hero-bg-card: #18181b;
  --hero-bg-elevated: #1f1f23b2;
  --hero-border: #27272a;
  --hero-border-light: #3f3f46;
  --hero-text-primary: #fafafa;
  --hero-text-secondary: #a1a1aa;
  --hero-text-muted: #71717a;
  --hero-accent-dim: rgba(180, 83, 9, 0.14);
  --hero-btn-primary-text: #fff;
  --hero-btn-primary-shadow: rgba(180, 83, 9, 0.36);
  --hero-btn-secondary-bg: #1f1f23b2;
  --hero-btn-secondary-text: #fafafa;
  --hero-btn-secondary-border: #3f3f46;
  --hero-btn-secondary-hover-bg: #2a2a2f;
  --hero-btn-secondary-hover-border: #71717a;
  --hero-btn-secondary-shadow: rgba(0, 0, 0, 0.35);
}
@media (max-width: 991.98px) {
  .home-hero,
  .home-hero .hero-shell {
    display: block;
    min-height: auto;
  }
  .home-hero .hero-shell {
    padding-bottom: 2.75rem;
    padding-top: 2.75rem;
  }
  .home-hero .hero-visual {
    margin-top: 2.4rem;
  }
  .home-hero .hero-card {
    transform: rotateY(-6deg) rotateX(4deg);
    transform-origin: left center;
  }
  .home-hero .hero-card.is-touch-active {
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
    transform: rotateY(0deg) rotateX(0deg);
  }
  .home-hero .floating-badge.top-right {
    right: 0.25rem;
  }
  .home-hero .floating-badge.bottom-left {
    left: 0.2rem;
  }
  .home-page-main .home-search-form {
    grid-template-columns: 1fr 1fr;
  }
  .home-page-main .listing-search-form {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 180px) minmax(
        150px,
        180px
      );
  }
}
@media (min-width: 992px) {
  .home-hero .hero-shell {
    align-items: flex-start;
    padding-bottom: 1.25rem;
    padding-top: 0;
  }
}
@media (min-width: 768px) {
  .font-poduk {
    font-size: 1.25rem;
    line-height: 1.2;
  }
}
@media (max-width: 767.98px) {
  .home-hero .floating-badge {
    display: flex !important;
    gap: 0.55rem;
    max-width: calc(100% - 1rem);
    padding: 0.55rem 0.7rem;
    z-index: 2;
  }
  .home-hero .floating-badge.top-right {
    right: 0.4rem;
    top: -0.45rem;
  }
  .home-hero .floating-badge.bottom-left {
    bottom: -0.35rem;
    left: 0.35rem;
  }
  .home-page-main .home-search-shell {
    padding: 0.9rem;
  }
  .home-page-main .home-lite-hero-card {
    padding: 1rem;
  }
  .home-page-main .home-lite-hero-logo {
    width: min(100%, 220px);
  }
  .home-page-main .home-lite-hero-points {
    flex-direction: column;
  }
  .home-page-main .home-search-form,
  .home-page-main .listing-search-form {
    grid-template-columns: 1fr;
  }
  .home-page-main .product-highlight-card-body {
    min-height: 132px;
    padding: 0.85rem !important;
  }
  .home-page-main .product-highlight-meta-row {
    align-items: flex-start;
    flex-direction: row;
  }
  .home-page-main .product-highlight-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 0.55rem;
    justify-content: flex-start;
  }
  .home-page-main .product-highlight-price {
    font-size: 1rem;
  }
  .home-page-main .product-highlight-rating-overlay {
    gap: 0.3rem 0.45rem;
    left: 0.5rem;
    max-width: calc(100% - 1rem);
    padding: 0.32rem 0.55rem;
    top: 0.5rem;
  }
  .home-page-main
    .product-highlight-rating-overlay
    .product-highlight-rating-text {
    display: inline;
    font-size: 0.74rem;
  }
  .home-page-main .product-highlight-article-badge {
    font-size: 0.62rem;
    gap: 0.28rem;
    max-width: calc(100% - 0.8rem);
    padding: 0.34rem 0.55rem;
    right: 0.4rem;
    top: 0.4rem;
  }
  .home-page-main .home-search-reset,
  .home-page-main .home-search-show-all,
  .home-page-main .home-search-submit,
  .home-page-main .product-highlight-action-row .btn,
  .home-page-main .product-highlight-skeleton-button,
  .home-page-main .product-highlight-skeleton-price {
    width: 100%;
  }
  .home-hero .floating-icon {
    height: 34px;
    width: 34px;
  }
  .home-hero .floating-text strong {
    font-size: 0.86rem;
  }
  .home-hero .floating-text span {
    font-size: 0.72rem;
  }
}
@media (max-width: 575.98px) {
  .home-hero .hero-shell {
    padding-bottom: 2rem;
    padding-top: 2rem;
  }
  .home-hero .hero-actions .btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .theme-toggle,
  .theme-toggle i,
  .theme-toggle:before {
    animation: none !important;
    transition: none !important;
  }
  .home-hero .hero-card {
    transform: none !important;
    transition: none !important;
  }
  .home-hero .floating-badge.bottom-left,
  .home-hero .floating-badge.top-right {
    animation: none !important;
  }
}
.youtube-demo-page .home-hero {
  min-height: auto;
}
.youtube-demo-page .hero-shell {
  min-height: auto;
  padding-bottom: 1.5rem;
  padding-top: 3rem;
}
.youtube-demo-summary-card {
  align-items: center;
  background: color-mix(in srgb, var(--front-main-bg) 92%, #fff 8%);
  border: 1px solid var(--front-border);
  border-radius: 1.25rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  gap: 1rem;
  padding: 1.2rem;
}
.youtube-demo-summary-icon {
  align-items: center;
  background: rgba(220, 38, 38, 0.12);
  border-radius: 1rem;
  color: #dc2626;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.5rem;
  height: 52px;
  justify-content: center;
  width: 52px;
}
.youtube-demo-card {
  background: color-mix(in srgb, var(--front-main-bg) 94%, #fff 6%);
  border-color: var(--front-border);
  overflow: hidden;
}
.youtube-demo-media,
.youtube-demo-placeholder,
.youtube-demo-player,
.youtube-demo-preview {
  aspect-ratio: 16/9;
  position: relative;
  width: 100%;
}
.youtube-demo-player iframe,
.youtube-demo-preview img {
  border: 0;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.youtube-demo-placeholder {
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(220, 38, 38, 0.12),
    rgba(15, 23, 42, 0.08)
  );
  color: #dc2626;
  display: flex;
  font-size: 3rem;
  justify-content: center;
}
.youtube-demo-inline-play {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff;
  left: 50%;
  padding: 0.75rem 1.15rem;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}
.youtube-demo-inline-play:focus,
.youtube-demo-inline-play:hover {
  background: rgba(15, 23, 42, 0.96);
  color: #fff;
}
.youtube-demo-title {
  line-height: 1.35;
}
.youtube-demo-badge {
  background: rgba(180, 83, 9, 0.12);
  border-radius: 999px;
  color: var(--hero-accent);
  font-family:
    JetBrains Mono,
    Consolas,
    monospace;
  font-size: 0.72rem;
  padding: 0.28rem 0.55rem;
  white-space: nowrap;
}
.youtube-demo-description {
  display: -webkit-box;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.youtube-demo-modal-content {
  border-radius: 1.25rem;
  overflow: hidden;
}
.youtube-demo-modal-frame {
  aspect-ratio: 16/9;
  position: relative;
  width: 100%;
}
.youtube-demo-modal-frame iframe {
  border: 0;
  height: 100%;
  width: 100%;
}
.product-detail-ad-card {
  background: color-mix(in srgb, var(--front-main-bg) 95%, #fff 5%);
  border: 1px dashed
    color-mix(in srgb, var(--front-accent) 30%, var(--front-border));
  border-radius: 1.5rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  margin-top: 1.25rem;
  padding: 1rem;
  position: sticky;
  top: 6.5rem;
}
.product-detail-ad-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.product-detail-ad-label {
  align-items: center;
  background: color-mix(in srgb, var(--front-accent) 12%, transparent);
  border-radius: 999px;
  color: var(--front-accent);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.22rem 0.58rem;
  text-transform: uppercase;
}
.product-detail-ad-unit-wrap {
  background: color-mix(in srgb, var(--front-main-bg) 88%, #fff 12%);
  border-radius: 1rem;
  min-height: 280px;
  overflow: hidden;
}
.product-detail-ad-unit-wrap .adsbygoogle {
  min-height: 280px !important;
}
.content-ad-card {
  background: color-mix(in srgb, var(--front-main-bg) 94%, #fff 6%);
  border-color: var(--front-border);
}
.content-ad-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.content-ad-label {
  align-items: center;
  background: color-mix(in srgb, var(--front-accent) 12%, transparent);
  border-radius: 999px;
  color: var(--front-accent);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.22rem 0.58rem;
  text-transform: uppercase;
}
.content-ad-unit-wrap {
  background: color-mix(in srgb, var(--front-main-bg) 88%, #fff 12%);
  border-radius: 1rem;
  min-height: 180px;
  overflow: hidden;
}
.content-ad-unit-wrap .adsbygoogle {
  min-height: 180px !important;
}
@media (max-width: 991.98px) {
  .content-ad-card,
  .product-detail-ad-card {
    display: none;
  }
  .product-detail-ad-card {
    margin-top: 1rem;
  }
  .product-detail-ad-unit-wrap,
  .product-detail-ad-unit-wrap .adsbygoogle {
    min-height: 180px !important;
  }
  .content-ad-unit-wrap,
  .content-ad-unit-wrap .adsbygoogle {
    min-height: 140px !important;
  }
  .youtube-demo-page .hero-shell {
    padding-bottom: 1.25rem;
    padding-top: 2.5rem;
  }
}
.related-scroll-products {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: none;
  padding-bottom: 0.15rem;
  touch-action: pan-x;
}
.related-scroll-products::-webkit-scrollbar {
  display: none;
}
.related-product-card {
  background: color-mix(in srgb, var(--front-main-bg) 97%, #fff 3%);
  border-radius: 1.1rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  display: flex;
  flex: 0 0 196px;
  flex-direction: column;
  max-width: 196px;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}
.related-product-card:focus,
.related-product-card:hover {
  border-color: color-mix(
    in srgb,
    var(--front-accent) 28%,
    var(--front-border)
  );
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  color: inherit;
}
.related-product-media {
  background: #d4d4d4;
  overflow: hidden;
  padding: 0;
  position: relative;
}
.related-product-image,
.related-product-placeholder {
  border-radius: 0.2rem;
  display: block;
  height: 112px;
  object-fit: cover;
  width: 100%;
}
.related-product-placeholder {
  background: rgba(255, 255, 255, 0.55);
  font-size: 1.5rem;
}
.related-product-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 0.85rem 0.9rem 0.9rem;
}
.related-product-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  font-size: 0.88rem;
  font-weight: 700;
  -webkit-line-clamp: 2;
  line-height: 1.3;
  margin-bottom: 0.45rem;
  min-height: 2.3rem;
  overflow: hidden;
}
.related-product-date {
  margin-top: 0.1rem;
}
.related-product-rating {
  align-items: center;
  color: #6b7280;
  display: flex;
  font-size: 0.78rem;
  gap: 0.45rem;
  margin-bottom: 0.95rem;
}
.related-product-stars {
  color: #f59e0b;
  display: inline-flex;
  font-size: 0.76rem;
  gap: 0.08rem;
  line-height: 1;
}
.related-product-rating-overlay {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
  color: #0f172a;
  left: 0.65rem;
  margin: 0;
  max-width: calc(100% - 1.3rem);
  padding: 0.32rem 0.58rem;
  position: absolute;
  top: 0.65rem;
  z-index: 2;
}
[data-theme="dark"] .related-product-rating-overlay {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.24);
  color: rgba(255, 255, 255, 0.96);
}
.related-product-rating-overlay .related-product-rating-text {
  color: inherit;
}
.related-product-footer {
  align-items: center;
  display: flex;
  gap: 0.55rem;
  justify-content: space-between;
  margin: 0;
}
.related-product-price {
  color: var(--front-main-text);
  font-size: 0.82rem;
  font-weight: 800;
  margin: 0;
}
.related-product-cta {
  align-items: center;
  background: var(--front-accent);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 700;
  gap: 0.3rem;
  justify-content: center;
  line-height: 1;
  min-width: auto;
  padding: 0.48rem 0.7rem;
  white-space: nowrap;
}
.related-product-cta i {
  font-size: 0.78rem;
}
@media (max-width: 767.98px) {
  .related-product-card {
    flex-basis: 182px;
    max-width: 182px;
  }
  .related-product-image,
  .related-product-placeholder {
    height: 104px;
  }
  .related-product-body {
    padding: 0.78rem 0.78rem 0.85rem;
  }
  .related-product-title {
    font-size: 0.84rem;
  }
  .related-product-footer {
    align-items: center;
    flex-direction: row;
  }
  .related-product-price {
    font-size: 0.8rem;
  }
  .related-product-rating-overlay {
    left: 0.45rem;
    max-width: calc(100% - 0.9rem);
    padding: 0.28rem 0.5rem;
    top: 0.45rem;
  }
  .related-product-rating-overlay .related-product-rating-text {
    font-size: 0.74rem;
  }
  .related-product-cta {
    font-size: 0.74rem;
    padding: 0.44rem 0.65rem;
  }
}
@media (max-width: 991.98px) {
  .home-hero .btn-hero-secondary,
  .home-hero .floating-badge,
  .home-top-badge,
  .pwa-install-card {
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }
  .front-cart-toggle,
  .front-floating-control,
  .front-user-toggle,
  .home-top-badge,
  .theme-toggle {
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  }
  .home-hero .floating-badge,
  .home-page-main .home-lite-hero-card,
  .home-page-main .home-search-shell {
    box-shadow: 0 0.55rem 1.1rem rgba(15, 23, 42, 0.08);
  }
  .home-hero .floating-badge.bottom-left,
  .home-hero .floating-badge.top-right {
    animation: none !important;
  }
}
.error-page {
  --error-surface: color-mix(
    in srgb,
    var(--front-main-bg, #0f172a) 92%,
    #fff 8%
  );
  --error-surface-strong: color-mix(
    in srgb,
    var(--front-main-bg, #0f172a) 84%,
    #fff 16%
  );
  --error-border: color-mix(
    in srgb,
    var(--front-border, #334155) 76%,
    transparent
  );
  --error-text: var(--front-main-text, #e5e7eb);
  --error-accent: var(--front-accent, #f97316);
  align-items: center;
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  padding: 7rem 1rem 3rem;
  position: relative;
}
.error-grid {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 100px 100px;
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.error-content {
  margin: 0 auto;
  max-width: 980px;
  position: relative;
  width: 100%;
  z-index: 1;
}
.error-card {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background:
    radial-gradient(
      circle at top right,
      color-mix(in srgb, var(--error-accent) 18%, transparent),
      transparent 34%
    ),
    var(--error-surface);
  border: 1px solid var(--error-border);
  border-radius: 2rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  color: var(--error-text);
  padding: clamp(1.4rem, 3vw, 2.5rem);
}
.error-code {
  color: var(--error-accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}
.error-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin-bottom: 1rem;
}
.error-description {
  color: var(--error-text);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.4rem;
  max-width: 720px;
}
.error-path {
  background: var(--error-surface-strong);
  border: 1px solid var(--error-border);
  border-radius: 1.25rem;
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
  padding: 1rem 1.1rem;
}
.error-path-line {
  color: var(--error-text);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.95rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.error-path-line .text-danger {
  color: #f87171 !important;
}
.path-prompt {
  color: var(--error-accent);
  display: inline-block;
  font-weight: 700;
  margin-right: 0.45rem;
}
.path-warning {
  color: #fbbf24;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.btn-error {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  gap: 0.5rem;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}
.btn-error:focus,
.btn-error:hover {
  transform: translateY(-1px);
}
.btn-primary-error {
  background: var(--error-accent);
  border-color: var(--error-accent);
  box-shadow: 0 14px 26px rgba(249, 115, 22, 0.22);
  color: #fff;
}
.btn-primary-error:focus,
.btn-primary-error:hover {
  background: color-mix(in srgb, var(--error-accent) 88%, #fff 12%);
  border-color: color-mix(in srgb, var(--error-accent) 88%, #fff 12%);
  color: #fff;
}
.btn-secondary-error {
  background: 0 0;
  border-color: var(--error-border);
  color: var(--error-text);
}
.btn-secondary-error:focus,
.btn-secondary-error:hover {
  background: color-mix(in srgb, var(--error-surface) 84%, #fff 16%);
  border-color: color-mix(
    in srgb,
    var(--error-accent) 32%,
    var(--error-border)
  );
  color: var(--error-text);
}
@media (max-width: 767.98px) {
  .error-page {
    padding: 6.5rem 0.85rem 2rem;
  }
  .error-card {
    border-radius: 1.5rem;
    padding: 1.1rem;
  }
  .error-description {
    font-size: 0.98rem;
  }
  .error-actions {
    flex-direction: column;
  }
  .btn-error {
    width: 100%;
  }
}

/* Front lightweight reveal animations (GPU friendly) */
.front-reveal-init {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 420ms ease, transform 420ms ease;
  will-change: opacity, transform;
}
.front-reveal-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
  .front-reveal-init,
  .front-reveal-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
