/*!
 * AitiCore-CMS - Management system built with AitiCore-Flex.
 * Author: Afan
 * Website: https://aiti-solutions.com
 * GitHub: https://github.com/afandisini
 * License: MIT
 * File: aiti-theme.css
 * Description: Main CSS file for the AitiCore-CMS application.
 */
[data-theme="light"] .article-hero-breadcrumb .btn,
[data-theme="light"] .article-hero-breadcrumb .btn:visited,
[data-theme="light"] .btn-hero-primary,
[data-theme="light"] .btn-hero-primary:visited,
[data-theme="light"] .btn-home-social,
[data-theme="light"] .btn-home-social:visited,
[data-theme="light"] .btn-primary,
[data-theme="light"] .btn-primary:visited,
[data-theme="light"] .btn-warning,
[data-theme="light"] .btn-warning:visited,
[data-theme="light"] .home-btn-primary,
[data-theme="light"] .home-btn-primary:visited,
[data-theme="light"] .product-breadcrumb .btn,
[data-theme="light"] .product-breadcrumb .btn:visited,
[data-theme="light"] .related-product-cta,
[data-theme="light"] .related-product-cta:visited {
  color: var(--aiti-primary-text) !important;
}
[data-theme="light"] .article-hero-breadcrumb a,
[data-theme="light"] .article-hero-breadcrumb a:visited {
  color: #fff !important;
}
[data-theme="light"] .badge.bg-light,
[data-theme="light"] .badge.text-bg-light,
[data-theme="light"] .badge.text-bg-primary,
[data-theme="light"] .content-ad-label,
[data-theme="light"] .hero-badge,
[data-theme="light"] .home-lite-hero-eyebrow,
[data-theme="light"] .product-detail-ad-label,
[data-theme="light"] .product-highlight-ad-label,
[data-theme="light"] .product-pill,
[data-theme="light"] .section-kicker,
[data-theme="light"] .text-bg-primary,
[data-theme="light"] .youtube-demo-badge {
  color: var(--aiti-primary-hover) !important;
}
[data-theme="light"] .badge.bg-light,
[data-theme="light"] .badge.text-bg-light {
  background: var(--aiti-surface-2) !important;
  border: 1px solid var(--aiti-border-soft);
}
[data-theme="light"] .btn-home-social,
[data-theme="light"] .btn-home-social:visited {
  background: var(--aiti-primary) !important;
  border: 1px solid var(--aiti-primary-border) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.16);
}
[data-theme="light"] .btn-home-social:focus,
[data-theme="light"] .btn-home-social:hover {
  background: var(--aiti-primary-hover) !important;
  border-color: var(--aiti-primary-hover) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(194, 65, 12, 0.2);
}
[data-theme="dark"] .btn-home-social,
[data-theme="dark"] .btn-home-social:visited {
  background: color-mix(
    in srgb,
    var(--aiti-primary) 88%,
    #111827 12%
  ) !important;
  border: 1px solid
    color-mix(in srgb, var(--aiti-primary) 78%, rgba(255, 255, 255, 0.12)) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}
[data-theme="dark"] .btn-home-social:focus,
[data-theme="dark"] .btn-home-social:hover {
  background: var(--aiti-primary-hover) !important;
  border-color: var(--aiti-primary-hover) !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}
