@font-face {
  font-family: Clarika;
  src: url(/distribution-map/assets/font/clarika/ClarikaGeoBold.woff2);
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Clarika;
  src: url(/distribution-map/assets/font/clarika/ClarikaGeoDemiBold.woff2);
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Clarika;
  src: url(/distribution-map/assets/font/clarika/ClarikaGeoMedium.woff2);
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Clarika;
  src: url(/distribution-map/assets/font/clarika/ClarikaGeoRegular.woff2);
  font-weight: 400;
  font-display: swap;
}

body {
  font-family: "Clarika";
}

.header-navbar,
.header-navbar-mobile {
  background-color: #fff;
  border-bottom: 1px solid #f4f4f4;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.01);
  backdrop-filter: blur(9.8px);
  -webkit-backdrop-filter: blur(9.8px);
  z-index: 3;
}

.header-navbar a {
  color: #333;
  text-decoration: none;
}

.header-navbar-brand {
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
}

.header-navbar-brand img {
  height: 50px;
}

.header-navbar-mobile {
  background-color: #fff;
  border-bottom: 1px solid #f4f4f4;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.01);
  backdrop-filter: blur(9.8px);
  -webkit-backdrop-filter: blur(9.8px);
  z-index: 3;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
  display: none;
}

.header-navbar-mobile .navbar-nav a {
  text-decoration: none;
  font-weight: bold;
  color: #444;
  padding: 10px 15px;
  border: 1px solid rgba(0, 0, 0, 0.146);
  border-bottom: none;
}

.header-navbar-mobile .navbar-collapse {
  margin-top: 15px;
}

.header-navbar-mobile .navbar-nav a:first-child {
  border-radius: 5px 5px 0 0;
}

.header-navbar-mobile .navbar-nav a:last-child {
  border-radius: 0 0 5px 5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.146);
}

.bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.section {
  padding-top: 30px;
  padding-bottom: 0;
  text-align: center;
}

.title {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a202c;
}

.subTitle {
  font-size: 1.1rem;
  color: rgba(75, 85, 99, 1);
  margin-bottom: 20px;
}

p.subTitle {
  text-align: center;
}

.langSwitcherContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.langDropdown {
  font-size: 15px;
  padding: 10px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
  min-width: 220px;
  color: #2d3748;
  font-weight: 500;
}

.langDropdown:hover,
.langDropdown:focus {
  border-color: #6db9ff;
}

.calculatorSwitcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #2d3748;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.calculatorSwitcher:hover {
  border-color: #6db9ff;
  background: #f8faff;
  color: #2d3748;
}

.calculatorSwitcher img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
}

