/*
Theme Name: The Dental Shaman
Theme URI: https://dynabytebd.com/
Author: Dynabyte Digital
Author URI: https://dynabytebd.com/
Description: Custom WordPress theme for The Dental Shaman, rebuilt from the Wix site structure and imported WordPress content.
Version: 1.0.0
Text Domain: the-dental-shaman
*/

:root {
  --tds-purple: #5b3a67;
  --tds-purple-dark: #2f1f38;
  --tds-teal: #00c7bd;
  --tds-gold: #c5a059;
  --tds-cream: #fdfbf7;
  --tds-mist: #f5eff7;
  --tds-ink: #2e2a39;
  --tds-muted: #6f6876;
  --tds-white: #ffffff;
  --tds-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body {
  margin: 0;
  background: var(--tds-cream);
  color: var(--tds-ink);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
}

.tds-container {
  width: min(var(--tds-width), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 247, 0.94);
  border-bottom: 1px solid rgba(91, 58, 103, 0.12);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 220px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand__text {
  display: grid;
  line-height: 1.15;
}

.brand__name {
  color: var(--tds-purple);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.brand__tag {
  color: var(--tds-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.86rem;
  font-weight: 500;
}

.main-menu,
.submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.main-menu li {
  position: relative;
}

.main-nav a {
  color: var(--tds-purple-dark);
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--tds-teal);
}

.has-submenu > a::after {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-left: 0.45em;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-0.18em) rotate(45deg);
}

.submenu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  min-width: 240px;
  padding: 12px 0;
  background: var(--tds-white);
  border: 1px solid rgba(91, 58, 103, 0.14);
  box-shadow: 0 18px 45px rgba(47, 31, 56, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 70;
}

.submenu a {
  display: block;
  padding: 9px 18px;
  white-space: normal;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.tds-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid var(--tds-teal);
  background: var(--tds-teal);
  color: var(--tds-purple-dark);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  box-shadow: 0 8px 24px rgba(0, 199, 189, 0.2);
}

.tds-button:hover,
.wp-block-button__link:hover {
  background: transparent;
  color: var(--tds-purple);
}

.tds-button--ghost {
  background: transparent;
  color: var(--tds-purple);
  border-color: rgba(91, 58, 103, 0.3);
  box-shadow: none;
}

.tds-section {
  padding: 76px 0;
}

.tds-section--mist {
  background: var(--tds-mist);
}

.tds-section--purple {
  background: var(--tds-purple);
  color: var(--tds-white);
}

.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  align-items: center;
  padding: 76px 0 54px;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 199, 189, 0.16), transparent 28%),
    linear-gradient(135deg, #fdfbf7 0%, #f6edf4 52%, #ecfbf8 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: 52px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--tds-teal);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.page-title,
.section-heading {
  margin: 0;
  color: var(--tds-purple);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.05;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.8rem, 7vw, 6.8rem);
}

.hero__lead {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--tds-muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__visual {
  position: relative;
  min-height: 470px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(91, 58, 103, 0.92), rgba(0, 199, 189, 0.55));
  box-shadow: 0 30px 80px rgba(47, 31, 56, 0.18);
}

.hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  opacity: 0.92;
  mix-blend-mode: screen;
}

.hero__card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(253, 251, 247, 0.92);
  color: var(--tds-purple-dark);
}

.hero__card strong {
  display: block;
  color: var(--tds-purple);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.15;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stat {
  padding: 28px;
  border-radius: 8px;
  background: var(--tds-white);
  border: 1px solid rgba(91, 58, 103, 0.1);
  box-shadow: 0 14px 36px rgba(91, 58, 103, 0.06);
}

.stat strong {
  display: block;
  color: var(--tds-purple);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.25rem;
  line-height: 1;
}

.section-heading {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
}

.section-lead {
  max-width: 780px;
  margin: 0 auto 36px;
  color: var(--tds-muted);
  font-size: 1.12rem;
  text-align: center;
}

.center {
  text-align: center;
}

.services-grid,
.products-grid,
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card,
.product-card,
.post-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border-radius: 8px;
  background: var(--tds-white);
  border: 1px solid rgba(91, 58, 103, 0.1);
  box-shadow: 0 14px 38px rgba(91, 58, 103, 0.07);
}