[data-theme="light"] footer .card.shadow-sm.rounded-4 {
  background: var(--aiti-surface) !important;
  border: 1px solid var(--aiti-border) !important;
  box-shadow: var(--aiti-shadow-sm) !important;
}
[data-theme="light"]
  footer
  .card.shadow-sm.rounded-4
  .card-body.p-3.d-flex.align-items-center.gap-3 {
  background: 0 0 !important;
  color: var(--aiti-text) !important;
}
[data-theme="light"] .product-gallery-badge,
[data-theme="light"] .product-gallery-badge:visited {
  background: rgba(15, 23, 42, 0.86) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #f8fafc !important;
}
[data-theme="light"] .product-gallery-preview-btn,
[data-theme="light"] .product-gallery-preview-btn:visited {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  color: #0f172a !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}
[data-theme="light"] .youtube-demo-inline-play,
[data-theme="light"] .youtube-demo-inline-play:visited {
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #f8fafc !important;
}
[data-theme="light"] .product-gallery-preview-btn:focus,
[data-theme="light"] .product-gallery-preview-btn:hover,
[data-theme="light"] .youtube-demo-inline-play:focus,
[data-theme="light"] .youtube-demo-inline-play:hover {
  background: var(--aiti-primary) !important;
  border-color: var(--aiti-primary-border) !important;
  color: #fff !important;
}
[data-theme="dark"] .product-gallery-badge,
[data-theme="dark"] .product-gallery-badge:visited {
  background: rgba(15, 23, 42, 0.78) !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  color: #f8fafc !important;
}
[data-theme="dark"] .product-gallery-preview-btn,
[data-theme="dark"] .product-gallery-preview-btn:visited {
  background: rgba(15, 23, 42, 0.82) !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  color: #f8fafc !important;
  box-shadow: 0 8px 22px rgba(2, 6, 23, 0.28);
}
[data-theme="dark"] .product-gallery-preview-btn:focus,
[data-theme="dark"] .product-gallery-preview-btn:hover {
  background: var(--aiti-primary) !important;
  border-color: var(--aiti-primary-border) !important;
  color: #fff !important;
}
.rainbow-text,
[data-theme="light"] .home-top-badge span {
  background: linear-gradient(
    90deg,
    #dc2626,
    #ea580c,
    #ca8a04,
    #16a34a,
    #0891b2,
    #2563eb,
    #7c3aed
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
[data-theme="dark"] .home-top-badge span,
[data-theme="dark"] .rainbow-text {
  background: linear-gradient(
    90deg,
    #ef4444,
    #f97316,
    #eab308,
    #22c55e,
    #06b6d4,
    #3b82f6,
    #a855f7
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.btn-outline-dark,
.btn-outline-dark:visited {
  color: var(--cms-text) !important;
  border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}
.btn-outline-dark:focus,
.btn-outline-dark:hover {
  color: var(--cms-text) !important;
  border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
  box-shadow: none !important;
}
.youtube-demo-open-modal,
.youtube-demo-open-modal:visited {
  align-items: center;
  background: rgba(180, 83, 9, 0.12) !important;
  border: 1px solid rgba(180, 83, 9, 0.18) !important;
  border-radius: 999px;
  color: var(--front-accent) !important;
  display: inline-flex !important;
  gap: 0.35rem;
  justify-content: center;
  white-space: nowrap;
}
.youtube-demo-open-modal:focus,
.youtube-demo-open-modal:hover {
  background: rgba(180, 83, 9, 0.18) !important;
  border-color: rgba(180, 83, 9, 0.3) !important;
  color: var(--front-accent) !important;
  box-shadow: none !important;
}
[data-theme="dark"] .youtube-demo-open-modal,
[data-theme="dark"] .youtube-demo-open-modal:visited {
  background: rgba(217, 119, 6, 0.14) !important;
  border-color: rgba(217, 119, 6, 0.22) !important;
  color: #fdba74 !important;
}
[data-theme="dark"] .youtube-demo-open-modal:focus,
[data-theme="dark"] .youtube-demo-open-modal:hover {
  background: rgba(217, 119, 6, 0.22) !important;
  border-color: rgba(217, 119, 6, 0.34) !important;
  color: #fdba74 !important;
}
.youtube-demo-open-modal i,
.youtube-demo-open-modal span {
  color: inherit !important;
}
.youtube-demo-modal {
  z-index: 2000 !important;
}
.modal-backdrop.show {
  z-index: 1050 !important;
}
.youtube-demo-modal .modal-dialog {
  margin: 0;
}
.youtube-demo-modal-content {
  background: #000 !important;
  border: 0 !important;
  border-radius: 0 !important;
  min-height: 100vh;
  overflow: hidden;
}
.youtube-demo-modal-body {
  align-items: center;
  background: #000;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  position: relative;
}
.youtube-demo-modal-frame {
  aspect-ratio: auto;
  display: flex;
  height: 100vh;
  max-height: 100vh;
  position: relative;
  width: 100vw;
  z-index: 1;
}
.youtube-demo-modal-frame iframe {
  height: 100%;
  width: 100%;
}
.youtube-demo-modal-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.22) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
  border-radius: 999px;
  display: inline-flex !important;
  height: 50px;
  justify-content: center;
  left: 0;
  margin-left: 10px;
  opacity: 1 !important;
  padding: 0;
  pointer-events: auto;
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 50px;
  z-index: 2105;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.youtube-demo-modal-close::before {
  content: "\f62a";
  font-family: "bootstrap-icons";
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}
[data-theme="light"] .youtube-demo-modal-close {
  background: rgba(255, 255, 255, 0.26) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
}
[data-theme="dark"] .youtube-demo-modal-close {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: #fff !important;
}
.youtube-demo-modal-close:focus,
.youtube-demo-modal-close:hover {
  box-shadow: 0 0 0 0.25rem rgba(249, 115, 22, 0.22) !important;
  opacity: 1 !important;
  transform: translateY(-1px);
}
@media (max-width: 767.98px) {
  .youtube-demo-modal-body {
    align-items: center;
    padding-top: 0;
  }
  .youtube-demo-modal-frame {
    height: 100vh;
    width: 100vw;
  }
  .youtube-demo-modal-close {
    right: calc(0.75rem + env(safe-area-inset-right));
    top: calc(0.75rem + env(safe-area-inset-top));
    width: 48px;
    height: 48px;
  }
  .youtube-demo-modal-close::before {
    font-size: 1.25rem;
  }
}
