/* ==========================================================================
   White Coat Atelier - global brand theme
   Loaded AFTER the legacy template stylesheets.
   ========================================================================== */

:root {
    --atelier-charcoal: #33302A;
    --atelier-cream: #F8F0DF;
    --atelier-cream-soft: #F8F1E0;
    --atelier-gold: #B9A06B;
    --atelier-taupe: #B0A38D;
    --atelier-sage: #848479;
    --atelier-deep-gold: #9C7C44;

    --atelier-font-heading: "Bodoni Moda", Georgia, serif;
    --atelier-font-body: "Cormorant Garamond", Georgia, serif;
    --atelier-font-ui: "Montserrat", Arial, sans-serif;
}

html,
body {
    background: var(--atelier-cream) !important;
    color: var(--atelier-charcoal) !important;
}

/* --------------------------------------------------------------------------
   Typography
   Headings: Bodoni Moda
   Paragraphs/content: Cormorant Garamond
   Navigation/buttons/forms: Montserrat
   -------------------------------------------------------------------------- */
body {
    font-family: var(--atelier-font-body) !important;
    font-size: 18px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
.drtoafndrbs h1,
.drtoafndrbs h2,
.drtoafndrbs h3,
.fstcrcntus h5,
.fstfrmfill h2,
.fst-cr-spa-banner h1,
.item_cnt h1,
.item_cnt h2,
.smile_desc h1,
.smile_desc h2,
.smile_desc h3,
.smile_desc h4 {
    font-family: var(--atelier-font-heading) !important;
    color: var(--atelier-charcoal);
    letter-spacing: 0;
}

body p,
body .description,
.drtoafndrbs p,
.drtoafndrbs_title p,
.smile_desc p,
.fstcrdets p,
.testimonial p,
.fstcrfooter p {
    font-family: var(--atelier-font-body) !important;
}

.navbar,
.navbar a,
.navbar li,
.navbar span,
.topbar,
.topbar a,
.topbar p,
.dropdown-menu a,
button,
.btn,
.btn-primary,
.know_more a,
.fstsrvbgs > a:not(.ncl),
.submit,
input,
textarea,
select,
label,
.mobile-fixed a,
.socials a,
.atelier-form-notice {
    font-family: var(--atelier-font-ui) !important;
}

body p,
body li,
body label {
    color: var(--atelier-charcoal);
}

body a {
    color: var(--atelier-deep-gold);
}

body a:hover,
body a:focus {
    color: var(--atelier-gold);
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.header .topbar {
    background: var(--atelier-charcoal) !important;
    color: var(--atelier-cream-soft) !important;
    border: 0 !important;
}

.header .topbar p,
.header .topbar strong,
.header .topbar a {
    color: var(--atelier-cream-soft) !important;
    font-family: var(--atelier-font-ui) !important;
    font-size: 14px !important;
}

.top_head,
.navbar,
.navbar-default,
.navbar-collapse {
    background: var(--atelier-cream) !important;
    border-color: var(--atelier-gold) !important;
}

.navbar-brand img {
    display: block;
    width: 235px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.navbar-default .navbar-nav > li > a,
.navbar1 > li > a {
    background: transparent !important;
    color: var(--atelier-charcoal) !important;
    font-family: var(--atelier-font-ui) !important;
    font-weight: 500 !important;
    letter-spacing: .15px !important;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
    background: transparent !important;
    color: var(--atelier-deep-gold) !important;
}

.dropdown-menu {
    background: var(--atelier-cream-soft) !important;
    border: 1px solid var(--atelier-gold) !important;
    box-shadow: 0 10px 28px rgba(51, 48, 42, .12) !important;
}

.dropdown-menu > li > a {
    background: transparent !important;
    color: var(--atelier-charcoal) !important;
    font-family: var(--atelier-font-ui) !important;
    font-size: 14px !important;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    background: var(--atelier-deep-gold) !important;
    color: var(--atelier-cream-soft) !important;
}

.navbar-default .navbar-toggle {
    background: transparent !important;
    border-color: var(--atelier-deep-gold) !important;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background: var(--atelier-cream-soft) !important;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: var(--atelier-deep-gold) !important;
}

.atelier-chevron {
    display: inline-flex;
    width: 12px;
    height: 12px;
    margin-left: 5px;
    vertical-align: -1px;
    color: var(--atelier-deep-gold) !important;
}

.atelier-chevron svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Global palette lock for legacy sections
   The legacy template originally used lavender/purple. These selectors keep
   every page within the Atelier palette without changing page functionality.
   -------------------------------------------------------------------------- */
.drtoafndrb,
.drtoafndrb .container,
.drtoafndrb .row1,
.drtoafndrbs,
.fstfrm,
.gallery,
.fstbfraftr,
.fstcrcresc,
.fstcrcresc .container,
.fstcrcresc .row,
.fstcrdets,
.fstcrdets ul,
.why_choose,
.fstcrtesti,
.review_bg,
.fstsrvce,
.fstsrvsli,
.fsttbs,
.tab-content,
.tab-pane,
.section--purple,
.section--atelier {
    background-color: var(--atelier-cream) !important;
    color: var(--atelier-charcoal) !important;
}

.fstsrvce,
.fstsrvsli,
.review_bg,
.fstcrtesti {
    background-color: var(--atelier-cream-soft) !important;
}

.drtoafndrbs h2,
.drtoafndrbs h3,
.drtoafndrbs p {
    color: var(--atelier-charcoal) !important;
    -webkit-text-fill-color: var(--atelier-charcoal) !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

.drtoafndrbs h2 span,
.drtoafndrbs h2 > span {
    color: var(--atelier-deep-gold) !important;
    -webkit-text-fill-color: var(--atelier-deep-gold) !important;
    font-family: var(--atelier-font-ui) !important;
    font-size: .42em !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
}

.fstcrdets li,
.fstcrdets li:hover,
.fstcrdets li:focus,
.fstcrdets .smile_desc,
.fstcrdets .smile_desc:hover,
.fstcrdets .smile_text,
.smile_desc,
.formp form,
.item_cnt {
    background: var(--atelier-cream-soft) !important;
    border-color: var(--atelier-gold) !important;
    color: var(--atelier-charcoal) !important;
    box-shadow: none !important;
}

.fstcrdets li::before,
.fstcrdets li::after,
.fstcrdets .smile_desc::before,
.fstcrdets .smile_desc::after {
    background: var(--atelier-gold) !important;
    border-color: var(--atelier-gold) !important;
}

.fstcrdets h1,
.fstcrdets h2,
.fstcrdets h3,
.fstcrdets h4,
.fstcrdets p,
.smile_desc h1,
.smile_desc h2,
.smile_desc h3,
.smile_desc h4,
.smile_desc p,
.item_cnt h1,
.item_cnt h2,
.item_cnt p {
    color: var(--atelier-charcoal) !important;
    -webkit-text-fill-color: var(--atelier-charcoal) !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* Service tabs */
.fsttbs .nav-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.fsttbs .nav-tabs > li {
    float: none;
    width: auto;
    margin: 0;
}

.fsttbs .nav-tabs > li > a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 180px;
    margin: 0;
    border-radius: 50px;
    white-space: nowrap;
}

.fsttbs .nav-tabs > li > a > img {
    display: block;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    max-width: 44px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 767px) {
    .fsttbs .nav-tabs > li > a {
        width: auto;
        font-size: 18px;
    }

    .fsttbs .nav-tabs > li > a > img {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        max-width: 36px;
    }
}
.fsttbs .nav-tabs,
.fsttbs .nav-tabs > li,
.fsttbs .nav-tabs > li > a {
    border-color: var(--atelier-taupe) !important;
}

.fsttbs .nav-tabs > li > a {
    background: var(--atelier-cream) !important;
    color: var(--atelier-charcoal) !important;
    font-family: var(--atelier-font-ui) !important;
}

.fsttbs .nav-tabs > li.active > a,
.fsttbs .nav-tabs > li.active > a:hover,
.fsttbs .nav-tabs > li.active > a:focus,
.fsttbs .nav-tabs > li > a:hover {
    background: var(--atelier-deep-gold) !important;
    color: var(--atelier-cream-soft) !important;
    border-color: var(--atelier-deep-gold) !important;
}

/* --------------------------------------------------------------------------
   Buttons / forms
   -------------------------------------------------------------------------- */
.fstsrvbgs > a:not(.ncl),
.know_more a,
.btn-primary,
.submit,
input[type="submit"] {
    background: var(--atelier-deep-gold) !important;
    border-color: var(--atelier-deep-gold) !important;
    color: var(--atelier-cream-soft) !important;
    font-family: var(--atelier-font-ui) !important;
    font-weight: 600 !important;
}

.fstsrvbgs > a:not(.ncl):hover,
.know_more a:hover,
.btn-primary:hover,
.submit:hover,
input[type="submit"]:hover {
    background: var(--atelier-charcoal) !important;
    border-color: var(--atelier-charcoal) !important;
    color: var(--atelier-cream-soft) !important;
}

.form-control,
select.form-control,
textarea.form-control {
    border-color: var(--atelier-taupe) !important;
    color: var(--atelier-charcoal) !important;
    background: var(--atelier-cream-soft) !important;
    font-family: var(--atelier-font-ui) !important;
    font-size: 15px !important;
}

.form-control::placeholder,
textarea.form-control::placeholder {
    color: var(--atelier-sage) !important;
    opacity: 1;
}

.form-control:focus {
    border-color: var(--atelier-deep-gold) !important;
    box-shadow: 0 0 0 1px var(--atelier-deep-gold) !important;
}

.atelier-form-notice {
    clear: both;
    margin: 12px 15px 18px;
    padding: 12px 14px;
    border: 1px solid var(--atelier-gold);
    background: var(--atelier-cream);
    color: var(--atelier-charcoal);
    font-size: 14px;
    line-height: 1.55;
}

.atelier-form-notice a {
    color: var(--atelier-deep-gold) !important;
    font-weight: 600;
}

/* Contact page */
.fstcrcntus {
    background: var(--atelier-cream-soft) !important;
    border: 1px solid var(--atelier-gold) !important;
    box-shadow: 0 8px 26px rgba(51, 48, 42, .12) !important;
}

.fstcrcntus h5 {
    color: var(--atelier-deep-gold) !important;
}

.fstcrcntus li,
.fstcrcntus li a {
    color: var(--atelier-charcoal) !important;
    font-family: var(--atelier-font-ui) !important;
    font-size: 15px !important;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.fstcrfooter {
    background: var(--atelier-charcoal) !important;
    color: var(--atelier-cream-soft) !important;
}

.fstcrfooter h4 {
    color: var(--atelier-gold) !important;
    font-family: var(--atelier-font-heading) !important;
}

.fstcrfooter p,
.fstcrfooter li,
.fstcrfooter a {
    color: var(--atelier-cream-soft) !important;
}

.fstcrfooter a:hover {
    color: var(--atelier-gold) !important;
}

.fstcpy {
    border-top-color: var(--atelier-taupe) !important;
}

.atelier-contact-icon,
.atelier-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--atelier-gold) !important;
}

.atelier-contact-icon {
    width: 19px;
    height: 19px;
    margin-right: 8px;
    vertical-align: -4px;
}

.atelier-action-icon {
    width: 22px;
    height: 22px;
    margin-right: 8px;
    vertical-align: middle;
    color: var(--atelier-cream-soft) !important;
}

.atelier-contact-icon svg,
.atelier-action-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Floating actions / sliders
   -------------------------------------------------------------------------- */
.pinkBg,
.intro-banner-vdo-play-btn,
.socials a,
.mobile-fixed a,
#button,
.owl-theme .owl-nav [class*="owl-"],
.slick-prev,
.slick-next,
.twentytwenty-handle {
    background: var(--atelier-deep-gold) !important;
    border-color: var(--atelier-gold) !important;
    color: var(--atelier-cream-soft) !important;
}

.socials a:hover,
.mobile-fixed a:hover,
#button:hover,
.owl-theme .owl-nav [class*="owl-"]:hover,
.slick-prev:hover,
.slick-next:hover {
    background: var(--atelier-charcoal) !important;
    color: var(--atelier-cream-soft) !important;
}

.socials li {
    border-color: var(--atelier-gold) !important;
}

.socials ul li {
    background: rgba(176, 163, 141, .33) !important;
}

.socials ul li:hover {
    background: var(--atelier-taupe) !important;
}

.owl-theme .owl-nav [class*="owl-"] {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--atelier-gold) !important;
    border-radius: 50% !important;
    box-shadow: none !important;
}

.atelier-slider-arrow {
    display: inline-block;
    color: var(--atelier-cream-soft) !important;
    font-family: Arial, sans-serif !important;
    font-size: 28px;
    line-height: 1;
}

.owl-theme .owl-dots .owl-dot span,
.slick-dots li button:before {
    background: var(--atelier-taupe) !important;
    color: var(--atelier-taupe) !important;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span,
.slick-dots li.slick-active button:before {
    background: var(--atelier-deep-gold) !important;
    color: var(--atelier-deep-gold) !important;
}

.twentytwenty-left-arrow {
    border-right-color: var(--atelier-cream-soft) !important;
}

.twentytwenty-right-arrow {
    border-left-color: var(--atelier-cream-soft) !important;
}

.twentytwenty-horizontal .twentytwenty-handle:before,
.twentytwenty-horizontal .twentytwenty-handle:after,
.twentytwenty-vertical .twentytwenty-handle:before,
.twentytwenty-vertical .twentytwenty-handle:after {
    background: var(--atelier-cream-soft) !important;
}

.modal-content,
.modal-header,
.modal-body {
    background: var(--atelier-cream) !important;
    color: var(--atelier-charcoal) !important;
    border-color: var(--atelier-taupe) !important;
}

.modal-header .close {
    color: var(--atelier-charcoal) !important;
    opacity: 1 !important;
}

/* Neutralize any legacy semantic color class. */
.section--purple,
.purple,
.violet {
    background: var(--atelier-cream-soft) !important;
    border-color: var(--atelier-gold) !important;
    color: var(--atelier-charcoal) !important;
}

/* --------------------------------------------------------------------------
   Responsive refinements
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    body {
        font-size: 17px;
    }

    .navbar-default .navbar-collapse {
        border-top-color: var(--atelier-gold) !important;
    }

    .navbar-default .navbar-nav > li > a,
    .navbar1 > li > a {
        font-family: var(--atelier-font-ui) !important;
        font-size: 16px !important;
    }

    .navbar-brand img {
        max-width: 220px;
    }

    .mobile-fixed {
        background: var(--atelier-charcoal) !important;
        display: flex !important;
        padding: 0 !important;
    }

    .mobile-fixed li {
        float: none !important;
        width: 33.333333% !important;
        position: relative;
        background: var(--atelier-charcoal) !important;
    }

    .mobile-fixed li:not(:last-child)::after {
        content: "" !important;
        position: absolute;
        right: 0;
        top: 25%;
        width: 1px;
        height: 50%;
        background: var(--atelier-taupe) !important;
    }

    .mobile-fixed li a {
        display: block !important;
        padding: 11px 3px !important;
        color: var(--atelier-cream-soft) !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        letter-spacing: .2px;
    }

    /* remove the old template's first-item-only separator */
    .mobile-fixed li:first-child::after {
        top: 25% !important;
        height: 50% !important;
    }

    .drtoafndrbs h2 {
        line-height: 1.05 !important;
    }
}

@media (max-width: 767px) {
    .header .topbar p,
    .header .topbar strong,
    .header .topbar a {
        font-size: 12px !important;
    }

    .navbar-brand img {
        max-width: 190px;
    }

    .drtoafndrbs h2 {
        font-size: 38px !important;
    }

    .drtoafndrbs h2 span,
    .drtoafndrbs h2 > span {
        display: block;
        margin-top: 8px;
        font-size: 14px !important;
    }
}


/* ============================================================
   WHITE COAT ATELIER
   DHUN-STYLE HEADER
   ============================================================ */

:root {
    --wca-header-height: 104px;
    --wca-cream: #f5f0e8;
    --wca-cream-light: #faf7f2;
    --wca-black: #211f1d;
    --wca-border-light: rgba(255, 255, 255, 0.48);
    --wca-border-dark: rgba(33, 31, 29, 0.18);
}


/* ============================================================
   HEADER
   ============================================================ */

#wcaRefHeader,
#wcaRefHeader * {
    box-sizing: border-box;
}


#wcaRefHeader {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: var(--wca-header-height);

    z-index: 99999;

    display: grid;

    grid-template-columns:
        112px
        minmax(0, 1fr)
        140px;

    align-items: stretch;

    /* Always use the same appearance as the scrolled header. */
    background: rgba(245, 240, 232, 0.97);

    color: var(--wca-black);

    border-bottom: 1px solid var(--wca-border-dark);

    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    transition:
        background-color 0.4s ease,
        color 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}