.post-card {
  padding: 0;
  overflow: hidden;
}

.post-card__image {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--tds-mist);
  overflow: hidden;
}

.post-card__image img,
.single-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__meta {
  margin: 22px 28px 0;
  color: var(--tds-gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-card h2,
.post-card > p:not(.post-card__meta),
.post-card .tds-button {
  margin-left: 28px;
  margin-right: 28px;
}

.post-card .tds-button {
  margin-bottom: 28px;
}

.single-hero-image {
  margin: -42px -42px 34px;
  aspect-ratio: 16 / 7;
  background: var(--tds-mist);
  overflow: hidden;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(0, 199, 189, 0.14);
  color: var(--tds-purple);
  font-size: 1.6rem;
}

.service-card h3,
.product-card h3,
.post-card h2 {
  margin: 0 0 12px;
  color: var(--tds-purple);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.2;
}

.service-card p,
.product-card p,
.post-card p {
  color: var(--tds-muted);
}

.service-card .tds-button,
.product-card .tds-button,
.post-card .tds-button {
  width: fit-content;
  margin-top: auto;
}

.video-frame {
  overflow: hidden;
  border-radius: 8px;
  background: #000;
  box-shadow: 0 28px 70px rgba(47, 31, 56, 0.22);
}

.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.review {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.review__stars {
  color: var(--tds-gold);
  font-size: 1.6rem;
  letter-spacing: 0.12em;
}

.review blockquote {
  margin: 18px 0;
  color: var(--tds-white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.35;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.book-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.book-list li {
  margin: 10px 0;
}

.book-list li::before {
  content: "*";
  margin-right: 10px;
  color: var(--tds-gold);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  margin-bottom: 18px;
  background: #fff;
}

.podcast-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.podcast-row iframe {
  flex: 0 0 360px;
  height: 205px;
  border: 0;
  border-radius: 8px;
  background: #000;
  scroll-snap-align: start;
}

.site-footer {
  padding: 48px 0 32px;
  background: var(--tds-purple-dark);
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 32px;
}

.site-footer a {
  color: var(--tds-white);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.site-credit {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
}

.content-page {
  padding: 70px 0;
}

.page-hero {
  padding: 72px 0 64px;
  background:
    linear-gradient(rgba(91, 58, 103, 0.7), rgba(91, 58, 103, 0.55)),
    url("assets/media-1.png") center / cover no-repeat;
  color: var(--tds-white);
}

.page-hero .page-title,
.page-hero .eyebrow {
  color: var(--tds-white);
}

.page-hero .page-title {
  max-width: 920px;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
}

.content-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 42px;
  border-radius: 8px;
  background: var(--tds-white);
  box-shadow: 0 18px 48px rgba(91, 58, 103, 0.07);
}

.content-shell h1,
.content-shell h2,
.content-shell h3 {
  color: var(--tds-purple);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.2;
}

.content-shell h1 {
  margin-top: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.content-shell p:empty {
  display: none;
}

.content-shell .wp-block-group {
  margin: 28px 0;
}

.content-shell blockquote {
  margin: 28px 0;
  padding: 22px 28px;
  border-left: 4px solid var(--tds-gold);
  background: var(--tds-mist);
  color: var(--tds-purple-dark);
}

.content-shell .wp-block-button {
  margin: 18px 0;
}

.content-shell a {
  color: var(--tds-purple);
  font-weight: 600;
}

.tds-elementor-canvas {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
}

.tds-elementor-canvas > .elementor {
  width: 100%;
}

body.single-elementor_library .tds-elementor-library-canvas {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
}

.tds-inline-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
  background: #000;
}

.related-posts {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(91, 58, 103, 0.16);
}

.related-posts h2 {
  margin-top: 0;
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-posts__grid a {
  display: grid;
  gap: 10px;
  text-decoration: none;
}

.related-posts__grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  background: var(--tds-mist);
}

.pagination {
  margin-top: 40px;
  text-align: center;
}

.pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.pagination a,
.pagination span {
  min-width: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--tds-white);
  border: 1px solid rgba(91, 58, 103, 0.14);
  text-decoration: none;
}

.pagination .current {
  background: var(--tds-purple);
  color: var(--tds-white);
}

@media (max-width: 980px) {
  .site-header__inner,
  .main-menu {
    flex-wrap: wrap;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
    padding-bottom: 16px;
  }

  .main-menu {
    justify-content: flex-start;
    gap: 14px 18px;
  }

  .submenu {
    left: 0;
    transform: translate(0, 8px);
  }

  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    transform: translate(0, 0);
  }

  .hero__grid,
  .split,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual,
  .hero__visual img {
    min-height: 360px;
  }

  .services-grid,
  .products-grid,
  .related-posts__grid,
  .posts-grid,
  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tds-container {
    width: min(var(--tds-width), calc(100% - 28px));
  }

  .brand {
    min-width: 0;
  }

  .brand__name {
    font-size: 1rem;
  }

  .main-nav {
    font-size: 0.82rem;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .tds-section {
    padding: 54px 0;
  }

  .content-shell {
    padding: 28px 20px;
  }
}

/* Original Wix-inspired homepage */
.wix-home-hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--tds-white);
  background: #6f7b45;
}

.wix-home-hero__media {
  position: absolute;
  inset: 0;
}

.wix-home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.wix-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(47, 31, 56, 0.62), rgba(47, 31, 56, 0.18) 52%, rgba(47, 31, 56, 0.04));
}

