/*
Theme Name: The Dental Shaman - Vite Design
Theme URI: https://thedentalshaman.com/
Author: Nayem
Description: The supplied final Vite homepage with a shared WordPress and Elementor presentation layer.
Version: 20260815.1
Text Domain: the-dental-shaman-vite
*/

:root {
  --tds-ink: #0c0a14;
  --tds-bg: #2a2330;
  --tds-panel: #352d3c;
  --tds-panel-hover: #403647;
  --tds-plum: #7b5a84;
  --tds-plum-deep: #4a2e52;
  --tds-gold: #bca268;
  --tds-gold-light: #e8d5a3;
  --tds-teal: #00a6ad;
  --tds-teal-deep: #00888e;
  --tds-text: #f3f4f6;
  --tds-muted: #e2dfe9;
  --tds-soft-muted: #b8b2c4;
  --tds-border: rgba(255, 255, 255, .08);
  --tds-border-gold: rgba(188, 162, 104, .38);
  --tds-shadow: 0 18px 52px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
body.tds-vite-page {
  min-width: 0;
  margin: 0;
  overflow-x: clip;
  background-color: var(--tds-bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(0,166,173,.12), transparent 32rem),
    radial-gradient(circle at 88% 26%, rgba(123,90,132,.22), transparent 34rem),
    linear-gradient(180deg, #201a27 0%, #2a2330 48%, #211b28 100%);
  background-position: center top;
  background-size: 100% auto;
  background-attachment: fixed;
  color: var(--tds-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
}
body.tds-vite-page a { color: inherit; }
body.tds-vite-page img { max-width: 100%; height: auto; }

/* Shared header for all existing WordPress pages. */
.tds-theme-header {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(188, 162, 104, .1);
  background: rgba(12, 10, 20, .94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.tds-theme-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: min(1400px, 100%);
  min-height: 76px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 24px;
}
.tds-theme-links {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: clamp(13px, 1.5vw, 24px);
}
.tds-theme-links--left { justify-content: flex-end; }
.tds-theme-links--right { justify-content: flex-start; }
.tds-theme-links > a,
.tds-theme-dropdown > a {
  color: var(--tds-muted);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s ease;
}
.tds-theme-links > a:hover,
.tds-theme-links > a:focus-visible,
.tds-theme-dropdown > a:hover,
.tds-theme-dropdown > a:focus-visible { color: var(--tds-gold); }
.tds-theme-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  margin: 0 12px;
  line-height: 0;
}
.tds-theme-brand img {
  display: block;
  width: auto;
  height: 54px;
  max-width: 170px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(188, 162, 104, .3));
}
.tds-theme-book,
.tds-theme-mobile-menu .tds-theme-book,
.tds-theme-footer-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 18px;
  border: 1px solid rgba(188, 162, 104, .48);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--tds-plum), var(--tds-plum-deep));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  color: #fff !important;
  font-size: .76rem !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, filter .2s ease;
}
.tds-theme-book:hover,
.tds-theme-book:focus-visible,
.tds-theme-footer-cta:hover,
.tds-theme-footer-cta:focus-visible { filter: brightness(1.12); transform: translateY(-2px); }