/* ============================================================
   LEFT HAMBURGER AREA
   ============================================================ */

.wca-ref-menu-cell {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 100%;

    border-right: 1px solid var(--wca-border-dark);

    background: rgba(255, 255, 255, 0.16);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    transition:
        background 0.4s ease,
        border-color 0.4s ease;
}


.wca-ref-menu-button {
    position: relative;

    width: 52px;
    height: 52px;

    padding: 0;

    border: 0;
    outline: none;

    background: transparent;

    color: inherit;

    cursor: pointer;
}


.wca-ref-menu-button span {
    position: absolute;

    left: 7px;

    width: 38px;
    height: 1px;

    background: currentColor;

    transform-origin: center;

    transition:
        top 0.32s ease,
        width 0.32s ease,
        transform 0.32s ease,
        opacity 0.25s ease;
}


.wca-ref-menu-button span:nth-child(1) {
    top: 16px;
}


.wca-ref-menu-button span:nth-child(2) {
    top: 25px;

    width: 29px;
}


.wca-ref-menu-button span:nth-child(3) {
    top: 34px;

    width: 20px;
}


/* ============================================================
   CENTER LOGO
   ============================================================ */

.wca-ref-logo-area {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;

    pointer-events: none;
}


.wca-ref-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: auto;

    text-decoration: none;
}