.wix-home-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 92px;
}

.wix-home-hero h1 {
  max-width: 680px;
  margin: 0;
  color: var(--tds-white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 5.8vw, 5.6rem);
  line-height: 1.05;
}

.wix-home-hero p:not(.eyebrow) {
  max-width: 520px;
  font-size: 1.04rem;
}

.wix-home-hero .tds-button--ghost {
  color: var(--tds-white);
  border-color: rgba(255, 255, 255, 0.65);
}

.wix-scroll-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--tds-white);
  font-size: 0.86rem;
  text-decoration: none;
}

.wix-floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 80;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #00a65a;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.wix-purpose-band,
.wix-podcasts,
.wix-review-band {
  background: #98658f;
  color: var(--tds-white);
  text-align: center;
}

.wix-purpose-band {
  padding: 86px 0;
}

.wix-purpose-band h2 {
  max-width: 780px;
  margin: 0 auto;
  color: #d9c574;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.16;
}

.wix-product-feature__panel,
.wix-ozone-split,
.wix-flosser-feature__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.wix-product-feature__gold,
.wix-ozone-split__gold {
  background: #cbb968;
}

.wix-product-feature__image {
  display: grid;
  place-items: center;
  background: #050505;
}

.wix-product-feature__image img {
  width: min(72%, 430px);
  max-height: 440px;
  object-fit: contain;
}

.wix-flosser-feature {
  padding: 78px 0;
  background: #fdfbf7;
}

.wix-flosser-feature__panel {
  align-items: center;
  gap: 28px;
  min-height: 0;
}

.wix-flosser-feature__visual {
  display: grid;
  place-items: center;
  padding: 32px;
  background: #f4ebf0;
  border-radius: 8px;
}

.wix-flosser-feature__visual img {
  width: min(78%, 320px);
  height: auto;
  object-fit: contain;
}

.wix-flosser-feature__text {
  padding: 24px 12px;
}

.wix-flosser-feature__text h3,
.wix-ozone-benefits h3 {
  margin: 0 0 18px;
  color: var(--tds-purple);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.12;
}

