/* WordPress, Elementor and accessibility compatibility. */
/* Uniform result frames: explicit height overrides the legacy natural-image rules. */
.lux-results-track {align-items:stretch}
.lux-results-track > div {flex:0 0 100%;min-width:0}
.lux-results-track > div > article {height:100%}
.lux-results-track > div > article > div:first-child {height:auto;min-height:104px;overflow:visible}
.luxderma-section-content .lux-results-track figure:has(img.h-full) {height:100%;width:100%;min-width:0;align-self:stretch;position:relative}
.luxderma-section-content .lux-results-track figure:has(img.h-full)>div.relative {height:100%}
.luxderma-section-content .lux-results-track figure img.h-full.object-cover {display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.luxderma-section-content .lux-results-track > div > article > :last-child {height:clamp(220px,42vw,600px);min-height:0;flex:none}
@media(max-width:639px){
 .lux-results-track > div > article > div:first-child {min-height:0}
 .luxderma-section-content .lux-results-track > div > article > :last-child {height:clamp(180px,54vw,340px)}
}

:root {--font-display:"Fraunces","Fraunces Fallback";--font-jakarta:"Plus Jakarta Sans","Plus Jakarta Sans Fallback";--font-serif:var(--font-display),serif;--font-sans:var(--font-jakarta),sans-serif}
/* Reserve the header's real height in document flow, including Elementor parts. */
.luxderma-header-shell {position:sticky;top:0;z-index:50;flex-shrink:0;width:100%;min-width:0;background:var(--background)}
body.admin-bar .luxderma-header-shell {top:32px}
.luxderma-header-shell .site-header {position:relative;top:auto!important;left:auto;right:auto;width:100%}
@media(max-width:782px){body.admin-bar .luxderma-header-shell{top:46px}}
@media(max-width:600px){body.admin-bar .luxderma-header-shell{top:0}}
/* Unlayered rules keep Elementor's generic anchor styles from hiding button text. */
.luxderma-theme a.bg-foreground.text-background,
.luxderma-theme button.bg-foreground.text-background {background-color:var(--foreground);color:var(--background)}
.luxderma-theme a.bg-accent.text-accent-foreground {background-color:var(--accent);color:var(--accent-foreground)}
.luxderma-theme a.hover\:bg-foreground:is(:hover,:focus-visible) {background-color:var(--foreground);color:var(--background)}
.luxderma-theme a.hover\:bg-accent:is(:hover,:focus-visible) {background-color:var(--accent);color:var(--accent-foreground)}
.site-header .luxderma-topbar a {color:inherit}
.site-footer {--muted-foreground:#d3d9e2}
.site-footer a {color:inherit}
.luxderma-section-content a.bg-foreground.text-background,
.luxderma-section-content button.bg-foreground.text-background {background-color:var(--foreground);color:var(--background)}
.luxderma-section-content a.hover\:bg-foreground:is(:hover,:focus-visible),
.luxderma-section-content button.hover\:bg-foreground:is(:hover,:focus-visible) {background-color:var(--foreground);color:var(--background)}
.luxderma-section-content a.hover\:bg-accent:is(:hover,:focus-visible) {background-color:var(--accent);color:var(--accent-foreground)}
.luxderma-section-content a.rounded-full span {color:inherit}
.luxderma-header-search {position:relative;font-size:.75rem}
.luxderma-header-search summary {cursor:pointer}
.luxderma-header-search>div {position:absolute;right:0;top:calc(100% + 16px);width:280px;padding:18px;background:var(--background);border:1px solid var(--border);box-shadow:0 8px 24px #0001}
.luxderma-header-search form,.luxderma-mobile-utilities form {display:grid;gap:8px}
.luxderma-header-search input,.luxderma-mobile-utilities input {min-width:0;border:1px solid var(--border);padding:10px;color:var(--foreground);background:var(--background)}
.luxderma-mobile-utilities {display:none}
@media(max-width:1279px){.site-header.is-menu-open .luxderma-mobile-utilities{display:flex;gap:16px;padding-top:18px;flex-wrap:wrap}.luxderma-mobile-utilities form{flex-basis:100%}}
html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: clip;
}

body.admin-bar .site-header {
  top: 32px;
}

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

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  z-index: 100000;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 18px;
  background: #fff;
  color: var(--foreground);
  box-shadow: 0 2px 15px rgba(0, 0, 0, .18);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-header {
  background: transparent;
  color: var(--foreground);
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  background: rgba(250, 248, 244, .96);
  background: color-mix(in srgb, var(--background) 96%, transparent);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--foreground) 10%, transparent);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled .luxderma-header-inner {
  padding-top: .75rem;
  padding-bottom: .75rem;
}

.luxderma-logo-link,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.luxderma-logo-link img,
.custom-logo {
  display: block;
  width: auto;
  height: 3rem;
  object-fit: contain;
}

.site-footer .luxderma-logo-link img,
.site-footer .custom-logo {
  filter: brightness(0) invert(1);
}

.site-navigation {
  display: none;
}

.primary-menu,
.primary-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.primary-menu > li {
  position: relative;
}

.primary-menu a {
  display: block;
  color: inherit;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s ease;
}

.primary-menu > li > a {
  padding: .75rem 0;
}

.primary-menu a:hover,
.primary-menu a:focus-visible,
.primary-menu .current-menu-item > a,
.primary-menu .current-menu-ancestor > a {
  color: var(--accent);
}

.primary-menu .menu-item-has-children > a {
  padding-right: 1rem;
}

.primary-menu .menu-item-has-children > a::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
}

