/* Dermalanya overrides on top of the theme stylesheet */
:root { --dl-plum: #5a145b; --dl-plum-2: #86378a; --dl-olive: #566c37; --dl-tint: #f6eef6; }

/* Brand logo in navbar / footer */
.image-63.dl-logo { width: 190px; height: auto; max-width: none; }
.dl-foot-logo { width: 170px; height: auto; }
.dl-pre-logo { width: min(320px, 60vw); height: auto; }
@media (max-width: 991px) { .image-63.dl-logo { width: 150px; } }
@media (max-width: 479px) { .image-63.dl-logo { width: 132px; } }

/* Icon buttons (inline svg) */
.dl-icon .nav-connect-wrapper { display: flex; align-items: center; justify-content: center; color: var(--dl-plum); }
.dl-icon:hover .nav-connect-wrapper { color: #fff; background-color: var(--dl-plum); }
.dl-icon svg { display: block; }
.dl-mobile-wa .conect-link { color: var(--dl-plum); display: flex; align-items: center; justify-content: center; }

/* Language switch */
.dl-lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: #f4eef4; }
.dl-lang a { font-size: 13px; line-height: 1; letter-spacing: .04em; padding: 7px 9px; border-radius: 999px; color: #525252; text-decoration: none; transition: background-color .2s, color .2s; }
.dl-lang a:hover { color: var(--dl-plum); }
.dl-lang a.is-current { background: var(--dl-plum); color: #fff; }
.dl-lang-mobile { margin-top: 24px; }
.dl-lang-mobile a { font-size: 15px; padding: 10px 14px; }

/* Hero: plum gradient instead of the orange video */
.dl-grad { background: radial-gradient(120% 90% at 15% 10%, #a2509f 0%, rgba(162,80,159,0) 55%), radial-gradient(90% 80% at 90% 95%, #6f8746 0%, rgba(111,135,70,0) 55%), linear-gradient(135deg, #7a2c7c 0%, #5a145b 55%, #3d0c3f 100%); }
.image-69.dl-hide, .dropbox-video.dl-hide { display: none !important; }

/* Footer legal links wrap nicely */
.footer-bottom-row.dl-legal { flex-wrap: wrap; gap: 8px 24px; }

/* Rich text produced from legacy content */
.dl-rich p { margin-bottom: 14px; }
.dl-rich ul { padding-left: 20px; margin: 8px 0 16px; }
.dl-rich li { margin-bottom: 6px; }
.dl-rich h3 { font-size: 20px; line-height: 1.3; margin: 18px 0 10px; }

/* Map embed inside location card */
.dl-map { width: 100%; height: 100%; min-height: 260px; border: 0; border-radius: inherit; display: block; }

/* Service cards: hide prices */
.dl-hidden { display: none !important; }

/* Category chips on the services page */
.dl-cat-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 8px; }
.dl-cat-nav a { border: 1px solid rgba(90,20,91,.25); color: var(--dl-plum); border-radius: 999px; padding: 8px 14px; font-size: 14px; text-decoration: none; transition: background-color .2s, color .2s; }
.dl-cat-nav a:hover { background: var(--dl-plum); color: #fff; }

/* Legal / long text pages */
.dl-legal-body { max-width: 820px; margin: 0 auto; color: #3c3c3c; font-size: 16px; line-height: 1.7; }
.dl-legal-body h2 { font-size: 24px; margin: 36px 0 12px; color: var(--dl-plum); }
.dl-legal-body p, .dl-legal-body li { margin-bottom: 10px; }
.dl-legal-body ul { padding-left: 20px; }

/* Contact page grid */
.dl-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dl-contact-card { background: #f6f6f6; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.dl-contact-card a { color: var(--dl-plum); text-decoration: none; }
.dl-contact-card .text-size-14 { color: #7a7a7a; text-transform: uppercase; letter-spacing: .06em; }
.dl-map-wrap { border-radius: 16px; overflow: hidden; margin-top: 16px; height: 420px; }
@media (max-width: 767px) { .dl-contact-grid { grid-template-columns: 1fr; } .dl-map-wrap { height: 320px; } }

/* Floating WhatsApp button */
.dl-wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.18); transition: transform .2s; }
.dl-wa-float:hover { transform: scale(1.06); }
.dl-wa-float svg { width: 28px; height: 28px; }

/* Focus visibility */
a:focus-visible, button:focus-visible, [role="button"]:focus-visible { outline: 2px solid var(--dl-olive); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { [marquee] { animation: none !important; } }

/* Brand block (was membership) */
.dl-memb .membership-container { background-image: linear-gradient(100deg, #3d0c3f 0%, #5a145b 45%, #86378a 100%); }
.dl-memb .membership-desktop { object-fit: cover; left: 0; width: 55%; }
.dl-memb .membership-mobile { object-fit: cover; }
.dl-ba-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Service detail */
.dl-svc-center { object-fit: cover; border-radius: 24px; aspect-ratio: 4 / 5; width: 100%; height: auto; }
.image-77.dl-side-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.dl-spark { width: 48px !important; height: 48px !important; }
.dl-contact-wrap { width: 100%; }
.dl-contact-cta { margin-top: 24px; justify-content: center; }
.dl-contact-card .text-size-22 { line-height: 1.45; }

@media (max-width: 991px) {
  .navbar .brand.w-nav-brand { display: flex; align-items: center; justify-content: center; align-self: center; height: 100%; }
}