/* Desktop dropdowns keep a bridge under the trigger, so links remain clickable. */
.tds-theme-dropdown { position: relative; padding: 9px 0; }
.tds-theme-dropdown::after { position: absolute; top: 100%; right: -20px; left: -20px; height: 24px; content: ''; }
.tds-theme-dropdown > a { display: inline-flex; align-items: center; gap: 4px; }
.tds-theme-dropdown-menu {
  position: absolute;
  z-index: 1000;
  top: 100%;
  right: 0;
  display: flex;
  flex-direction: column;
  min-width: 280px;
  max-height: calc(100vh - 104px);
  padding: 20px;
  overflow-y: auto;
  border: 1px solid var(--tds-border);
  border-radius: 16px;
  background: rgba(18, 16, 25, .985);
  box-shadow: var(--tds-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.tds-theme-dropdown--left .tds-theme-dropdown-menu { right: auto; left: 0; }
.tds-theme-dropdown:hover .tds-theme-dropdown-menu,
.tds-theme-dropdown:focus-within .tds-theme-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}
.tds-theme-dropdown-label {
  margin: 4px 0 3px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(188, 162, 104, .18);
  color: var(--tds-gold);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tds-theme-dropdown-label:not(:first-child) { margin-top: 13px; }
.tds-theme-dropdown-menu a {
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--tds-muted);
  font-size: .87rem;
  line-height: 1.35;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, padding .18s ease;
}
.tds-theme-dropdown-menu a:hover,
.tds-theme-dropdown-menu a:focus-visible { padding-left: 14px; background: rgba(255,255,255,.05); color: #fff; }
.tds-theme-mobile-menu { display: none; }

/* Existing Elementor/WordPress content stays intact; these are presentation-only rules. */
.tds-theme-content { min-height: 54vh; }
.tds-page-article:not(.tds-page-article--elementor) {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) 0;
}
.tds-page-article--elementor { width: 100%; }
.tds-page-heading { margin-bottom: 28px; }
.tds-theme-content .entry-title,
.tds-theme-content .entry-content h1,
.tds-theme-content .entry-content h2,
.tds-theme-content .entry-content h3,
.tds-theme-content .entry-content h4,
.tds-theme-content .elementor .elementor-heading-title {
  color: var(--tds-text);
  font-family: Cinzel, 'Cormorant Garamond', Georgia, serif;
  line-height: 1.16;
  text-shadow: 0 2px 12px rgba(0,0,0,.42);
}
.tds-theme-content .entry-title { margin: 0; font-size: clamp(2.2rem, 5vw, 4.5rem); }
.tds-theme-content .entry-content { color: var(--tds-muted); }
.tds-theme-content .entry-content > * + * { margin-top: 1.2em; }
.tds-theme-content .entry-content p,
.tds-theme-content .entry-content li { line-height: 1.8; }
.tds-theme-content .entry-content a { color: var(--tds-gold-light); text-decoration-color: rgba(232,213,163,.6); text-underline-offset: .18em; }
.tds-theme-content .entry-content a:hover { color: #fff; }
.tds-theme-content .entry-content img { border-radius: 16px; box-shadow: 0 20px 54px rgba(0,0,0,.3); }

.tds-page-article--elementor .elementor { color: var(--tds-muted); }
.tds-page-article--elementor .elementor .elementor-widget-text-editor,
.tds-page-article--elementor .elementor .elementor-widget-text-editor p,
.tds-page-article--elementor .elementor .elementor-widget-text-editor li {
  color: var(--tds-muted) !important;
  line-height: 1.8 !important;
}
.tds-page-article--elementor .elementor .elementor-heading-title,
.tds-page-article--elementor .elementor .elementor-widget-text-editor :is(h1,h2,h3,h4,h5,h6) {
  color: var(--tds-text) !important;
  letter-spacing: -.015em;
  text-shadow: 0 2px 16px rgba(0,0,0,.54) !important;
  text-wrap: balance;
}
.tds-page-article--elementor .elementor .elementor-widget-text-editor a { color: var(--tds-gold-light) !important; font-weight: 700; }
.tds-page-article--elementor .elementor .elementor-widget-image img { border-radius: 18px; box-shadow: 0 20px 54px rgba(0,0,0,.32); }
.tds-page-article--elementor .elementor .elementor-button,
.tds-page-article--elementor .elementor a.elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 1px solid rgba(188,162,104,.52) !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--tds-plum), var(--tds-plum-deep)) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.12);
  color: #fff !important;
  font-weight: 700;
  letter-spacing: .035em;
  text-decoration: none !important;
  transition: transform .2s ease, filter .2s ease;
}
.tds-page-article--elementor .elementor .elementor-button:hover { filter: brightness(1.12); transform: translateY(-2px); }
.tds-page-article--elementor .elementor .elementor-divider-separator { border-color: rgba(188,162,104,.55) !important; }
.tds-page-article--elementor .elementor .elementor-widget-video,
.tds-page-article--elementor .elementor .elementor-widget-google_maps { overflow: hidden; border: 1px solid rgba(188,162,104,.25); border-radius: 18px; box-shadow: 0 18px 46px rgba(0,0,0,.24); }
.tds-page-article--elementor .elementor input,
.tds-page-article--elementor .elementor textarea,
.tds-page-article--elementor .elementor select {
  border-color: rgba(188,162,104,.28) !important;
  border-radius: 8px !important;
  background: rgba(12,10,20,.64) !important;
  color: var(--tds-text) !important;
}