.primary-menu .sub-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + .25rem);
  left: -1.25rem;
  width: max-content;
  min-width: 240px;
  max-width: 320px;
  padding: .65rem;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(31, 58, 95, .13);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.primary-menu .sub-menu a {
  padding: .7rem .8rem;
  font-size: .75rem;
  line-height: 1.4;
  white-space: normal;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu,
.primary-menu li.is-submenu-open > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.submenu-toggle {
  display: none;
}

.mobile-menu-toggle {
  width: 42px;
  height: 42px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.mobile-menu-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.luxderma-cart-link {
  display: inline-flex;
  gap: .35rem;
  align-items: center;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.luxderma-cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 .2rem;
  border-radius: 999px;
  color: var(--background);
  background: var(--accent);
  font-size: .65rem;
}

[data-lux-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}

[data-lux-reveal].is-visible,
.elementor-editor-active [data-lux-reveal] {
  opacity: 1;
  transform: translateY(0);
}

.luxderma-elementor-page.e-con,
.luxderma-elementor-page > .e-con-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.luxderma-elementor-page .elementor-widget-html,
.luxderma-elementor-page .elementor-widget-container {
  width: 100%;
}

.elementor-editor-active .site-header {
  pointer-events: none;
}

.luxderma-content-shell,
.luxderma-commerce-shell,
.luxderma-empty-state {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
  padding-top: 11rem;
  padding-bottom: 7rem;
}

.archive-header,
.entry-header {
  max-width: 840px;
  margin: 0 auto 4rem;
  text-align: center;
}

.archive-header h1,
.entry-title,
.luxderma-empty-state h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
}

.archive-description,
.entry-meta {
  color: var(--muted-foreground);
}

.luxderma-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.luxderma-post-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
}

.post-card-image {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--muted);
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.luxderma-post-card:hover .post-card-image img {
  transform: scale(1.03);
}

.post-card-content {
  padding: 1.5rem;
}

.post-card-content .entry-title {
  margin: .5rem 0 1rem;
  font-size: 1.75rem;
  line-height: 1.15;
  text-align: left;
}

.luxderma-single {
  max-width: 920px;
}

.entry-thumbnail {
  margin: 0 0 3rem;
}

.entry-thumbnail img {
  width: 100%;
  height: auto;
}

.entry-content > * + * {
  margin-top: 1.25em;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 2em;
  font-family: var(--font-serif);
}

.entry-content a {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: .2em;
}

.nav-links,
.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
}

.page-numbers,
.post-navigation a {
  display: inline-flex;
  padding: .65rem 1rem;
  border: 1px solid var(--border);
}

.page-numbers.current,
.page-numbers:hover {
  color: var(--background);
  background: var(--foreground);
}

