/* Wellness Med Art on FLST: lotus teal instead of the template's lime and purple, deep ink instead of graphite,
   plus the clinic's own parts (cart, filter, before/after, map, hours). */
:root {
    --accent--dark: #5FD0E0;
    --accent-shade--dark: #2AA7BC;
    --accent--light: #1D8A9C;
    --accent-shade--light: #11616E;
    --additional--dark: #1D6F7D;
    --additional--light: #9FE3EC;
    --t-accent-md--dark: #1D4F58;
    --t-accent-md--light: #D5EEF2;
    --t-additional-md--dark: #D5EEF2;
    --t-additional-md--light: #3E6A71;
    --lime-var--dark: #5FD0E0;
    --lime-var--light: #9FE3EC;
    --btn-lime-var--dark: #48BED2;
    --btn-lime-var--light: #8FD9E4;
    --t-lime-var-md--dark: #1D4F58;
    --t-lime-var-md--light: #3E6A71;
    --pt-lime: #5FD0E0;
    --pt-lime-shade: #2AA7BC;
    --pt-btn-lime: #48BED2;
    --pt-t-lime-md: #1D4F58;
    --pt-green: #7FE0C4;
    --pt-purple: #1D6F7D;
    --pt-btn-purple: #16606C;
    --pt-st-purple: #2A8796;
    --pt-lavender: #BFE8EE;
    --pt-btn-purple-t-md: #A5DBE3;
    --pt-t-purple-md: #D5EEF2;
    --pt-t-lavender-mt: #4F8F99;
    --base--dark: #0F1B1E;
    --base-shade--dark: #0A1316;
    --base-tint--dark: #172A2F;
    --btn-base--dark: #172A2F;
    --btn-tint--dark: #213A40;
    --st-base--dark: #24393F;
    --st-tint--dark: #2A4248;
    --base--light: #F3F6F6;
    --base-shade--light: #E6EEEF;
}

/* logo in the nav, sticker in the hero title */
.wma-logo { display: grid; place-items: center; background: var(--btn-tint); border-radius: 12px; overflow: hidden; }
.wma-logo img { width: 78%; height: auto; }
.wma-sticker { background: var(--base-tint); border-radius: 50%; padding: .12em; object-fit: contain; }

/* cart button in the nav */
.wma-cart-btn { position: relative; border: 0; cursor: pointer; }
.wma-count { display: block; position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px;
    background: var(--accent); color: var(--t-accent-br); font: 700 11px/20px var(--_font-default); text-align: center; }
.wma-count.is-empty { display: none; }

/* cart drawer */
.wma-overlay { position: fixed; inset: 0; z-index: 998; background: rgba(5, 12, 14, .55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.wma-cart { position: fixed; top: 0; right: 0; bottom: 0; z-index: 999; width: min(440px, 100%); padding: 30px; display: flex; flex-direction: column; gap: 18px;
    background: var(--base-tint); color: var(--t-bright, var(--t-base-br)); transform: translateX(100%); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
body.wma-cart-open .wma-overlay { opacity: 1; visibility: visible; }
body.wma-cart-open .wma-cart { transform: none; }
.wma-cart__head { display: flex; justify-content: space-between; align-items: center; }
.wma-cart__title { font: 600 34px/1 var(--_font-accent); text-transform: uppercase; }
.wma-cart__list { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 0; }
.wma-cart__item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--st-base); }
.wma-cart__item .name { font-weight: 600; font-size: 14px; margin: 0; }
.wma-qty { display: flex; align-items: center; gap: 10px; }
.wma-qty button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--btn-tint); color: inherit; font-size: 18px; cursor: pointer; }
.wma-cart__total { display: flex; justify-content: space-between; font-size: 18px; margin-bottom: 14px; }
.wma-muted { color: var(--t-medium, var(--t-base-md)); margin: 0; }
.wma-small { font-size: 13px; margin-top: 10px; }

/* treatment grid: filter, price on the picture, actions, first nine then all */
.wma-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.wma-filter { border: 0; cursor: pointer; }
.wma-filter.active { background: var(--accent); color: var(--t-accent-br); }
.wma-media { position: relative; display: block; overflow: hidden; }
.wma-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.mxd-project-item__inner:hover .wma-media img { transform: scale(1.05); }
.wma-price { position: absolute; left: 16px; bottom: 16px; padding: 8px 16px; border-radius: 99px; background: var(--accent); color: var(--t-accent-br);
    font: 600 22px/1 var(--_font-accent); text-transform: uppercase; }