/* Contact Form 7: a reusable two-column form system for Elementor service pages. */
.tds-page-article--elementor .elementor .wpcf7-form {
  width: 100%;
  max-width: 100%;
}
.tds-page-article--elementor .elementor .elementor-widget-shortcode,
.tds-page-article--elementor .elementor .elementor-widget-shortcode .elementor-widget-container,
.tds-page-article--elementor .elementor .wpcf7,
.tds-page-article--elementor .elementor .wpcf7-form {
  min-width: 0;
  width: 100% !important;
  max-width: none !important;
}
.tds-page-article--elementor .elementor .wpcf7-form .custom-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  width: min(100%, 960px) !important;
  margin: 0 auto;
  padding: clamp(22px, 3.5vw, 34px);
  border: 1px solid rgba(188,162,104,.28);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(18,16,25,.76), rgba(74,46,82,.24));
  box-shadow: 0 20px 54px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.06);
}
.tds-page-article--elementor .elementor .wpcf7-form .custom-contact-form > p,
.tds-page-article--elementor .elementor .wpcf7-form .submit-wrapper {
  min-width: 0;
  margin: 0 !important;
}
.tds-page-article--elementor .elementor .wpcf7-form .custom-contact-form > p:nth-child(3),
.tds-page-article--elementor .elementor .wpcf7-form .custom-contact-form > p:nth-child(4),
.tds-page-article--elementor .elementor .wpcf7-form .submit-wrapper {
  grid-column: 1 / -1;
}
.tds-page-article--elementor .elementor .wpcf7-form label {
  display: block;
  color: var(--tds-gold-light);
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .025em;
}
.tds-page-article--elementor .elementor .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin-top: 7px;
}
.tds-page-article--elementor .elementor .wpcf7-form input:not([type="hidden"]),
.tds-page-article--elementor .elementor .wpcf7-form textarea,
.tds-page-article--elementor .elementor .wpcf7-form select {
  display: block;
  width: 100% !important;
  max-width: 100%;
  min-height: 48px;
  margin: 0 !important;
  padding: 12px 14px;
  border: 1px solid rgba(188,162,104,.38) !important;
  border-radius: 10px !important;
  background: rgba(8,8,14,.72) !important;
  color: #fff !important;
  font: inherit;
  line-height: 1.35;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.tds-page-article--elementor .elementor .wpcf7-form textarea { min-height: 150px; resize: vertical; }
.tds-page-article--elementor .elementor .wpcf7-form input::placeholder,
.tds-page-article--elementor .elementor .wpcf7-form textarea::placeholder { color: rgba(226,223,233,.63); }
.tds-page-article--elementor .elementor .wpcf7-form input:focus,
.tds-page-article--elementor .elementor .wpcf7-form textarea:focus,
.tds-page-article--elementor .elementor .wpcf7-form select:focus {
  border-color: var(--tds-gold) !important;
  outline: 0;
  background: rgba(12,10,20,.94) !important;
  box-shadow: 0 0 0 3px rgba(188,162,104,.16);
}
.tds-page-article--elementor .elementor .wpcf7-form input[type="submit"] {
  width: auto !important;
  min-height: 46px;
  padding: 12px 22px;
  border-color: rgba(188,162,104,.58) !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--tds-plum), var(--tds-plum-deep)) !important;
  color: #fff !important;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
}
.tds-page-article--elementor .elementor .wpcf7-form input[type="submit"]:hover { filter: brightness(1.12); }
.tds-page-article--elementor .elementor .wpcf7-form .wpcf7-response-output { margin: 20px 0 0; color: var(--tds-muted); }

/* Shared footer mirrors the supplied homepage palette and hierarchy. */
.tds-theme-footer {
  margin-top: 0;
  padding: 80px 24px 40px;
  border-top: 1px solid var(--tds-border-gold);
  background: #070a0f;
  color: var(--tds-muted);
}
.tds-theme-footer-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1280px, 100%);
  margin: 0 auto 58px;
  gap: 42px;
}
.tds-theme-footer h2 {
  margin: 0 0 16px;
  color: #fff;
  font-family: Cinzel, 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  line-height: 1.35;
}
.tds-theme-footer p { margin: 0; color: var(--tds-soft-muted); font-size: .9rem; line-height: 1.65; }
.tds-theme-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.tds-theme-footer a:not(.tds-theme-footer-cta) { color: var(--tds-soft-muted); font-size: .88rem; text-decoration: none; transition: color .18s ease; }
.tds-theme-footer a:not(.tds-theme-footer-cta):hover,
.tds-theme-footer a:not(.tds-theme-footer-cta):focus-visible { color: var(--tds-gold); }
.tds-theme-footer-cta { margin-top: 22px; }
.tds-theme-footer-contact { margin-top: 16px !important; }
.tds-theme-footer-legal {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--tds-border);
}
.tds-theme-footer-badge { display: inline-flex; padding: 5px 11px; border: 1px solid var(--tds-border-gold); border-radius: 999px; color: var(--tds-gold); font-size: .74rem; font-weight: 700; letter-spacing: .045em; }
.tds-theme-footer-legal > p { max-width: 1030px; margin-top: 16px; }
.tds-theme-footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 23px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.05); color: #898495; font-size: .78rem; }