.wca-ref-logo img {
    display: block;

    width: auto;
    height: auto;

    max-width: 195px;
    max-height: 73px;

    object-fit: contain;

    /*
       At the top, use the same logo file but
       force it completely white.
    */

    filter: brightness(0);

    transition:
        filter 0.4s ease,
        max-width 0.4s ease,
        max-height 0.4s ease;
}


/* ============================================================
   BOOK AREA
   ============================================================ */

.wca-ref-book-cell {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 100%;

    border-left: 1px solid var(--wca-border-dark);

    background: rgba(255, 255, 255, 0.16);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    transition:
        background 0.4s ease,
        border-color 0.4s ease;
}


.wca-ref-book {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    padding: 0 15px;

    color: inherit;

    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 400;

    letter-spacing: 2.2px;

    text-transform: uppercase;
    text-decoration: none;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}


.wca-ref-book:hover,
.wca-ref-book:focus {
    color: inherit;
    text-decoration: none;

    background: rgba(255, 255, 255, 0.08);
}


/* ============================================================
   SCROLLED HEADER
   ============================================================ */

#wcaRefHeader.wca-ref-scrolled {
    background: rgba(245, 240, 232, 0.97);

    color: var(--wca-black);

    border-bottom-color: var(--wca-border-dark);

    box-shadow:
        0 5px 30px rgba(0, 0, 0, 0.06);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}


