/* SBH — Skin Beauty Health · shared styles
   Tailwind v4 (browser CDN) handles utilities; this file holds
   font definitions, the display serif, and a few helpers. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --sbh-black: #000;
  --sbh-ink: #222;
  --sbh-grey: #444;
  --sbh-muted: #999;
  --sbh-line: #e0e0e0;
  --sbh-soft: #f7f8fa;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--sbh-ink);
}

/* Display serif used for the big page titles (Brands, News, Contact Us,
   Business philosophy, Core Values, Operations Team …) */
.font-display {
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Times New Roman', serif;
  letter-spacing: .01em;
}

/* utility: tracked uppercase eyebrow */
.eyebrow {
  letter-spacing: .18em;
}

/* header nav link */
.nav-link {
  position: relative;
  color: #fff;
  transition: color .2s;
}

.nav-link:hover {
  color: #bdbdbd;
}

.nav-link.is-active {
  color: #9a9a9a;
}

/* round outline buttons used across the site */
.btn-pill {
  border: 1px solid currentColor;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: background .2s, color .2s, border-color .2s;
}

/* fade/slide reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* simple carousel track */
.snap-x-track {
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.snap-x-track::-webkit-scrollbar {
  display: none;
}

.snap-item {
  scroll-snap-align: start;
}

.latest-news-pagination {
  position: static !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100% !important;
  margin-top: 44px !important;
  transform: none !important;
}

.latest-news-pagination.swiper-pagination-lock {
  display: none !important;
}

.latest-news-pagination .latest-news-dot {
  display: block !important;
  width: 8px;
  height: 8px;
  margin: 0 !important;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #9ca3af;
  opacity: 1;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.latest-news-pagination .latest-news-dot:only-child {
  display: none !important;
}

.latest-news-pagination .latest-news-dot.swiper-pagination-bullet-active {
  width: 24px;
  background: #111827;
}

[data-carousel] [data-dots] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

[data-carousel] .carousel-dot {
  display: block;
  width: 8px;
  height: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #9ca3af;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

[data-carousel] .carousel-dot.is-active {
  width: 24px;
  background: #111827;
}

.hero-pagination {
  position: absolute !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100% !important;
  bottom: 40px !important;
  transform: none !important;
}

.hero-pagination .hero-dot {
  display: block !important;
  width: 8px;
  height: 8px;
  margin: 0 !important;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.hero-pagination .hero-dot:only-child {
  display: none !important;
}

.hero-pagination .hero-dot.swiper-pagination-bullet-active {
  width: 24px;
  background: #ffffff;
}

.brand-slider .brand-slide {
  display: block;
}

.brand-slider .brand-media {
  width: 100%;
}

/* hide number input spinners */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* accordion default */
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

/* Product list page styling custom overrides */
section.relative.h-\[62vh\] {
  height: calc(100vh - 80px) !important;
}

section.mx-auto.max-w-\[1200px\],
#all.mx-auto.max-w-\[1200px\],
.mx-auto.max-w-\[1200px\].px-5.pt-8,
div.relative.mx-auto.max-w-\[1200px\] {
  max-width: 1640px !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

@media (min-width: 1024px) {

  section.mx-auto.max-w-\[1200px\],
  #all.mx-auto.max-w-\[1200px\],
  .mx-auto.max-w-\[1200px\].px-5.pt-8,
  div.relative.mx-auto.max-w-\[1200px\] {
    padding-left: 60px !important;
    padding-right: 60px !important;
  }
}

@media (min-width: 1280px) {

  section.mx-auto.max-w-\[1200px\],
  #all.mx-auto.max-w-\[1200px\],
  .mx-auto.max-w-\[1200px\].px-5.pt-8,
  div.relative.mx-auto.max-w-\[1200px\] {
    padding-left: 100px !important;
    padding-right: 100px !important;
  }
}

/* Hide mobile-only elements on PC/Tablet (>= 640px) */
@media (min-width: 640px) {
  .mobile-only {
    display: none !important;
  }
}