body.admin-bar .tds-theme-header { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .tds-theme-header { top: 46px; } }
@media (max-width: 1280px) {
  .tds-theme-nav { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); min-height: 70px; padding: 0 18px; }
  .tds-theme-links { display: none; }
  .tds-theme-brand { grid-column: 2; margin: 0; }
  .tds-theme-brand img { height: 48px; }
  .tds-theme-mobile-menu { display: block; grid-column: 3; justify-self: end; position: relative; }
  .tds-theme-mobile-menu summary { display: grid; width: 42px; height: 42px; padding: 10px; border: 1px solid rgba(188,162,104,.3); border-radius: 50%; cursor: pointer; list-style: none; place-content: center; gap: 4px; }
  .tds-theme-mobile-menu summary::-webkit-details-marker { display: none; }
  .tds-theme-mobile-menu summary span { display: block; width: 18px; height: 1px; background: var(--tds-gold); transition: transform .2s ease; }
  .tds-theme-mobile-menu[open] summary span:first-child { transform: translateY(5px) rotate(45deg); }
  .tds-theme-mobile-menu[open] summary span:nth-child(2) { opacity: 0; }
  .tds-theme-mobile-menu[open] summary span:last-child { transform: translateY(-5px) rotate(-45deg); }
  .tds-theme-mobile-menu nav { position: absolute; top: calc(100% + 12px); right: 0; display: flex; flex-direction: column; width: min(360px, calc(100vw - 36px)); max-height: calc(100vh - 102px); padding: 14px 20px 24px; overflow-y: auto; border: 1px solid var(--tds-border); border-radius: 16px; background: rgba(12,10,20,.985); box-shadow: var(--tds-shadow); }
  .tds-theme-mobile-menu nav > a { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.06); color: #fff; font-size: .96rem; font-weight: 700; letter-spacing: .055em; text-decoration: none; text-transform: uppercase; }
  .tds-theme-mobile-menu nav > a:hover { color: var(--tds-gold); }
  .tds-theme-mobile-menu nav > .tds-theme-mobile-sub { padding: 7px 0 7px 17px; border-bottom: 0; color: var(--tds-soft-muted); font-size: .78rem; font-weight: 600; }
  .tds-theme-mobile-menu nav > .tds-theme-book { width: 100%; margin-top: 22px; }
}
@media (max-width: 860px) {
  .tds-page-article:not(.tds-page-article--elementor) { width: min(100% - 32px, 1120px); padding: 52px 0; }
  .tds-theme-footer { padding: 62px 20px 28px; }
  .tds-theme-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
}
@media (max-width: 640px) {
  .tds-theme-content .entry-title { font-size: clamp(2.1rem, 11vw, 3.2rem); }
  .tds-page-article--elementor .elementor .elementor-widget-text-editor,
  .tds-page-article--elementor .elementor .elementor-widget-text-editor p,
  .tds-page-article--elementor .elementor .elementor-widget-text-editor li { font-size: 1rem !important; }
  .tds-theme-footer-inner { grid-template-columns: 1fr; }
  .tds-theme-footer-bottom { display: block; }
  .tds-theme-footer-bottom span + span { display: block; margin-top: 9px; }
  .tds-page-article--elementor .elementor .wpcf7-form .custom-contact-form { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
  .tds-page-article--elementor .elementor .wpcf7-form .custom-contact-form > p:nth-child(3),
  .tds-page-article--elementor .elementor .wpcf7-form .custom-contact-form > p:nth-child(4),
  .tds-page-article--elementor .elementor .wpcf7-form .submit-wrapper { grid-column: auto; }
  .tds-page-article--elementor .elementor .wpcf7-form textarea { min-height: 132px; }
  .tds-page-article--elementor .elementor .wpcf7-form input[type="submit"] { width: 100% !important; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