.wix-flosser-feature__text p,
.wix-ozone-benefits p {
  margin: 0 0 16px;
  color: var(--tds-ink);
}

.wix-routine {
  padding: 58px 0 70px;
  background: #fdfbf7;
}

.wix-routine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.wix-routine-grid article {
  padding: 28px;
  border-radius: 4px;
  background: #fff;
  text-align: center;
  box-shadow: 0 8px 22px rgba(91, 58, 103, 0.08);
}

.wix-routine-grid img {
  height: 190px;
  width: 100%;
  object-fit: contain;
}

.wix-routine-grid h3,
.wix-work h2,
.wix-children h2,
.wix-review-band h2,
.wix-final-product h2 {
  color: var(--tds-purple);
  font-family: "Playfair Display", Georgia, serif;
}

.wix-ozone-split__image {
  display: grid;
  place-items: center;
  min-height: 520px;
  background: radial-gradient(circle at 50% 50%, rgba(205, 245, 241, 0.35), rgba(0, 72, 80, 0.92) 58%, #0a2c31);
}

.wix-ozone-split__image span {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(5rem, 13vw, 10rem);
  font-weight: 800;
}

.wix-ozone-benefits {
  padding: 78px 0;
  background: #faf6fb;
}

.wix-ozone-benefits__panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 34px 38px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(47, 31, 56, 0.1);
}

.wix-ozone-benefits p:last-child {
  margin-bottom: 0;
}

.wix-podcasts {
  padding: 70px 0;
}

.wix-podcasts h2 {
  margin: 0 0 28px;
  color: #d9c574;
  font-family: "Playfair Display", Georgia, serif;
}

.wix-podcast-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.wix-podcast-row iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
  background: #000;
}

.wix-work {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 520px;
  background: #efe9db;
}

.wix-work__image {
  position: relative;
  min-height: 520px;
}

.wix-work__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wix-work__text {
  display: grid;
  align-content: center;
  padding: 60px clamp(28px, 7vw, 96px);
  color: #fff;
  background: rgba(47, 31, 56, 0.52);
  margin-left: -22%;
  z-index: 1;
}

.wix-work__text h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.wix-service-stack {
  padding: 0 0 74px;
  background: #fdfbf7;
}

.wix-service-stack .tds-container {
  display: grid;
  gap: 0;
}

.wix-service-card {
  width: min(760px, 100%);
  min-height: 210px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  color: #fff;
  border-radius: 8px;
}

.wix-service-card:nth-child(2),
.wix-service-card:nth-child(4) {
  justify-self: end;
}

.wix-service-card img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.wix-service-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
}

.wix-service-card a {
  color: #fff;
  font-weight: 800;
}

.wix-service-card--red {
  background: #801717;
}

.wix-service-card--green {
  background: #2f6e2d;
}

.wix-service-card--blue {
  background: #174f5f;
}

.wix-service-card--gold {
  background: #8f7a15;
}

.wix-stats-band {
  padding: 44px 0;
  background: #ad83a7;
  color: #fff;
}

.wix-stats-band .tds-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.wix-stats-band strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.4rem;
}

.wix-children {
  padding: 78px 0;
  background: #fdfbf7;
}

.wix-children .tds-container {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 58px;
  align-items: center;
}

.wix-children h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.wix-children__collage {
  min-height: 340px;
  position: relative;
}

.wix-children__collage img {
  position: absolute;
  width: 42%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(47, 31, 56, 0.18);
}

.wix-children__collage img:nth-child(1) {
  left: 0;
  top: 30px;
}

.wix-children__collage img:nth-child(2) {
  left: 31%;
  top: 88px;
  z-index: 2;
}

.wix-children__collage img:nth-child(3) {
  right: 0;
  top: 8px;
}

.wix-review-band {
  padding: 90px 0;
}

.wix-video-feature {
  padding: 84px 0;
  background: #fdfbf7;
}