#wcaRefHeader.wca-ref-scrolled .wca-ref-logo img {
    filter: brightness(0);
}


#wcaRefHeader.wca-ref-scrolled .wca-ref-menu-cell {
    border-right-color: var(--wca-border-dark);

    background: rgba(255, 255, 255, 0.16);
}


#wcaRefHeader.wca-ref-scrolled .wca-ref-book-cell {
    border-left-color: var(--wca-border-dark);

    background: rgba(255, 255, 255, 0.16);
}


/* ============================================================
   MENU OPEN HEADER STATE
   ============================================================ */

body.wca-ref-menu-open {
    overflow: hidden;
}


body.wca-ref-menu-open #wcaRefHeader {
    background: var(--wca-cream);

    color: var(--wca-black);

    border-bottom-color: var(--wca-border-dark);

    box-shadow: none;
}


body.wca-ref-menu-open #wcaRefHeader .wca-ref-logo img {
    filter: brightness(0);
}


body.wca-ref-menu-open #wcaRefHeader .wca-ref-menu-cell {
    background: var(--wca-cream);

    border-right-color: var(--wca-border-dark);
}


body.wca-ref-menu-open #wcaRefHeader .wca-ref-book-cell {
    background: var(--wca-cream);

    border-left-color: var(--wca-border-dark);
}