.comments-area {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.comment-list {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}

.comment-body {
  margin-bottom: 1rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
}

.comment-form input:not([type='submit']),
.comment-form textarea,
.luxderma-search-form input {
  width: 100%;
  padding: .9rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
}

.comment-form input[type='submit'],
.luxderma-search-form button,
.luxderma-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: .75rem 1.5rem;
  color: var(--background);
  background: var(--foreground);
  border: 1px solid var(--foreground);
  border-radius: 999px;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.luxderma-empty-state {
  min-height: 70vh;
  text-align: center;
}

.luxderma-empty-state > * {
  max-width: 680px;
  margin-inline: auto;
}

.luxderma-empty-state .luxderma-search-form {
  display: flex;
  gap: .5rem;
  margin-block: 2rem;
}

.luxderma-empty-state .luxderma-search-form label {
  flex: 1;
}

.luxderma-form-notice {
  position: relative;
  z-index: 5;
  width: min(760px, calc(100% - 2rem));
  margin: 10rem auto -7rem;
  padding: 1rem 1.25rem;
  border: 1px solid;
}

.luxderma-form-notice.is-success {
  color: #155d36;
  background: #ecf8f1;
  border-color: #80c79f;
}

.luxderma-form-notice.is-error {
  color: #802626;
  background: #fff2f2;
  border-color: #dfa1a1;
}

.luxderma-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.site-footer iframe {
  border: 0;
}

.site-footer .custom-logo-link {
  width: fit-content;
}

#wpadminbar {
  position: fixed;
}

@media (min-width: 1280px) {
  .site-navigation {
    display: block;
  }
}

@media (max-width: 1100px) {
  .primary-menu {
    gap: 1.2rem;
  }
}

