@font-face {
  font-family: "Intro";
  src:
    url("./fonts/Intro/IntroRegular_normal_normal.woff") format("woff"),
    url("./fonts/Intro/IntroRegular_normal_normal.woff2") format("woff2");
  font-display: fallback;
}

@font-face {
  font-family: "Pedigree Unleashed";
  src:
    url("./fonts/PEDIGREEUnleashed/PEDIGREEUnleashed_normal_normal.woff") format("woff"),
    url("./fonts/PEDIGREEUnleashed/PEDIGREEUnleashed_normal_normal.woff2") format("woff2");
  font-display: fallback;
}

@font-face {
  font-family: "Pedigree Unleashed Light";
  src:
    url("./fonts/PEDIGREEUnleashedLight/PEDIGREEUnleashedLight_normal_normal.woff") format("woff"),
    url("./fonts/PEDIGREEUnleashedLight/PEDIGREEUnleashedLight_normal_normal.woff2") format("woff2");
  font-display: fallback;
}

@font-face {
  font-family: "Pedigree Unleashed Dark";
  src:
    url("./fonts/PEDIGREEUnleashedBlack/PEDIGREEUnleashedBlack_normal_normal.woff") format("woff"),
    url("./fonts/PEDIGREEUnleashedBlack/PEDIGREEUnleashedBlack_normal_normal.woff2") format("woff2");
  font-display: fallback;
}

@keyframes fromBottom {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

html,
body {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: auto !important;
  position: static !important;
  touch-action: manipulation !important;
  -webkit-overflow-scrolling: touch !important;
}

* {
  box-sizing: border-box;
}

::-webkit-scrollbar-thumb {
  background-color: #f0ac03;
}

.toothscan-tool {
  display: block;
  position: relative !important;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
  inset: unset !important;
  touch-action: manipulation !important;
}

check-sdk {
  display: block;
  position: relative !important;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
  touch-action: manipulation !important;
}

.toothscan-tool *,
check-sdk * {
  touch-action: pan-y !important;
}

/* Prevent SDK fixed-height internal scroll containers from trapping page scroll */
[data-id="welcome-card-main-section"],
[data-id="sdk-screen"],
[data-id="sdk-container"],
[data-id="sdk-screen-content"] {
  overflow: visible !important;
  height: auto !important;
  min-height: unset !important;
  max-height: none !important;
}

/* Responsive Header Styles */
.site-header {
  width: 100%;
  background-color: #f0ac03;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1200;
}

.header-container {
  max-width: 1200px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {

  /* Override SDK-injected atomic classes that lock scroll */
  .toothscan-tool,
  section.toothscan-tool[class*="acss-"] {
    position: relative !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overscroll-behavior: auto !important;
    inset: unset !important;
    width: 100% !important;
  }

  .acss-1om0i3c {
    position: relative !important;
    overflow: visible !important;
    /* height: auto !important; */
  }

  .acss-1y78bj6 {
    position: relative !important;
    overflow: visible !important;
    /* height: auto !important; */
  }

  .acss-1ktzzyv {
    overscroll-behavior: unset !important;
  }

  .logo-img {
    height: 60px;
  }

  .site-header {
    padding: 0.75rem 0;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 50px;
  }

  .header-container {
    padding: 0 0.75rem;
  }
}

.header__mobile-inline-menu {
  display: none !important;
}

.header__menu {
  display: none !important;
}

/* Banner Styles */
.site-banner {
  width: 100%;
  display: block;
  background: #000;
  /* fallback background if images have transparency */
  line-height: 0;
  /* remove extra white space below inline-block images */
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 575.98px) {
  .banner-img {
    max-height: 360px;
  }
}

/* Showcase Section */
.image-showcase {
  background: #fefbf2;
  padding-top: 5rem;
  padding-bottom: 5rem;
  animation: fromBottom 1.5s cubic-bezier(0, 0.55, 0.45, 1) forwards;
  overflow-x: hidden;
}

.showcase-img {
  border-radius: 20px;
  padding: 1px 85px;
  max-width: 100%;
}

section.image-showcase .carousel-indicators {
  display: flex;
  top: 0;
  margin: 0;
  position: relative;
}

.carousel-container {
  padding-left: 30px;
  padding-right: 30px;
}

.carousel-indicators [data-bs-target] {
  height: 8px !important;
  width: 8px !important;
  border-radius: 50%;
  background-color: rgb(228 15 14) !important;
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
  display: block;
  transform: translateX(1px);
}

.headline {
  font-family: "Pedigree Unleashed Dark", sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-align: center;
}

@media (min-width: 767.98px) {
  .showcase-img {
    border-radius: 20px;
    box-shadow: none;
    padding: 1px 8px;
  }
}

@media (min-width: 1024px) {
  .showcase-img {
    padding: 1px 82px;
  }
}

.mobile-carousel-view {
  padding-left: 15px;
  padding-right: 15px;
}

.carousel .carousel-indicators {
  bottom: -45px;
}

.caption-header {
  font-family: "Pedigree Unleashed";
  font-size: 1.75rem;
  font-weight: 600;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  text-align: center;
}

.caption-body {
  font-family: "Intro";
  font-size: 1.2rem;
  font-weight: 500;
  padding-left: 1rem;
  padding-right: 1rem;
  word-break: normal;
  text-align: center;
  margin-bottom: 1rem;
}

.disclaimer-body {
  font-family: "Intro";
  font-size: 1.85rem;
  font-weight: 500;
}

.article-range {
  background: #fefbf2;
  text-align: center;
  animation: fromBottom 1.5s cubic-bezier(0, 0.55, 0.45, 1) forwards;
}

@media (min-width: 992px) {
  .article-range {
    padding: 80px 50px;
  }
}

@media (max-width: 768px) {
  .article-range {
    padding: 40px 25px;
  }
}

p {
  margin-bottom: 50px;
  line-height: 1.4;
}

.small-text {
  font-family: "Intro";
  margin-top: 20px;
  font-size: 0.82em;
  color: #666666;
}

/* Footer Styles */
.site-footer {
  width: 100%;
  background-color: #f0ac03;
  padding-top: 2rem;
  margin-top: auto;
  font-family: "Intro";
}

.footer-container {
  max-width: 1200px;
  padding: 0 0 0 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.footer-logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

/* Footer Links Section */
.footer-links-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  margin-left: auto;
  padding-top: 0.5rem;
  padding-right: 16rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-text {
  width: 100%;
  text-align: center;
  margin-top: 1.5rem;
}

.footer-text span {
  font-size: 0.75rem;
  color: #ffffff !important;
  margin: 0;
}

/* Responsive footer adjustments */
@media (max-width: 1024px) {
  .footer-links-section {
    gap: 1.5rem;
  }

  .footer-container {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .footer-logo-img {
    height: 40px;
  }

  .site-footer {
    padding: 1.5rem 0;
  }

  .footer-container {
    padding: 0 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-links-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-left: 0;
    padding-right: 0;
  }

  .footer-column {
    display: contents;
  }

  .footer-link {
    font-size: 0.8rem;
  }
}

.ot-sdk-show-settings {
  background-color: #c00015 !important;
  margin: 10px;
  border-radius: 20px;
  border: 0;
}