/* hamburger -> close */

body.wca-ref-menu-open .wca-ref-menu-button span:nth-child(1) {
    top: 25px;

    width: 38px;

    transform: rotate(45deg);
}


body.wca-ref-menu-open .wca-ref-menu-button span:nth-child(2) {
    opacity: 0;

    width: 38px;
}


body.wca-ref-menu-open .wca-ref-menu-button span:nth-child(3) {
    top: 25px;

    width: 38px;

    transform: rotate(-45deg);
}


/* ============================================================
   DRAWER BACKDROP
   ============================================================ */

#wcaRefDrawerLayer {
    position: fixed;

    inset: 0;

    z-index: 99990;

    background: rgba(25, 20, 18, 0.52);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}


body.wca-ref-menu-open #wcaRefDrawerLayer {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;
}


/* ============================================================
   LEFT SIDE DRAWER
   ============================================================ */

#wcaRefDrawer {
    position: absolute;

    top: 0;
    left: 0;

    width: min(700px, 38vw);
    height: 100%;

    padding:
        calc(var(--wca-header-height) + 55px)
        70px
        60px;

    background: var(--wca-cream-light);

    overflow-y: auto;
    overscroll-behavior: contain;

    transform: translateX(-100%);

    transition:
        transform 0.46s
        cubic-bezier(0.76, 0, 0.24, 1);
}