@media (max-width: 1279px) {
  .site-header.is-menu-open {
    height: auto;
    max-height: calc(100dvh - var(--lux-admin-offset, 0px));
    overflow-y: auto;
  }

  .site-navigation {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    display: none;
    min-height: 0;
    padding: 1rem 0 2rem;
    background: var(--background);
  }

  .site-header.is-menu-open .site-navigation {
    display: block;
  }

  .primary-menu {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .primary-menu > li {
    border-bottom: 1px solid var(--border);
  }

  .primary-menu > li > a {
    padding: 1rem 2.75rem 1rem 0;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    letter-spacing: 0;
    text-transform: none;
  }

  .primary-menu .menu-item-has-children > a::after {
    display: none;
  }

  .submenu-toggle {
    position: absolute;
    top: .65rem;
    right: 0;
    display: block;
    width: 40px;
    height: 40px;
  }

  .submenu-toggle::before,
  .submenu-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
  }

  .submenu-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform .2s ease;
  }

  .is-submenu-open > .submenu-toggle::after {
    transform: translate(-50%, -50%) rotate(0);
  }

  .primary-menu .sub-menu {
    position: static;
    display: none;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 0 0 1rem 1rem;
    visibility: visible;
    opacity: 1;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .primary-menu li.is-submenu-open > .sub-menu {
    display: block;
  }

  .primary-menu .sub-menu a {
    padding: .55rem 0;
  }

  .luxderma-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .luxderma-logo-link img,
  .custom-logo {
    height: 2.5rem;
  }

  .luxderma-post-grid {
    grid-template-columns: 1fr;
  }

  .luxderma-content-shell,
  .luxderma-commerce-shell {
    padding-top: 9rem;
  }

  .luxderma-empty-state .luxderma-search-form {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  [data-lux-reveal] {
    opacity: 1;
    transform: none;
  }
}


/* Site builder and editable reference sections. */
.luxderma-section-content {width:100%}
.luxderma-footer-menu {list-style:none;margin:0;padding:0;display:grid;gap:1rem;font-size:.875rem}
.luxderma-footer-menu a {color:var(--muted-foreground);transition:color .15s}
.luxderma-footer-menu a:hover,.luxderma-footer-menu a:focus-visible {color:var(--background)}
.elementor-editor-active .luxderma-site-part #site-header {position:relative!important;top:0!important}
.elementor-widget-luxderma-site-part {width:100%;max-width:100%}

/* Keep the menu immediately below the branding row, within the viewport. */
@media(max-width:1279px){
 .luxderma-header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
 .luxderma-header-inner .site-branding{grid-column:1;grid-row:1}
 .luxderma-header-inner .mobile-menu-toggle{grid-column:2;grid-row:1}
 body.admin-bar{--lux-admin-offset:32px}
}
@media(max-width:782px){body.admin-bar{--lux-admin-offset:46px}}
@media(max-width:600px){body.admin-bar{--lux-admin-offset:0px}}
/* Original editorial panels: readable even with JavaScript disabled. */
section:not(.lux-editorial-scroll):has(> .sticky > .absolute.inset-0:nth-child(4)){height:auto!important}
section:not(.lux-editorial-scroll):has(> .sticky > .absolute.inset-0:nth-child(4)) > .sticky{position:relative;height:auto;overflow:visible}
section:not(.lux-editorial-scroll):has(> .sticky > .absolute.inset-0:nth-child(4)) > .sticky > .absolute.inset-0{position:relative;opacity:1!important}
section.lux-editorial-scroll{height:var(--lux-story-height)!important}
section.lux-editorial-scroll > .sticky{position:sticky;top:var(--lux-story-top);height:var(--lux-story-viewport);overflow:hidden}
section.lux-editorial-scroll > .sticky > .absolute.inset-0{position:absolute;opacity:var(--lux-panel-opacity,0)!important;transition:opacity .35s ease;pointer-events:none}
section.lux-editorial-scroll > .sticky > .absolute.inset-0.is-active{pointer-events:auto}

@media(max-width:1279px){.luxderma-header-inner .header-actions{display:none}.luxderma-header-inner .mobile-menu-toggle{display:block}}
.lux-editorial-scroll > .sticky > .absolute.inset-0 > .grid > .relative > img{height:100%;object-fit:cover}

/* Preserve exported cover images against Elementor's generic height:auto rule. */
.luxderma-section-content img.h-full.object-cover,.luxderma-section-content video.h-full.object-cover{height:100%;object-fit:cover}
.luxderma-section-content img.absolute.inset-0{height:100%;width:100%;object-fit:cover}
.lux-result-label{position:absolute;bottom:12px;left:12px;z-index:2;background:#1f3a5fe6;color:#fff;border-radius:24px;padding:8px 14px;font-size:11px;letter-spacing:.12em;text-transform:uppercase}
@media(max-width:1023px){
 .lux-editorial-scroll > .sticky > .absolute.inset-0 > .grid{display:grid;grid-template-rows:minmax(0,32%) minmax(0,68%);height:100%}
 .lux-editorial-scroll > .sticky > .absolute.inset-0 > .grid > .relative{height:100%;min-height:0}
 .lux-editorial-scroll > .sticky > .absolute.inset-0 > .grid > div:last-child{min-height:0;overflow-y:auto;justify-content:flex-start;padding:18px 22px 42px}
 .lux-editorial-scroll h3{font-size:clamp(24px,6vw,36px);line-height:1.12;margin-bottom:12px}
 .lux-editorial-scroll p{font-size:14px;line-height:1.5;margin-bottom:14px}
 .lux-editorial-scroll .grid > div:last-child > span{font-size:10px;margin-bottom:10px}
 .lux-editorial-scroll .grid > div:last-child > .flex{gap:5px;margin-bottom:14px}
 .lux-editorial-scroll .grid > div:last-child > .flex > span{font-size:9px;padding:5px 8px}
 .lux-editorial-scroll .grid > div:last-child > a{font-size:11px}
 .lux-editorial-scroll > .sticky > .absolute:last-child{bottom:12px}
}

/* Result photographs keep their full natural frame, including combined before/after photos. */
.luxderma-section-content figure:has(img.h-full){height:auto;aspect-ratio:auto;align-self:start}
.luxderma-section-content figure:has(img.h-full)>div.relative{height:auto}
.luxderma-section-content figure img.h-full.object-cover{height:auto;width:100%;display:block}

.luxderma-section-content figure:has(img.h-full){position:relative}