.wma-item-acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.btn.btn-small { height: 46px; padding: 0 20px; font-size: 14px; }
button.btn { border: 0; cursor: pointer; }
.wma-extra { display: none; }
[data-wma-grid].is-open .wma-extra { display: block; }
.wma-more { margin-top: 20px; }
.wma-gift img { aspect-ratio: 3 / 2; object-fit: cover; }
.wma-stack-btn { margin-top: 30px; }

/* press logos in the marquee */
.wma-press { background: #fff; border-radius: 14px; padding: 10px 22px; }
.wma-press img { height: 56px; width: auto; display: block; }

/* deals: price */
.wma-deal-price { color: var(--accent); font-weight: 700; }

/* reviews: screenshots are kept whole */
.marquee__item.wma-review { background: #fff; border-radius: 20px; padding: 10px; }
.marquee__item.wma-review img { object-fit: contain !important; border-radius: 12px; height: 100%; width: 100%; }

/* before / after */
.wma-compare { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; --pos: 50%; user-select: none; }
.wma-compare img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wma-compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.wma-compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.wma-compare__line i { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--t-accent-br);
    display: grid; place-items: center; font-size: 22px; transform: translate(-50%, -50%); }
.wma-compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.wma-compare__tag { position: absolute; top: 18px; pointer-events: none; }
.wma-compare__tag.is-before { left: 18px; }
.wma-compare__tag.is-after { right: 18px; }

/* financing row */
.wma-finance { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 26px 34px; border-radius: 24px; background: var(--base-tint); margin-top: 20px; }
.wma-finance p { margin: 0; }
.wma-finance__logos { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.wma-finance__logos img { height: 44px; width: auto; background: #fff; border-radius: 10px; padding: 8px 14px; }

/* contacts */
.wma-select { width: 100%; }
.wma-form .form__reply, [data-wma-sent] { display: none; }
[data-wma-sent].is-on { display: flex; }
.wma-hours li { display: flex; gap: 10px; }
.wma-day { min-width: 100px; display: inline-block; opacity: .6; }
.wma-map { border-radius: 24px; overflow: hidden; height: 440px; margin-top: 40px; }
.wma-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.5); }
.wma-footer-book { margin-top: 24px; }

@media (max-width: 767px) {
    .wma-price { font-size: 18px; }
    .wma-press img { height: 40px; }
    .wma-finance { padding: 22px; }
    .wma-finance__logos img { height: 36px; }
    .wma-map { height: 320px; }
}

/* the clinic's nav has four sections and a cart: a wider bar */
@media only screen and (min-width: 992px) { .mxd-header-progress { max-width: 820px; } }
@media only screen and (max-width: 1499px) { .mxd-hero-03__address, .mxd-hero-03__availability { display: none; } }
@media only screen and (min-width: 1600px) { .mxd-header-progress { max-width: 920px; } }
.mxd-header-progress__controls { gap: .8rem; }

/* hero title: "Wellness" and "Med Art" are longer than the template's two short words */
.hero-03-title__item { white-space: nowrap; gap: .22em; }
.mxd-hero-03__title h1 { font-size: 7rem; }
@media only screen and (min-width: 768px) { .mxd-hero-03__title h1 { font-size: 12rem; } }
@media only screen and (min-width: 1200px) { .mxd-hero-03__title h1 { font-size: 11.5rem; } }
@media only screen and (min-width: 1400px) { .mxd-hero-03__title h1 { font-size: 14rem; } }
@media only screen and (min-width: 1600px) { .mxd-hero-03__title h1 { font-size: 17rem; } }

/* the section after the hero */
#about { position: relative; z-index: 2; background-color: var(--base); border-radius: 4rem 4rem 0 0; }
.services-card__tags.mxd-tags { flex-wrap: wrap; }
.wma-error { color: #c0392b; }
[data-wma-checkout][disabled] { opacity: .6; pointer-events: none; }

/* the cart's contact fields before payment */
.wma-cust { display: grid; gap: 8px; margin: 0 0 14px; }
.wma-cust input { width: 100%; padding: 12px 14px; border: 1px solid var(--st-base, #ddd); border-radius: 10px; background: transparent; color: inherit; font: inherit; font-size: 15px; }
.wma-cust input:focus { outline: none; border-color: var(--accent, #2bb3c0); }
.wma-cust input.is-bad { border-color: #c0392b; }