body.wca-ref-menu-open #wcaRefDrawer {
    transform: translateX(0);
}


/* scrollbar */

#wcaRefDrawer {
    scrollbar-width: thin;
    scrollbar-color:
        rgba(33, 31, 29, 0.35)
        transparent;
}


#wcaRefDrawer::-webkit-scrollbar {
    width: 5px;
}


#wcaRefDrawer::-webkit-scrollbar-track {
    background: transparent;
}


#wcaRefDrawer::-webkit-scrollbar-thumb {
    background: rgba(33, 31, 29, 0.3);

    border-radius: 10px;
}


/* ============================================================
   DRAWER MENU
   ============================================================ */

.wca-ref-drawer-nav {
    max-width: 470px;

    margin: 0 auto;
}


.wca-ref-main-link,
.wca-ref-dropdown > summary {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    margin: 0;

    padding: 16px 0;

    color: #322e2a;

    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 400;

    line-height: 1.35;

    letter-spacing: 0.3px;

    text-decoration: none;

    border: 0;

    cursor: pointer;

    list-style: none;

    transition:
        opacity 0.25s ease,
        padding-left 0.25s ease;
}


.wca-ref-main-link:hover,
.wca-ref-main-link:focus,
.wca-ref-dropdown > summary:hover {
    color: #322e2a;

    opacity: 0.6;

    padding-left: 6px;

    text-decoration: none;
}


.wca-ref-dropdown > summary::-webkit-details-marker {
    display: none;
}


.wca-ref-dropdown > summary::after {
    content: '+';

    margin-left: 20px;

    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 300;

    transition: transform 0.25s ease;
}


.wca-ref-dropdown[open] > summary::after {
    transform: rotate(45deg);
}


/* ============================================================
   SUB MENUS
   ============================================================ */

.wca-ref-submenu {
    display: flex;
    flex-direction: column;

    gap: 2px;

    padding:
        2px
        0
        17px
        24px;
}