.wix-video-feature__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 32px;
  align-items: center;
}

.wix-video-feature__text h2 {
  margin: 0 0 12px;
  color: var(--tds-purple);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.wix-video-feature__frame {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 12px;
  background: #111;
  box-shadow: 0 24px 55px rgba(47, 31, 56, 0.18);
}

.wix-video-feature__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.wix-video-feature__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.42));
}

.wix-video-feature__play {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 1;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.24);
}

.wix-video-feature__play::before {
  content: "";
  position: absolute;
  left: 37px;
  top: 28px;
  width: 0;
  height: 0;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 28px solid #2b1829;
}

.wix-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.wix-review-grid article {
  padding: 24px 22px 22px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--tds-purple-dark);
  text-align: left;
  box-shadow: 0 18px 36px rgba(47, 31, 56, 0.12);
}

.wix-review-stars {
  margin-bottom: 14px;
  color: #02bfc2;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

.wix-review-band blockquote {
  max-width: 820px;
  margin: 16px 0 12px;
  color: inherit;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  line-height: 1.45;
}

.wix-review-grid p {
  margin: 0;
  color: var(--tds-purple);
  font-weight: 700;
}

.wix-final-product {
  padding: 90px 0 0;
  overflow: hidden;
  background: linear-gradient(#eaf1f2 0 55%, #2d2f2f 55% 100%);
  text-align: center;
}

.wix-final-product h2 {
  margin: 0 0 18px;
  color: #fff;
}

@media (max-width: 980px) {
  .wix-home-hero__content {
    padding-top: 54px;
  }

  .wix-product-feature__panel,
  .wix-ozone-split,
  .wix-flosser-feature__panel,
  .wix-routine-grid,
  .wix-podcast-row,
  .wix-video-feature__panel,
  .wix-review-grid,
  .wix-work,
  .wix-children .tds-container,
  .wix-stats-band .tds-container {
    grid-template-columns: 1fr;
  }

  .wix-work__text {
    margin-left: 0;
  }

  .wix-flosser-feature__panel {
    grid-template-columns: 1fr;
  }

  .wix-service-card,
  .wix-service-card:nth-child(2),
  .wix-service-card:nth-child(4) {
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .wix-home-hero {
    min-height: 620px;
  }

  .wix-service-card {
    grid-template-columns: 1fr;
  }

  .wix-children__collage {
    min-height: 260px;
  }

  .wix-video-feature__frame {
    min-height: 300px;
  }
}

/* Shopify-aligned shared WordPress design */
:root {
  --tds-shop-purple: #744B6F;
  --tds-shop-plum: #2b1829;
  --tds-shop-green: #2f6b2f;
  --tds-shop-gold: #c8b76d;
  --tds-shop-sage: #eef4f1;
  --tds-shop-cream: #fffdf8;
  --tds-shop-header-height: 90px;
  --tds-shop-header-offset: 14px;
}

body {
  background: var(--tds-shop-cream);
}

#main {
  margin-top: 0;
  padding-top: 0;
}

.tds-shop-header,
.home .tds-shop-header {
  position: fixed;
  top: var(--tds-shop-header-offset);
  left: 50%;
  z-index: 1000;
  width: min(1280px, calc(100% - 24px));
  margin: 0;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: var(--tds-shop-purple);
  box-shadow: 0 18px 45px rgba(43, 24, 41, 0.22);
  backdrop-filter: blur(18px);
}

body.admin-bar .tds-shop-header,
body.admin-bar .home .tds-shop-header {
  top: calc(32px + var(--tds-shop-header-offset));
}

@media (max-width: 782px) {
  body.admin-bar .tds-shop-header,
  body.admin-bar .home .tds-shop-header {
    top: calc(46px + var(--tds-shop-header-offset));
  }
}

.tds-shop-header .site-header__inner,
.home .tds-shop-header .site-header__inner {
  position: relative;
  min-height: var(--tds-shop-header-height);
  width: min(1210px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(14px, 2vw, 28px);
}

.brand--center {
  min-width: 0;
  justify-self: center;
  gap: 9px;
  text-align: center;
}

.brand--center img,
.home .tds-shop-header .brand--center img {
  width: 54px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 5px 9px rgba(0, 0, 0, 0.12));
}

.tds-shop-header .brand__text,
.home .tds-shop-header .brand__text {
  display: none;
}

.main-nav--left {
  justify-content: flex-end;
}

.main-nav--right {
  justify-content: flex-start;
}

.tds-shop-header .main-menu,
.home .tds-shop-header .main-menu {
  gap: clamp(3px, 0.45vw, 9px);
}

.tds-shop-header .tds-nav-link,
.home .tds-shop-header .tds-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 10px 12px;
  border-radius: 999px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, transform 160ms ease;
}

.tds-shop-header .tds-nav-link:hover,
.tds-shop-header .tds-nav-item:focus-within > .tds-nav-link,
.home .tds-shop-header .tds-nav-link:hover,
.home .tds-shop-header .tds-nav-item:focus-within > .tds-nav-link {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.tds-nav-caret {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.tds-shop-header .has-submenu > a::after,
.home .tds-shop-header .has-submenu > a::after {
  content: none;
}

.tds-shop-header .submenu,
.home .tds-shop-header .submenu {
  top: calc(100% + 10px);
  min-width: 245px;
  padding: 10px;
  border: 1px solid rgba(122, 75, 120, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 55px rgba(43, 24, 41, 0.2);
}

.tds-shop-header .submenu a,
.home .tds-shop-header .submenu a {
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--tds-shop-plum);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.tds-shop-header .submenu a:hover,
.home .tds-shop-header .submenu a:hover {
  color: var(--tds-shop-purple);
  background: rgba(122, 75, 120, 0.11);
}

.tds-menu-toggle {
  display: none;
}

.tds-mobile-menu {
  display: none;
}

.tds-page-hero {
  margin-top: 0;
  padding: 86px 0 28px;
  background: var(--tds-shop-cream);
}

.tds-page-hero__panel {
  max-width: 820px;
  padding: 18px 0 0;
  color: var(--tds-shop-plum);
}

.tds-page-hero .eyebrow,
.tds-page-hero .page-title {
  color: var(--tds-shop-plum);
}

.tds-page-hero .page-title {
  max-width: 760px;
  font-size: clamp(2rem, 4.8vw, 4.3rem);
}

.tds-designed-page {
  padding-top: 50px;
}

.content-shell {
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(43, 24, 41, 0.08);
}

.content-shell h2,
.content-shell h3,
.content-shell h4,
.entry-content h2,
.entry-content h3 {
  color: var(--tds-shop-purple);
}

.posts-grid {
  margin-top: 34px;
}

.post-card {
  border-radius: 18px;
  border-color: rgba(122, 75, 120, 0.12);
  box-shadow: 0 22px 48px rgba(43, 24, 41, 0.09);
}

.post-card__meta,
.eyebrow {
  color: var(--tds-shop-gold);
}

.tds-button,
.wp-block-button__link,
.elementor-button {
  border-color: #02bfc2;
  background: #02bfc2;
  color: var(--tds-shop-plum);
  box-shadow: 0 10px 24px rgba(2, 191, 194, 0.24);
}

.tds-button:hover,
.wp-block-button__link:hover,
.elementor-button:hover {
  color: #fff;
  background: var(--tds-shop-purple);
  border-color: var(--tds-shop-purple);
}

.tds-shop-footer {
  padding-top: 0;
  background: var(--tds-shop-plum);
}

.site-footer__cta {
  margin: 0 auto 54px;
  padding: 58px 24px;
  border-radius: 0 0 18px 18px;
  background: var(--tds-shop-purple);
  color: #fff;
  text-align: center;
}

.site-footer__cta h2 {
  margin: 0 0 10px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.site-footer__cta p {
  max-width: 660px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer__grid {
  align-items: start;
}

.site-footer .brand__name,
.site-footer a:hover {
  color: #fff;
}

.site-footer .menu-item {
  list-style: none;
}

.site-footer .footer-links .menu-item a {
  display: block;
}

@media (max-width: 1180px) {
  .tds-shop-header .site-header__inner,
  .home .tds-shop-header .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .tds-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
  }

  .tds-menu-toggle span:not(.screen-reader-text) {
    width: 18px;
    height: 2px;
    background: #fff;
  }

  .tds-shop-header .main-nav,
  .home .tds-shop-header .main-nav {
    display: none;
  }

  .brand--center {
    justify-self: center;
  }

  .tds-mobile-menu {
    display: none;
    position: fixed;
    left: 50%;
    top: calc(var(--tds-shop-header-offset) + var(--tds-shop-header-height) + 10px);
    z-index: 999;
    width: min(520px, calc(100vw - 20px));
    max-height: calc(100vh - var(--tds-shop-header-offset) - var(--tds-shop-header-height) - 22px);
    overflow: auto;
    padding: 14px 16px 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 26px;
    background: var(--tds-shop-purple);
    box-shadow: 0 24px 60px rgba(43, 24, 41, 0.32);
    transform: translateX(-50%);
  }

  body.admin-bar .tds-mobile-menu {
    top: calc(var(--tds-shop-header-offset) + var(--tds-shop-header-height) + 42px);
    max-height: calc(100vh - var(--tds-shop-header-offset) - var(--tds-shop-header-height) - 54px);
  }

  .tds-shop-header.is-open .tds-mobile-menu {
    display: block;
  }

  .tds-mobile-menu__list {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .tds-mobile-menu .tds-nav-link {
    width: 100%;
    justify-content: space-between;
  }

  .tds-mobile-menu .submenu {
    position: static;
    min-width: 0;
    display: none;
    margin: 4px 0 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .tds-mobile-menu .has-submenu:hover .submenu,
  .tds-mobile-menu .has-submenu:focus-within .submenu {
    display: none;
  }

  .tds-mobile-menu .has-submenu.is-open > .submenu {
    display: block;
  }
}

@media (max-width: 760px) {
  :root {
    --tds-shop-header-offset: 8px;
  }

  .tds-shop-header,
  .home .tds-shop-header {
    width: min(100% - 12px, 520px);
  }

  .tds-shop-header .site-header__inner,
  .home .tds-shop-header .site-header__inner {
    min-height: 70px;
    width: calc(100% - 20px);
  }

  .brand--center img,
  .home .tds-shop-header .brand--center img {
    width: 44px;
    height: 58px;
  }

  .tds-page-hero {
    margin-top: 0;
    padding-top: 118px;
  }

  .content-shell {
    border-radius: 12px;
  }
}


/* TDS centered collapsed header logo */
@media (max-width: 1180px) {
  .tds-shop-header .site-header__inner,
  .home .tds-shop-header .site-header__inner {
    grid-template-columns: 44px 1fr 44px;
  }

  .tds-shop-header .brand--center,
  .home .tds-shop-header .brand--center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    margin: 0;
  }

  .tds-shop-header .tds-menu-toggle,
  .home .tds-shop-header .tds-menu-toggle {
    position: relative;
    z-index: 2;
    justify-self: start;
  }
}
/* End TDS centered collapsed header logo */


/* TDS scroll reveal header */
.tds-shop-header,
.home .tds-shop-header {
  transition: transform 260ms ease, box-shadow 180ms ease;
  will-change: transform;
}

.tds-shop-header.tds-header-hidden,
.home .tds-shop-header.tds-header-hidden {
  transform: translate(-50%, calc(-100% - 28px));
}

.tds-shop-header.is-open,
.home .tds-shop-header.is-open {
  transform: translateX(-50%);
}
/* End TDS scroll reveal header */