/* Results card */
.resultsCard {
  max-width: 680px;
  margin: 0 auto 48px;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.resultsCardHeader {
  background: linear-gradient(135deg, #4299e1 0%, #6db9ff 100%);
  padding: 24px 28px;
  text-align: center;
}

.resultsCardHeader .dogAgeDisplay {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

.resultsCardHeader .resultsHeading {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
}

.resultsTable {
  width: 100%;
  border-collapse: collapse;
}

.resultsTable tr {
  border-bottom: 1px solid #f0f4f8;
}

.resultsTable tr:last-child {
  border-bottom: none;
}

.resultsTable td {
  padding: 16px 24px;
  text-align: left;
  vertical-align: middle;
}

.resultsTable td:last-child {
  text-align: right;
}

.sizeName {
  font-weight: 600;
  color: #2d3748;
  font-size: 1rem;
}

.sizeDetail {
  font-size: 0.82rem;
  color: #718096;
  margin-top: 2px;
}

.humanAgeValue {
  font-size: 1.5rem;
  font-weight: 700;
  color: #38a169;
}

.humanAgeLabel {
  font-size: 0.8rem;
  color: #718096;
}

.sizeIcon {
  font-size: 1.4rem;
  margin-right: 10px;
}

/* Explanation */
.explanationSection {
  margin-top: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.explanationTitle {
  font-size: 1.6rem;
  font-weight: 500;
  text-align: left;
  margin-bottom: 20px;
  color: #2d3748;
}

.explanationContent {
  text-align: left;
  padding: 24px;
  background: #f8faff;
  border-radius: 12px;
  line-height: 1.7;
}

.explanationContent p {
  margin-bottom: 15px;
}

.explanationContent strong {
  font-weight: 600;
  color: #2d3748;
}

.explanationContent a {
  color: #6db9ff;
  text-decoration: underline;
}

.explanationContent a:hover {
  color: #359aed;
}

/* Promo full width wrapper */
.promo-full-width {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 48px;
}
.promo-cta-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}
.promo-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: #fff;
  border-top: 1px solid #eee;
}
.promo-heading {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2d3748;
}
.promo-cta-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.promo-price {
  font-size: 1.1rem;
  color: #4a5568;
  font-weight: 500;
}
.promo-btn {
  display: inline-block;
  padding: 10px 24px;
  background: #4299e1;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.15s;
}
.promo-btn:hover {
  background: #2b7ac0;
  color: #fff;
}
@media (max-width: 600px) {
  .promo-cta {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 20px 24px;
  }
}

/* Theme Marquee */
.theme-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background: #fff;
}
.marquee-gradient-left,
.marquee-gradient-right {
  position: absolute;
  top: 0;
  height: 100%;
  width: 15%;
  z-index: 10;
  pointer-events: none;
}
.marquee-gradient-left {
  left: 0;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}
.marquee-gradient-right {
  right: 0;
  background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
}
.theme-marquee-track {
  display: flex;
  width: max-content;
  padding: 1.5rem 0;
  animation: theme-scroll 18s linear infinite;
}
.theme-marquee-wrapper:hover .theme-marquee-track {
  animation-play-state: paused;
}
@keyframes theme-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}
.theme-slide {
  display: block;
  margin-right: 1rem;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #eee;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
  background: #fff;
}
.theme-slide:hover {
  border-color: #4299e1;
}
.theme-slide-img {
  display: block;
  height: 140px;
  width: auto;
  aspect-ratio: 1.595 / 1;
  object-fit: cover;
}
.theme-slide-label {
  font-size: 12px;
  color: #4a5568;
  padding: 4px 8px 6px;
  text-align: center;
  white-space: nowrap;
}
.marquee-gradient-left,
.marquee-gradient-right {
  position: absolute;
  top: 0;
  height: 100%;
  width: 15%;
  z-index: 10;
  pointer-events: none;
}
.marquee-gradient-left {
  left: 0;
  background: linear-gradient(to right, #f0fff4, rgba(240, 255, 244, 0));
}
.marquee-gradient-right {
  right: 0;
  background: linear-gradient(to left, #f0fff4, rgba(240, 255, 244, 0));
}
.theme-marquee-track {
  display: flex;
  width: max-content;
  padding: 1.5rem 0;
  animation: theme-scroll 18s linear infinite;
}
.theme-marquee-wrapper:hover .theme-marquee-track {
  animation-play-state: paused;
}
@keyframes theme-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}
.theme-slide {
  display: block;
  margin-right: 1rem;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #c6f6d5;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
  background: #fff;
}
.theme-slide:hover {
  border-color: #38a169;
}
.theme-slide-img {
  display: block;
  height: 140px;
  width: auto;
  aspect-ratio: 1.595 / 1;
  object-fit: cover;
}
.theme-slide-label {
  font-size: 12px;
  color: #276749;
  padding: 4px 8px 6px;
  text-align: center;
  white-space: nowrap;
}
.marquee-gradient-left,
.marquee-gradient-right {
  position: absolute;
  top: 0;
  height: 100%;
  width: 15%;
  z-index: 10;
  pointer-events: none;
}
.marquee-gradient-left {
  left: 0;
  background: linear-gradient(to right, #fffbf0, rgba(255, 251, 240, 0));
}
.marquee-gradient-right {
  right: 0;
  background: linear-gradient(to left, #fffbf0, rgba(255, 251, 240, 0));
}
.theme-marquee-track {
  display: flex;
  width: max-content;
  padding: 1.5rem 0;
  animation: theme-scroll 18s linear infinite;
}
.theme-marquee-wrapper:hover .theme-marquee-track {
  animation-play-state: paused;
}
@keyframes theme-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}
.theme-slide {
  display: block;
  margin-right: 1rem;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #feebc8;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
  background: #fffdf7;
}
.theme-slide:hover {
  border-color: #ed8936;
}
.theme-slide-img {
  display: block;
  height: 140px;
  width: auto;
  aspect-ratio: 1.595 / 1;
  object-fit: cover;
}
.theme-slide-label {
  font-size: 12px;
  color: #7b5b3a;
  padding: 4px 8px 6px;
  text-align: center;
  white-space: nowrap;
}

/* CTA */
.ctaSection {
  margin-top: 56px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px;
  background: linear-gradient(135deg, #f8faff 0%, #e8f4ff 100%);
  border: 2px solid #bee3f8;
  border-radius: 16px;
}

.ctaInner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ctaVideo {
  flex: 0 0 auto;
  width: 260px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #bee3f8;
}

.ctaVideo video {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.ctaText {
  flex: 1;
  text-align: left;
}

.ctaHeading {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 10px;
}

.ctaSubtitle {
  font-size: 1rem;
  color: #718096;
  margin-bottom: 24px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .ctaInner {
    flex-direction: column;
  }

  .ctaVideo {
    width: 100%;
  }
}

.ctaButton {
  display: inline-block;
  padding: 14px 36px;
  background: #4299e1;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.15s;
  box-shadow: 0 4px 14px rgba(66, 153, 225, 0.35);
}

.ctaButton:hover {
  background: #2b7ac0;
  color: #fff;
}

/* Footer */
.footer-section-inner {
  background-color: #111827;
}

.footer-copy {
  background-color: #1f2937;
  padding: 10px;
  color: #eee;
  text-align: center;
}

.footer-bottom-logo {
  max-width: 100px;
  display: block;
  margin: auto;
}

.footer-bottom-logo img,
.footer-bottom-logo object {
  width: 100%;
}

.footer-social-media {
  margin: 10px 0 50px;
  text-align: center;
}

.footer-social-media a {
  color: #6c757d;
  text-decoration: none;
}

.footer-social-media a span {
  font-weight: bold;
}

.footer-social-media:hover > a {
  color: #ffffff;
}

.footer-links {
  text-align: center;
  margin-bottom: 30px;
}

.footer-links .footer-link {
  display: inline-block;
  margin: 10px;
}

.footer-links .footer-link a {
  color: #6c757d;
  text-decoration: none;
}

.footer-links .footer-link:hover > a {
  color: #ffffff;
}

@media only screen and (max-width: 992px) {
  .header-navbar {
    display: none;
  }

  .header-navbar-mobile {
    display: flex;
    margin-bottom: 16px;
  }
}

@media only screen and (max-width: 550px) {
  .footer-social {
    display: none;
  }

  .footer-links .footer-link {
    display: block;
    width: 100%;
    text-align: left;
  }

  .footer-links {
    margin-bottom: 5px;
  }

  .title {
    font-size: 1.6rem;
  }

  .resultsCardHeader .dogAgeDisplay {
    font-size: 1.4rem;
  }
}