.wca-ref-submenu a {
    display: block;

    padding: 6px 0;

    color: #66605a;

    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-weight: 500;

    line-height: 1.25;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.wca-ref-submenu a:hover {
    color: #211f1d;

    transform: translateX(4px);

    text-decoration: none;
}


/* ============================================================
   DRAWER LOWER AREA
   ============================================================ */

.wca-ref-drawer-separator {
    width: 100%;
    height: 1px;

    margin: 33px 0;

    background: rgba(33, 31, 29, 0.14);
}


.wca-ref-contact-card {
    display: block;

    margin-bottom: 18px;

    padding: 26px 24px;

    color: #322e2a;

    border: 1px solid rgba(140, 84, 65, 0.16);
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.16);

    text-align: center;

    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.wca-ref-contact-card:hover {
    color: #322e2a;

    background: rgba(255, 255, 255, 0.42);

    transform: translateY(-2px);

    text-decoration: none;
}


.wca-ref-contact-title {
    display: block;

    margin-bottom: 7px;

    font-family: 'Cormorant Garamond', serif;
    font-size: 27px;
    font-style: italic;

    line-height: 1;
}


.wca-ref-contact-sub {
    display: block;

    font-family: 'Montserrat', sans-serif;
    font-size: 11px;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1100px) {

    :root {
        --wca-header-height: 88px;
    }


    #wcaRefHeader {
        grid-template-columns:
            90px
            minmax(0, 1fr)
            110px;
    }


    .wca-ref-logo img {
        max-width: 165px;
        max-height: 60px;
    }


    .wca-ref-book {
        font-size: 12px;

        letter-spacing: 1.6px;
    }


    #wcaRefDrawer {
        width: min(600px, 48vw);

        padding-left: 48px;
        padding-right: 48px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {

    :root {
        --wca-header-height: 74px;
    }


    #wcaRefHeader {
        grid-template-columns:
            72px
            minmax(0, 1fr)
            88px;
    }


    .wca-ref-menu-button {
        width: 42px;
        height: 42px;
    }


    .wca-ref-menu-button span {
        left: 7px;

        width: 28px;
    }


    .wca-ref-menu-button span:nth-child(1) {
        top: 13px;
    }


    .wca-ref-menu-button span:nth-child(2) {
        top: 21px;

        width: 22px;
    }


    .wca-ref-menu-button span:nth-child(3) {
        top: 29px;

        width: 16px;
    }


    body.wca-ref-menu-open
    .wca-ref-menu-button span:nth-child(1),
    body.wca-ref-menu-open
    .wca-ref-menu-button span:nth-child(3) {
        top: 21px;

        width: 28px;
    }


    .wca-ref-logo img {
        max-width: 130px;
        max-height: 48px;
    }


    .wca-ref-book {
        padding: 0 7px;

        font-size: 10px;

        letter-spacing: 1.3px;
    }


    #wcaRefDrawer {
        width: 100%;

        padding:
            calc(var(--wca-header-height) + 35px)
            28px
            45px;
    }


    .wca-ref-drawer-nav {
        max-width: 100%;
    }


    .wca-ref-main-link,
    .wca-ref-dropdown > summary {
        padding: 14px 0;

        font-size: 16px;
    }

}


/* ============================================================
   VERY SMALL MOBILE
   ============================================================ */

@media (max-width: 400px) {

    #wcaRefHeader {
        grid-template-columns:
            64px
            minmax(0, 1fr)
            76px;
    }


    .wca-ref-logo img {
        max-width: 115px;
    }


    .wca-ref-book {
        font-size: 9px;

        letter-spacing: 1px;
    }

}


/* ============================================================
   ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    #wcaRefHeader,
    #wcaRefHeader *,
    #wcaRefDrawerLayer,
    #wcaRefDrawerLayer * {
        transition: none !important;
    }

}
/* Consistent treatment cards across every service category. */
.fsttbs .tab-pane > .container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 990px;
    padding: 0;
    margin: 0;
}

.fsttbs .tab-pane > .container::before,
.fsttbs .tab-pane > .container::after {
    display: none;
}

.fsttbs .fstsrvbgs {
    display: flex;
    flex-direction: column;
    align-items: center;
    float: none;
    width: auto;
    min-width: 0;
    min-height: 220px;
    margin: 0;
    padding: 20px 12px;
    background: #fff;
    border: 1px solid #eee9e1;
    border-radius: 10px;
    box-shadow: none;
    text-align: center;
}

.fsttbs .fstsrvbgs > a.ncl {
    display: block;
    width: 96px;
    height: 96px;
    margin: 0;
    padding: 0;
    background: transparent !important;
    border: 0;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.fsttbs .fstsrvbgs > a.ncl > img {
    display: block;
    width: 96px;
    height: 96px;
    margin: 0;
    border-radius: 50%;
    object-fit: cover;
}

.fsttbs .fstsrvbgs > p {
    margin: 12px 0;
    padding: 0;
    font-family: var(--atelier-font-ui) !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: #191919;
}

.fsttbs .fstsrvbgs > a:not(.ncl) {
    width: auto;
    min-width: 110px;
    margin: auto 0 0;
    padding: 9px 18px;
    border: 0;
    border-radius: 50px;
    background: linear-gradient(180deg, #ad8314, #e6d589) !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 500 !important;
    line-height: 18px;
    white-space: nowrap;
}

.fsttbs .fstsrvbgs > a:not(.ncl):hover,
.fsttbs .fstsrvbgs > a:not(.ncl):focus-visible {
    background: linear-gradient(180deg, #947013, #c9b365) !important;
}

@media (max-width: 1199px) {
    .fsttbs .tab-pane > .container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .fsttbs .tab-pane > .container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .fsttbs .fstsrvbgs > p {
        font-size: 14px;
    }
}

@media (max-width: 359px) {
    .fsttbs .tab-pane > .container {
        grid-template-columns: minmax(0, 1fr);
    }
}