:root {
    --mg-ink: #2a1a14;
    --mg-ink-soft: #5b463b;
    --mg-muted: #7a675b;
    --mg-surface: #fbf7f4;
    --mg-surface-strong: #f3e9e2;
    --mg-card: #ffffff;
    --mg-line: #eadbd1;
    --mg-cypress: #3f2418;
    --mg-eucalyptus: #a87963;
    --mg-rose: #b87655;
    --mg-rose-dark: #8f4a35;
    --mg-mist: #f1e5dc;
    --mg-shadow: 0 18px 55px rgba(63, 36, 24, 0.12);
    --mg-shadow-soft: 0 14px 38px rgba(63, 36, 24, 0.1);
    --mg-shadow-lift: 0 18px 46px rgba(63, 36, 24, 0.16);
    --mg-radius: 22px;
    --mg-radius-sm: 14px;
    --mg-pill: 999px;
    --mg-font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        linear-gradient(180deg, #fffaf7 0%, var(--mg-surface) 34%, #f4ebe4 100%);
    color: var(--mg-ink);
    font-family: var(--mg-font);
    letter-spacing: 0;
    overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6,
.banar h2,
.section-title h2,
.section-title h3,
.service-card h3,
.service-card .card-title,
.product-details h3,
.profile-card h2,
.order-hero-copy h1 {
    font-family: var(--mg-font) !important;
    letter-spacing: 0;
}

h1 { font-size: 40px; font-weight: 600; }
h2 { font-size: 32px; font-weight: 500; }
h3 { font-size: 24px; font-weight: 500; }
h4 { font-size: 20px; font-weight: 500; }
h5 { font-size: 18px; font-weight: 500; }
h6 { font-size: 16px; font-weight: 500; }

button,
input,
select,
textarea,
.btn,
.nav-link,
.user-icon {
    font-family: var(--mg-font);
}

body::selection {
    background: rgba(184, 118, 85, 0.22);
}

a {
    color: var(--mg-cypress);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

img {
    max-width: 100%;
}

.container {
    width: min(100% - 32px, 1180px);
}

.navbar {
    min-height: 76px;
}

header .navbar {
    background: rgba(247, 250, 247, 0.9) !important;
    border-bottom: 1px solid rgba(234, 219, 209, 0.74);
    backdrop-filter: blur(18px);
}

header .mg-navbar {
    background: linear-gradient(180deg, rgba(42, 26, 20, 0.76), rgba(42, 26, 20, 0.16)) !important;
    border-bottom-color: rgba(255, 255, 255, 0.16);
    position: absolute;
    inset-inline: 0;
    top: 0;
    z-index: 20;
}

.navbar-brand {
    gap: 0.35rem;
}

.brand-name,
.navbar-brand span {
    color: var(--mg-ink) !important;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.mg-navbar .brand-name,
.mg-navbar .navbar-brand span,
.mg-navbar .nav-link,
.mg-navbar .user-icon {
    color: #fff !important;
}

.navbar-nav {
    gap: 0.25rem;
}

.navbar .nav-link,
.user-icon {
    border-radius: var(--mg-pill);
    color: var(--mg-ink-soft) !important;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.7rem 1rem !important;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active,
.user-icon:hover {
    background: rgba(184, 118, 85, 0.12);
    color: var(--mg-rose-dark) !important;
    transform: translateY(-1px);
}

.mg-navbar .nav-link,
.mg-navbar .user-icon {
    color: rgba(255, 255, 255, 0.82) !important;
}

.mg-navbar .nav-link:hover,
.mg-navbar .nav-link.active,
.mg-navbar .user-icon:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff !important;
}

.user-profile {
    align-items: center;
}

.profile-mobile {
    display: none;
}

.hero {
    background: #10201d;
    isolation: isolate;
    min-height: 100dvh;
    overflow: hidden;
    position: relative;
}

.hero::after {
    background: linear-gradient(180deg, rgba(247, 250, 247, 0) 58%, var(--mg-surface) 100%);
    bottom: 0;
    content: "";
    height: 24vh;
    inset-inline: 0;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

.hero .title {
    align-items: flex-start;
    background: none !important;
    color: #fff;
    display: flex;
    flex-direction: column;
    height: auto !important;
    inset: 0;
    justify-content: center;
    left: 0 !important;
    margin: 0 !important;
    padding: 128px max(22px, calc((100vw - 1180px) / 2 + 22px)) 88px;
    position: absolute;
    text-align: left !important;
    top: 0 !important;
    transform: none !important;
    width: auto !important;
    z-index: 4;
}

.hero .title > div {
    margin-top: 0 !important;
    max-width: 760px;
}

.hero .title h1,
.hero .title h2,
.banar h2 {
    color: #fff;
    font-size: clamp(2.55rem, 6.2vw, 6.35rem);
    font-weight: 850;
    letter-spacing: 0;
    line-height: 0.94;
    text-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
    text-transform: none;
}

.hero .title p {
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 2vw, 1.28rem);
    font-weight: 600;
    line-height: 1.65;
    margin-inline: auto;
    max-width: 620px;
    text-transform: none;
}

.hero .title p span {
    color: #fff;
    font-weight: 850;
}

.mg-eyebrow {
    color: var(--mg-rose);
    font-family: var(--mg-font);
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero .mg-eyebrow {
    color: #f4bcc4;
}

.hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-slider,
.hero-slider .item {
    min-height: 100dvh;
}

.mg-fade-carousel {
    overflow: hidden;
    position: relative;
}

.mg-fade-carousel .item {
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute !important;
    transition: opacity 0.8s ease-in-out;
    transform: scale(1.012);
    width: 100%;
}

.mg-fade-carousel .item.is-active {
    opacity: 1;
    pointer-events: auto;
    position: relative !important;
    transform: scale(1);
    z-index: 1;
}

.hero .hero-slider img,
.hero .hero-slider .item img,
.hero-slider img,
.resort-slider img {
    display: block;
    height: 100% !important;
    object-fit: cover;
    width: 100%;
}

.hero-slider .item img {
    inset: 0;
    min-height: 100dvh;
    position: absolute;
}

.about-resort-section {
    background:
        linear-gradient(180deg, rgba(245, 241, 236, 0.62), rgba(255, 255, 255, 0.96)),
        var(--mg-surface);
}

.about-resort-section .about {
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--mg-line);
    border-radius: var(--mg-radius);
    box-shadow: 0 22px 60px rgba(63, 36, 24, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    padding: clamp(24px, 4vw, 52px);
}

.about-resort-section .about img {
    border-radius: calc(var(--mg-radius) - 8px);
    box-shadow: 0 16px 40px rgba(63, 36, 24, 0.14);
    display: block;
    margin-top: 1.5rem;
    max-width: min(100%, 360px);
}

.resort {
    min-height: 420px;
}

.resort-slider {
    border: 1px solid var(--mg-line);
    border-radius: var(--mg-radius);
    box-shadow: 0 24px 64px rgba(63, 36, 24, 0.16);
    min-height: 420px;
    overflow: hidden;
}

.resort-slider .item {
    height: 100%;
    min-height: 420px;
    overflow: hidden;
}

.resort-slider .item img {
    min-height: 420px;
}

.resort .title {
    color: #fff;
    left: 50%;
    max-width: min(78%, 360px);
    padding: clamp(20px, 3vw, 36px);
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2;
}

.resort .title h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 850;
    letter-spacing: 0;
    line-height: 0.95;
    margin: 0 0 0.24em;
}

.resort .title p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    margin: 0;
}

.overlay {
    background: linear-gradient(90deg, rgba(9, 20, 18, 0.84) 0%, rgba(9, 20, 18, 0.54) 42%, rgba(9, 20, 18, 0.2) 100%);
}

section {
    position: relative;
}

.about-resort-section,
.services,
.exparts,
.gallery-content,
.about-medigrazia,
.fun-fact,
.contact-section,
.profile-page {
    padding-block: clamp(56px, 8vw, 104px) !important;
}

.section-title h2,
.section-title h3,
.services h2,
.about-medigrazia h2,
.contact-section h2,
.gallery-content h2 {
    color: var(--mg-ink);
    font-size: clamp(2rem, 4vw, 3.9rem);
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.04;
    margin-bottom: 1rem;
}

.section-title p,
.about p,
.massage-care p,
.card-text,
.description,
footer p,
footer li {
    color: var(--mg-ink-soft);
    font-size: 1rem;
    line-height: 1.75;
}

.massage-care-and-feature {
    background: var(--mg-cypress);
    color: #fff;
    overflow: hidden;
    padding-block: clamp(56px, 8vw, 104px);
}

.massage-care-and-feature .overlay,
.fun-fact .overlay {
    background: linear-gradient(135deg, rgba(63, 36, 24, 0.88), rgba(184, 118, 85, 0.34));
}

.massage-care-and-feature .container-fluid,
.massage-care-and-feature .row {
    position: relative;
    z-index: 2;
}

.massage-care,
.feature {
    padding: clamp(20px, 4vw, 48px);
}

.feature .col-6 {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--mg-radius);
    opacity: 0.92;
    padding: 1.25rem;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.feature .col-6.is-visible {
    opacity: 1;
    transform: translateY(-2px);
}

.feature .display-4 {
    color: var(--mg-rose);
    font-size: clamp(2.25rem, 4vw, 3rem);
}

.massage-care-and-feature h2,
.massage-care-and-feature h3 {
    color: #fff;
}

.massage-care-and-feature p,
.fun-fact .fact-title {
    color: rgba(255, 255, 255, 0.76);
}

.fun-fact {
    background: var(--mg-cypress);
    isolation: isolate;
    min-height: 260px;
}

.fun-fact .container {
    position: relative;
    z-index: 2;
}

.number {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 850;
    line-height: 1;
}

.banar {
    align-items: center;
    background:
        linear-gradient(90deg, rgba(42, 26, 20, 0.8), rgba(42, 26, 20, 0.16)),
        url("/static/images/service/banar.jpg") center / cover;
    color: #fff;
    display: flex;
    min-height: 380px;
    padding-top: 92px;
}

.banar h2 {
    color: #fff;
}

.service-page {
    background: #fcfcfd;
}

.reference-page {
    background: #fcfcfd;
}

.reference-page header .navbar {
    background: #fcfcfd !important;
    border-bottom: 1px solid rgba(234, 219, 209, 0.8);
    min-height: 96px;
}

.mg-navbar-surface {
    background: #fcfcfd !important;
    border-bottom: 1px solid rgba(234, 219, 209, 0.8);
    min-height: 96px;
}

.mg-navbar-surface .nav-link.active {
    background: var(--mg-cypress);
    color: #fff !important;
}

.mg-navbar-surface .user-icon {
    background: rgba(184, 118, 85, 0.1);
    color: var(--mg-rose-dark) !important;
}

.mg-section-soft {
    background: #fcfcfd !important;
}

.mg-section-padding {
    padding: 80px 0;
}

.reference-page .navbar .nav-link.active {
    background: var(--mg-cypress);
    color: #fff !important;
}

.reference-page .user-icon {
    background: rgba(184, 118, 85, 0.1);
    color: var(--mg-rose-dark) !important;
}

.reference-page .banar {
    background:
        linear-gradient(180deg, rgba(252, 252, 253, 0) 48%, #fcfcfd 100%),
        url("/static/images/home-1/slider/slider-1.jpg") center / cover;
    min-height: 300px;
    padding-top: 90px;
}

.reference-page .banar h2 {
    color: #fff;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 0.98;
    text-transform: none;
}

.reference-page .page-intro,
.reference-page .mg-hero {
    background:
        linear-gradient(180deg, rgba(252, 252, 253, 0) 0%, #fcfcfd 72%),
        url("/static/images/home-1/slider/slider-1.jpg") center / cover;
    padding: clamp(112px, 16vw, 176px) 0 clamp(64px, 8vw, 104px);
}

.gallery-page .page-intro,
.contact-page .page-intro,
.order-page .mg-hero {
    color: var(--mg-ink);
}

.page-intro h1,
.mg-hero h1 {
    color: var(--mg-ink);
    font-size: clamp(3rem, 6vw, 5.3rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.98;
    margin: 0.5rem 0 0.8rem;
    text-transform: none;
}

.page-intro p,
.mg-hero .lead {
    color: var(--mg-ink-soft);
    font-size: clamp(1rem, 1.7vw, 1.22rem);
    line-height: 1.75;
    margin-bottom: 0;
}

.about-page .about-medigrazia,
.gallery-page .gallery-content,
.contact-shell {
    background: #fcfcfd !important;
}

.about-page .about-medigrazia .section-title,
.about-page .team,
.about-page .middle-banner,
.mg-person-card,
.mg-gallery-card,
.contact-info-card,
.contact-form-card,
.contact-salon-card {
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(234, 219, 209, 0.86) !important;
    border-radius: 28px !important;
    box-shadow: 0 32px 64px -42px rgba(15, 15, 15, 0.16) !important;
}

.about-page .about-medigrazia .section-title {
    padding: clamp(1.5rem, 4vw, 3rem);
}

.about-page .fun-fact {
    background: #fcfcfd !important;
    color: var(--mg-ink) !important;
}

.about-page .fun-fact .overlay {
    display: none;
}

.about-page .fun-fact .col-6 {
    background: #fff;
    border: 1px solid var(--mg-line);
    border-radius: 24px;
    padding: 1.3rem 1rem;
}

.about-page .fun-fact .fact-title,
.about-page .fun-fact i {
    color: var(--mg-cypress);
}

.about-page .middle-banner {
    color: var(--mg-ink) !important;
    margin: clamp(40px, 7vw, 76px) auto;
    max-width: min(100% - 32px, 1180px);
    overflow: hidden;
}

.about-page .middle-banner .overlay {
    background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(232,241,236,.82));
}

.about-page .middle-banner h2,
.about-page .middle-banner p {
    color: var(--mg-ink) !important;
}

.gallery-page .gallery-content {
    padding-top: 0 !important;
}

.gallery-page .gallery-content .row {
    margin-left: 0;
    margin-right: 0;
}

.mg-person-card,
.mg-gallery-card {
    height: 100%;
    overflow: hidden;
}

.mg-card-image {
    border-radius: 16px;
    display: block;
    margin: 1rem 1rem 0;
    object-fit: cover;
    width: calc(100% - 2rem);
}

.mg-person-card .mg-card-image {
    aspect-ratio: 4 / 3;
    height: clamp(220px, 24vw, 300px);
}

.mg-gallery-card .mg-card-image {
    aspect-ratio: 16 / 11;
    height: clamp(210px, 24vw, 290px);
}

.mg-card-body {
    padding: clamp(1.15rem, 3vw, 1.55rem);
}

.mg-card-title {
    color: var(--mg-ink);
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 0.45rem;
}

.contact-shell {
    padding: clamp(56px, 8vw, 96px) 0;
}

.contact-salon-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.contact-salon-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
}

.contact-salon-media {
    aspect-ratio: 16 / 10;
    background: var(--mg-mist);
    margin: 1rem 1rem 0;
    overflow: hidden;
    border-radius: 18px;
}

.contact-salon-media img,
.contact-salon-media iframe {
    border: 0;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.contact-salon-body,
.contact-info-card,
.contact-form-card {
    padding: clamp(1.35rem, 3vw, 2rem);
}

.contact-salon-body h2,
.contact-info-card h2,
.contact-form-card h2 {
    color: var(--mg-ink);
    font-size: clamp(1.6rem, 3vw, 2.45rem);
    font-weight: 900;
    line-height: 1.04;
    margin: 0.45rem 0 0.75rem;
    text-transform: none;
}

.gallery-page .gallery-content h3 {
    color: var(--mg-ink);
    font-weight: 900;
    text-transform: none;
}

.contact-phone {
    color: var(--mg-rose-dark);
    font-weight: 900;
    text-decoration: none;
}

.contact-details {
    display: grid;
    gap: 0.8rem;
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
}

.contact-details li {
    align-items: center;
    color: var(--mg-ink-soft);
    display: flex;
    gap: 0.75rem;
}

.contact-details i {
    color: var(--mg-rose-dark);
}

.contact-form-status {
    border: 1px solid rgba(111, 154, 136, 0.22);
    border-radius: var(--mg-radius-sm);
    color: var(--mg-ink-soft);
    font-weight: 800;
    line-height: 1.45;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
}

.contact-form-status[hidden] {
    display: none !important;
}

.contact-form-status-pending {
    background: rgba(111, 154, 136, 0.1);
    border-color: rgba(111, 154, 136, 0.24);
    color: var(--mg-cypress);
}

.contact-form-status-success {
    background: rgba(111, 154, 136, 0.14);
    border-color: rgba(111, 154, 136, 0.3);
    color: var(--mg-cypress);
}

.contact-form-status-error {
    background: rgba(184, 118, 85, 0.12);
    border-color: rgba(184, 118, 85, 0.28);
    color: var(--mg-rose-dark);
}

.order-page .mg-hero {
    min-height: 520px;
}

.order-page .mg-eyebrow {
    color: var(--mg-rose);
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.order-page .mg-btn-primary {
    background: var(--mg-rose);
    border-color: var(--mg-rose);
    border-radius: var(--mg-pill);
    color: #fff;
    font-weight: 850;
    padding: 0.8rem 1.25rem;
}

.order-hero-copy {
    max-width: 680px;
}

.profile-page .profile-intro {
    padding-bottom: clamp(56px, 8vw, 88px);
}

.profile-shell {
    background: #fcfcfd;
    padding: clamp(44px, 7vw, 84px) 0;
}

.profile-panel {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(234, 219, 209, 0.86);
    border-radius: 28px;
    box-shadow: 0 40px 70px -42px rgba(15, 15, 15, 0.18);
    padding: clamp(1rem, 2.4vw, 1.5rem);
}

.profile-menu {
    background: #fcfcfd;
    border: 1px solid var(--mg-line);
    border-radius: 24px;
    padding: 0.65rem;
}

.profile-menu .account-menu-list {
    gap: 0.4rem;
}

.profile-menu .nav-link,
.profile-logout {
    align-items: center;
    border-radius: var(--mg-pill);
    color: var(--mg-ink-soft);
    display: flex;
    font-weight: 850;
    gap: 0.65rem;
    min-height: 44px;
    padding: 0.72rem 0.9rem;
    text-decoration: none;
    width: 100%;
}

.profile-menu .nav-link.active,
.profile-menu .nav-link:hover {
    background: var(--mg-cypress);
    color: #fff;
}

.profile-logout {
    color: var(--mg-rose-dark) !important;
}

.profile-logout-form {
    display: block;
}

.profile-card,
.profile-card-inner {
    background: #fff !important;
    border: 1px solid var(--mg-line) !important;
    border-radius: 24px !important;
    box-shadow: var(--mg-shadow-soft) !important;
    padding: clamp(1.15rem, 2.4vw, 1.7rem) !important;
}

.profile-card + .profile-card-inner,
.profile-card .card {
    margin-top: 1rem;
}

.profile-page .account-title,
.profile-page .header-title {
    color: var(--mg-ink);
    font-weight: 900;
    letter-spacing: 0;
    text-transform: none;
}

.profile-page .table {
    --bs-table-bg: transparent;
}

.profile-page .table th {
    color: var(--mg-cypress);
    font-weight: 900;
}

.profile-muted-copy {
    color: var(--mg-muted);
    line-height: 1.62;
}

.profile-empty-cell {
    color: var(--mg-muted) !important;
    font-weight: 750;
    padding: 1.1rem !important;
    text-align: center;
}

.profile-form-label {
    color: var(--mg-ink) !important;
    font-weight: 850;
}

.profile-page .name {
    color: var(--mg-ink);
    font-weight: 850;
}

.profile-map-frame {
    border: 1px solid var(--mg-line);
    border-radius: var(--mg-radius);
    box-shadow: 0 14px 34px rgba(63, 36, 24, 0.08);
    overflow: hidden;
}

.profile-map-frame iframe {
    border: 0;
    display: block;
    min-height: 240px;
    width: 100%;
}

.profile-status-badge {
    align-items: center;
    border: 1px solid transparent;
    border-radius: var(--mg-pill);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 850;
    justify-content: center;
    letter-spacing: 0;
    min-height: 30px;
    padding: 0.34rem 0.72rem;
    white-space: nowrap;
}

.profile-status-confirmed {
    background: rgba(111, 154, 136, 0.15);
    border-color: rgba(111, 154, 136, 0.3);
    color: var(--mg-cypress);
}

.profile-status-pending {
    background: rgba(232, 241, 236, 0.82);
    border-color: rgba(111, 154, 136, 0.22);
    color: var(--mg-ink-soft);
}

.profile-status-cancelled {
    background: rgba(184, 118, 85, 0.12);
    border-color: rgba(184, 118, 85, 0.24);
    color: var(--mg-rose-dark);
}

.profile-status-completed {
    background: rgba(63, 36, 24, 0.1);
    border-color: rgba(63, 36, 24, 0.22);
    color: var(--mg-cypress);
}

.profile-status-neutral {
    background: rgba(252, 252, 253, 0.94);
    border-color: var(--mg-line);
    color: var(--mg-muted);
}

.profile-page .loyalty-card {
    border: 0 !important;
    border-radius: 24px !important;
    box-shadow: var(--mg-shadow-soft) !important;
    min-height: 210px;
    padding: 1.35rem !important;
}

.loyalty-points-unit {
    font-size: 0.6em;
}

.loyalty-card-footer {
    border-top: 1px dashed rgba(255, 255, 255, 0.5);
    padding-top: 10px;
}

.loyalty-points-positive {
    color: var(--mg-cypress) !important;
    font-weight: 850;
}

.loyalty-points-negative {
    color: var(--mg-rose-dark) !important;
    font-weight: 850;
}

.loyalty-points-neutral {
    color: var(--mg-ink) !important;
    font-weight: 850;
}

.profile-page .accordion-item {
    border-radius: 18px;
    overflow: hidden;
}

.service-page header .navbar {
    background: #fcfcfd !important;
    border-bottom: 1px solid rgba(234, 219, 209, 0.8);
    min-height: 136px;
}

.service-page .navbar .nav-link.active {
    background: var(--mg-cypress);
    color: #fff !important;
}

.service-page .user-icon {
    background: rgba(184, 118, 85, 0.1);
    color: var(--mg-rose-dark) !important;
}

.service-page .banar {
    background:
        linear-gradient(90deg, rgba(42, 26, 20, 0.64), rgba(42, 26, 20, 0.16) 58%),
        linear-gradient(180deg, rgba(252, 252, 253, 0) 62%, #fcfcfd 100%),
        url("/static/images/home-1/slider/slider-1.jpg") center 50% / cover;
    min-height: clamp(360px, 46vw, 520px);
    padding-top: 88px;
}

.service-page .banar .container {
    display: block;
    width: min(100% - 32px, 1180px);
}

.service-page .banar .row {
    align-items: center;
    min-height: clamp(250px, 34vw, 390px);
}

.service-page .banar .col:first-child {
    display: none;
}

.service-page .banar .col:last-child {
    flex: 0 0 auto;
    max-width: 680px;
    width: 100%;
}

.service-page .banar h2 {
    max-width: 680px;
    text-wrap: balance;
}

.service-quick-nav {
    margin-top: -92px;
    position: relative;
    z-index: 5;
}

.service-quick-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(234, 219, 209, 0.86);
    border-radius: 28px;
    box-shadow: 0 40px 70px -34px rgba(15, 15, 15, 0.16);
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: clamp(1.4rem, 3.5vw, 2.55rem);
}

.service-quick-tile {
    align-items: flex-start;
    background: rgba(252, 252, 253, 0.74);
    border: 1px solid rgba(234, 219, 209, 0.92);
    border-radius: 24px;
    color: var(--mg-ink);
    display: flex;
    flex-direction: column;
    font-weight: 850;
    gap: 1.6rem;
    justify-content: space-between;
    min-height: 138px;
    padding: 1.45rem 1.55rem;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-quick-tile:hover {
    border-color: rgba(184, 118, 85, 0.34);
    box-shadow: var(--mg-shadow-soft);
    color: var(--mg-rose-dark);
    transform: translateY(-2px);
}

.service-quick-tile-wide {
    grid-column: span 2;
}

.service-quick-tile i {
    color: var(--mg-cypress);
    font-size: 1.35rem;
}

.service-quick-tile span {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.service-catalog {
    background: #fcfcfd !important;
    padding-top: clamp(60px, 8vw, 96px) !important;
}

.catalog-topline,
.catalog-heading,
.catalog-controls,
.category-tabs {
    align-items: center;
    display: flex;
}

.catalog-topline {
    justify-content: space-between;
    margin-bottom: clamp(2.3rem, 5vw, 3.7rem);
}

.btn-back,
.catalog-control {
    align-items: center;
    background: #fff;
    border: 1px solid var(--mg-line);
    border-radius: var(--mg-pill);
    color: var(--mg-ink);
    display: inline-flex;
    font-weight: 750;
    gap: 0.65rem;
    min-height: 42px;
    padding: 0.65rem 1rem;
    text-decoration: none;
}

.catalog-breadcrumb {
    color: var(--mg-muted);
    display: flex;
    gap: 0.8rem;
    font-size: 0.9rem;
    font-weight: 800;
}

.catalog-breadcrumb a {
    color: var(--mg-ink-soft);
    text-decoration: none;
}

.catalog-heading {
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.15rem;
}

.catalog-heading h1 {
    color: var(--mg-ink);
    font-size: clamp(2.7rem, 5.2vw, 4.25rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.98;
    margin: 0.45rem 0 0.35rem;
    text-transform: none;
}

.catalog-heading p {
    color: var(--mg-muted);
    font-size: 1.2rem;
    margin: 0;
}

.catalog-controls {
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: flex-end;
}

.catalog-control {
    min-width: 140px;
    justify-content: space-between;
}

.catalog-control.is-active {
    background: var(--mg-cypress);
    border-color: var(--mg-cypress);
    color: #fff;
}

.catalog-control.is-active i {
    color: inherit;
}

.catalog-assurance {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 241, 236, 0.54));
    border: 1px solid rgba(234, 219, 209, 0.88);
    border-radius: 28px;
    box-shadow: 0 22px 52px rgba(63, 36, 24, 0.08);
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1.25rem;
    padding: 0.8rem;
}

.catalog-assurance-item {
    align-items: center;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(234, 219, 209, 0.72);
    border-radius: 22px;
    color: var(--mg-ink-soft);
    display: flex;
    font-size: 0.92rem;
    font-weight: 800;
    gap: 0.75rem;
    min-height: 60px;
    padding: 0.82rem 0.95rem;
}

.catalog-assurance-item i {
    align-items: center;
    background: rgba(184, 118, 85, 0.1);
    border-radius: var(--mg-pill);
    color: var(--mg-rose-dark);
    display: inline-flex;
    flex: 0 0 36px;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.category-tabs {
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.category-tab {
    background: #fff;
    border: 1px solid var(--mg-line);
    border-radius: var(--mg-pill);
    color: var(--mg-muted);
    font-weight: 850;
    min-height: 42px;
    padding: 0.62rem 1rem;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.category-tab:hover,
.category-tab.is-active {
    background: rgba(184, 118, 85, 0.1);
    border-color: rgba(184, 118, 85, 0.38);
    color: var(--mg-rose-dark);
    transform: translateY(-1px);
}

.catalog-state {
    color: var(--mg-muted);
    font-size: 0.92rem;
    font-weight: 750;
    margin-bottom: 1.4rem;
}

.service-catalog .service-list {
    row-gap: 1.6rem;
}

.home-services-head {
    align-items: flex-end;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin-bottom: clamp(1.4rem, 3vw, 2rem);
}

.home-services-head h3 {
    color: var(--mg-ink);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1;
    margin: 0.35rem 0;
    text-transform: none;
}

.home-services-head p {
    color: var(--mg-muted);
    font-weight: 650;
    margin: 0;
    max-width: 620px;
}

.facility-card,
.card,
.thumbnail,
.account-address,
.loyalty-card {
    background: var(--mg-card);
    border: 1px solid var(--mg-line) !important;
    border-radius: var(--mg-radius) !important;
    box-shadow: var(--mg-shadow-soft) !important;
    overflow: hidden;
}

.facility-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.facility-card:hover {
    box-shadow: var(--mg-shadow-lift) !important;
    transform: translateY(-3px);
}

.service-card {
    padding: 24px;
    border-radius: 12px;
    transition: opacity 160ms ease, transform 160ms ease;
}

.service-card.is-filtered-out {
    display: none !important;
}

.catalog-empty-state {
    align-items: center;
    background: #fff;
    border: 1px dashed var(--mg-line);
    border-radius: 28px;
    color: var(--mg-muted);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    min-height: 260px;
    padding: clamp(1.6rem, 4vw, 2.4rem);
    text-align: center;
}

.catalog-empty-state[hidden] {
    display: none !important;
}

.catalog-empty-state i {
    color: var(--mg-eucalyptus);
    font-size: 1.8rem;
}

.catalog-empty-state strong {
    color: var(--mg-ink);
    font-size: 1.2rem;
    font-weight: 900;
}

.catalog-empty-state span {
    max-width: 460px;
}

.facility-media {
    margin: 1rem 1rem 0;
    overflow: hidden;
    position: relative;
}

.facility-card .img,
.card-img-top {
    aspect-ratio: 16 / 10;
    background-position: center;
    background-size: cover;
    min-height: 220px;
}

.facility-card .img {
    border-radius: calc(var(--mg-radius) - 8px);
    margin: 0;
    position: relative;
    width: 100%;
}

.facility-image-body {
    background-image: url("/static/images/home-1/services/body/body-massage.jpg");
}

.facility-image-facial {
    background-image: url("/static/images/home-1/services/facial/massage.jpg");
}

.facility-image-foot {
    background-image: url("/static/images/home-1/services/foot/foot.jpg");
}

.facility-card .img::after {
    background: linear-gradient(180deg, rgba(42, 26, 20, 0) 38%, rgba(42, 26, 20, 0.34) 100%);
    border-radius: inherit;
    content: "";
    inset: 0;
    position: absolute;
}

.facility-badge {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: var(--mg-pill);
    bottom: 0.9rem;
    box-shadow: 0 10px 26px rgba(42, 26, 20, 0.14);
    color: var(--mg-cypress);
    font-size: 0.78rem;
    font-weight: 850;
    left: 0.9rem;
    max-width: calc(100% - 1.8rem);
    overflow: hidden;
    padding: 0.38rem 0.7rem;
    position: absolute;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.facility-card .content,
.card-body {
    padding: 1.35rem 1.45rem 1.45rem;
}

.facility-meta-row {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 0.7rem;
}

.facility-meta-row .price-wrapper {
    margin-bottom: 0;
}

.facility-soft-label {
    background: rgba(111, 154, 136, 0.12);
    border: 1px solid rgba(111, 154, 136, 0.26);
    border-radius: var(--mg-pill);
    color: var(--mg-cypress);
    flex: 0 0 auto;
    font-size: 0.76rem;
    font-weight: 850;
    padding: 0.32rem 0.62rem;
}

.facility-card .title,
.card-title {
    color: var(--mg-ink);
    font-size: 1.15rem;
    font-weight: 850;
    line-height: 1.24;
}

.team-role {
    color: var(--mg-muted);
    display: block;
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.03em;
    line-height: 1.35;
    text-transform: uppercase;
}

.price-wrapper {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.price-value {
    font-weight: 850;
}

.price-value.accent,
.price-value.default {
    color: var(--mg-rose-dark);
}

.price-value.muted {
    color: var(--mg-muted);
    font-size: 0.9rem;
    text-decoration: line-through;
}

.time-options,
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.9rem;
}

.time-option,
.tag,
.badge-soft {
    background: var(--mg-mist);
    border: 1px solid rgba(111, 154, 136, 0.26);
    border-radius: var(--mg-pill);
    color: var(--mg-cypress);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.38rem 0.68rem;
}

.divider {
    background: var(--mg-line);
    height: 1px;
    margin: 1.15rem 0;
}

.btn,
.ui-button-primary,
.ui-button-secondary,
.ui-button-success,
.btn-medigrace {
    align-items: center;
    border-radius: 8px !important;
    display: inline-flex;
    font-weight: 850 !important;
    justify-content: center;
    min-height: 44px;
    padding: 0.72rem 1.16rem !important;
    text-decoration: none !important;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
    width: auto;
}

.hero .ui-button-primary {
    min-width: 180px;
}

.hero .ui-button-secondary {
    border-color: rgba(255, 255, 255, 0.7) !important;
    color: #fff !important;
}

.hero .ui-button-secondary:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: #fff !important;
}

.mg-link-button,
.mg-banner-action {
    align-items: center;
    border-radius: var(--mg-pill);
    display: inline-flex;
    font-weight: 850;
    justify-content: center;
    letter-spacing: 0;
    min-height: 46px;
    padding: 0.72rem 1.2rem;
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
    white-space: nowrap;
}

.mg-link-button:active,
.mg-banner-action:active {
    transform: translateY(1px);
}

.mg-link-button-primary {
    background: rgba(184, 118, 85, 0.1);
    border: 1px solid rgba(184, 118, 85, 0.24);
    color: var(--mg-rose-dark);
}

.mg-link-button-primary:hover {
    background: var(--mg-rose);
    border-color: var(--mg-rose);
    color: #fff;
    box-shadow: 0 14px 30px rgba(184, 118, 85, 0.18);
    transform: translateY(-1px);
}

.mg-link-button-secondary {
    background: rgba(63, 36, 24, 0.08);
    border: 1px solid rgba(63, 36, 24, 0.18);
    color: var(--mg-cypress);
}

.mg-link-button-secondary:hover {
    background: var(--mg-cypress);
    border-color: var(--mg-cypress);
    color: #fff;
    box-shadow: 0 14px 30px rgba(63, 36, 24, 0.16);
    transform: translateY(-1px);
}

.mg-banner-action {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.46);
    color: #fff;
}

.mg-banner-action:hover {
    background: #fff;
    border-color: #fff;
    color: var(--mg-cypress);
    box-shadow: 0 18px 36px rgba(9, 20, 18, 0.24);
    transform: translateY(-1px);
}

.mg-support-copy {
    color: var(--mg-muted);
    font-size: 0.96rem;
    line-height: 1.62;
}

.service-modal .ui-button-primary,
.service-modal .ui-button-secondary {
    width: 100%;
}

.facility-card .ui-button-primary,
.booking-studio-card .ui-button-success,
.booking-service-card .ui-button-success {
    width: 100%;
}

.btn-primary,
.ui-button-primary,
.ui-button-success,
.btn-medigrace {
    background: var(--mg-rose) !important;
    border: 1px solid var(--mg-rose) !important;
    color: #fff !important;
}

.btn-primary:hover,
.ui-button-primary:hover,
.ui-button-success:hover,
.btn-medigrace:hover {
    background: var(--mg-rose-dark) !important;
    border-color: var(--mg-rose-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.ui-button-secondary {
    background: transparent !important;
    border: 1px solid var(--mg-cypress) !important;
    color: var(--mg-cypress) !important;
}

.ui-button-secondary:hover {
    background: var(--mg-cypress) !important;
    color: #fff !important;
}

.form-control,
.form-select,
input,
textarea,
select {
    border-color: var(--mg-line) !important;
    border-radius: var(--mg-radius-sm) !important;
    color: var(--mg-ink);
    min-height: 44px;
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--mg-eucalyptus) !important;
    box-shadow: 0 0 0 0.2rem rgba(111, 154, 136, 0.18) !important;
}

.modal {
    background: rgba(42, 26, 20, 0.46);
}

.modal-content,
.offcanvas {
    background: #fff;
    border: 1px solid var(--mg-line);
    border-radius: var(--mg-radius) !important;
    box-shadow: var(--mg-shadow);
}

.offcanvas {
    max-width: min(560px, 100vw);
}

.booking-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 247, 0.96));
}

.booking-panel .offcanvas-header {
    align-items: flex-start;
    background: #fff;
    border-bottom: 1px solid var(--mg-line);
    padding: 1.35rem 1.45rem;
}

.booking-panel .offcanvas-title,
.auth-modal-card h2 {
    color: var(--mg-ink);
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0.18rem 0 0;
}

.booking-eyebrow {
    color: var(--mg-rose);
    display: block;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.booking-panel .offcanvas-body {
    padding: 1.45rem;
}

.booking-step-title {
    color: var(--mg-ink);
    font-size: 1.05rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.booking-panel .step {
    animation: mgFadeUp 180ms ease both;
}

.booking-hidden {
    display: none !important;
}

.booking-panel .calendar-navigation {
    align-items: center;
    background: #fff;
    border: 1px solid var(--mg-line);
    border-radius: var(--mg-pill);
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.5rem;
}

.booking-month-button {
    background: rgba(63, 36, 24, 0.08) !important;
    border: 1px solid rgba(63, 36, 24, 0.14) !important;
    color: var(--mg-cypress) !important;
    flex: 0 0 42px;
    font-size: 1rem;
    height: 42px;
    min-height: 42px;
    padding: 0 !important;
    width: 42px;
}

.booking-month-button:hover,
.booking-month-button:focus {
    background: var(--mg-cypress) !important;
    border-color: var(--mg-cypress) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.booking-panel .month-title {
    color: var(--mg-ink);
    font-weight: 900;
}

.booking-panel .time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.booking-panel .time-slot,
.booking-panel .available-time-slot {
    background: #fff;
    border: 1px solid var(--mg-line);
    border-radius: var(--mg-pill);
    color: var(--mg-cypress);
    font-weight: 800;
    min-height: 40px;
    padding: 0.55rem 0.85rem;
}

.booking-panel .time-slot.selected,
.booking-panel .available-time-slot.selected {
    background: var(--mg-cypress);
    border-color: var(--mg-cypress);
    color: #fff;
}

.booking-message {
    border-radius: var(--mg-radius-sm);
    display: block;
    font-weight: 800;
    margin-top: 0.9rem;
    padding: 0.8rem 0.95rem;
}

.booking-message-success {
    background: rgba(111, 154, 136, 0.14);
    color: var(--mg-cypress);
}

.booking-message-error {
    background: rgba(184, 118, 85, 0.12);
    color: var(--mg-rose-dark);
}

.booking-studio-grid,
.service-list {
    display: grid;
    gap: 0.9rem;
}

.booking-studio-card,
.booking-service-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 247, 0.9));
    border: 1px solid rgba(234, 219, 209, 0.9);
    border-radius: var(--mg-radius);
    box-shadow: 0 14px 34px rgba(63, 36, 24, 0.08);
    overflow: hidden;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.booking-studio-card {
    cursor: pointer;
}

.booking-studio-card:hover,
.booking-service-card:hover {
    border-color: rgba(111, 154, 136, 0.34);
    box-shadow: 0 18px 42px rgba(63, 36, 24, 0.12);
    transform: translateY(-2px);
}

.booking-studio-media {
    aspect-ratio: 16 / 9;
    background: var(--mg-mist);
    overflow: hidden;
}

.booking-studio-media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.booking-studio-body,
.booking-service-body {
    padding: 1rem;
}

.booking-studio-title,
.booking-service-title {
    color: var(--mg-ink);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.24;
    margin: 0 0 0.34rem;
}

.booking-studio-address,
.booking-service-copy {
    color: var(--mg-muted);
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.5;
    margin-bottom: 0.85rem;
}

.booking-service-price {
    color: var(--mg-cypress);
    font-size: 1.08rem;
    font-weight: 900;
    margin-bottom: 0.85rem;
}

footer {
    background: #fcfcfd;
    border-top: 1px solid var(--mg-line);
    color: var(--mg-ink);
}

footer h2,
footer h3 {
    color: var(--mg-cypress);
    font-size: 1rem;
    font-weight: 850;
}

footer p,
footer li,
footer a {
    color: var(--mg-muted);
}

footer a:hover {
    color: var(--mg-cypress);
}

.bg-medigrace-light {
    background: #f6faf7 !important;
    border: 1px solid var(--mg-line);
}

.bg-medigrace-medium {
    background: var(--mg-eucalyptus) !important;
    color: #fff !important;
}

.bg-medigrace-dark {
    background: var(--mg-cypress) !important;
    color: #fff !important;
}

.input-medigrace {
    border-color: var(--mg-line) !important;
    border-radius: var(--mg-radius-sm) !important;
    min-height: 44px;
}

.input-medigrace:focus {
    border-color: var(--mg-eucalyptus) !important;
    box-shadow: 0 0 0 0.2rem rgba(111, 154, 136, 0.18) !important;
}

.table-medigrace,
.table-medigrace-header {
    color: var(--mg-ink);
}

.table-medigrace-header th {
    background: #f3e9e2 !important;
    color: var(--mg-cypress) !important;
    font-weight: 850;
}

.medigrace-accordion .accordion-button {
    color: var(--mg-cypress);
    font-weight: 800;
}

.medigrace-accordion .accordion-button:not(.collapsed) {
    background: rgba(111, 154, 136, 0.14);
    color: var(--mg-cypress);
}

.medigrace-accordion .accordion-item {
    border-color: var(--mg-line);
}

.order-summary {
    background: #f6faf7;
    border: 1px solid var(--mg-line);
    border-radius: var(--mg-radius) !important;
    box-shadow: none !important;
    padding: 1.2rem;
}

.order-summary h6 {
    color: var(--mg-cypress);
    font-size: 1rem;
    font-weight: 900;
    margin: 0;
    text-align: left;
}

.order-summary p {
    color: var(--mg-ink);
    font-weight: 800;
}

.order-note {
    color: var(--mg-muted);
    font-size: 0.9rem;
    font-style: italic;
    font-weight: 700;
}

.order-summary hr {
    border-top: 1px dashed var(--mg-line);
    opacity: 1;
}

.order-item {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.order-item:last-of-type {
    margin-bottom: 0;
}

.booking-order-icon {
    align-items: center;
    background: rgba(184, 118, 85, 0.12);
    border-radius: var(--mg-pill);
    color: var(--mg-rose-dark);
    display: inline-flex;
    flex: 0 0 auto;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.auth-modal {
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.auth-modal.is-open {
    display: flex !important;
}

.auth-modal-card {
    background: #fff;
    margin: 0 auto;
    max-width: min(100%, 460px);
    padding: clamp(1.4rem, 4vw, 2rem);
    position: relative;
    width: 100%;
}

.auth-close {
    align-items: center;
    background: #fff;
    border: 1px solid var(--mg-line);
    border-radius: var(--mg-pill);
    color: var(--mg-cypress);
    display: inline-flex;
    font-size: 1.3rem;
    font-weight: 800;
    height: 38px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 38px;
}

.auth-modal-copy {
    color: var(--mg-muted);
    font-weight: 650;
    line-height: 1.6;
    margin: 0.75rem 2.4rem 1.2rem 0;
}

.auth-form {
    display: grid;
    gap: 0.75rem;
}

.auth-form label {
    color: var(--mg-ink-soft);
    font-weight: 800;
}

.auth-form #smsCodeSection {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.loyalty-card.bronze,
.loyalty-card.silver,
.loyalty-card.gold {
    background: linear-gradient(135deg, var(--mg-cypress), var(--mg-eucalyptus)) !important;
    color: #fff;
}

@media (max-width: 991px) {
    .profile-mobile {
        display: block;
    }

    .user-profile {
        display: none !important;
    }

    .navbar-collapse {
        background: rgba(247, 250, 247, 0.96);
        border: 1px solid var(--mg-line);
        border-radius: var(--mg-radius);
        box-shadow: var(--mg-shadow-soft);
        margin-top: 0.9rem;
        padding: 0.75rem;
    }

    .mg-navbar .navbar-collapse .nav-link,
    .mg-navbar .navbar-collapse .user-icon {
        color: var(--mg-ink-soft) !important;
    }

    .hero .title {
        padding-top: 108px;
    }

    .facility-card .img,
    .card-img-top {
        min-height: 190px;
    }

    .service-page header .navbar {
        min-height: 82px;
    }

    .service-quick-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-heading,
    .catalog-topline,
    .home-services-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-assurance {
        grid-template-columns: 1fr;
    }

    .catalog-controls {
        justify-content: flex-start;
    }

    .category-tabs {
        gap: 0.55rem;
    }
}

@media (max-width: 575px) {
    .container {
        width: min(100% - 22px, 1180px);
    }

    .hero .title h2,
    .hero .title h1,
    .banar h2 {
        font-size: 2.35rem;
    }

    .hero .title {
        text-align: left !important;
        align-items: flex-start;
    }

    .hero .title p {
        margin-inline: 0;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        width: min(100%, 320px);
    }

    .hero-actions a {
        width: 100%;
    }

    .feature .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .service-page .banar {
        min-height: 260px;
    }

    .service-quick-nav {
        margin-top: -72px;
    }

    .service-quick-panel {
        border-radius: 24px;
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .service-quick-tile,
    .service-quick-tile-wide {
        grid-column: span 1;
        min-height: 112px;
    }

    .catalog-heading h1 {
        font-size: 2.8rem;
    }

    .facility-meta-row {
        flex-direction: column;
    }

    .catalog-control {
        width: 100%;
    }

    .category-tabs {
        align-items: stretch;
        flex-direction: column;
    }

    .category-tab {
        width: 100%;
    }
}

/* ------------------------------------------------------------------
   Mobile-first concept adaptation, June 2026
   ------------------------------------------------------------------ */

:root {
    --mg-page-gutter: clamp(18px, 5vw, 32px);
    --mg-section-y: clamp(56px, 12vw, 96px);
    --mg-tight-y: clamp(32px, 8vw, 64px);
    --mg-mobile-radius: 22px;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background: #fcfcfd;
    color: var(--mg-ink);
}

.container {
    margin-inline: auto;
    max-width: 1180px;
    padding-inline: 0;
    width: min(100% - calc(var(--mg-page-gutter) * 2), 1180px);
}

.row {
    --bs-gutter-x: 1rem;
}

.row > *,
.container,
section,
article,
form,
.card,
.facility-card,
.profile-card,
.contact-salon-card {
    min-width: 0;
}

h1,
.page-intro h1,
.mg-hero h1,
.catalog-heading h1,
.hero .title h1,
.hero .title h2,
.banar h1,
.banar h2 {
    font-size: clamp(2.15rem, 10vw, 4.9rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.98;
    overflow-wrap: anywhere;
    text-transform: none;
    text-wrap: balance;
}

h2,
.section-title h2,
.section-title h3,
.home-services-head h3,
.contact-salon-body h2,
.contact-info-card h2,
.contact-form-card h2 {
    font-size: clamp(1.85rem, 7vw, 3.7rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.04;
    overflow-wrap: anywhere;
    text-transform: none;
    text-wrap: balance;
}

h3,
.facility-card .title,
.card-title {
    letter-spacing: 0;
    text-transform: none;
}

p,
li,
.description,
.profile-muted-copy,
.section-title p,
.page-intro p,
.mg-hero .lead {
    font-size: clamp(0.96rem, 2.7vw, 1.08rem);
    line-height: 1.68;
}

.mg-eyebrow {
    letter-spacing: 0.12em;
    line-height: 1.35;
}

.btn,
.ui-button-primary,
.ui-button-secondary,
.ui-button-success,
.btn-medigrace,
.nav-link,
.user-icon,
.category-tab,
.catalog-control {
    min-height: 44px;
}

/* Header */
header {
    position: relative;
    z-index: 50;
}

header .navbar,
.reference-page header .navbar,
.service-page header .navbar,
.mg-navbar-surface {
    background: rgba(252, 252, 253, 0.94) !important;
    border-bottom: 1px solid rgba(234, 219, 209, 0.82);
    min-height: 72px;
    padding-block: 0.55rem;
    position: sticky;
    top: 0;
    backdrop-filter: blur(18px);
}

header .mg-navbar {
    background: linear-gradient(180deg, rgba(42, 26, 20, 0.82), rgba(42, 26, 20, 0.24)) !important;
    border-bottom-color: rgba(255, 255, 255, 0.16);
    position: absolute;
}

.navbar > .container {
    align-items: center;
    display: flex;
    gap: 0.8rem;
}

.navbar-brand img {
    height: 42px;
    width: 42px;
}

.brand-name,
.navbar-brand span {
    font-size: clamp(1.35rem, 5vw, 1.72rem);
    line-height: 1;
}

.navbar-toggler {
    align-items: center;
    background: #fff !important;
    border: 1px solid rgba(234, 219, 209, 0.9) !important;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(63, 36, 24, 0.1);
    display: inline-flex;
    height: 44px;
    justify-content: center;
    margin-left: auto;
    padding: 0;
    width: 44px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.22rem rgba(111, 154, 136, 0.24);
}

.navbar-collapse {
    background: rgba(252, 252, 253, 0.98);
    border: 1px solid var(--mg-line);
    border-radius: 20px;
    box-shadow: var(--mg-shadow-soft);
    margin-top: 0.8rem;
    padding: 0.8rem;
}

.navbar-nav {
    gap: 0.35rem;
}

.navbar .nav-link,
.user-icon {
    border-radius: var(--mg-pill);
    font-size: 0.95rem;
    justify-content: center;
    min-height: 44px;
    padding: 0.68rem 0.95rem !important;
}

.navbar-nav .nav-item:nth-child(2) .nav-link {
    background: var(--mg-cypress);
    color: #fff !important;
}

.navbar-nav .nav-item:nth-child(2) .nav-link::before {
    content: "\f00a";
    font-family: FontAwesome;
    font-size: 0.9em;
    margin-right: 0.5rem;
}

.mg-navbar .navbar-collapse .nav-link,
.mg-navbar .navbar-collapse .user-icon {
    color: var(--mg-ink-soft) !important;
}

.mg-navbar .navbar-collapse .nav-item:nth-child(2) .nav-link {
    color: #fff !important;
}

.profile-mobile {
    display: block;
}

.user-profile {
    display: none !important;
}

/* Hero and quick actions */
.hero {
    min-height: 100svh;
}

.hero .title {
    justify-content: flex-start;
    padding: clamp(124px, 24vh, 180px) var(--mg-page-gutter) 76px;
}

.hero .title > div {
    max-width: min(100%, 660px);
}

.hero .title p {
    font-size: clamp(1rem, 4vw, 1.18rem);
    margin-inline: 0;
    max-width: 560px;
}

.hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 340px);
}

.hero-actions a,
.home-quick-tile,
.service-quick-tile {
    -webkit-tap-highlight-color: transparent;
}

.hero-actions a {
    width: 100%;
}

.home-quick-nav,
.service-quick-nav {
    margin-top: -58px;
    padding: 0 0 var(--mg-tight-y);
    position: relative;
    z-index: 8;
}

.home-quick-panel,
.service-quick-panel {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(234, 219, 209, 0.9);
    border-radius: var(--mg-mobile-radius);
    box-shadow: 0 24px 60px rgba(63, 36, 24, 0.14);
    display: grid;
    gap: 0.72rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.72rem;
}

.home-quick-tile,
.service-quick-tile {
    align-items: flex-start;
    background: rgba(252, 252, 253, 0.82);
    border: 1px solid rgba(234, 219, 209, 0.92);
    border-radius: 18px;
    color: var(--mg-ink);
    display: flex;
    flex-direction: column;
    font-weight: 900;
    gap: 1.15rem;
    justify-content: space-between;
    min-height: 118px;
    padding: 1.05rem;
    text-decoration: none;
}

.home-quick-tile-primary,
.service-quick-tile-wide:first-child {
    background: linear-gradient(135deg, var(--mg-cypress), #5f3828);
    color: #fff;
}

.home-quick-tile i,
.service-quick-tile i {
    color: currentColor;
    font-size: 1.24rem;
}

.home-quick-tile span,
.service-quick-tile span {
    font-size: clamp(0.96rem, 3.6vw, 1.08rem);
    line-height: 1.15;
}

/* Public section rhythm */
.about-resort-section,
.massage-care-and-feature,
.fun-fact,
.massage-advantages,
.services,
.exparts,
.about-medigrazia,
.gallery-content,
.contact-shell,
.profile-shell {
    padding-block: var(--mg-section-y) !important;
}

.about-resort-section {
    padding-top: var(--mg-tight-y) !important;
}

.about-resort-section .row,
.massage-care-and-feature .row,
.advantage-details {
    row-gap: 1rem;
}

.about-resort-section .about,
.resort-slider,
.feature .col-6,
.contact-salon-card,
.contact-info-card,
.contact-form-card,
.mg-gallery-card,
.mg-person-card,
.profile-panel,
.profile-card,
.profile-card-inner {
    border-radius: var(--mg-mobile-radius) !important;
}

.resort,
.resort-slider,
.resort-slider .item,
.resort-slider .item img {
    min-height: 320px;
}

.massage-care,
.feature {
    padding: 0;
}

.massage-care > .row,
.feature > .row {
    margin-inline: 0;
}

.massage-care > .row {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.massage-care > .row > [class*="col-"] {
    max-width: none;
    padding-inline: 0;
    text-align: left !important;
    width: 100%;
}

.feature .col-6 {
    background: rgba(255, 255, 255, 0.09);
    flex: 0 0 100%;
    max-width: 100%;
}

.fun-fact .row {
    row-gap: 0.9rem;
}

.fun-fact .col,
.fun-fact [class*="col-"] {
    border-right: 0;
}

.massage-advantages .advantage-details {
    background: #fff;
    border: 1px solid var(--mg-line);
    border-radius: var(--mg-mobile-radius);
    box-shadow: var(--mg-shadow-soft);
    margin-top: 1.4rem;
    padding: 1rem;
}

.massage-advantages .advantage-details > .col-md-6:first-child {
    background: url("/static/images/home-1/massage-care.jpg") center / cover;
    border-radius: 18px;
    min-height: 240px;
}

.advantages .row {
    background: rgba(246, 250, 247, 0.88);
    border: 1px solid rgba(234, 219, 209, 0.88);
    border-radius: 18px;
    margin-inline: 0;
    padding: 1rem 0.7rem;
}

.advantages .line {
    display: none !important;
}

.home-services-head {
    align-items: flex-start;
    flex-direction: column;
}

.services-grid,
.service-catalog .service-list {
    overflow: visible;
}

.services-grid > .row,
.service-catalog .service-list {
    --bs-gutter-x: 0;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    margin-inline: 0;
}

.services-grid > .row > [class*="col-"],
.service-catalog .service-list > [class*="col-"] {
    max-width: none;
    padding: 0;
    width: 100%;
}

.service-card {
    padding: 0;
}

.facility-card .content,
.card-body {
    padding: 1.05rem;
}

.facility-media {
    margin: 0.8rem 0.8rem 0;
}

.facility-card .img,
.card-img-top {
    min-height: 178px;
}

.facility-meta-row {
    align-items: flex-start;
    flex-direction: column;
}

.facility-card .ui-button-primary {
    border-radius: 12px !important;
}

/* Inner pages */
.reference-page .page-intro,
.reference-page .mg-hero,
.reference-page .banar,
.service-page .banar {
    min-height: auto;
    padding: 112px 0 64px;
}

.reference-page .banar,
.service-page .banar {
    display: flex;
    min-height: 420px;
}

.banar h1 {
    color: #fff;
}

.reference-page .banar .row,
.service-page .banar .row {
    align-items: center;
    min-height: 250px;
}

.reference-page .banar .col:first-child,
.service-page .banar .col:first-child {
    display: none;
}

.reference-page .banar .col:last-child,
.service-page .banar .col:last-child {
    flex: 0 0 auto;
    max-width: 700px;
    width: 100%;
}

.service-quick-nav {
    margin-top: -70px;
}

.service-quick-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-quick-tile-wide {
    grid-column: span 1;
}

.service-catalog {
    padding-top: var(--mg-section-y) !important;
}

.catalog-topline {
    display: none;
}

.catalog-heading,
.catalog-controls {
    align-items: stretch;
    flex-direction: column;
}

.catalog-controls,
.category-tabs {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scroll-snap-type: x proximity;
}

.catalog-control,
.category-tab {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
}

.catalog-assurance {
    grid-template-columns: 1fr;
    padding: 0.65rem;
}

.catalog-assurance-item {
    min-height: 56px;
}

.contact-salon-grid {
    grid-template-columns: 1fr;
}

.contact-shell .row {
    row-gap: 1rem;
}

.contact-form-card form,
.contact-form-card .row {
    min-width: 0;
}

.contact-form-card [class*="col-"] {
    min-width: 0;
}

.mg-gallery-card .mg-card-image,
.mg-person-card .mg-card-image,
.contact-salon-media {
    margin: 0.8rem 0.8rem 0;
    width: calc(100% - 1.6rem);
}

footer {
    padding-block: 2rem !important;
}

footer .row {
    row-gap: 1.3rem;
}

/* Profile */
.profile-page .profile-intro {
    padding-bottom: 56px;
}

.profile-panel {
    padding: 0.72rem;
}

.profile-panel > .row {
    --bs-gutter-x: 0;
    gap: 0.9rem;
}

.profile-panel > .row > [class*="col-"] {
    padding-inline: 0;
}

.profile-menu {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.profile-menu .account-menu-list {
    display: flex;
    flex-direction: row !important;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scroll-snap-type: x proximity;
}

.profile-menu .account-menu-list li {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.profile-menu .nav-link,
.profile-logout {
    background: #fff;
    border: 1px solid var(--mg-line);
    min-width: max-content;
    padding-inline: 1rem;
}

.profile-card,
.profile-card-inner {
    padding: 1rem !important;
}

.profile-appointment-cards,
.profile-completed-cards {
    display: grid;
    gap: 0.8rem;
}

.profile-appointment-card,
.profile-completed-card,
.profile-empty-card {
    background: linear-gradient(180deg, #fff, rgba(246, 250, 247, 0.78));
    border: 1px solid var(--mg-line);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(63, 36, 24, 0.07);
    padding: 1rem;
}

.profile-appointment-card-head,
.profile-completed-card {
    align-items: flex-start;
    display: flex;
    gap: 0.8rem;
    justify-content: space-between;
}

.profile-appointment-index {
    color: var(--mg-muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-appointment-card h5,
.profile-completed-card h5 {
    color: var(--mg-ink);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0.8rem 0;
}

.profile-appointment-card dl {
    display: grid;
    gap: 0.65rem;
    margin: 0;
}

.profile-appointment-card dl > div {
    display: grid;
    gap: 0.15rem;
}

.profile-appointment-card dt {
    color: var(--mg-muted);
    font-size: 0.78rem;
    font-weight: 850;
}

.profile-appointment-card dd {
    color: var(--mg-ink);
    font-weight: 800;
    margin: 0;
}

.profile-empty-card {
    align-items: flex-start;
    color: var(--mg-muted);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.profile-empty-card i {
    color: var(--mg-rose-dark);
    font-size: 1.35rem;
}

.profile-empty-card strong {
    color: var(--mg-ink);
    font-size: 1.05rem;
}

.profile-empty-card-compact {
    gap: 0.35rem;
}

.profile-completed-points {
    flex: 0 0 auto;
    font-weight: 900;
    text-align: right;
}

.profile-page .account-table,
.profile-page .profile-card-inner .table-responsive {
    display: none;
}

.profile-page .loyalty-card {
    min-height: 190px;
}

.profile-page .loyalty-card-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
}

.profile-page .account-address {
    height: 100%;
}

.profile-page .text-end {
    text-align: left !important;
}

.profile-page .btn-medigrace {
    width: 100%;
}

@media (min-width: 576px) {
    .home-quick-panel,
    .service-quick-panel {
        gap: 0.9rem;
        padding: 0.9rem;
    }

    .home-quick-tile,
    .service-quick-tile {
        min-height: 132px;
        padding: 1.25rem;
    }

    .feature .col-6 {
        flex: 0 0 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
    }

    .feature > .row {
        gap: 1rem;
    }

    .services-grid > .row,
    .service-catalog .service-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .facility-card .img,
    .card-img-top {
        min-height: 200px;
    }
}

@media (min-width: 768px) {
    :root {
        --mg-page-gutter: 28px;
    }

    .hero .title {
        justify-content: center;
        padding-top: 124px;
    }

    .hero-actions {
        align-items: center;
        flex-direction: row;
        width: auto;
    }

    .hero-actions a {
        width: auto;
    }

    .home-quick-nav,
    .service-quick-nav {
        margin-top: -76px;
    }

    .home-quick-panel,
    .service-quick-panel {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 1rem;
    }

    .home-quick-tile-primary,
    .service-quick-tile-wide {
        grid-column: span 2;
    }

    .feature .col-6 {
        flex: 0 0 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
    }

    .massage-advantages .advantage-details {
        padding: 1.25rem;
    }

    .catalog-heading,
    .home-services-head {
        align-items: flex-end;
        flex-direction: row;
        justify-content: space-between;
    }

    .catalog-controls {
        align-items: center;
        flex-direction: row;
        justify-content: flex-end;
        overflow: visible;
    }

    .catalog-assurance {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .profile-page .account-table,
    .profile-page .profile-card-inner .table-responsive {
        display: block;
    }

    .profile-appointment-cards,
    .profile-completed-cards {
        display: none;
    }

    .profile-page .loyalty-card-footer {
        align-items: center;
        flex-direction: row;
    }
}

@media (min-width: 992px) {
    :root {
        --mg-page-gutter: 32px;
    }

    header .navbar,
    .reference-page header .navbar,
    .service-page header .navbar,
    .mg-navbar-surface {
        min-height: 84px;
        padding-block: 0.85rem;
    }

    .navbar-collapse {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
    }

    .navbar-nav {
        align-items: center;
    }

    .profile-mobile {
        display: none;
    }

    .user-profile {
        display: flex !important;
        margin-left: auto;
    }

    .navbar-toggler {
        display: none;
    }

    .brand-name,
    .navbar-brand span {
        font-size: 1.32rem;
    }

    .hero .title {
        padding-inline: max(32px, calc((100vw - 1180px) / 2 + 32px));
    }

    .home-quick-panel,
    .service-quick-panel {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        padding: 1.2rem;
    }

    .home-quick-tile-primary,
    .service-quick-tile-wide {
        grid-column: span 2;
    }

    .home-quick-tile,
    .service-quick-tile {
        min-height: 144px;
    }

    .services-grid > .row,
    .service-catalog .service-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.2rem;
    }

    .facility-card .content,
    .card-body {
        padding: 1.25rem;
    }

    .profile-panel {
        padding: 1.1rem;
    }

    .profile-menu {
        background: #fcfcfd;
        border: 1px solid var(--mg-line);
        border-radius: 24px;
        padding: 0.65rem;
        position: sticky;
        top: 104px;
    }

    .profile-menu .account-menu-list {
        flex-direction: column !important;
        overflow: visible;
    }

    .profile-menu .account-menu-list li,
    .profile-menu .nav-link,
    .profile-logout {
        width: 100%;
    }

    .profile-page .btn-medigrace {
        width: auto;
    }
}

/* Auth modal final positioning */
.auth-modal {
    align-items: center !important;
    background: rgba(43, 23, 16, 0.46) !important;
    display: none !important;
    inset: 0 !important;
    justify-content: center !important;
    min-height: 100dvh;
    overflow-y: auto !important;
    padding: clamp(1rem, 4vw, 2rem) !important;
    position: fixed !important;
    z-index: 2000 !important;
}

.auth-modal.is-open {
    display: flex !important;
}

.auth-modal .auth-modal-card {
    background: #fffaf7 !important;
    border: 1px solid rgba(63, 36, 24, 0.12) !important;
    border-radius: 14px !important;
    box-shadow: 0 24px 80px rgba(43, 23, 16, 0.28) !important;
    color: #2a1a14 !important;
    inset: auto !important;
    left: auto !important;
    margin: auto !important;
    max-height: calc(100dvh - 2rem);
    max-width: 460px !important;
    overflow-y: auto;
    padding: clamp(1.25rem, 4vw, 2rem) !important;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: min(100%, 460px) !important;
}

.auth-modal .auth-form input {
    background: #fff !important;
    border: 1px solid rgba(63, 36, 24, 0.14) !important;
    border-radius: 10px !important;
    min-height: 48px;
    padding: 0.7rem 0.85rem;
}

.auth-modal .auth-form button {
    width: 100%;
}

/* Quiet service catalog pass */
.service-page {
    background: #f7f1ec !important;
}

.service-page .service-hero-concept,
.service-page .service-quick-nav,
.service-page .catalog-assurance,
.service-sticky-booking {
    display: none !important;
}

.service-page .service-catalog {
    background: #f7f1ec !important;
    padding: clamp(1.1rem, 4vw, 2.4rem) 0 clamp(5.5rem, 12vw, 6.5rem) !important;
}

.service-page .service-catalog .container {
    width: min(100% - 28px, 1120px) !important;
}

.service-page .catalog-heading {
    align-items: end !important;
    display: grid !important;
    gap: 0.8rem !important;
    margin: 0 0 0.8rem !important;
}

.service-page .catalog-heading .mg-eyebrow {
    display: none !important;
}

.service-page .catalog-heading h1 {
    color: #2a1a14 !important;
    font-size: clamp(1.72rem, 8vw, 3.15rem) !important;
    font-weight: 620 !important;
    letter-spacing: 0 !important;
    line-height: 1.02 !important;
    margin: 0 0 0.4rem !important;
}

.service-page .catalog-heading p {
    color: #6f5b50 !important;
    font-size: 0.95rem !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    max-width: 560px;
}

.service-page .catalog-controls {
    display: none !important;
}

.service-page .category-tabs {
    display: flex !important;
    gap: 0.45rem !important;
    margin: 0.85rem 0 0.9rem !important;
    overflow-x: auto;
    padding: 0 0 0.15rem !important;
    scrollbar-width: none;
}

.service-page .category-tabs::-webkit-scrollbar {
    display: none;
}

.service-page .category-tab {
    background: #fffaf7 !important;
    border: 1px solid rgba(63, 36, 24, 0.12) !important;
    border-radius: 999px !important;
    color: #5b463b !important;
    flex: 0 0 auto;
    font-size: 0.78rem !important;
    font-weight: 850 !important;
    min-height: 36px !important;
    padding: 0.48rem 0.78rem !important;
    white-space: nowrap;
}

.service-page .category-tab.is-active {
    background: #3f2418 !important;
    border-color: #3f2418 !important;
    color: #fff !important;
}

.service-page .catalog-state {
    color: #7a675b !important;
    display: block !important;
    font-size: 0.78rem !important;
    font-weight: 750;
    margin: 0 0 0.65rem !important;
}

.service-page .service-catalog .service-list {
    align-items: stretch;
    display: grid !important;
    gap: 0.72rem !important;
    grid-template-columns: 1fr !important;
    margin: 0 !important;
}

.service-page .service-card {
    display: block !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.service-page .service-card.is-filtered-out {
    display: none !important;
}

.service-page .service-concept-card {
    align-items: stretch !important;
    background: #fffaf7 !important;
    border: 1px solid rgba(63, 36, 24, 0.1) !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 26px rgba(63, 36, 24, 0.055) !important;
    display: grid !important;
    gap: 0.72rem !important;
    grid-template-columns: clamp(86px, 25vw, 104px) minmax(0, 1fr) !important;
    min-height: 132px !important;
    overflow: hidden !important;
    padding: 0.55rem !important;
}

.service-page .service-concept-card .facility-media {
    align-self: stretch !important;
    aspect-ratio: auto !important;
    background: #eadbd1 !important;
    border-radius: 8px !important;
    height: auto !important;
    margin: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    width: auto !important;
}

.service-page .service-concept-card .facility-media img {
    display: block !important;
    filter: saturate(0.9) sepia(0.1);
    height: 100% !important;
    object-fit: cover !important;
    width: 100% !important;
}

.service-page .service-concept-card .facility-badge,
.service-page .service-concept-card .facility-soft-label {
    display: none !important;
}

.service-page .service-concept-body {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    overflow: hidden !important;
    padding: 0.02rem 0.02rem 0.02rem 0 !important;
}

.service-page .service-concept-head {
    display: block !important;
    min-width: 0 !important;
}

.service-page .service-concept-head h2 {
    color: #2a1a14 !important;
    display: -webkit-box !important;
    font-size: clamp(0.9rem, 3.5vw, 1.02rem) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 1.16 !important;
    margin: 0 !important;
    max-width: 100%;
    overflow: hidden !important;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.service-page .service-concept-head span {
    color: #8f4a35 !important;
    display: block !important;
    font-size: 0.62rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 0.25rem !important;
    max-width: 100%;
    overflow: hidden !important;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.service-page .service-concept-body p {
    color: #6f5b50 !important;
    display: -webkit-box !important;
    font-size: 0.74rem !important;
    line-height: 1.34 !important;
    margin: 0.36rem 0 0.48rem !important;
    max-width: 100%;
    overflow: hidden !important;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.service-page .service-concept-meta {
    align-items: center !important;
    display: flex !important;
    gap: 0.45rem !important;
    justify-content: space-between !important;
    margin-top: auto !important;
    min-width: 0 !important;
}

.service-page .service-concept-meta span {
    color: #7a675b !important;
    display: block;
    font-size: 0.72rem !important;
    font-weight: 820 !important;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-page .service-concept-meta strong {
    color: #3f2418 !important;
    flex: 0 0 auto;
    font-size: 0.86rem !important;
    font-weight: 950 !important;
    white-space: nowrap;
}

.service-page .service-concept-card .ui-button-primary {
    align-self: flex-start !important;
    background: #3f2418 !important;
    border: 1px solid #3f2418 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    color: #fff !important;
    flex: 0 0 auto;
    font-size: 0.76rem !important;
    font-weight: 900 !important;
    margin-top: 0.58rem !important;
    min-height: 36px !important;
    padding: 0.42rem 0.78rem !important;
    width: auto !important;
}

.service-page .catalog-empty-state {
    background: #fffaf7 !important;
    border-radius: 10px !important;
}

@media (max-width: 390px) {
    .service-page .service-concept-card {
        grid-template-columns: 82px minmax(0, 1fr) !important;
        gap: 0.62rem !important;
        padding: 0.48rem !important;
    }

    .service-page .service-concept-body p {
        -webkit-line-clamp: 1;
    }
}

@media (min-width: 768px) {
    .service-page .service-catalog {
        padding-bottom: 3rem !important;
    }

    .service-page .catalog-heading {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .service-page .service-catalog .service-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.95rem !important;
    }

    .service-page .service-concept-card {
        display: flex !important;
        flex-direction: column !important;
        min-height: 100% !important;
        padding: 0.68rem !important;
    }

    .service-page .service-concept-card .facility-media {
        aspect-ratio: 16 / 10 !important;
        flex: 0 0 auto;
        width: 100% !important;
    }

    .service-page .service-concept-body {
        flex: 1 1 auto;
        padding: 0.1rem !important;
    }

    .service-page .service-concept-body p {
        font-size: 0.82rem !important;
        -webkit-line-clamp: 3;
    }

    .service-page .service-concept-card .ui-button-primary {
        align-self: stretch !important;
        min-height: 42px !important;
        width: 100% !important;
    }
}

@media (min-width: 1180px) {
    .service-page .service-catalog .service-list {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

body .site-header .navbar .navbar-nav .nav-link.active,
body .site-header .navbar .navbar-nav .nav-link:hover {
    background: #3f2418 !important;
    color: #fff !important;
}

body .site-header .navbar .navbar-nav .nav-item:nth-child(2) .nav-link:not(.active)::before {
    content: none !important;
}

/* Contacts page concept pass */
.contact-page {
    background: #f7f1ec;
}

.contact-page header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
}

.contact-page .mg-navbar-surface {
    background: #fff;
    border-bottom: 1px solid rgba(63, 36, 24, 0.1);
    min-height: 72px;
    padding-block: 0.56rem;
}

.contact-page .navbar-nav .nav-item:nth-child(2) .nav-link {
    background: transparent;
    color: #5b463b !important;
}

.contact-page .navbar-nav .nav-item:nth-child(2) .nav-link::before {
    content: none;
    margin: 0;
}

.contact-page .navbar-nav .nav-link.active {
    background: #3f2418;
    color: #fff !important;
}

.contact-page .contact-intro {
    background: #fff;
    border-bottom: 1px solid rgba(63, 36, 24, 0.08);
    margin-bottom: 0;
    min-height: auto;
    padding: 1.05rem 0 0.85rem;
}

.contact-page .contact-intro .row {
    align-items: flex-start !important;
    gap: 0.7rem;
}

.contact-page .contact-intro .mg-eyebrow {
    display: none !important;
}

.contact-page .contact-intro h1 {
    color: #3f2418;
    font-size: 1.56rem;
    font-weight: 950;
    line-height: 1.05;
    margin: 0 0 0.45rem;
}

.contact-page .contact-intro p {
    color: #6f5b50;
    font-size: 0.86rem;
    line-height: 1.45;
    margin: 0;
}

.contact-page .contact-intro .ui-button-primary {
    display: none;
}

.contact-page .contact-shell {
    padding: 0.85rem 0 2rem;
}

.contact-page .contact-salon-grid {
    display: grid;
    gap: 0.75rem;
}

.contact-page .contact-salon-card {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(63, 36, 24, 0.06);
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 112px;
    overflow: hidden;
    padding: 0.55rem;
}

.contact-page .contact-salon-media {
    border-radius: 8px;
    height: 84px;
    margin: 0;
    overflow: hidden;
    width: 96px;
}

.contact-page .contact-salon-media img,
.contact-page .contact-salon-media iframe {
    display: block;
    height: 100% !important;
    object-fit: cover;
    width: 100% !important;
}

.contact-page .contact-salon-body {
    padding: 0;
}

.contact-page .contact-salon-body .mg-eyebrow {
    color: #b87655;
    font-size: 0.62rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    margin-bottom: 0.22rem;
}

.contact-page .contact-salon-body h2 {
    color: #3f2418;
    font-size: 0.98rem;
    font-weight: 950;
    line-height: 1.1;
    margin: 0 0 0.2rem;
}

.contact-page .contact-salon-body p {
    color: #6f5b50;
    font-size: 0.72rem;
    line-height: 1.35;
    margin: 0 0 0.28rem;
}

.contact-page .contact-phone {
    color: #b87655;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 950;
    text-decoration: none;
}

.contact-action-row {
    background: #fff;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 10px;
    display: grid;
    gap: 0.35rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0.75rem;
    padding: 0.55rem;
}

.contact-action-row a {
    align-items: center;
    border-radius: 8px;
    color: #3f2418;
    display: grid;
    font-size: 0.66rem;
    font-weight: 900;
    gap: 0.24rem;
    justify-items: center;
    min-height: 58px;
    text-align: center;
    text-decoration: none;
}

.contact-action-row a:hover {
    background: #f0e6df;
}

.contact-action-row i {
    align-items: center;
    background: #f0e6df;
    border-radius: 8px;
    color: #3f2418;
    display: inline-flex;
    font-size: 0.92rem;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.contact-map-panel {
    background: #fff;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(63, 36, 24, 0.06);
    margin-top: 0.75rem;
    overflow: hidden;
    padding: 0.55rem;
}

.contact-map-canvas {
    aspect-ratio: 16 / 9;
    background:
        linear-gradient(90deg, rgba(63, 36, 24, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(63, 36, 24, 0.08) 1px, transparent 1px),
        linear-gradient(135deg, #f3e9e2, #fbf7f4);
    background-size: 52px 52px, 52px 52px, auto;
    border-radius: 8px;
    position: relative;
}

.contact-map-pin {
    background: #3f2418;
    border: 5px solid #fff;
    border-radius: 50% 50% 50% 0;
    box-shadow: 0 12px 24px rgba(63, 36, 24, 0.2);
    height: 32px;
    position: absolute;
    transform: rotate(-45deg);
    width: 32px;
}

.contact-map-pin::after {
    background: #fff;
    border-radius: 50%;
    content: "";
    height: 8px;
    left: 7px;
    position: absolute;
    top: 7px;
    width: 8px;
}

.contact-map-pin-main {
    left: 58%;
    top: 34%;
}

.contact-map-pin-second {
    background: #b87655;
    left: 28%;
    top: 58%;
}

.contact-page .contact-info-card {
    display: none;
}

.contact-page .contact-form-card {
    background: #fff;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(63, 36, 24, 0.06);
    padding: 1rem;
}

.contact-page .contact-form-card .section-title {
    margin-bottom: 0.9rem !important;
}

.contact-page .contact-form-card .section-title .mg-eyebrow {
    color: #b87655;
    font-size: 0.64rem;
    font-weight: 950;
    letter-spacing: 0.1em;
}

.contact-page .contact-form-card h2 {
    color: #3f2418;
    font-size: 1.28rem;
    font-weight: 950;
    margin: 0.2rem 0;
}

.contact-page .contact-form-card p {
    color: #6f5b50;
    font-size: 0.78rem;
    line-height: 1.4;
    margin: 0;
}

.contact-page .contact-form-card label {
    color: #6f5b50;
    font-size: 0.72rem;
    font-weight: 850;
}

.contact-page .contact-form-card .form-control {
    border: 1px solid rgba(63, 36, 24, 0.12);
    border-radius: 8px;
    min-height: 44px;
}

.contact-page .contact-form-card textarea.form-control {
    min-height: 108px;
}

.contact-page .contact-form-card .ui-button-primary {
    border-radius: 8px !important;
    justify-content: center;
    min-height: 46px;
    width: 100%;
}

@media (min-width: 768px) {
    .contact-page .contact-intro {
        padding: 1.7rem 0 1.35rem;
    }

    .contact-page .contact-intro .mg-eyebrow {
        display: block !important;
    }

    .contact-page .contact-intro h1 {
        font-size: 2.4rem;
    }

    .contact-page .contact-intro .ui-button-primary {
        display: inline-flex;
    }

    .contact-page .contact-salon-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-page .contact-salon-card {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .contact-page .contact-salon-media {
        height: 96px;
        width: 120px;
    }
}

@media (min-width: 992px) {
    .contact-page .mg-navbar-surface {
        min-height: 74px;
        padding-block: 0.72rem;
    }

    .contact-page .contact-shell {
        padding: 1.4rem 0 3rem;
    }

    .contact-page .contact-salon-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-page .contact-info-card {
        display: block;
    }

    .contact-map-panel {
        margin-top: 1rem;
    }
}

/* Services concept rebuild: remove legacy card feel */
.service-page .service-hero-concept {
    background: #fff;
    border-bottom: 1px solid rgba(63, 36, 24, 0.08);
    height: auto;
    margin: 0;
    min-height: auto;
    padding: 0;
}

.service-page .service-hero-concept .container {
    display: block;
    height: auto;
}

.service-hero-grid {
    display: none;
}

.service-page .service-catalog {
    background: #f7f1ec;
    padding-top: 1rem !important;
}

.service-page .catalog-topline {
    display: none;
}

.service-page .catalog-heading {
    display: block;
    margin-bottom: 0.85rem;
}

.service-page .catalog-heading .mg-eyebrow {
    display: none !important;
}

.service-page .catalog-heading h1 {
    color: #3f2418;
    font-size: 1.56rem;
    font-weight: 950;
    line-height: 1.05;
    margin: 0 0 0.38rem;
}

.service-page .catalog-heading p {
    color: #6f5b50;
    font-size: 0.82rem;
    line-height: 1.38;
    margin: 0;
}

.service-page .catalog-controls {
    display: none;
}

.service-page .category-tabs {
    margin: 0.4rem 0 0.55rem;
}

.service-page .catalog-control,
.service-page .category-tab {
    border-radius: 999px;
    min-height: 34px;
    padding: 0.45rem 0.78rem;
}

.service-page .catalog-state {
    display: none;
}

.service-page .service-catalog .service-list {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
    margin: 0;
}

.service-page .service-card {
    display: block;
    max-width: none;
    padding: 0;
    width: auto;
}

.service-page .service-card.is-filtered-out {
    display: none;
}

.service-concept-card {
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(63, 36, 24, 0.06);
    display: grid;
    gap: 0.7rem;
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 148px;
    overflow: hidden;
    padding: 0.55rem;
}

.service-concept-card .facility-media {
    background: #eadbd1;
    border-radius: 8px;
    height: auto !important;
    margin: 0 !important;
    min-height: 132px;
    overflow: hidden;
    position: relative;
    width: auto !important;
}

.service-concept-card .facility-media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.service-concept-card .facility-badge {
    background: rgba(63, 36, 24, 0.9);
    border-radius: 7px;
    bottom: 0.45rem;
    color: #fff;
    display: inline-flex;
    font-size: 0.58rem;
    font-weight: 900;
    left: 0.45rem;
    letter-spacing: 0;
    max-width: calc(100% - 0.9rem);
    overflow: hidden;
    padding: 0.26rem 0.42rem;
    position: absolute;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-concept-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0.1rem 0.1rem 0.1rem 0;
}

.service-concept-head {
    display: flex;
    flex-direction: column-reverse;
    gap: 0.22rem;
}

.service-concept-head h2 {
    color: #3f2418;
    font-size: 0.9rem;
    font-weight: 950;
    line-height: 1.12;
    margin: 0;
}

.service-concept-head span {
    color: #b87655;
    font-size: 0.62rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.service-concept-head .facility-soft-label {
    display: none;
}

.service-concept-body p {
    color: #6f5b50;
    display: -webkit-box;
    font-size: 0.7rem;
    line-height: 1.34;
    margin: 0.35rem 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.service-concept-meta {
    align-items: center;
    color: #6f5b50;
    display: flex;
    font-size: 0.68rem;
    font-weight: 850;
    gap: 0.45rem;
    justify-content: space-between;
    margin-top: auto;
}

.service-concept-meta strong {
    color: #3f2418;
    font-size: 0.82rem;
    font-weight: 950;
    white-space: nowrap;
}

.service-page .service-concept-card .ui-button-primary {
    align-self: flex-end;
    background: #3f2418 !important;
    border-radius: 7px !important;
    box-shadow: none;
    color: #fff !important;
    font-size: 0.72rem;
    font-weight: 900;
    margin-top: 0.5rem;
    min-height: 34px;
    padding: 0.38rem 0.72rem;
    width: auto;
}

@media (min-width: 768px) {
    .service-page .service-catalog {
        padding-top: 1.4rem !important;
    }

    .service-page .service-catalog .service-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.95rem;
    }

    .service-concept-card {
        display: flex;
        flex-direction: column;
        min-height: 100%;
        padding: 0.65rem;
    }

    .service-concept-card .facility-media {
        aspect-ratio: 16 / 10;
        min-height: 0;
        width: 100%;
    }

    .service-concept-body {
        flex: 1;
        padding: 0.2rem;
    }

    .service-concept-head h2 {
        font-size: 1rem;
    }

    .service-concept-body p {
        font-size: 0.8rem;
        -webkit-line-clamp: 3;
    }

    .service-concept-card .ui-button-primary {
        align-self: stretch;
        min-height: 40px;
        width: 100%;
    }
}

@media (min-width: 992px) {
    .service-page .service-hero-concept {
        display: block;
        padding: 1.25rem 0 0.85rem;
    }

    .service-hero-grid {
        align-items: center;
        display: grid;
        gap: 1.25rem;
        grid-template-columns: minmax(0, 1fr) 380px;
    }

    .service-hero-copy .mg-eyebrow {
        color: #b87655;
        font-size: 0.74rem;
        font-weight: 950;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .service-hero-copy h2 {
        color: #3f2418;
        font-size: 2.25rem;
        font-weight: 950;
        line-height: 1;
        margin: 0.45rem 0 0.5rem;
    }

    .service-hero-copy p {
        color: #6f5b50;
        font-size: 0.95rem;
        margin: 0;
        max-width: 440px;
    }

    .service-hero-media {
        aspect-ratio: 16 / 8;
        border-radius: 10px;
        overflow: hidden;
    }

    .service-hero-media img {
        display: block;
        height: 100%;
        object-fit: cover;
        width: 100%;
    }

    .service-page .service-catalog {
        padding-top: 1.7rem !important;
    }

    .service-page .catalog-heading {
        align-items: flex-end;
        display: flex;
        justify-content: space-between;
    }

    .service-page .catalog-heading .mg-eyebrow {
        display: block !important;
    }

    .service-page .catalog-heading h1 {
        font-size: 2.2rem;
    }

    .service-page .service-catalog .service-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

.service-page .catalog-controls {
    display: none !important;
}

@media (min-width: 1280px) {
    .container {
        width: min(100% - 64px, 1180px);
    }

    .hero .title h1,
    .hero .title h2 {
        font-size: clamp(4.8rem, 6vw, 6.35rem);
    }

    .reference-page .page-intro,
    .reference-page .mg-hero,
    .reference-page .banar,
    .service-page .banar {
        padding-top: 136px;
    }
}

@media (max-width: 390px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .brand-name,
    .navbar-brand span {
        font-size: 1.2rem;
    }

    .home-quick-panel,
    .service-quick-panel {
        grid-template-columns: 1fr;
    }

    .home-quick-tile,
    .service-quick-tile,
    .service-quick-tile-wide {
        grid-column: span 1;
        min-height: 104px;
    }
}

/* Concept-faithful home page refresh, June 2026 */
.home-concept-page {
    --home-green: #3f2418;
    --home-green-deep: #2b1710;
    --home-eucalyptus: #a87963;
    --home-rose: #b87655;
    --home-mist: #f0e6df;
    --home-surface: #ffffff;
    --home-ink: #16342f;
    --home-muted: #697a75;
    --home-line: rgba(63, 36, 24, 0.12);
    background: #f7f1ec;
    color: var(--home-ink);
    padding-bottom: 92px;
}

.home-concept-page a {
    color: inherit;
}

.home-concept-header {
    background: var(--home-surface);
    position: sticky;
    top: 0;
    z-index: 50;
}

.home-concept-header .container {
    width: min(100% - 28px, 1180px);
}

.home-desktop-topbar {
    display: none;
}

.home-concept-navbar {
    background: var(--home-surface);
    border-bottom: 1px solid var(--home-line);
    min-height: 72px;
    padding-block: 0.65rem;
}

.home-concept-navbar .container {
    align-items: center;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    position: relative;
}

.home-concept-navbar .navbar-brand {
    gap: 0.35rem;
    grid-column: 2;
    justify-content: center;
    letter-spacing: 0.18em;
    margin: 0;
    text-transform: uppercase;
}

.home-concept-navbar .navbar-brand img {
    height: 30px;
    width: 30px;
}

.home-concept-navbar .brand-name {
    color: var(--home-green);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.home-concept-navbar .navbar-toggler {
    background: transparent;
    border: 0;
    border-radius: 0;
    grid-column: 1;
    grid-row: 1;
    height: 44px;
    padding: 0;
    width: 44px;
}

.home-concept-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(184, 86, 107, 0.18);
}

.home-mobile-phone {
    align-items: center;
    color: var(--home-green);
    display: inline-flex;
    font-size: 1.1rem;
    grid-column: 3;
    grid-row: 1;
    height: 44px;
    justify-content: center;
    text-decoration: none;
    width: 44px;
}

.home-concept-navbar .navbar-collapse {
    background: var(--home-surface);
    border: 1px solid var(--home-line);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(63, 36, 24, 0.12);
    grid-column: 1 / -1;
    margin-top: 0.8rem;
    padding: 0.75rem;
}

.home-concept-navbar .navbar-nav {
    gap: 0.25rem;
}

.home-concept-navbar .nav-link,
.home-concept-navbar .user-icon {
    align-items: center;
    border-radius: 14px;
    color: var(--home-ink);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 700;
    min-height: 44px;
    padding: 0.75rem 1rem;
    text-decoration: none;
}

.home-concept-navbar .nav-link.active,
.home-concept-navbar .nav-link:hover,
.home-concept-navbar .user-icon:hover {
    background: var(--home-mist);
    color: var(--home-green);
}

.home-concept-navbar .user-profile {
    display: none !important;
}

.home-concept-hero {
    padding: 14px 0 0;
}

.home-hero-frame {
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(63, 36, 24, 0.13);
    min-height: 520px;
    overflow: hidden;
    position: relative;
}

.home-hero-frame,
.home-hero-media,
.home-promo-panel {
    contain: paint;
}

.home-hero-frame::after {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(8, 26, 22, 0.16) 35%, rgba(8, 26, 22, 0.82) 100%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

.home-hero-media,
.home-hero-media .item {
    inset: 0;
    min-height: 100%;
    position: absolute;
}

.home-hero-media .item {
    opacity: 0;
    transition: opacity 1.1s ease;
}

.home-hero-media .item.is-active,
.home-hero-media .item:first-child {
    opacity: 1;
}

.home-hero-media img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.home-hero-copy {
    bottom: 70px;
    color: #fff;
    left: 18px;
    max-width: min(520px, calc(100% - 36px));
    position: absolute;
    right: 18px;
    z-index: 3;
}

.home-hero-copy h1 {
    color: #fff;
    font-size: clamp(2.12rem, 9vw, 2.7rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0 0 0.8rem;
}

.home-title-desktop {
    display: none;
}

.home-title-mobile {
    display: inline;
}

.home-hero-copy p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.55;
    margin: 0;
    max-width: 31rem;
}

.home-hero-actions {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.home-hero-actions .ui-button-primary {
    background: var(--home-rose);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: #fff;
    justify-content: center;
    min-height: 56px;
    padding-inline: 1.4rem;
    text-decoration: none;
}

.home-hero-play {
    align-items: center;
    color: #fff;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 700;
    gap: 0.7rem;
    min-height: 48px;
    text-decoration: none;
}

.home-hero-play span {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.44);
    border-radius: 50%;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.home-hero-dots {
    align-items: center;
    bottom: 34px;
    display: flex;
    gap: 0.45rem;
    justify-content: center;
    left: 0;
    position: absolute;
    right: 0;
    z-index: 3;
}

.home-hero-dots span {
    background: rgba(255, 255, 255, 0.56);
    border-radius: 50%;
    height: 7px;
    width: 7px;
}

.home-hero-dots span:first-child {
    background: #fff;
    width: 18px;
    border-radius: 999px;
}

.home-quick-nav {
    margin-top: -34px;
    padding: 0;
    position: relative;
    z-index: 5;
}

.home-quick-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0 8px;
}

.home-quick-tile {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(63, 36, 24, 0.08);
    border-radius: 9px;
    box-shadow: 0 14px 36px rgba(63, 36, 24, 0.1);
    color: var(--home-green);
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
    justify-content: center;
    min-height: 82px;
    padding: 0.65rem 0.35rem;
    text-align: center;
    text-decoration: none;
}

.home-quick-tile i {
    color: var(--home-green);
    font-size: 1.15rem;
}

.home-quick-tile span {
    color: var(--home-ink);
    font-size: clamp(0.66rem, 2.7vw, 0.86rem);
    font-weight: 800;
    line-height: 1.15;
}

.home-quick-tile small {
    color: var(--home-muted);
    display: none;
    font-size: 0.72rem;
    line-height: 1.2;
}

.home-popular-services {
    padding: 34px 0 22px;
}

.home-section-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.home-section-head h2 {
    color: var(--home-ink);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0;
}

.home-section-head a {
    align-items: center;
    color: var(--home-green);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    gap: 0.35rem;
    text-decoration: none;
    white-space: nowrap;
}

.home-service-list {
    display: grid;
    gap: 0.8rem;
}

.home-service-card {
    background: var(--home-surface);
    border: 1px solid var(--home-line);
    border-radius: 9px;
    box-shadow: 0 12px 34px rgba(63, 36, 24, 0.06);
    display: grid;
    gap: 0.8rem;
    grid-template-columns: 96px minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
    padding: 0.72rem;
}

.home-service-media {
    aspect-ratio: 1 / 1;
    border-radius: 7px;
    display: block;
    overflow: hidden;
}

.home-service-media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.home-service-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0.1rem 0.1rem 0.1rem 0;
}

.home-service-body h3 {
    color: var(--home-ink);
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 0.28rem;
}

.home-service-body p {
    color: var(--home-muted);
    display: -webkit-box;
    font-size: 0.78rem;
    line-height: 1.35;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-service-body p span {
    color: var(--home-eucalyptus);
    margin-inline: 0.25rem;
}

.home-service-bottom {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.6rem;
}

.home-service-bottom strong {
    color: var(--home-ink);
    font-size: 0.92rem;
    font-weight: 900;
}

.home-service-bottom a {
    align-items: center;
    background: var(--home-green);
    border-radius: 7px;
    color: #fff;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    text-decoration: none;
    width: 36px;
}

.home-promo-grid {
    padding: 6px 0 34px;
}

.home-promo-grid .container {
    display: grid;
    gap: 0.85rem;
}

.home-promo-panel {
    border-radius: 10px;
    display: grid;
    min-height: 154px;
    overflow: hidden;
    padding: 1rem;
    position: relative;
}

.home-promo-panel h2 {
    color: var(--home-ink);
    font-size: 1rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.25;
    margin: 0 0 0.35rem;
}

.home-promo-panel p {
    color: var(--home-muted);
    font-size: 0.8rem;
    line-height: 1.45;
    margin: 0 0 1rem;
    max-width: 18rem;
}

.home-promo-panel .ui-button-primary {
    background: var(--home-green);
    border-radius: 8px;
    color: #fff;
    min-height: 42px;
    padding-inline: 1rem;
    text-decoration: none;
}

.home-certificate-panel {
    background: linear-gradient(135deg, #f1f6f3 0%, #ffffff 100%);
    border: 1px solid var(--home-line);
}

.home-certificate-panel img {
    bottom: -12px;
    filter: drop-shadow(0 20px 28px rgba(63, 36, 24, 0.18));
    max-width: 136px;
    position: absolute;
    right: 0;
    transform: rotate(-7deg);
}

.home-loyalty-panel {
    background:
        radial-gradient(circle at right bottom, rgba(111, 154, 136, 0.45), transparent 46%),
        linear-gradient(135deg, #0a4a3d 0%, #07372f 100%);
    color: #fff;
}

.home-loyalty-panel h2,
.home-loyalty-panel p {
    color: #fff;
}

.home-loyalty-panel p {
    opacity: 0.82;
}

.home-loyalty-panel .ui-button-primary {
    background: var(--home-rose);
}

.home-loyalty-panel > i {
    bottom: -18px;
    color: rgba(255, 255, 255, 0.24);
    font-size: 7rem;
    position: absolute;
    right: 18px;
}

.home-sticky-booking {
    align-items: center;
    background: var(--home-green);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px 10px 0 0;
    bottom: 0;
    box-shadow: 0 -16px 42px rgba(6, 63, 51, 0.22);
    color: #fff;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    left: 14px;
    min-height: 62px;
    padding: 0.78rem;
    position: fixed;
    right: 14px;
    text-decoration: none;
    z-index: 45;
}

.home-sticky-booking span {
    align-items: center;
    background: var(--home-rose);
    border-radius: 8px;
    display: inline-flex;
    flex: 1;
    font-weight: 850;
    justify-content: center;
    min-height: 44px;
}

.home-sticky-booking i {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    width: 54px;
}

.home-footer {
    background: var(--home-green);
    color: rgba(255, 255, 255, 0.78);
    padding: 2.1rem 0 6.6rem;
}

.home-footer a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.home-footer-brand {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.4rem;
}

.home-footer-brand img {
    filter: brightness(0) invert(1);
}

.home-footer-brand strong {
    color: #fff;
    display: block;
    font-size: 0.98rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-footer-brand span {
    display: block;
    font-size: 0.76rem;
}

.home-footer-grid {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: grid;
    gap: 1.25rem;
    padding-top: 1.3rem;
}

.home-footer-grid h2 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 850;
    margin: 0 0 0.7rem;
}

.home-footer-grid a,
.home-footer-grid span {
    display: block;
    font-size: 0.82rem;
    line-height: 1.8;
}

.home-footer-whatsapp {
    background: var(--home-rose);
    border-radius: 8px;
    color: #fff !important;
    display: inline-flex !important;
    line-height: 1.2 !important;
    margin-top: 0.55rem;
    padding: 0.65rem 0.9rem;
}

.home-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: grid;
    gap: 0.55rem;
    font-size: 0.76rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
}

@media (max-width: 420px) {
    .home-concept-header .container,
    .home-concept-page .container {
        width: min(100% - 28px, 1180px);
    }

    .home-concept-navbar .brand-name {
        font-size: 0.78rem;
    }

    .home-service-card {
        grid-template-columns: 88px minmax(0, 1fr);
    }
}

@media (min-width: 576px) {
    .home-quick-tile {
        min-height: 96px;
    }

    .home-quick-tile small {
        display: block;
    }

    .home-service-card {
        grid-template-columns: 132px minmax(0, 1fr);
    }
}

@media (min-width: 768px) {
    .home-concept-page {
        padding-bottom: 0;
    }

    .home-concept-hero {
        padding-top: 20px;
    }

    .home-hero-frame {
        min-height: 560px;
    }

    .home-hero-copy {
        bottom: 92px;
        left: 42px;
        right: auto;
    }

    .home-hero-actions {
        align-items: center;
        flex-direction: row;
    }

    .home-hero-actions .ui-button-primary {
        min-width: 190px;
    }

    .home-quick-nav {
        margin-top: -44px;
    }

    .home-quick-panel {
        gap: 0.75rem;
        padding-inline: 18px;
    }

    .home-quick-tile {
        align-items: flex-start;
        min-height: 116px;
        padding: 1rem;
        text-align: left;
    }

    .home-popular-services {
        padding-top: 46px;
    }

    .home-section-head {
        margin-bottom: 1.3rem;
    }

    .home-section-head h2 {
        font-size: 1.35rem;
    }

    .home-service-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .home-service-card {
        display: block;
        padding: 0;
    }

    .home-service-media {
        aspect-ratio: 1.22 / 1;
        border-radius: 9px 9px 0 0;
    }

    .home-service-body {
        min-height: 190px;
        padding: 1rem;
    }

    .home-promo-grid .container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-promo-panel {
        min-height: 176px;
        padding: 1.25rem;
    }

    .home-sticky-booking {
        display: none;
    }

    .home-footer {
        padding-bottom: 1.8rem;
    }

    .home-footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-footer-bottom {
        align-items: center;
        display: flex;
        justify-content: space-between;
    }
}

@media (min-width: 992px) {
    .home-desktop-topbar {
        background: var(--home-green);
        color: rgba(255, 255, 255, 0.84);
        display: block;
        font-size: 0.78rem;
    }

    .home-desktop-topbar .container {
        align-items: center;
        display: flex;
        gap: 2rem;
        min-height: 48px;
    }

    .home-desktop-topbar a {
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
    }

    .home-desktop-topbar span:nth-child(2) {
        margin-left: auto;
    }

    .home-topbar-cta {
        align-items: center;
        background: var(--home-rose);
        border-radius: 7px;
        color: #fff !important;
        display: inline-flex;
        font-weight: 800;
        min-height: 34px;
        padding: 0 1.1rem;
    }

    .home-concept-navbar {
        min-height: 74px;
    }

    .home-concept-navbar .container {
        display: flex;
    }

    .home-concept-navbar .navbar-brand {
        justify-content: flex-start;
        margin-right: 2rem;
    }

    .home-concept-navbar .navbar-brand img {
        height: 44px;
        width: 44px;
    }

    .home-concept-navbar .brand-name {
        font-size: 1rem;
    }

    .home-concept-navbar .navbar-collapse {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
    }

    .home-mobile-phone {
        display: none;
    }

    .home-concept-navbar .nav-link {
        font-size: 0.8rem;
        min-height: 38px;
        padding: 0.55rem 0.8rem;
    }

    .home-concept-navbar .user-profile {
        display: flex !important;
        margin-left: auto;
    }

    .home-concept-navbar .user-icon {
        background: var(--home-mist);
        color: var(--home-green);
        min-height: 42px;
    }

    .home-concept-hero {
        padding-top: 0;
    }

    .home-hero-frame {
        border-radius: 0 0 8px 8px;
        min-height: 390px;
    }

    .home-hero-copy {
        bottom: 74px;
        left: 42px;
    }

    .home-hero-copy h1 {
        font-size: clamp(2.4rem, 3.4vw, 3.3rem);
        max-width: 620px;
    }

    .home-title-desktop {
        display: inline;
    }

    .home-title-mobile {
        display: none;
    }

    .home-hero-copy p {
        font-size: 1rem;
    }

    .home-quick-nav {
        margin-top: 16px;
    }

    .home-quick-panel {
        gap: 1rem;
        padding: 0;
    }

    .home-quick-tile {
        align-items: center;
        box-shadow: none;
        flex-direction: row;
        gap: 0.9rem;
        justify-content: flex-start;
        min-height: 78px;
        padding: 1rem;
    }

    .home-quick-tile i {
        align-items: center;
        background: var(--home-mist);
        border-radius: 8px;
        display: inline-flex;
        flex: 0 0 44px;
        height: 44px;
        justify-content: center;
    }

    .home-quick-tile span {
        display: block;
        font-size: 0.86rem;
        text-align: left;
    }

    .home-service-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-service-body h3 {
        font-size: 0.98rem;
    }
}

@media (min-width: 1280px) {
    .home-concept-page .container,
    .home-concept-header .container {
        width: min(100% - 64px, 1180px);
    }
}

/* Services page concept pass */
.service-page {
    background: #f7f1ec;
    color: var(--mg-ink);
    padding-bottom: 82px;
}

.service-page header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 60;
}

.service-page header .navbar,
.service-page .mg-navbar-surface {
    background: #fff !important;
    border-bottom: 1px solid rgba(63, 36, 24, 0.1);
    min-height: 72px;
    padding-block: 0.65rem;
}

.service-page .navbar > .container {
    width: min(100% - 28px, 1180px);
}

.service-page .navbar-brand img {
    height: 30px;
    width: 30px;
}

.service-page .brand-name {
    color: #3f2418;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.service-page .navbar-toggler {
    background: #fff !important;
    border-radius: 0;
    box-shadow: none;
}

.service-page .banar {
    background: #f7f1ec;
    display: block;
    height: auto !important;
    min-height: auto;
    padding: 1.1rem 0 0.35rem;
}

.service-page .banar .container {
    width: min(100% - 28px, 1180px);
}

.service-page .banar .row {
    display: block;
    min-height: auto;
}

.service-page .banar .col:first-child {
    display: none;
}

.service-page .banar .col:last-child {
    max-width: none;
    width: 100%;
}

.service-page .banar .mg-eyebrow {
    color: #b87655;
    font-size: 0.72rem;
}

.service-page .banar h2 {
    color: #3f2418;
    font-size: clamp(1.45rem, 6vw, 2.2rem);
    line-height: 1.1;
    margin: 0.25rem 0 0;
}

.service-page .service-quick-nav {
    display: none;
    margin-top: 0;
    padding: 0.7rem 0 0;
}

.service-page .service-quick-nav .container,
.service-page .service-catalog .container {
    width: min(100% - 28px, 1180px);
}

.service-page .service-quick-panel {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
}

.service-page .service-quick-tile,
.service-page .service-quick-tile-wide {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 9px;
    box-shadow: 0 10px 28px rgba(63, 36, 24, 0.05);
    color: #3f2418;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    grid-column: auto;
    justify-content: center;
    min-height: 82px;
    padding: 0.7rem 0.45rem;
    text-align: center;
}

.service-page .service-quick-tile i {
    color: #3f2418;
    font-size: 1.05rem;
}

.service-page .service-quick-tile span {
    font-size: clamp(0.68rem, 2.8vw, 0.82rem);
    line-height: 1.15;
}

.service-page .service-catalog {
    background: #f7f1ec !important;
    padding: 1.8rem 0 2rem !important;
}

.service-page .catalog-topline {
    display: none;
}

.service-page .catalog-heading {
    align-items: flex-start;
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-page .catalog-heading h1 {
    color: #3f2418;
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.05;
    margin: 0.2rem 0 0.35rem;
}

.service-page .catalog-heading p {
    color: #697a75;
    font-size: 0.95rem;
    line-height: 1.55;
}

.service-page .catalog-controls,
.service-page .category-tabs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
}

.service-page .catalog-controls::-webkit-scrollbar,
.service-page .category-tabs::-webkit-scrollbar {
    display: none;
}

.service-page .catalog-control,
.service-page .category-tab {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 9px;
    color: #697a75;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 850;
    min-height: 42px;
    padding: 0.65rem 0.78rem;
    white-space: nowrap;
    width: auto !important;
}

.service-page .catalog-control {
    min-width: 154px;
}

.service-page .catalog-control.is-active,
.service-page .category-tab.is-active {
    background: #3f2418;
    border-color: #3f2418;
    color: #fff;
    transform: none;
}

.service-page .catalog-assurance {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: none;
    gap: 0.55rem;
    grid-template-columns: 1fr;
    margin: 0 0 0.9rem;
    padding: 0;
}

.service-page .catalog-assurance-item {
    background: #f0e6df;
    border: 1px solid rgba(63, 36, 24, 0.08);
    border-radius: 9px;
    color: #3f2418;
    font-size: 0.78rem;
    min-height: 48px;
    padding: 0.65rem 0.75rem;
}

.service-page .catalog-assurance-item i {
    background: #fff;
    color: #3f2418;
    flex-basis: 32px;
    height: 32px;
    width: 32px;
}

.service-page .catalog-state {
    color: #697a75;
    font-size: 0.82rem;
    margin-bottom: 0.85rem;
}

.service-page .service-catalog .service-list {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 1fr;
    margin: 0;
}

.service-page .service-card {
    border-radius: 0;
    padding: 0;
}

.service-page .facility-card {
    background: #fff;
    border: 1px solid rgba(63, 36, 24, 0.1) !important;
    border-radius: 9px !important;
    box-shadow: 0 12px 34px rgba(63, 36, 24, 0.06) !important;
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    min-height: 150px;
}

.service-page .facility-card:hover {
    transform: none;
}

.service-page .facility-media {
    align-self: stretch;
    margin: 0.65rem;
}

.service-page .facility-card .img {
    aspect-ratio: 1 / 1;
    border-radius: 7px;
    height: 100%;
    min-height: 116px;
}

.service-page .facility-card .img::after {
    display: none;
}

.service-page .facility-badge,
.service-page .tag-list,
.service-page .divider,
.service-page .facility-soft-label {
    display: none;
}

.service-page .facility-card .content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0.75rem 0.75rem 0.75rem 0;
}

.service-page .facility-meta-row {
    align-items: flex-start;
    display: block;
    margin-bottom: 0.2rem;
    order: 3;
}

.service-page .facility-card .title {
    color: #3f2418;
    font-size: 0.96rem;
    font-weight: 900;
    line-height: 1.18;
    margin: 0 0 0.24rem;
    order: 1;
}

.service-page .facility-card .description {
    color: #697a75;
    display: -webkit-box;
    font-size: 0.76rem;
    line-height: 1.35;
    margin: 0;
    order: 2;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.service-page .time-options {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.45rem;
    order: 4;
    overflow: hidden;
}

.service-page .time-option {
    background: #f0e6df;
    border: 0;
    border-radius: 7px;
    color: #3f2418;
    flex: 0 0 auto;
    font-size: 0.68rem;
    padding: 0.25rem 0.4rem;
}

.service-page .price-wrapper {
    display: flex;
    gap: 0.45rem;
    margin-top: 0.55rem;
}

.service-page .price-value {
    font-size: 0.9rem;
    font-weight: 950;
}

.service-page .facility-card .ui-button-primary {
    align-self: flex-end;
    background: #3f2418;
    border-radius: 7px !important;
    color: #fff;
    font-size: 0.76rem;
    margin-left: auto;
    margin-top: -2.2rem;
    min-height: 38px;
    order: 5;
    padding: 0.45rem 0.75rem;
    width: auto;
}

.service-sticky-booking {
    align-items: center;
    background: #3f2418;
    border-radius: 10px 10px 0 0;
    bottom: 0;
    box-shadow: 0 -16px 42px rgba(6, 63, 51, 0.22);
    color: #fff;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    left: 14px;
    min-height: 62px;
    padding: 0.78rem;
    position: fixed;
    right: 14px;
    text-decoration: none;
    z-index: 45;
}

.service-sticky-booking span {
    align-items: center;
    background: #b87655;
    border-radius: 8px;
    display: inline-flex;
    flex: 1;
    font-weight: 850;
    justify-content: center;
    min-height: 44px;
}

.service-sticky-booking i {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    width: 54px;
}

@media (min-width: 768px) {
    .service-page {
        padding-bottom: 0;
    }

    .service-page .service-catalog .service-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-page .catalog-assurance {
        display: grid;
    }

    .service-page .facility-card {
        display: flex;
        min-height: 100%;
    }

    .service-page .facility-media {
        margin: 0.85rem 0.85rem 0;
    }

    .service-page .facility-card .img {
        aspect-ratio: 16 / 10;
        min-height: 190px;
    }

    .service-page .facility-card .content {
        padding: 1rem;
    }

    .service-page .facility-badge,
    .service-page .tag-list,
    .service-page .facility-soft-label {
        display: inline-flex;
    }

    .service-page .divider {
        display: block;
    }

    .service-page .facility-meta-row {
        align-items: center;
        display: flex;
        margin-bottom: 0.8rem;
        order: 1;
    }

    .service-page .facility-card .title {
        font-size: 1.05rem;
        order: 2;
    }

    .service-page .facility-card .description {
        font-size: 0.9rem;
        order: 3;
        -webkit-line-clamp: 3;
    }

    .service-page .time-options {
        margin-top: 0.75rem;
        order: 4;
    }

    .service-page .facility-card .ui-button-primary {
        align-self: stretch;
        margin: auto 0 0;
        min-height: 44px;
        order: 8;
        width: 100%;
    }

    .service-sticky-booking {
        display: none;
    }
}

@media (min-width: 992px) {
    .service-page header {
        position: sticky;
    }

    .service-page header .navbar,
    .service-page .mg-navbar-surface {
        min-height: 74px;
        padding-block: 0.75rem;
    }

    .service-page .navbar-brand img {
        height: 44px;
        width: 44px;
    }

    .service-page .brand-name {
        font-size: 1rem;
    }

    .service-page .banar {
        padding: 1.8rem 0 0.8rem;
    }

    .service-page .banar h2 {
        font-size: 2.2rem;
    }

    .service-page .service-quick-nav {
        display: block;
        padding-top: 1rem;
    }

    .service-page .service-quick-panel {
        gap: 1rem;
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .service-page .service-quick-tile {
        align-items: center;
        flex-direction: row;
        gap: 0.85rem;
        justify-content: flex-start;
        min-height: 76px;
        padding: 0.95rem;
        text-align: left;
    }

    .service-page .service-quick-tile i {
        align-items: center;
        background: #f0e6df;
        border-radius: 8px;
        display: inline-flex;
        flex: 0 0 42px;
        height: 42px;
        justify-content: center;
    }

    .service-page .service-catalog {
        padding-top: 2.5rem !important;
    }

    .service-page .catalog-heading {
        align-items: end;
        display: flex;
        justify-content: space-between;
    }

    .service-page .catalog-assurance {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .service-page .service-catalog .service-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.1rem;
    }
}

/* Profile page concept pass */
.profile-page {
    background: #f7f1ec;
    padding-bottom: 76px;
}

.profile-page header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
}

.profile-page .mg-navbar-surface {
    background: #fff;
    border-bottom: 1px solid rgba(63, 36, 24, 0.1);
    min-height: 72px;
    padding-block: 0.56rem;
}

.profile-page .navbar-brand img {
    height: 34px;
    width: 34px;
}

.profile-page .brand-name {
    color: #3f2418;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.profile-page .navbar-nav .nav-item:nth-child(2) .nav-link {
    background: transparent;
    color: #5b463b !important;
}

.profile-page .navbar-nav .nav-item:nth-child(2) .nav-link::before {
    content: none;
    margin: 0;
}

.profile-page .user-profile .user-icon {
    background: rgba(184, 118, 85, 0.1);
    color: #8f4a35 !important;
}

.profile-page .profile-intro {
    background:
        radial-gradient(circle at 88% 12%, rgba(184, 118, 85, 0.14), transparent 28%),
        linear-gradient(180deg, #fff 0%, #f4f8f5 100%);
    border-bottom: 1px solid rgba(63, 36, 24, 0.08);
    margin-bottom: 0;
    padding: 1.55rem 0 1.2rem;
}

.profile-page .profile-intro .col-lg-8 {
    display: none;
}

.profile-page .profile-intro .mg-eyebrow {
    color: #b87655;
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.16em;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.profile-page .profile-intro h1 {
    color: #3f2418;
    font-size: clamp(2.15rem, 11vw, 4.4rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 0.94;
    margin-bottom: 0.75rem;
}

.profile-page .profile-intro p {
    color: #6f5b50;
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0;
    max-width: 42rem;
}

.profile-client-card {
    background: #3f2418;
    border-radius: 10px;
    box-shadow: 0 22px 48px rgba(63, 36, 24, 0.22);
    color: #fff;
    display: grid;
    gap: 0.8rem;
    padding: 0.9rem;
}

.profile-client-main {
    align-items: center;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 54px minmax(0, 1fr);
}

.profile-client-avatar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    height: 54px;
    overflow: hidden;
    width: 54px;
}

.profile-client-avatar img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.profile-client-main span,
.profile-client-stats span,
.profile-referral-kicker {
    color: rgba(255, 255, 255, 0.64);
    display: block;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.profile-client-main strong {
    color: #fff;
    display: block;
    font-size: 1.05rem;
    font-weight: 950;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-client-main small {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    font-size: 0.78rem;
    margin-top: 0.12rem;
}

.profile-client-stats {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-client-stats > div {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.7rem;
}

.profile-client-stats strong {
    color: #fff;
    display: block;
    font-size: 1.3rem;
    font-weight: 950;
    line-height: 1;
    margin-top: 0.28rem;
}

.profile-client-card .ui-button-primary {
    background: #b87655;
    border-radius: 8px !important;
    box-shadow: none;
    color: #fff;
    justify-content: center;
    min-height: 44px;
    width: 100%;
}

@media (max-width: 767.98px) {
    .profile-client-card .ui-button-primary {
        display: none;
    }
}

.profile-shell {
    padding: 1rem 0 2rem;
}

.profile-shell .section {
    padding: 0 !important;
}

.profile-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 !important;
}

.profile-panel > .row {
    --bs-gutter-x: 0;
    gap: 0.85rem;
}

.profile-panel > .row > [class*="col-"] {
    padding-inline: 0;
}

.profile-menu {
    background: transparent;
    border: 0;
    box-shadow: none;
    margin: 0 !important;
    padding: 0;
}

.profile-menu .account-menu-list {
    background: #fff;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 10px;
    display: flex;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    gap: 0.45rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.45rem;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.profile-menu .account-menu-list::-webkit-scrollbar {
    display: none;
}

.profile-menu .account-menu-list li {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.profile-menu .profile-logout-form {
    margin: 0;
}

.profile-menu .nav-link,
.profile-logout {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #6f5b50;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 900;
    gap: 0.45rem;
    min-height: 42px;
    min-width: max-content;
    padding: 0.68rem 0.8rem;
    text-decoration: none;
    white-space: nowrap;
}

.profile-menu .nav-link.active,
.profile-menu .nav-link:hover {
    background: #3f2418;
    color: #fff;
}

.profile-logout {
    color: #b87655;
}

.profile-card,
.profile-card-inner {
    background: #fff;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 10px;
    box-shadow: 0 18px 44px rgba(63, 36, 24, 0.08);
    padding: 1rem !important;
}

.profile-page .account-title,
.profile-page .header-title {
    color: #3f2418;
    font-size: 1.28rem;
    font-weight: 950;
    letter-spacing: 0;
    margin-bottom: 1rem !important;
}

.profile-appointment-cards,
.profile-completed-cards {
    display: grid;
    gap: 0.75rem;
}

.profile-appointment-card {
    align-items: center;
    background: #fbf7f4;
    border: 1px solid rgba(63, 36, 24, 0.09);
    border-radius: 10px;
    box-shadow: none;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 76px minmax(0, 1fr) 18px;
    min-height: 104px;
    padding: 0.75rem;
}

.profile-appointment-media {
    align-items: center;
    background: #eadbd1;
    border-radius: 8px;
    color: #fff;
    display: flex;
    height: 76px;
    justify-content: center;
    overflow: hidden;
    position: relative;
    width: 76px;
}

.profile-appointment-media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.profile-appointment-media span {
    background: rgba(63, 36, 24, 0.9);
    border-radius: 6px;
    bottom: 0.35rem;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 900;
    left: 0.35rem;
    letter-spacing: 0;
    padding: 0.22rem 0.32rem;
    position: absolute;
    text-transform: uppercase;
}

.profile-appointment-main {
    min-width: 0;
}

.profile-appointment-card-head {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.profile-appointment-index {
    color: #7a8983;
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.profile-appointment-card h5,
.profile-completed-card h5 {
    color: #3f2418;
    font-size: 0.88rem;
    font-weight: 950;
    line-height: 1.18;
    margin: 0;
}

.profile-appointment-card dl {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.7rem;
    margin: 0.45rem 0 0;
}

.profile-appointment-card dl > div {
    display: grid;
    gap: 0.04rem;
    min-width: 0;
}

.profile-appointment-card dt {
    color: #7a8983;
    font-size: 0.66rem;
    font-weight: 900;
    line-height: 1.1;
}

.profile-appointment-card dd {
    color: #34463f;
    font-size: 0.76rem;
    font-weight: 850;
    line-height: 1.2;
    margin: 0;
}

.profile-card-chevron {
    color: #b87655;
    font-size: 1.25rem;
    justify-self: end;
}

.profile-status-badge {
    border-radius: 7px;
    font-size: 0.64rem;
    letter-spacing: 0;
    padding: 0.35rem 0.45rem;
    white-space: nowrap;
}

.profile-empty-card {
    background: #fbf7f4;
    border: 1px solid rgba(63, 36, 24, 0.09);
    border-radius: 10px;
    box-shadow: none;
    padding: 1rem;
}

.profile-page .loyalty-card {
    background: #3f2418 !important;
    border-radius: 10px;
    box-shadow: 0 20px 48px rgba(63, 36, 24, 0.16);
    min-height: 176px;
    padding: 1rem;
}

.profile-page .loyalty-card.bronze,
.profile-page .loyalty-card.silver,
.profile-page .loyalty-card.gold {
    background: #3f2418 !important;
}

.profile-page .loyalty-card .fs-2 {
    color: #fff;
    font-size: 2rem !important;
    line-height: 1;
}

.profile-page .loyalty-card p,
.profile-page .loyalty-card .loyalty-level,
.profile-page .loyalty-card-footer {
    color: rgba(255, 255, 255, 0.78) !important;
}

.profile-page .loyalty-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    flex-direction: column;
    gap: 0.2rem;
    padding-top: 0.85rem;
}

.profile-referral-card {
    align-items: flex-start;
    background: #fbf7f4;
    border: 1px solid rgba(63, 36, 24, 0.09);
    border-radius: 10px;
    display: grid;
    gap: 0.8rem;
    margin: 0.85rem 0;
    padding: 1rem;
}

.profile-referral-kicker {
    color: #b87655;
    margin-bottom: 0.3rem;
}

.profile-referral-card h5 {
    color: #3f2418;
    font-size: 1.02rem;
    font-weight: 950;
    line-height: 1.18;
    margin: 0 0 0.4rem;
}

.profile-referral-card p {
    color: #6f5b50;
    font-size: 0.84rem;
    line-height: 1.45;
    margin: 0;
}

.profile-referral-card .ui-button-secondary {
    border-radius: 8px !important;
    justify-content: center;
    min-height: 42px;
    width: 100%;
}

.profile-completed-card {
    align-items: center;
    background: #fbf7f4;
    border: 1px solid rgba(63, 36, 24, 0.09);
    border-radius: 10px;
    box-shadow: none;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 0.85rem;
}

.profile-completed-points {
    color: #3f2418;
    flex: 0 0 auto;
    font-size: 0.84rem;
    font-weight: 950;
    text-align: right;
}

.profile-page .account-table,
.profile-page .profile-card-inner .table-responsive {
    display: none;
}

.profile-page .account-address {
    background: #fbf7f4;
    border: 1px solid rgba(63, 36, 24, 0.09);
    border-radius: 10px;
    box-shadow: none;
    height: 100%;
}

.profile-page .account-address .card-body {
    padding: 1rem;
}

.profile-page .name {
    color: #3f2418;
    font-size: 1.02rem;
    font-weight: 950;
}

.profile-map-frame {
    border-radius: 8px;
    overflow: hidden;
}

.profile-page .input-medigrace {
    border-radius: 8px;
    min-height: 48px;
}

.profile-page .text-end {
    text-align: left !important;
}

.profile-page .btn-medigrace {
    background: #3f2418;
    border-radius: 8px;
    min-height: 46px;
    width: 100%;
}

.profile-page .medigrace-accordion .accordion-item {
    border-radius: 10px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .profile-page {
        padding-bottom: 0;
    }

    .profile-page .profile-intro {
        padding: 2rem 0 1.55rem;
    }

    .profile-page .profile-intro .col-lg-8 {
        display: block;
    }

    .profile-shell {
        padding: 1.5rem 0 2.8rem;
    }

    .profile-page .account-table,
    .profile-page .profile-card-inner .table-responsive {
        display: block;
    }

    .profile-appointment-cards,
    .profile-completed-cards {
        display: none;
    }

    .profile-page .loyalty-card-footer {
        flex-direction: row;
    }

    .profile-referral-card {
        align-items: center;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .profile-referral-card .ui-button-secondary {
        width: auto;
    }
}

@media (min-width: 992px) {
    .profile-page header {
        position: sticky;
    }

    .profile-page .mg-navbar-surface {
        min-height: 74px;
        padding-block: 0.72rem;
    }

    .profile-page .profile-intro {
        padding: 2.6rem 0 2rem;
    }

    .profile-page .profile-intro h1 {
        max-width: 650px;
    }

    .profile-panel > .row {
        --bs-gutter-x: 1.1rem;
        align-items: flex-start;
        display: flex;
        gap: 0;
    }

    .profile-panel > .row > [class*="col-"] {
        padding-inline: calc(var(--bs-gutter-x) * 0.5);
    }

    .profile-menu {
        background: #fff;
        border: 1px solid rgba(63, 36, 24, 0.1);
        border-radius: 10px;
        box-shadow: 0 18px 44px rgba(63, 36, 24, 0.08);
        padding: 0.55rem;
        position: sticky;
        top: 138px;
    }

    .profile-menu .account-menu-list {
        background: transparent;
        border: 0;
        border-radius: 0;
        flex-direction: column !important;
        overflow: visible;
        padding: 0;
    }

    .profile-menu .account-menu-list li,
    .profile-menu .nav-link,
    .profile-logout {
        width: 100%;
    }

    .profile-menu .nav-link,
    .profile-logout {
        justify-content: flex-start;
        padding-inline: 0.85rem;
    }

    .profile-card,
    .profile-card-inner {
        padding: 1.25rem !important;
    }

    .profile-page .btn-medigrace {
        width: auto;
    }
}

/* Final concept overrides: keep rebuilt public pages ahead of legacy layers. */
.service-page .catalog-controls {
    display: none !important;
}

/* Unified concept header and footer */
.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 80;
}

.site-topbar {
    display: none;
}

.site-navbar,
.site-header .mg-navbar-surface {
    background: #fff !important;
    border-bottom: 1px solid rgba(63, 36, 24, 0.1);
    min-height: 72px;
    padding-block: 0.55rem;
}

.site-navbar > .container {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    min-height: 72px;
    position: relative;
}

.site-brand {
    align-items: center;
    display: inline-flex;
    gap: 0.42rem;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    min-width: 0;
    text-decoration: none;
}

.site-brand img {
    height: 30px;
    margin: 0 !important;
    width: 30px;
}

.site-brand .brand-name {
    color: #3f2418;
    font-size: 0.88rem;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-header .navbar-toggler {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(63, 36, 24, 0.14);
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(63, 36, 24, 0.08);
    display: inline-flex;
    grid-column: 1;
    height: 44px;
    justify-content: center;
    padding: 0;
    width: 44px;
}

.site-mobile-phone {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(63, 36, 24, 0.14);
    border-radius: 10px;
    color: #3f2418;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    text-decoration: none;
    width: 44px;
}

.site-header .navbar-collapse {
    background: #fff;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 10px;
    box-shadow: 0 18px 44px rgba(63, 36, 24, 0.1);
    grid-column: 1 / -1;
    margin-top: 0.75rem;
    padding: 0.65rem;
}

.site-header .navbar-nav {
    gap: 0.24rem;
}

.site-header .navbar-nav .nav-link,
.site-header .user-icon {
    align-items: center;
    background: transparent !important;
    border-radius: 999px;
    color: #5b463b !important;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 850;
    gap: 0.35rem;
    justify-content: center;
    min-height: 42px;
    padding: 0.62rem 0.9rem !important;
    text-decoration: none;
}

.site-header .navbar-nav .nav-item:nth-child(2) .nav-link {
    background: transparent !important;
    color: #5b463b !important;
}

.site-header .navbar-nav .nav-item:nth-child(2) .nav-link::before {
    content: none !important;
    margin: 0 !important;
}

.site-header .navbar-nav .nav-link.active,
.site-header .navbar-nav .nav-link:hover {
    background: #3f2418 !important;
    color: #fff !important;
}

.site-header .user-profile {
    display: none !important;
}

.site-header .user-icon.active,
.site-header .user-profile .user-icon.active,
.site-header .user-profile .user-icon:hover {
    background: rgba(184, 118, 85, 0.1) !important;
    color: #8f4a35 !important;
}

.site-footer {
    background: #2b1710;
    color: rgba(255, 255, 255, 0.78);
    padding: 1.35rem 0 1.1rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer-brand {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    padding-bottom: 1.1rem;
}

.site-footer-brand img {
    filter: brightness(0) invert(1);
    height: 42px;
    width: 42px;
}

.site-footer-brand strong {
    color: #fff;
    display: block;
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-footer-brand span {
    display: block;
    font-size: 0.76rem;
}

.site-footer-grid {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    gap: 1.25rem;
    padding-top: 1.15rem;
}

.site-footer-grid h2 {
    color: #fff;
    font-size: 0.84rem;
    font-weight: 950;
    margin: 0 0 0.7rem;
}

.site-footer-grid a,
.site-footer-grid span {
    display: block;
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 0.42rem;
}

.site-footer-whatsapp {
    color: #fff !important;
    font-weight: 900;
}

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    gap: 0.45rem;
    font-size: 0.76rem;
    margin-top: 1.25rem;
    padding-top: 0.95rem;
}

@media (min-width: 768px) {
    .site-footer {
        padding: 2rem 0 1.35rem;
    }

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

    .site-footer-bottom {
        align-items: center;
        display: flex;
        justify-content: space-between;
    }
}

body .site-footer {
    clear: both;
    margin: 0 !important;
}

body .site-footer,
body .site-footer .container,
body .site-footer-bottom {
    margin-bottom: 0 !important;
}

body.service-page {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    padding-bottom: 0 !important;
}

body.service-page > .site-header,
body.service-page > .banar,
body.service-page > .service-quick-nav,
body.service-page > .services,
body.service-page > .site-footer {
    flex: 0 0 auto;
}

body.service-page > .services {
    flex-grow: 1;
}

body.service-page .site-footer {
    margin-bottom: 0 !important;
}

body.service-page .site-footer + .offcanvas {
    margin-top: 0 !important;
}

@media (min-width: 992px) {
    .site-topbar {
        background: #2b1710;
        color: rgba(255, 255, 255, 0.82);
        display: block;
        font-size: 0.76rem;
    }

    .site-topbar .container {
        align-items: center;
        display: flex;
        gap: 1.7rem;
        min-height: 42px;
    }

    .site-topbar a {
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
    }

    .site-topbar span:nth-child(2) {
        margin-left: auto;
    }

    .site-topbar-cta {
        align-items: center;
        background: #b87655;
        border-radius: 7px;
        color: #fff !important;
        display: inline-flex;
        font-weight: 900;
        justify-content: center;
        min-height: 30px;
        padding: 0.35rem 0.8rem;
    }

    .site-navbar,
    .site-header .mg-navbar-surface {
        min-height: 72px;
        padding-block: 0.7rem;
    }

    .site-navbar > .container {
        display: flex;
        gap: 1.2rem;
    }

    .site-brand {
        left: auto;
        position: static;
        top: auto;
        transform: none;
    }

    .site-brand img {
        height: 34px;
        width: 34px;
    }

    .site-header .navbar-toggler,
    .site-mobile-phone {
        display: none;
    }

    .site-header .navbar-collapse {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        display: flex !important;
        flex-basis: auto;
        margin: 0;
        padding: 0;
    }

    .site-header .navbar-nav {
        align-items: center;
        gap: 0.35rem;
    }

    .site-header .navbar-nav .nav-link,
    .site-header .user-icon {
        min-height: 40px;
        padding: 0.55rem 0.9rem !important;
    }

    .site-header .user-profile {
        display: flex !important;
        margin-left: auto;
    }

    .site-header .user-profile .user-icon {
        background: rgba(184, 118, 85, 0.1) !important;
        color: #8f4a35 !important;
    }

    .site-footer {
        padding: 2.4rem 0 1.35rem;
    }

    .site-footer .container {
        display: grid;
        gap: 1.5rem;
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .site-footer-brand {
        align-items: flex-start;
        border: 0;
        padding: 0;
    }

    .site-footer-grid {
        border-top: 0;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding-top: 0;
    }

    .site-footer-bottom {
        grid-column: 1 / -1;
        margin-top: 0.35rem;
    }
}

/* Chocolate concept polish for shared public pages */
body {
    background:
        linear-gradient(180deg, #fffaf7 0%, #fbf7f4 42%, #f4ebe4 100%) !important;
}

.mg-eyebrow {
    color: #8f4a35 !important;
}

.ui-button-primary,
.mg-link-button-primary {
    background: #3f2418 !important;
    border-color: #3f2418 !important;
    color: #fff !important;
}

.ui-button-secondary,
.mg-link-button-secondary {
    background: #fffaf7 !important;
    border: 1px solid rgba(63, 36, 24, 0.16) !important;
    color: #3f2418 !important;
}

.home-concept-page {
    --home-green: #3f2418;
    --home-green-deep: #2b1710;
    --home-mint: #f3e9e2;
    --home-paper: #fffaf7;
    --home-line: rgba(63, 36, 24, 0.12);
    --home-rose: #b87655;
    --home-rose-dark: #8f4a35;
}

.home-concept-page .quick-card,
.home-concept-page .home-service-card,
.home-concept-page .home-specialist-card,
.home-concept-page .home-promo-card,
.home-concept-page .home-gift-card,
.home-concept-page .home-loyalty-card {
    border-color: rgba(63, 36, 24, 0.1) !important;
    box-shadow: 0 16px 42px rgba(63, 36, 24, 0.08) !important;
}

.about-concept-hero {
    background: #fffaf7;
    padding: clamp(1.1rem, 4vw, 2rem) 0 clamp(2rem, 7vw, 4.5rem) !important;
}

.about-hero-frame {
    background: #2b1710;
    border-radius: 10px;
    min-height: min(72vh, 620px);
    overflow: hidden;
    position: relative;
}

.about-hero-frame img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    opacity: 0.7;
    position: absolute;
    width: 100%;
}

.about-hero-frame::after {
    background: linear-gradient(180deg, rgba(43, 23, 16, 0.18), rgba(43, 23, 16, 0.72));
    content: "";
    inset: 0;
    position: absolute;
}

.about-hero-copy {
    color: #fff;
    max-width: 620px;
    padding: clamp(2rem, 10vw, 6rem) clamp(1.2rem, 6vw, 4.5rem);
    position: relative;
    z-index: 1;
}

.about-hero-copy h1 {
    color: #fff !important;
    font-size: clamp(2.15rem, 13vw, 5.6rem);
    font-weight: 450;
    line-height: 0.98;
    margin: 0.5rem 0 0.85rem;
}

.about-hero-copy p {
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 3.5vw, 1.25rem);
    line-height: 1.55;
    margin: 0;
}

.about-concept-values,
.gallery-concept-grid {
    background: #fbf7f4;
    padding-block: clamp(2.4rem, 8vw, 5.5rem) !important;
}

.about-concept-head {
    margin-bottom: clamp(1.35rem, 5vw, 2.4rem);
    max-width: 760px;
}

.about-concept-head h2,
.gallery-concept-intro h1 {
    color: #2a1a14 !important;
    font-size: clamp(2rem, 9vw, 4.8rem);
    font-weight: 450;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.about-concept-head p,
.gallery-concept-intro p {
    color: #6f5b50;
    font-size: clamp(0.98rem, 2.6vw, 1.15rem);
    line-height: 1.65;
}

.about-value-list {
    display: grid;
    gap: 0.8rem;
}

.about-value-row {
    align-items: flex-start;
    background: #fffaf7;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 10px;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 1rem;
}

.about-value-row i {
    align-items: center;
    background: #f1e5dc;
    border-radius: 10px;
    color: #8f4a35;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.about-value-row h3 {
    color: #2a1a14 !important;
    font-size: 1rem;
    font-weight: 900;
    margin: 0 0 0.24rem;
}

.about-value-row p {
    color: #6f5b50;
    margin: 0;
}

.about-concept-team {
    background: #fffaf7;
    padding-block: clamp(2.6rem, 8vw, 5.5rem) !important;
}

.about-team-row {
    display: grid;
    gap: 1rem;
}

.about-team-row > [class*="col-"] {
    width: 100%;
}

.about-page .mg-person-card,
.gallery-photo-tile {
    background: #fffaf7 !important;
    border: 1px solid rgba(63, 36, 24, 0.1) !important;
    border-radius: 10px !important;
    box-shadow: 0 16px 42px rgba(63, 36, 24, 0.07) !important;
    overflow: hidden;
}

.about-page .mg-person-card .mg-card-image,
.gallery-photo-tile .mg-card-image {
    aspect-ratio: 4 / 5;
    filter: saturate(0.92) sepia(0.12);
    height: auto !important;
    object-fit: cover;
    width: 100%;
}

.about-page .mg-card-body,
.gallery-photo-tile .mg-card-body {
    padding: 1rem !important;
}

.gallery-concept-intro {
    background: #fffaf7;
    padding-block: clamp(2rem, 8vw, 5rem) clamp(1.6rem, 6vw, 3.2rem) !important;
}

.gallery-concept-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
    margin-top: 1.2rem;
}

.gallery-concept-chips span {
    background: #f1e5dc;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 999px;
    color: #3f2418;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 850;
    padding: 0.5rem 0.75rem;
}

.gallery-photo-grid {
    display: grid;
    gap: 0.9rem;
}

.gallery-photo-tile h3 {
    color: #2a1a14 !important;
    font-size: 1rem !important;
    font-weight: 900;
    margin: 0;
}

@media (min-width: 768px) {
    .about-value-list,
    .about-team-row,
    .gallery-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-value-row {
        padding: 1.15rem;
    }
}

@media (min-width: 1024px) {
    .about-concept-values .container {
        display: grid;
        gap: clamp(2rem, 6vw, 5rem);
        grid-template-columns: 0.82fr 1.18fr;
    }

    .about-team-row,
    .gallery-photo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gallery-concept-chips {
        justify-content: flex-end;
        margin-top: 0;
    }
}

/* Stable shell and bottom mobile navigation */
body {
    padding-bottom: calc(86px + env(safe-area-inset-bottom)) !important;
}

body .site-header {
    background: #fffaf7 !important;
    box-shadow: 0 8px 24px rgba(63, 36, 24, 0.05);
    height: 72px;
    min-height: 72px;
    position: sticky !important;
    top: 0;
    z-index: 1000;
}

body .site-header .site-topbar {
    display: none !important;
}

body .site-header .site-navbar,
body.reference-page .site-header .site-navbar,
body.service-page .site-header .site-navbar,
body.profile-page .site-header .site-navbar,
body .site-header .mg-navbar-surface,
body.reference-page .site-header .mg-navbar-surface,
body.service-page .site-header .mg-navbar-surface,
body.profile-page .site-header .mg-navbar-surface {
    background: #fffaf7 !important;
    border-bottom: 1px solid rgba(63, 36, 24, 0.1) !important;
    box-shadow: none !important;
    height: 72px !important;
    min-height: 72px !important;
    padding: 0 !important;
    position: relative !important;
}

body .site-header .site-navbar > .container {
    align-items: center;
    display: flex !important;
    justify-content: flex-end;
    height: 72px;
    min-height: 72px;
    position: relative;
    width: min(100% - 28px, 1180px) !important;
}

body .site-header .site-brand {
    left: 50%;
    margin: 0 !important;
    max-width: 100%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

body .site-header .site-brand img,
body.service-page .site-header .navbar-brand img,
body.profile-page .site-header .navbar-brand img {
    flex: 0 0 30px;
    height: 30px !important;
    width: 30px !important;
}

body .site-header .site-brand .brand-name,
body.service-page .site-header .brand-name,
body.profile-page .site-header .brand-name {
    color: #3f2418 !important;
    font-size: 0.86rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.055em !important;
    line-height: 1 !important;
    text-transform: none;
    white-space: nowrap;
}

body .site-header .site-mobile-phone {
    border-radius: 10px !important;
    height: 44px !important;
    margin: 0 !important;
    min-height: 44px !important;
    position: relative;
    width: 44px !important;
    z-index: 2;
}

body .site-header .navbar-collapse {
    background: #fffaf7 !important;
    border: 1px solid rgba(63, 36, 24, 0.12) !important;
    border-radius: 10px !important;
    box-shadow: 0 18px 44px rgba(63, 36, 24, 0.14) !important;
    grid-column: 1 / -1;
    left: 0;
    margin: 0 !important;
    padding: 0.65rem !important;
    position: absolute;
    right: 0;
    top: calc(100% + 0.55rem);
}

body .site-header .navbar-collapse,
body .site-header .navbar-collapse:not(.show),
body .site-header .navbar-collapse.show,
body .site-header .navbar-collapse.collapsing {
    display: none !important;
}

.site-mobile-tabbar {
    align-items: center;
    background: rgba(255, 250, 247, 0.94);
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 18px 18px 0 0;
    bottom: 0;
    box-shadow: 0 -14px 34px rgba(63, 36, 24, 0.12);
    display: grid;
    gap: 0.15rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    left: 0;
    min-height: calc(72px + env(safe-area-inset-bottom));
    padding: 0.45rem 0.45rem calc(0.45rem + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    z-index: 1001;
}

.site-tabbar-link {
    align-items: center;
    border-radius: 10px;
    color: #6f5b50;
    display: inline-flex;
    flex-direction: column;
    font-size: 0.68rem;
    font-weight: 850;
    gap: 0.18rem;
    justify-content: center;
    line-height: 1.05;
    min-height: 56px;
    padding: 0.35rem 0.18rem;
    text-align: center;
    text-decoration: none;
}

.site-tabbar-link i {
    align-items: center;
    display: inline-flex;
    font-size: 1.1rem;
    height: 22px;
    justify-content: center;
    line-height: 1;
}

.site-tabbar-link span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-tabbar-link.active,
.site-tabbar-link:hover {
    background: #f1e5dc;
    color: #3f2418;
}

.site-tabbar-link-primary {
    color: #3f2418;
}

.site-tabbar-link-primary i {
    background: #3f2418;
    border-radius: 999px;
    color: #fff;
    height: 34px;
    margin-top: -0.28rem;
    width: 34px;
}

.site-tabbar-link-primary.active i,
.site-tabbar-link-primary:hover i {
    background: #8f4a35;
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0 !important;
    }

    body .site-header {
        height: 114px;
        min-height: 114px;
    }

    body .site-header .site-topbar {
        display: block !important;
        height: 42px;
        min-height: 42px;
    }

    body .site-header .site-navbar,
    body.reference-page .site-header .site-navbar,
    body.service-page .site-header .site-navbar,
    body.profile-page .site-header .site-navbar,
    body .site-header .mg-navbar-surface,
    body.reference-page .site-header .mg-navbar-surface,
    body.service-page .site-header .mg-navbar-surface,
    body.profile-page .site-header .mg-navbar-surface {
        height: 72px !important;
        min-height: 72px !important;
    }

    body .site-header .site-navbar > .container {
        display: flex !important;
        height: 72px;
        justify-content: flex-start;
        min-height: 72px;
    }

    body .site-header .site-brand {
        left: auto;
        position: static;
        top: auto;
        transform: none;
    }

    body .site-header .site-brand img,
    body.service-page .site-header .navbar-brand img,
    body.profile-page .site-header .navbar-brand img {
        flex-basis: 34px;
        height: 34px !important;
        width: 34px !important;
    }

    body .site-header .site-brand .brand-name,
    body.service-page .site-header .brand-name,
    body.profile-page .site-header .brand-name {
        font-size: 0.9rem !important;
    }

    body .site-header .navbar-collapse,
    body .site-header .navbar-collapse:not(.show) {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        display: flex !important;
        margin: 0 !important;
        padding: 0 !important;
        position: static;
    }

    .site-mobile-tabbar {
        display: none;
    }
}

/* Booking drawer UX */
body .booking-panel.offcanvas,
body .booking-panel.offcanvas.offcanvas-end {
    background: #fffaf7 !important;
    border: 1px solid rgba(63, 36, 24, 0.1) !important;
    border-radius: 22px 22px 0 0 !important;
    bottom: 0 !important;
    box-shadow: 0 -22px 60px rgba(43, 23, 16, 0.26) !important;
    height: min(88svh, 760px) !important;
    left: 0 !important;
    max-width: 100vw !important;
    overflow: hidden;
    right: 0 !important;
    top: auto !important;
    transform: translateY(100%) !important;
    width: 100vw !important;
}

body .booking-panel.offcanvas.show,
body .booking-panel.offcanvas.showing {
    transform: translateY(0) !important;
}

.booking-panel .offcanvas-header {
    align-items: flex-start;
    background: rgba(255, 250, 247, 0.96) !important;
    border-bottom: 1px solid rgba(63, 36, 24, 0.1) !important;
    display: grid;
    gap: 0.7rem;
    grid-template-columns: minmax(0, 1fr) 40px;
    padding: 0.85rem 1rem 0.95rem !important;
    position: sticky;
    top: 0;
    z-index: 2;
}

.booking-drawer-handle {
    background: rgba(63, 36, 24, 0.22);
    border-radius: 999px;
    display: block;
    grid-column: 1 / -1;
    height: 4px;
    justify-self: center;
    width: 44px;
}

.booking-header-copy p {
    color: #6f5b50;
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1.45;
    margin: 0.35rem 0 0;
}

.booking-panel .offcanvas-title {
    color: #2a1a14 !important;
    font-size: clamp(1.25rem, 5vw, 1.7rem) !important;
    font-weight: 900 !important;
}

.booking-panel .btn-close {
    background-color: #f1e5dc;
    border-radius: 10px;
    margin: 0 !important;
    opacity: 1;
    padding: 0.75rem !important;
}

.booking-panel .offcanvas-body {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    overflow-y: auto;
    padding: 0.95rem 1rem calc(1rem + env(safe-area-inset-bottom)) !important;
}

.booking-progress {
    background: #f1e5dc;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 10px;
    display: grid;
    gap: 0.25rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0.25rem;
}

.booking-progress-item {
    align-items: center;
    border-radius: 8px;
    color: #6f5b50;
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 900;
    justify-content: center;
    min-height: 34px;
    text-align: center;
}

.booking-progress-item.is-active {
    background: #3f2418;
    color: #fff;
}

.booking-progress-item.is-complete {
    color: #3f2418;
}

.booking-current-card {
    background: linear-gradient(135deg, #3f2418, #2b1710);
    border-radius: 10px;
    box-shadow: 0 16px 38px rgba(63, 36, 24, 0.16);
    color: #fff;
    display: grid;
    gap: 0.65rem;
    padding: 0.95rem;
}

.booking-current-card span {
    color: rgba(255, 255, 255, 0.62);
    display: block;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 0.16rem;
    text-transform: uppercase;
}

.booking-current-card strong {
    color: #fff;
    display: block;
    font-size: 0.88rem;
    line-height: 1.3;
}

.booking-step-title {
    color: #2a1a14 !important;
    font-size: 1.15rem !important;
    font-weight: 950 !important;
    margin: 0 0 0.35rem !important;
}

.booking-step-copy {
    color: #6f5b50;
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.5;
    margin: 0 0 0.9rem;
}

.booking-studio-grid,
.booking-panel #serviceList {
    display: grid;
    gap: 0.7rem;
}

.booking-studio-card,
.booking-service-card {
    background: #fff !important;
    border: 1px solid rgba(63, 36, 24, 0.1) !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 28px rgba(63, 36, 24, 0.06) !important;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 118px;
    overflow: hidden;
}

.booking-service-card {
    display: block;
}

.booking-studio-card:hover,
.booking-service-card:hover {
    border-color: rgba(184, 118, 85, 0.32) !important;
    box-shadow: 0 16px 34px rgba(63, 36, 24, 0.1) !important;
    transform: none !important;
}

.booking-studio-media {
    aspect-ratio: auto !important;
    height: 100%;
    min-height: 118px;
}

.booking-studio-media img {
    filter: saturate(0.92) sepia(0.12);
}

.booking-studio-body,
.booking-service-body {
    align-content: center;
    display: grid;
    padding: 0.85rem !important;
}

.booking-studio-title,
.booking-service-title {
    color: #2a1a14 !important;
    font-size: 0.98rem !important;
    font-weight: 950 !important;
}

.booking-studio-address,
.booking-service-copy {
    color: #6f5b50 !important;
    display: -webkit-box;
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.65rem !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.booking-studio-card .ui-button-success,
.booking-service-card .ui-button-success {
    border-radius: 8px !important;
    min-height: 40px;
    width: 100%;
}

.booking-duration-section {
    background: #fff;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 10px;
    margin-bottom: 0.85rem;
    padding: 0.75rem;
}

.booking-duration-section > span {
    color: #6f5b50;
    display: block;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.booking-duration-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.booking-duration-chip {
    background: #f7f1ec;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 999px;
    color: #3f2418;
    font-size: 0.82rem;
    font-weight: 900;
    min-height: 38px;
    padding: 0.45rem 0.75rem;
}

.booking-duration-chip.is-active {
    background: #3f2418;
    border-color: #3f2418;
    color: #fff;
}

.booking-panel .calendar-navigation {
    border-radius: 10px !important;
    margin-bottom: 0.75rem !important;
}

.calendar-container {
    display: grid;
    gap: 0.35rem;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-day {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 9px;
    color: #6f5b50;
    cursor: default;
    display: inline-flex;
    font-size: 0.84rem;
    font-weight: 900;
    justify-content: center;
    min-height: 42px;
}

.calendar-day.available {
    color: #3f2418;
    cursor: pointer;
}

.calendar-day.selected,
.calendar-day.available:hover {
    background: #3f2418;
    border-color: #3f2418;
    color: #fff;
}

.calendar-day.past {
    background: rgba(234, 219, 209, 0.38);
    color: rgba(111, 91, 80, 0.48);
}

.booking-panel .time-container {
    margin-top: 0.9rem;
}

.time-title {
    color: #2a1a14;
    font-size: 0.94rem;
    font-weight: 950;
    margin-bottom: 0.65rem;
}

.booking-panel .time-slots {
    display: grid !important;
    gap: 0.45rem !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.booking-panel .time-slot {
    align-items: center;
    border-radius: 9px !important;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    min-height: 42px !important;
    padding: 0.4rem !important;
}

.booking-sheet-actions {
    align-items: center;
    background:
        linear-gradient(180deg, rgba(255, 250, 247, 0.94), #fffaf7 42%),
        #fffaf7;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 14px;
    box-shadow: 0 -12px 34px rgba(43, 23, 16, 0.1);
    bottom: 0;
    display: grid;
    gap: 0.6rem;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    margin: 1rem -0.15rem -0.15rem;
    padding: 0.68rem;
    position: sticky;
    z-index: 3;
}

.booking-sheet-actions::before {
    background: rgba(63, 36, 24, 0.12);
    border-radius: 999px;
    content: "";
    grid-column: 1 / -1;
    height: 1px;
    margin: -0.1rem 0 0.08rem;
    width: 100%;
}

.booking-sheet-actions .btn {
    align-items: center;
    border-radius: 10px !important;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 950;
    justify-content: center;
    line-height: 1.1;
    min-height: 48px;
    padding: 0.76rem 0.85rem !important;
    white-space: nowrap;
}

.booking-sheet-actions .ui-button-secondary {
    background: #f7f1ec !important;
    border: 1px solid rgba(63, 36, 24, 0.14) !important;
    color: #3f2418 !important;
    box-shadow: none !important;
}

.booking-sheet-actions .ui-button-success {
    background: #3f2418 !important;
    border: 1px solid #3f2418 !important;
    color: #fffaf7 !important;
    box-shadow: 0 10px 24px rgba(63, 36, 24, 0.16) !important;
}

.booking-sheet-actions .btn:only-child {
    grid-column: 1 / -1;
}

.booking-panel .form-control,
.booking-panel .form-select {
    background: #fff !important;
    border: 1px solid rgba(63, 36, 24, 0.12) !important;
    border-radius: 10px !important;
    min-height: 48px;
}

.order-summary {
    background: #fff !important;
    border-color: rgba(63, 36, 24, 0.1) !important;
    border-radius: 10px !important;
    padding: 1rem !important;
}

@media (min-width: 768px) {
    .booking-studio-grid,
    .booking-panel #serviceList {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-current-card {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    body .booking-panel.offcanvas,
    body .booking-panel.offcanvas.offcanvas-end {
        border-radius: 16px !important;
        bottom: auto !important;
        box-shadow: 0 24px 80px rgba(43, 23, 16, 0.26) !important;
        height: calc(100svh - 32px) !important;
        left: auto !important;
        max-width: min(580px, calc(100vw - 32px)) !important;
        right: 16px !important;
        top: 16px !important;
        transform: translateX(calc(100% + 24px)) !important;
        width: 580px !important;
    }

    body .booking-panel.offcanvas.show,
    body .booking-panel.offcanvas.showing {
        transform: translateX(0) !important;
    }

    .booking-drawer-handle {
        display: none;
    }

    .booking-panel .offcanvas-header {
        padding: 1.1rem 1.25rem !important;
    }

    .booking-panel .offcanvas-body {
        padding: 1.1rem 1.25rem 1.25rem !important;
    }
}

/* Profile concept rebuild */
body.profile-concept-page {
    background: #fffaf7;
    color: #2a1a14;
    padding-bottom: 84px;
}

body.profile-concept-page .profile-shell {
    background: linear-gradient(180deg, #fffaf7 0%, #f7f1ec 48%, #fffaf7 100%);
    padding: 0;
}

body.profile-concept-page .profile-intro {
    background: #fffaf7;
    border-bottom: 1px solid rgba(63, 36, 24, 0.08);
    margin: 0;
    padding: 1rem 0 0.8rem;
}

body.profile-concept-page .profile-intro-grid {
    display: grid;
    gap: 0.85rem;
}

body.profile-concept-page .profile-intro-copy {
    display: none;
}

body.profile-concept-page .profile-intro .mg-eyebrow,
body.profile-concept-page .profile-section-kicker,
body.profile-concept-page .profile-referral-kicker {
    color: #b87655;
    display: block;
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

body.profile-concept-page .profile-intro h1 {
    color: #2b1710;
    font-size: 2.15rem;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
    margin: 0.35rem 0 0.45rem;
}

body.profile-concept-page .profile-intro p,
body.profile-concept-page .profile-muted-copy,
body.profile-concept-page .profile-empty-card p,
body.profile-concept-page .profile-referral-card p {
    color: #6f5b50;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

body.profile-concept-page .profile-client-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%), #2b1710;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(43, 23, 16, 0.18);
    color: #fffaf7;
    display: grid;
    gap: 0.85rem;
    overflow: hidden;
    padding: 0.95rem;
}

body.profile-concept-page .profile-client-main {
    align-items: center;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 58px minmax(0, 1fr);
}

body.profile-concept-page .profile-client-avatar {
    background: #eadbd1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    height: 58px;
    overflow: hidden;
    width: 58px;
}

body.profile-concept-page .profile-client-avatar img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

body.profile-concept-page .profile-client-main span,
body.profile-concept-page .profile-client-stats span {
    color: rgba(255, 250, 247, 0.62);
    display: block;
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
}

body.profile-concept-page .profile-client-main strong {
    color: #fffaf7;
    display: block;
    font-size: 1.08rem;
    font-weight: 950;
    line-height: 1.18;
    overflow-wrap: anywhere;
}

body.profile-concept-page .profile-client-main small {
    color: rgba(255, 250, 247, 0.72);
    display: block;
    font-size: 0.82rem;
    line-height: 1.35;
    margin-top: 0.18rem;
}

body.profile-concept-page .profile-client-stats {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.profile-concept-page .profile-client-stats > div {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    min-width: 0;
    padding: 0.72rem;
}

body.profile-concept-page .profile-client-stats strong {
    color: #fffaf7;
    display: block;
    font-size: 1.35rem;
    font-weight: 950;
    line-height: 1;
    margin-top: 0.22rem;
}

body.profile-concept-page .profile-client-card .ui-button-primary {
    background: #c46f5a;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px !important;
    box-shadow: none;
    color: #fffaf7;
    min-height: 44px;
    width: 100%;
}

body.profile-concept-page .profile-workspace {
    padding: 0.75rem 0 2rem;
}

body.profile-concept-page .profile-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: grid;
    gap: 0.75rem;
    padding: 0 !important;
}

body.profile-concept-page .profile-menu {
    background: transparent;
    border: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
}

body.profile-concept-page .profile-menu .account-menu-list {
    background: rgba(255, 250, 247, 0.92);
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(63, 36, 24, 0.08);
    display: flex;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.42rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.42rem;
    scrollbar-width: none;
}

body.profile-concept-page .profile-menu .account-menu-list::-webkit-scrollbar {
    display: none;
}

body.profile-concept-page .profile-menu .account-menu-list li {
    flex: 0 0 auto;
}

body.profile-concept-page .profile-menu .profile-menu-spacer {
    display: none;
}

body.profile-concept-page .profile-menu .nav-link,
body.profile-concept-page .profile-logout {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: #6f5b50;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 900;
    gap: 0.42rem;
    justify-content: center;
    line-height: 1.1;
    min-height: 42px;
    min-width: max-content;
    padding: 0.68rem 0.78rem;
    text-decoration: none;
    white-space: nowrap;
}

body.profile-concept-page .profile-menu .nav-link i,
body.profile-concept-page .profile-logout i {
    color: inherit;
    font-size: 1rem;
}

body.profile-concept-page .profile-menu .nav-link.active,
body.profile-concept-page .profile-menu .nav-link:hover {
    background: #b87655;
    color: #fffaf7;
}

body.profile-concept-page .profile-logout {
    color: #9a4f3a;
}

body.profile-concept-page .profile-logout-form {
    margin: 0;
}

body.profile-concept-page .profile-content {
    min-width: 0;
}

body.profile-concept-page .profile-card,
body.profile-concept-page .profile-card-inner {
    background: rgba(255, 250, 247, 0.96);
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 14px;
    box-shadow: 0 16px 42px rgba(63, 36, 24, 0.08);
    padding: 1rem !important;
}

body.profile-concept-page .profile-card-head {
    align-items: flex-start;
    display: flex;
    gap: 0.8rem;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

body.profile-concept-page .account-title {
    color: #2b1710;
    font-size: 1.22rem;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.16;
    margin: 0.18rem 0 0 !important;
}

body.profile-concept-page .profile-card-action {
    align-items: center;
    color: #b87655;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.82rem;
    font-weight: 900;
    gap: 0.32rem;
    min-height: 34px;
    text-decoration: none;
    white-space: nowrap;
}

body.profile-concept-page .profile-appointment-cards,
body.profile-concept-page .profile-completed-cards,
body.profile-concept-page .profile-address-grid {
    display: grid;
    gap: 0.72rem;
}

body.profile-concept-page .profile-appointment-card {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 12px;
    box-shadow: none;
    display: grid;
    gap: 0.72rem;
    grid-template-columns: 58px minmax(0, 1fr) 14px;
    min-height: 94px;
    padding: 0.65rem;
}

body.profile-concept-page .profile-date-tile {
    align-items: center;
    background: linear-gradient(180deg, #c46f5a 0%, #8f4a35 100%);
    border-radius: 10px;
    color: #fffaf7;
    display: grid;
    height: 68px;
    justify-items: center;
    line-height: 1;
    padding: 0.42rem 0.25rem;
    text-align: center;
    width: 58px;
}

body.profile-concept-page .profile-date-tile strong {
    color: #fffaf7;
    font-size: 1.3rem;
    font-weight: 950;
}

body.profile-concept-page .profile-date-tile span,
body.profile-concept-page .profile-date-tile small {
    color: rgba(255, 250, 247, 0.88);
    font-size: 0.62rem;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

body.profile-concept-page .profile-appointment-main {
    min-width: 0;
}

body.profile-concept-page .profile-appointment-card-head {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
    margin-bottom: 0.32rem;
}

body.profile-concept-page .profile-appointment-index {
    color: #9a8377;
    font-size: 0.66rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.profile-concept-page .profile-appointment-card h3,
body.profile-concept-page .profile-completed-card h3,
body.profile-concept-page .profile-referral-card h3,
body.profile-concept-page .account-address .name {
    color: #2b1710;
    font-size: 0.96rem;
    font-weight: 950;
    line-height: 1.2;
    margin: 0;
    overflow-wrap: anywhere;
}

body.profile-concept-page .profile-appointment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    margin-top: 0.45rem;
}

body.profile-concept-page .profile-appointment-meta span {
    align-items: center;
    color: #6f5b50;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 850;
    gap: 0.28rem;
    line-height: 1.2;
    min-width: 0;
}

body.profile-concept-page .profile-appointment-meta i,
body.profile-concept-page .profile-card-chevron {
    color: #b87655;
}

body.profile-concept-page .profile-status-badge {
    border-radius: 8px;
    flex: 0 0 auto;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    max-width: 112px;
    overflow: hidden;
    padding: 0.42rem 0.48rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-concept-page .profile-empty-card {
    background: #fff;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 12px;
    display: grid;
    gap: 0.5rem;
    padding: 1rem;
}

body.profile-concept-page .profile-empty-card strong {
    color: #2b1710;
    font-size: 1rem;
    font-weight: 950;
    line-height: 1.2;
}

body.profile-concept-page .profile-empty-cell {
    color: #b87655;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.profile-concept-page .profile-bonus-layout {
    display: grid;
    gap: 0.75rem;
}

body.profile-concept-page .loyalty-card {
    background: linear-gradient(135deg, rgba(196, 111, 90, 0.28), transparent 46%), #2b1710 !important;
    border-radius: 14px;
    box-shadow: 0 20px 42px rgba(43, 23, 16, 0.16);
    display: grid;
    gap: 1.25rem;
    margin-top: 0.65rem;
    min-height: 176px;
    padding: 1rem;
}

body.profile-concept-page .loyalty-card.bronze,
body.profile-concept-page .loyalty-card.silver,
body.profile-concept-page .loyalty-card.gold {
    background: linear-gradient(135deg, rgba(196, 111, 90, 0.28), transparent 46%), #2b1710 !important;
}

body.profile-concept-page .loyalty-balance-title {
    color: rgba(255, 250, 247, 0.65) !important;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    margin: 0 0 0.45rem;
    text-transform: uppercase;
}

body.profile-concept-page .loyalty-card strong {
    color: #fffaf7;
    display: block;
    font-size: 2.05rem;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
}

body.profile-concept-page .loyalty-points-unit {
    color: rgba(255, 250, 247, 0.68);
    font-size: 0.86rem;
    font-weight: 800;
}

body.profile-concept-page .loyalty-card .loyalty-level {
    color: rgba(255, 250, 247, 0.74) !important;
    font-size: 0.86rem;
    line-height: 1.45;
    margin: 0.55rem 0 0;
}

body.profile-concept-page .loyalty-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: grid;
    gap: 0.2rem;
    padding-top: 0.82rem;
}

body.profile-concept-page .loyalty-card-footer p {
    color: rgba(255, 250, 247, 0.74) !important;
    font-size: 0.78rem;
    line-height: 1.35;
    margin: 0;
    overflow-wrap: anywhere;
}

body.profile-concept-page .profile-referral-card,
body.profile-concept-page .profile-completed-card,
body.profile-concept-page .account-address {
    background: #fff;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 12px;
    box-shadow: none;
}

body.profile-concept-page .profile-referral-card {
    display: grid;
    gap: 0.85rem;
    margin-top: 0.75rem;
    padding: 1rem;
}

body.profile-concept-page .profile-referral-card .ui-button-secondary {
    border-color: rgba(184, 118, 85, 0.34);
    border-radius: 10px !important;
    color: #8f4a35;
    min-height: 44px;
    width: 100%;
}

body.profile-concept-page .profile-completed-card {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.85rem;
}

body.profile-concept-page .profile-completed-points {
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 950;
    padding: 0.42rem 0.55rem;
    text-align: right;
    white-space: nowrap;
}

body.profile-concept-page .loyalty-points-positive {
    background: rgba(89, 125, 91, 0.12);
    color: #456b48;
}

body.profile-concept-page .loyalty-points-negative {
    background: rgba(196, 111, 90, 0.12);
    color: #9a4f3a;
}

body.profile-concept-page .loyalty-points-neutral {
    background: rgba(63, 36, 24, 0.08);
    color: #6f5b50;
}

body.profile-concept-page .profile-form-grid {
    display: grid;
    gap: 0.85rem;
}

body.profile-concept-page .profile-form-label {
    color: #6f5b50;
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 0.35rem;
}

body.profile-concept-page .input-medigrace {
    background: #fff;
    border: 1px solid rgba(63, 36, 24, 0.14);
    border-radius: 10px;
    color: #2a1a14;
    min-height: 48px;
}

body.profile-concept-page .input-medigrace:focus {
    border-color: #b87655;
    box-shadow: 0 0 0 0.18rem rgba(184, 118, 85, 0.14);
}

body.profile-concept-page .profile-form-actions {
    display: flex;
    justify-content: stretch;
}

body.profile-concept-page .btn-medigrace {
    background: #2b1710;
    border: 1px solid #2b1710;
    border-radius: 10px;
    color: #fffaf7;
    font-weight: 900;
    min-height: 46px;
    width: 100%;
}

body.profile-concept-page .profile-address-grid {
    grid-template-columns: 1fr;
}

body.profile-concept-page .account-address {
    height: 100%;
    overflow: hidden;
}

body.profile-concept-page .account-address .card-body {
    display: grid;
    gap: 0.55rem;
    padding: 1rem;
}

body.profile-concept-page .phone-link {
    color: #8f4a35;
    font-weight: 900;
    text-decoration: none;
}

body.profile-concept-page .profile-address-links {
    display: flex;
    gap: 0.55rem;
}

body.profile-concept-page .profile-address-links a {
    align-items: center;
    background: #f7f1ec;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 10px;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    width: 40px;
}

body.profile-concept-page .profile-address-links img {
    display: block;
    height: 20px;
    width: 20px;
}

body.profile-concept-page .profile-map-frame {
    aspect-ratio: 16 / 10;
    background: #eadbd1;
    border-radius: 10px;
    margin-top: 0.25rem;
    overflow: hidden;
}

body.profile-concept-page .profile-map-frame iframe {
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
}

@media (max-width: 767.98px) {
    body.profile-concept-page .profile-client-card .ui-button-primary,
    body.profile-concept-page .profile-card-action {
        display: none;
    }
}

@media (min-width: 768px) {
    body.profile-concept-page {
        padding-bottom: 0;
    }

    body.profile-concept-page .profile-intro {
        padding: 1.4rem 0 1rem;
    }

    body.profile-concept-page .profile-intro-grid {
        align-items: stretch;
        grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    }

    body.profile-concept-page .profile-intro-copy {
        align-self: center;
        display: block;
    }

    body.profile-concept-page .profile-intro h1 {
        font-size: 3rem;
    }

    body.profile-concept-page .profile-workspace {
        padding: 1rem 0 2.6rem;
    }

    body.profile-concept-page .profile-card,
    body.profile-concept-page .profile-card-inner {
        padding: 1.2rem !important;
    }

    body.profile-concept-page .profile-appointment-card {
        grid-template-columns: 72px minmax(0, 1fr) auto;
        padding: 0.75rem;
    }

    body.profile-concept-page .profile-date-tile {
        height: 78px;
        width: 72px;
    }

    body.profile-concept-page .profile-date-tile strong {
        font-size: 1.55rem;
    }

    body.profile-concept-page .profile-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.profile-concept-page .profile-form-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    body.profile-concept-page .btn-medigrace {
        width: auto;
    }

    body.profile-concept-page .profile-address-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    body.profile-concept-page .profile-intro {
        padding: 1.9rem 0 1.2rem;
    }

    body.profile-concept-page .profile-intro-grid {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    }

    body.profile-concept-page .profile-intro h1 {
        font-size: 3.7rem;
    }

    body.profile-concept-page .profile-panel {
        align-items: start;
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 1rem;
    }

    body.profile-concept-page .profile-menu {
        background: rgba(255, 250, 247, 0.96);
        border: 1px solid rgba(63, 36, 24, 0.1);
        border-radius: 14px;
        box-shadow: 0 16px 42px rgba(63, 36, 24, 0.08);
        padding: 0.55rem;
        position: sticky;
        top: 96px;
    }

    body.profile-concept-page .profile-menu .account-menu-list {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        flex-direction: column !important;
        overflow: visible;
        padding: 0;
    }

    body.profile-concept-page .profile-menu .account-menu-list li,
    body.profile-concept-page .profile-menu .nav-link,
    body.profile-concept-page .profile-logout {
        width: 100%;
    }

    body.profile-concept-page .profile-menu .profile-menu-spacer {
        display: block;
        height: 0.45rem;
    }

    body.profile-concept-page .profile-menu .nav-link,
    body.profile-concept-page .profile-logout {
        justify-content: flex-start;
        padding-inline: 0.86rem;
    }

    body.profile-concept-page .profile-bonus-layout {
        align-items: start;
        grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
    }
}

@media (min-width: 1280px) {
    body.profile-concept-page .profile-panel {
        grid-template-columns: 240px minmax(0, 1fr);
    }
}

/* Profile fidelity pass: match the generated account concept instead of the legacy page rhythm. */
html:has(body.profile-concept-page),
body.profile-concept-page {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.profile-concept-page {
    background: #fffaf7 !important;
}

body.profile-concept-page .profile-shell {
    background: #fffaf7 !important;
}

body.profile-concept-page .profile-intro {
    background: #fffaf7 !important;
    border: 0 !important;
    border-radius: 18px 18px 0 0;
    margin: 0 !important;
    padding: 0.85rem 0 0.45rem !important;
}

body.profile-concept-page .profile-intro-copy {
    display: none !important;
}

body.profile-concept-page .profile-intro-grid {
    display: block !important;
}

body.profile-concept-page .profile-client-card {
    border-radius: 16px !important;
    box-shadow: 0 18px 42px rgba(43, 23, 16, 0.14) !important;
}

body.profile-concept-page .profile-workspace {
    padding: 0.5rem 0 2rem !important;
}

body.profile-concept-page .profile-dashboard-layout {
    display: grid;
    gap: 0.75rem;
}

body.profile-concept-page .profile-dashboard-loyalty {
    display: grid;
    gap: 0.8rem;
}

body.profile-concept-page .profile-dashboard-progress {
    display: grid;
    gap: 0.45rem;
}

body.profile-concept-page .profile-dashboard-progress span,
body.profile-concept-page .profile-dashboard-progress small,
body.profile-concept-page .profile-dashboard-code span,
body.profile-concept-page .profile-preview-fields span,
body.profile-concept-page .profile-address-preview-list span {
    color: #8b7468;
    display: block;
    font-size: 0.76rem;
    font-weight: 850;
    line-height: 1.25;
}

body.profile-concept-page .profile-dashboard-progress > div {
    background: #eadbd1;
    border-radius: 999px;
    height: 9px;
    overflow: hidden;
}

body.profile-concept-page .profile-dashboard-progress i {
    background: linear-gradient(90deg, #b87655, #8f4a35);
    border-radius: inherit;
    display: block;
    height: 100%;
    width: 46%;
}

body.profile-concept-page .profile-dashboard-code {
    background: #fff;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 12px;
    display: grid;
    gap: 0.38rem;
    padding: 0.85rem;
}

body.profile-concept-page .profile-dashboard-code strong,
body.profile-concept-page .profile-preview-fields strong,
body.profile-concept-page .profile-address-preview-list strong {
    color: #2b1710;
    display: block;
    font-size: 0.9rem;
    font-weight: 950;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

body.profile-concept-page .profile-preview-fields,
body.profile-concept-page .profile-address-preview-list {
    display: grid;
    gap: 0.6rem;
}

body.profile-concept-page .profile-preview-fields > div,
body.profile-concept-page .profile-address-preview-list > div {
    background: #fff;
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 10px;
    display: grid;
    gap: 0.25rem;
    padding: 0.7rem;
}

body.profile-concept-page .profile-address-preview-list a {
    color: #8f4a35;
    font-size: 0.8rem;
    font-weight: 900;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    body.profile-concept-page .profile-dashboard-loyalty,
    body.profile-concept-page .profile-dashboard-preview {
        display: none;
    }
}

@media (min-width: 768px) {
    body.profile-concept-page .profile-dashboard-layout {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
    }

    body.profile-concept-page .profile-card-large {
        min-height: 100%;
    }

    body.profile-concept-page .profile-dashboard-profile,
    body.profile-concept-page .profile-dashboard-addresses {
        min-height: 100%;
    }
}

@media (min-width: 1024px) {
    body.profile-concept-page .profile-intro {
        padding: 1.05rem 0 0.65rem !important;
    }

    body.profile-concept-page .profile-workspace {
        padding-top: 0.75rem !important;
    }

    body.profile-concept-page .profile-panel {
        grid-template-columns: 180px minmax(0, 1fr) !important;
        gap: 1rem !important;
    }

    body.profile-concept-page .profile-menu {
        top: 88px !important;
    }

    body.profile-concept-page .profile-dashboard-layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    }

    body.profile-concept-page .profile-dashboard-profile {
        grid-column: 1;
    }

    body.profile-concept-page .profile-dashboard-addresses {
        grid-column: 2;
    }
}

@media (min-width: 1280px) {
    body.profile-concept-page .profile-panel {
        grid-template-columns: 210px minmax(0, 1fr) !important;
    }
}

/* Tighten profile start under the shared header on desktop. */
body.profile-concept-page .profile-intro {
    padding-top: 0.35rem !important;
}

@media (min-width: 768px) {
    body.profile-concept-page .profile-intro {
        padding: 0.35rem 0 0.35rem !important;
    }

    body.profile-concept-page .profile-workspace {
        padding-top: 0.35rem !important;
    }
}

@media (min-width: 1024px) {
    body.profile-concept-page .profile-intro {
        padding: 0.4rem 0 0.35rem !important;
    }
}

/* Profile appointment details modal */
body.profile-concept-page .profile-appointment-trigger {
    appearance: none;
    cursor: pointer;
    text-align: left;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    width: 100%;
}

body.profile-concept-page .profile-appointment-trigger:hover,
body.profile-concept-page .profile-appointment-trigger:focus-visible {
    border-color: rgba(184, 118, 85, 0.38);
    box-shadow: 0 14px 32px rgba(63, 36, 24, 0.1);
    outline: none;
    transform: translateY(-1px);
}

body.profile-concept-page .profile-appointment-modal .modal-dialog {
    margin-inline: auto;
    max-width: min(920px, calc(100vw - 24px));
}

body.profile-concept-page .profile-appointment-modal .modal-content {
    background: #fffaf7;
    border: 1px solid rgba(63, 36, 24, 0.12);
    border-radius: 18px;
    box-shadow: 0 28px 90px rgba(43, 23, 16, 0.28);
    overflow: hidden;
}

body.profile-concept-page .profile-appointment-modal .modal-header {
    align-items: flex-start;
    background: #2b1710;
    border: 0;
    color: #fffaf7;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.15rem 1.2rem;
    position: relative;
}

body.profile-concept-page .profile-appointment-modal .modal-header .profile-section-kicker {
    color: rgba(255, 250, 247, 0.62);
}

body.profile-concept-page .profile-appointment-modal .modal-title {
    color: #fffaf7;
    font-size: clamp(1.15rem, 5vw, 1.75rem);
    font-weight: 950;
    line-height: 1.1;
    margin: 0.22rem 0 0;
}

body.profile-concept-page .profile-appointment-modal .btn-close {
    background-color: rgba(255, 250, 247, 0.82);
    background-size: 14px;
    border-radius: 10px;
    box-sizing: border-box;
    flex: 0 0 auto;
    height: 44px;
    margin: 0 0 0 auto !important;
    opacity: 1;
    padding: 0 !important;
    position: static;
    width: 44px;
}

body.profile-concept-page .profile-appointment-modal .btn-close:hover,
body.profile-concept-page .profile-appointment-modal .btn-close:focus-visible {
    background-color: #fffaf7;
    box-shadow: 0 0 0 0.18rem rgba(255, 250, 247, 0.2);
    opacity: 1;
}

body.profile-concept-page .profile-appointment-modal .modal-body {
    padding: 1rem;
}

body.profile-concept-page .profile-order-modal-grid {
    display: grid;
    gap: 0.85rem;
}

body.profile-concept-page .profile-order-modal-main,
body.profile-concept-page .profile-order-modal-salon {
    background: linear-gradient(180deg, #fff 0%, #fffaf7 100%);
    border: 1px solid rgba(63, 36, 24, 0.1);
    border-radius: 14px;
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
}

body.profile-concept-page .profile-order-modal-status {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

body.profile-concept-page .profile-order-modal-status > span,
body.profile-concept-page .profile-order-modal-facts span,
body.profile-concept-page .profile-order-modal-note span {
    color: #8b7468;
    display: block;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

body.profile-concept-page .profile-order-modal-facts {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.profile-concept-page .profile-order-modal-facts > div {
    background: #f7f1ec;
    border: 1px solid rgba(63, 36, 24, 0.08);
    border-radius: 12px;
    display: grid;
    gap: 0.22rem;
    min-width: 0;
    padding: 0.75rem;
}

body.profile-concept-page .profile-order-modal-facts strong {
    color: #2b1710;
    font-size: 1rem;
    font-weight: 950;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

body.profile-concept-page .profile-order-modal-note {
    border-top: 1px solid rgba(63, 36, 24, 0.1);
    display: grid;
    gap: 0.35rem;
    padding-top: 0.8rem;
}

body.profile-concept-page .profile-order-modal-note p {
    color: #6f5b50;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

body.profile-concept-page .profile-order-modal-salon h3 {
    color: #2b1710;
    font-size: 1.05rem;
    font-weight: 950;
    line-height: 1.2;
    margin: 0.25rem 0 0.35rem;
}

body.profile-concept-page .profile-order-map {
    aspect-ratio: 16 / 11;
    margin: 0;
}

body.profile-concept-page .profile-order-map-fallback {
    align-items: center;
    background: #f1e5dc;
    border: 1px dashed rgba(63, 36, 24, 0.22);
    border-radius: 12px;
    color: #6f5b50;
    display: grid;
    gap: 0.45rem;
    justify-items: center;
    min-height: 180px;
    padding: 1rem;
    text-align: center;
}

body.profile-concept-page .profile-order-map-fallback i {
    align-items: center;
    background: #2b1710;
    border-radius: 999px;
    color: #fffaf7;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

body.profile-concept-page .profile-appointment-modal .modal-footer {
    background: #fff;
    border-top: 1px solid rgba(63, 36, 24, 0.1);
    display: grid;
    gap: 0.6rem;
    grid-template-columns: 1fr;
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
}

body.profile-concept-page .profile-appointment-modal .modal-footer .ui-button-primary,
body.profile-concept-page .profile-appointment-modal .modal-footer .ui-button-secondary {
    border-radius: 10px !important;
    justify-content: center;
    min-height: 46px;
    width: 100%;
}

body.profile-concept-page .profile-appointment-modal .modal-footer .ui-button-secondary {
    background: #fffaf7 !important;
}

@media (min-width: 768px) {
    body.profile-concept-page .profile-order-modal-grid {
        align-items: start;
        grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
    }

    body.profile-concept-page .profile-appointment-modal .modal-footer {
        grid-template-columns: 0.8fr 1.2fr;
    }
}

/* Gallery final calm portfolio pass */
body.gallery-page {
    background: #fffaf7 !important;
}

body.gallery-page .gallery-studio-intro {
    background: #fffaf7 !important;
    border: 0 !important;
    padding: clamp(1.25rem, 5vw, 3.2rem) 0 clamp(0.9rem, 3vw, 1.8rem) !important;
}

body.gallery-page .gallery-intro-layout {
    display: grid;
    gap: 1rem;
    text-align: left !important;
}

body.gallery-page .gallery-intro-layout > div:first-child {
    text-align: left !important;
}

body.gallery-page .gallery-concept-intro h1 {
    color: #2a1a14 !important;
    font-size: clamp(2rem, 11vw, 3.8rem) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 0.98 !important;
    margin: 0 0 0.55rem !important;
}

body.gallery-page .gallery-concept-intro p {
    color: #6f5b50 !important;
    font-size: 0.98rem !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    max-width: 36rem;
}

body.gallery-page .gallery-concept-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    justify-content: flex-start;
    margin: 0;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
}

body.gallery-page .gallery-concept-chips::-webkit-scrollbar {
    display: none;
}

body.gallery-page .gallery-concept-chips span {
    background: #fffaf7;
    border: 1px solid rgba(63, 36, 24, 0.12);
    border-radius: 8px;
    color: #5b463b;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1;
    min-height: 38px;
    padding: 0.65rem 0.8rem;
}

body.gallery-page .gallery-concept-chips span.is-active,
body.gallery-page .gallery-concept-chips span:first-child {
    background: #b87655;
    border-color: #b87655;
    color: #fffaf7;
}

body.gallery-page .gallery-studio-grid {
    background: #fffaf7 !important;
    padding: 0 0 clamp(2rem, 6vw, 4rem) !important;
}

body.gallery-page .gallery-showcase-grid {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.gallery-page .gallery-photo-tile,
body.gallery-page .mg-gallery-card.gallery-photo-tile {
    background: #2b1710 !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    display: block;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

body.gallery-page .gallery-photo-tile::after {
    background: linear-gradient(180deg, rgba(43, 23, 16, 0) 48%, rgba(43, 23, 16, 0.64) 100%);
    content: "";
    inset: 0;
    opacity: 0.82;
    position: absolute;
    transition: opacity 180ms ease;
}

body.gallery-page .gallery-photo-tile:hover::after {
    opacity: 1;
}

body.gallery-page .gallery-photo-tile .mg-card-image,
body.gallery-page .mg-gallery-card .mg-card-image {
    aspect-ratio: 1 / 1.12;
    display: block;
    filter: saturate(0.9) sepia(0.18);
    height: auto !important;
    object-fit: cover;
    transform: scale(1);
    transition: transform 220ms ease, filter 220ms ease;
    width: 100%;
}

body.gallery-page .gallery-photo-tile:hover .mg-card-image {
    filter: saturate(0.98) sepia(0.1);
    transform: scale(1.025);
}

body.gallery-page .gallery-photo-featured {
    grid-column: 1 / -1;
}

body.gallery-page .gallery-photo-featured .mg-card-image {
    aspect-ratio: 1.45 / 1;
}

body.gallery-page .gallery-photo-tile .mg-card-body {
    background: transparent !important;
    bottom: 0;
    left: 0;
    padding: 0.7rem !important;
    position: absolute;
    right: 0;
    z-index: 1;
}

body.gallery-page .gallery-photo-tile h3 {
    color: #fffaf7 !important;
    font-size: 0.82rem !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 1.15 !important;
    margin: 0 !important;
}

body.gallery-page .gallery-quiet-actions {
    align-items: center;
    display: grid;
    gap: 0.6rem;
    grid-template-columns: 1fr;
    margin-top: 1rem;
}

body.gallery-page .gallery-quiet-actions .mg-link-button {
    border-radius: 10px !important;
    justify-content: center;
    min-height: 44px;
    width: 100%;
}

@media (min-width: 768px) {
    body.gallery-page .gallery-intro-layout {
        align-items: end;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    body.gallery-page .gallery-concept-chips {
        justify-content: flex-end;
        overflow: visible;
    }

    body.gallery-page .gallery-showcase-grid {
        gap: 0.7rem;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.gallery-page .gallery-photo-featured {
        grid-column: span 2;
        grid-row: span 2;
    }

    body.gallery-page .gallery-photo-featured .mg-card-image,
    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(2) .mg-card-image {
        aspect-ratio: 1.48 / 1;
    }

    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(2) {
        grid-column: span 2;
    }

    body.gallery-page .gallery-quiet-actions {
        display: flex;
        justify-content: center;
        margin-top: 1.25rem;
    }

    body.gallery-page .gallery-quiet-actions .mg-link-button {
        width: auto;
    }
}

@media (min-width: 1200px) {
    body.gallery-page .gallery-showcase-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    body.gallery-page .gallery-photo-featured {
        grid-column: span 3;
        grid-row: span 2;
    }

    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(2) {
        grid-column: span 3;
    }

    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(5),
    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(6) {
        grid-column: span 2;
    }
}

/* About final concept pass */
body.about-concept-page {
    background: #fffaf7 !important;
}

body.about-concept-page .about-studio-intro {
    background: #fffaf7 !important;
    border: 0 !important;
    padding: clamp(1.25rem, 5vw, 3.2rem) 0 clamp(1.4rem, 5vw, 3rem) !important;
}

body.about-concept-page .about-studio-grid {
    display: grid;
    gap: 1.1rem;
}

body.about-concept-page .about-studio-copy,
body.about-concept-page .about-value-row > div,
body.about-concept-page .mg-person-card .mg-card-body,
body.about-concept-page .about-studio-cta > div > div {
    min-width: 0;
}

body.about-concept-page .about-studio-copy h1 {
    color: #2a1a14 !important;
    font-size: clamp(2rem, 11vw, 3.8rem) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 0.98 !important;
    margin: 0 0 0.45rem !important;
}

body.about-concept-page .about-studio-copy h2 {
    color: #a24f36 !important;
    font-size: clamp(1.05rem, 4vw, 1.35rem) !important;
    font-weight: 650 !important;
    letter-spacing: 0 !important;
    line-height: 1.25 !important;
    margin: 0 0 0.9rem !important;
}

body.about-concept-page .about-studio-copy p,
body.about-concept-page .about-concept-head p,
body.about-concept-page .about-value-row p,
body.about-concept-page .about-studio-cta p {
    color: #6f5b50 !important;
    font-size: 0.95rem !important;
    line-height: 1.62 !important;
    margin: 0 !important;
}

body.about-concept-page .about-studio-copy p + p {
    margin-top: 1rem !important;
}

body.about-concept-page .about-studio-media {
    background: #2b1710;
    border-radius: 12px;
    aspect-ratio: 1.45 / 1;
    min-height: 220px;
    overflow: hidden;
}

body.about-concept-page .about-studio-media img {
    display: block;
    filter: saturate(0.92) sepia(0.18);
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    width: 100%;
}

body.about-concept-page .about-studio-values {
    background: #fffaf7 !important;
    padding: 0 0 clamp(1.8rem, 6vw, 3rem) !important;
}

body.about-concept-page .about-concept-head {
    margin: 0 0 0.85rem !important;
    max-width: 680px;
}

body.about-concept-page .about-concept-head h2 {
    color: #2a1a14 !important;
    font-size: clamp(1.35rem, 5vw, 2rem) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 1.1 !important;
    margin: 0 0 0.35rem !important;
}

body.about-concept-page .about-value-list {
    display: grid;
    gap: 0.65rem;
}

body.about-concept-page .about-value-row {
    align-items: center;
    background: #fffaf7 !important;
    border: 1px solid rgba(63, 36, 24, 0.11) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    display: grid;
    gap: 0.8rem;
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 92px;
    padding: 0.85rem !important;
    width: 100%;
}

body.about-concept-page .about-value-row i {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #b55b3b !important;
    display: inline-flex !important;
    font-size: 2rem !important;
    height: 52px !important;
    justify-content: center;
    line-height: 1 !important;
    width: 52px !important;
}

body.about-concept-page .about-value-row h3 {
    color: #2a1a14 !important;
    font-size: 0.98rem !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    margin: 0 0 0.18rem !important;
    overflow-wrap: anywhere;
}

body.about-concept-page .about-value-row p {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
}

body.about-concept-page .about-studio-team {
    background: #fffaf7 !important;
    padding: 0 0 clamp(2rem, 6vw, 3.6rem) !important;
}

body.about-concept-page .about-team-row {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: 1fr;
}

body.about-concept-page .mg-person-card {
    align-items: center;
    background: #fffaf7 !important;
    border: 1px solid rgba(63, 36, 24, 0.1) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 68px minmax(0, 1fr);
    min-height: 106px;
    overflow: hidden;
    padding: 0.78rem !important;
    width: 100%;
}

body.about-concept-page .mg-person-card .mg-card-image {
    aspect-ratio: 1 / 1 !important;
    border-radius: 999px !important;
    display: block;
    filter: saturate(0.95) sepia(0.08);
    height: 68px !important;
    object-fit: cover;
    width: 68px !important;
}

body.about-concept-page .mg-person-card .mg-card-body {
    padding: 0 !important;
}

body.about-concept-page .mg-person-card .mg-card-title {
    color: #2a1a14 !important;
    font-size: 0.98rem !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    margin: 0 0 0.12rem !important;
    overflow-wrap: anywhere;
}

body.about-concept-page .team-role {
    color: #6f5b50 !important;
    font-size: 0.86rem !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
    margin: 0 0 0.35rem !important;
}

body.about-concept-page .mg-support-copy {
    color: #8b7468 !important;
    font-size: 0.78rem !important;
    line-height: 1.25 !important;
}

body.about-concept-page .about-studio-cta {
    align-items: center;
    background: linear-gradient(135deg, #b87655, #9a4f35);
    border-radius: 12px;
    color: #fffaf7;
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
    padding: 1rem;
    width: 100%;
}

body.about-concept-page .about-studio-cta > div {
    align-items: center;
    display: grid;
    gap: 0.8rem;
    grid-template-columns: 48px minmax(0, 1fr);
    min-width: 0;
}

body.about-concept-page .about-studio-cta i {
    align-items: center;
    border: 1px solid rgba(255, 250, 247, 0.42);
    border-radius: 10px;
    color: #fffaf7;
    display: inline-flex;
    font-size: 1.35rem;
    height: 48px;
    justify-content: center;
    width: 48px;
}

body.about-concept-page .about-studio-cta h2 {
    color: #fffaf7 !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    margin: 0 0 0.18rem !important;
    overflow-wrap: anywhere;
}

body.about-concept-page .about-studio-cta p {
    color: rgba(255, 250, 247, 0.78) !important;
    font-size: 0.82rem !important;
}

body.about-concept-page .about-studio-cta .mg-banner-action {
    background: transparent !important;
    border: 1px solid rgba(255, 250, 247, 0.42) !important;
    border-radius: 10px !important;
    color: #fffaf7 !important;
    justify-content: center;
    min-height: 44px;
    width: 100%;
    white-space: nowrap;
}

body.about-concept-page .about-studio-cta .mg-banner-action i {
    border: 0;
    font-size: 1rem;
    height: auto;
    margin-left: 0.4rem;
    width: auto;
}

@media (min-width: 768px) {
    body.about-concept-page .about-studio-grid {
        align-items: center;
        gap: 1.4rem;
        grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
    }

    body.about-concept-page .about-studio-media {
        aspect-ratio: 1.55 / 1;
        min-height: 360px;
    }

    body.about-concept-page .about-value-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.about-concept-page .about-value-row {
        align-items: flex-start;
        grid-template-columns: 52px minmax(0, 1fr);
    }

    body.about-concept-page .about-team-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.about-concept-page .about-studio-cta {
        align-items: center;
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 1.1rem;
    }

    body.about-concept-page .about-studio-cta .mg-banner-action {
        width: auto;
    }
}

@media (min-width: 1200px) {
    body.about-concept-page .about-studio-intro {
        padding-top: 2.1rem !important;
    }

    body.about-concept-page .about-studio-grid {
        gap: 3.8rem;
    }

    body.about-concept-page .about-studio-media {
        aspect-ratio: 1.65 / 1;
        min-height: 430px;
    }

    body.about-concept-page .about-team-row {
        grid-template-columns: repeat(4, minmax(220px, 1fr));
    }
}

/* Profile and gallery concept lock */
body.profile-concept-page .profile-shell {
    background:
        radial-gradient(circle at 50% 0%, rgba(234, 219, 209, 0.46), transparent 38%),
        #fffaf7 !important;
}

body.profile-concept-page .profile-workspace {
    padding: clamp(0.55rem, 2vw, 1.15rem) 0 clamp(1.6rem, 4vw, 3rem) !important;
}

body.profile-concept-page .profile-panel {
    align-items: start;
    display: grid;
    gap: 0.62rem;
}

body.profile-concept-page .profile-dashboard-client {
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(63, 36, 24, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 42px rgba(63, 36, 24, 0.08) !important;
    color: #2a1a14 !important;
    gap: 0.74rem !important;
    padding: 0.86rem !important;
}

body.profile-concept-page .profile-dashboard-client .profile-client-avatar {
    background: #eadbd1;
    border-color: rgba(63, 36, 24, 0.08);
    border-radius: 50%;
    height: 68px;
    width: 68px;
}

body.profile-concept-page .profile-dashboard-client .profile-client-main {
    grid-template-columns: 68px minmax(0, 1fr);
}

body.profile-concept-page .profile-dashboard-client .profile-client-main span,
body.profile-concept-page .profile-dashboard-client .profile-client-stats span {
    color: #8b7468 !important;
}

body.profile-concept-page .profile-dashboard-client .profile-client-main strong {
    color: #2a1a14 !important;
    font-size: 1.18rem;
}

body.profile-concept-page .profile-dashboard-client .profile-client-main small {
    color: #6f5b50 !important;
}

body.profile-concept-page .profile-dashboard-client .profile-client-stats > div {
    background: rgba(255, 250, 247, 0.88) !important;
    border: 1px solid rgba(63, 36, 24, 0.1) !important;
    border-radius: 12px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.profile-concept-page .profile-dashboard-client .profile-client-stats strong {
    color: #2a1a14 !important;
    font-size: 1.22rem;
}

body.profile-concept-page .profile-dashboard-client .ui-button-primary {
    display: none !important;
}

body.profile-concept-page .profile-menu .account-menu-list {
    background: rgba(255, 255, 255, 0.92) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 30px rgba(63, 36, 24, 0.07) !important;
}

body.profile-concept-page .profile-card,
body.profile-concept-page .profile-card-inner {
    background: rgba(255, 255, 255, 0.94) !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 36px rgba(63, 36, 24, 0.07) !important;
}

body.profile-concept-page .profile-appointment-card,
body.profile-concept-page .profile-dashboard-code,
body.profile-concept-page .profile-preview-fields > div,
body.profile-concept-page .profile-address-preview-list > div {
    background: #fffaf7 !important;
}

body.profile-concept-page .profile-date-tile {
    background: linear-gradient(180deg, #c46f5a 0%, #9a4f3a 100%) !important;
}

@media (max-width: 767.98px) {
    body.profile-concept-page .profile-panel {
        gap: 0.62rem !important;
    }

    body.profile-concept-page .profile-dashboard-client {
        margin-top: 0 !important;
    }

    body.profile-concept-page .profile-menu {
        order: initial;
    }

    body.profile-concept-page .profile-menu .account-menu-list {
        justify-content: space-between;
        padding: 0.34rem !important;
    }

    body.profile-concept-page .profile-menu .nav-link,
    body.profile-concept-page .profile-logout {
        min-height: 40px !important;
        padding: 0.58rem 0.64rem !important;
    }

    body.profile-concept-page .profile-appointment-card {
        grid-template-columns: 56px minmax(0, 1fr) 12px !important;
        min-height: 88px !important;
    }

    body.profile-concept-page .profile-date-tile {
        height: 66px !important;
        width: 56px !important;
    }

    body.profile-concept-page .profile-appointment-card h3 {
        font-size: 0.92rem !important;
    }

    body.profile-concept-page .profile-status-badge {
        max-width: 102px;
    }
}

@media (min-width: 768px) {
    body.profile-concept-page .profile-panel {
        gap: 0.82rem !important;
    }

    body.profile-concept-page .profile-dashboard-client {
        align-items: center;
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr) !important;
        padding: 1.08rem 1.2rem !important;
    }

    body.profile-concept-page .profile-dashboard-client .profile-client-stats {
        gap: 0.72rem;
    }
}

@media (min-width: 1024px) {
    body.profile-concept-page .profile-panel {
        grid-template-columns: 180px minmax(0, 1fr) !important;
        grid-template-areas:
            "menu client"
            "menu content";
        gap: 0.9rem 1rem !important;
    }

    body.profile-concept-page .profile-menu {
        grid-area: menu;
        top: 88px !important;
    }

    body.profile-concept-page .profile-dashboard-client {
        grid-area: client;
    }

    body.profile-concept-page .profile-content {
        grid-area: content;
    }

    body.profile-concept-page .profile-dashboard-layout {
        gap: 0.9rem !important;
    }
}

@media (min-width: 1280px) {
    body.profile-concept-page .profile-panel {
        grid-template-columns: 210px minmax(0, 1fr) !important;
    }
}

body.gallery-page .gallery-studio-intro {
    padding: clamp(1.15rem, 4vw, 2.3rem) 0 clamp(0.9rem, 2.4vw, 1.35rem) !important;
}

body.gallery-page .gallery-showcase-grid {
    gap: 0.48rem !important;
}

body.gallery-page .gallery-photo-tile,
body.gallery-page .mg-gallery-card.gallery-photo-tile {
    background: #2b1710 !important;
    border-radius: 8px !important;
}

body.gallery-page .gallery-photo-tile::after {
    display: none !important;
}

body.gallery-page .gallery-photo-tile .mg-card-body {
    display: none !important;
}

body.gallery-page .gallery-photo-featured {
    grid-column: auto !important;
}

body.gallery-page .gallery-photo-featured .mg-card-image,
body.gallery-page .gallery-photo-tile .mg-card-image,
body.gallery-page .mg-gallery-card .mg-card-image {
    aspect-ratio: 1 / 1.08 !important;
    filter: saturate(0.92) sepia(0.14) contrast(0.98) !important;
    height: auto !important;
}

body.gallery-page .gallery-quiet-actions {
    display: none !important;
}

@media (min-width: 768px) {
    body.gallery-page .gallery-photo-tile,
    body.gallery-page .mg-gallery-card.gallery-photo-tile {
        height: 100%;
    }

    body.gallery-page .gallery-photo-tile .mg-card-image,
    body.gallery-page .mg-gallery-card .mg-card-image {
        aspect-ratio: auto !important;
        height: 100% !important;
    }

    body.gallery-page .gallery-showcase-grid {
        gap: 0.66rem !important;
        grid-auto-rows: clamp(132px, 15vw, 178px) !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    }

    body.gallery-page .gallery-photo-featured {
        grid-column: span 3 !important;
        grid-row: span 2 !important;
    }

    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(2) {
        grid-column: span 3 !important;
    }

    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(3),
    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(4) {
        grid-column: span 3 !important;
    }

    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(5),
    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(6),
    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(7) {
        grid-column: span 2 !important;
    }

    body.gallery-page .gallery-photo-featured .mg-card-image,
    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(2) .mg-card-image {
        aspect-ratio: 1.52 / 1 !important;
    }

    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(3) .mg-card-image,
    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(4) .mg-card-image {
        aspect-ratio: 1.52 / 1 !important;
    }

    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(n + 5) .mg-card-image {
        aspect-ratio: 1.28 / 1 !important;
    }
}

@media (min-width: 1024px) {
    body.gallery-page .gallery-showcase-grid {
        gap: 0.72rem !important;
        grid-auto-rows: clamp(156px, 12.4vw, 178px) !important;
        grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    }

    body.gallery-page .gallery-photo-featured {
        grid-column: span 6 !important;
        grid-row: span 2 !important;
    }

    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(2) {
        grid-column: span 6 !important;
    }

    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(3),
    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(4) {
        grid-column: span 3 !important;
    }

    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(5),
    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(6),
    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(7) {
        grid-column: span 4 !important;
    }

    body.gallery-page .gallery-photo-featured .mg-card-image {
        aspect-ratio: 1.46 / 1 !important;
    }

    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(2) .mg-card-image {
        aspect-ratio: 1.76 / 1 !important;
    }

    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(3) .mg-card-image,
    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(4) .mg-card-image {
        aspect-ratio: 1.18 / 1 !important;
    }

    body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(n + 5) .mg-card-image {
        aspect-ratio: 1.42 / 1 !important;
    }
}

body.profile-concept-page {
    padding-top: 0 !important;
}

body.profile-concept-page .profile-shell {
    min-height: auto !important;
    padding-block: 0 !important;
    padding-top: 0 !important;
}

body.profile-concept-page .profile-workspace {
    padding-top: 0.62rem !important;
}

body.profile-concept-page .profile-content > .tab-pane:not(.active) {
    display: none !important;
}

body.profile-concept-page .profile-content > .tab-pane.active {
    display: block !important;
    opacity: 1 !important;
}

@media (min-width: 992px) {
    body.profile-concept-page {
        padding-bottom: 0 !important;
    }

    body.profile-concept-page .profile-workspace {
        padding-top: 0.85rem !important;
    }
}

@media (min-width: 1024px) {
    body.profile-concept-page .profile-menu {
        position: static !important;
        top: auto !important;
    }

    body.profile-concept-page .profile-menu .nav-link,
    body.profile-concept-page .profile-menu .nav-link.active,
    body.profile-concept-page .profile-menu .nav-link:hover,
    body.profile-concept-page .profile-menu .nav-link:focus-visible,
    body.profile-concept-page .profile-logout,
    body.profile-concept-page .profile-logout:hover,
    body.profile-concept-page .profile-logout:focus-visible {
        background: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
        color: #6f5b50 !important;
        transform: none !important;
    }

    body.profile-concept-page .profile-menu .nav-link i,
    body.profile-concept-page .profile-logout i {
        color: #8b7468 !important;
    }
}

body.profile-concept-page .profile-menu .nav-link,
body.profile-concept-page .profile-menu .nav-link.active,
body.profile-concept-page .profile-menu .nav-link:hover,
body.profile-concept-page .profile-menu .nav-link:focus-visible {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: #6f5b50 !important;
    transform: none !important;
}

body.profile-concept-page .profile-menu .nav-link i {
    color: #8b7468 !important;
}

/* Profile responsive lock: no cramped desktop rail on tablet/laptop widths. */
@media (max-width: 1199.98px) {
    body.profile-concept-page .profile-workspace {
        padding-inline: 0 !important;
    }

    body.profile-concept-page .profile-panel {
        display: grid !important;
        gap: 0.75rem !important;
        grid-template-areas: none !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
    }

    body.profile-concept-page .profile-dashboard-client,
    body.profile-concept-page .profile-menu,
    body.profile-concept-page .profile-content {
        grid-area: auto !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    body.profile-concept-page .profile-menu {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    body.profile-concept-page .profile-menu .account-menu-list {
        background: rgba(255, 255, 255, 0.94) !important;
        border: 1px solid rgba(63, 36, 24, 0.1) !important;
        border-radius: 14px !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0.35rem !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 0.42rem !important;
        scrollbar-width: none;
        width: 100% !important;
    }

    body.profile-concept-page .profile-menu .account-menu-list::-webkit-scrollbar {
        display: none;
    }

    body.profile-concept-page .profile-menu .account-menu-list li {
        flex: 0 0 auto !important;
        width: auto !important;
    }

    body.profile-concept-page .profile-menu .nav-link,
    body.profile-concept-page .profile-logout {
        min-height: 42px !important;
        min-width: max-content !important;
        padding: 0.64rem 0.78rem !important;
        width: auto !important;
    }

    body.profile-concept-page .profile-menu .profile-menu-spacer {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    body.profile-concept-page .profile-dashboard-layout {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr) !important;
    }
}

@media (max-width: 767.98px) {
    body.profile-concept-page .profile-dashboard-client {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.profile-concept-page .profile-menu .account-menu-list {
        display: grid !important;
        gap: 0.25rem !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        overflow: visible !important;
        padding: 0.38rem !important;
    }

    body.profile-concept-page .profile-menu .account-menu-list li {
        min-width: 0 !important;
        width: 100% !important;
    }

    body.profile-concept-page .profile-menu .profile-menu-logout-item,
    body.profile-concept-page .profile-menu .profile-menu-spacer {
        display: none !important;
    }

    body.profile-concept-page .profile-menu .nav-link {
        flex-direction: column !important;
        gap: 0.22rem !important;
        justify-content: center !important;
        min-height: 56px !important;
        min-width: 0 !important;
        padding: 0.45rem 0.2rem !important;
        width: 100% !important;
    }

    body.profile-concept-page .profile-menu .nav-link i {
        font-size: 1rem !important;
        height: 20px;
        line-height: 1;
    }

    body.profile-concept-page .profile-menu .nav-link span {
        display: block;
        font-size: 0.68rem;
        line-height: 1.05;
        max-width: 100%;
        overflow: hidden;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.profile-concept-page .profile-dashboard-client .profile-client-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.profile-concept-page .profile-dashboard-layout,
    body.profile-concept-page .profile-bonus-layout,
    body.profile-concept-page .profile-address-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.profile-concept-page .profile-card,
    body.profile-concept-page .profile-card-inner {
        padding: 0.9rem !important;
    }
}

@media (min-width: 1200px) {
    body.profile-concept-page .profile-panel {
        grid-template-columns: 210px minmax(0, 1fr) !important;
        grid-template-areas:
            "menu client"
            "menu content" !important;
    }

    body.profile-concept-page .profile-menu {
        grid-area: menu !important;
        position: static !important;
    }

    body.profile-concept-page .profile-dashboard-client {
        grid-area: client !important;
    }

    body.profile-concept-page .profile-content {
        grid-area: content !important;
    }
}

/* Appointment modal must not inherit the legacy auth .modal-content shell. */
body.profile-concept-page .profile-appointment-modal {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

body.profile-concept-page .profile-appointment-modal .modal-dialog {
    align-items: center;
    display: flex;
    min-height: calc(100% - 1.75rem);
    width: min(920px, calc(100vw - 24px)) !important;
}

body.profile-concept-page .profile-appointment-modal .modal-content {
    color: #2a1a14 !important;
    display: flex !important;
    flex-direction: column !important;
    font-family: var(--mg-font) !important;
    left: auto !important;
    margin: 0 !important;
    max-height: calc(100vh - 48px);
    max-width: none !important;
    padding: 0 !important;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
}

body.profile-concept-page .profile-appointment-modal .modal-body {
    overflow-y: auto;
}

body.profile-concept-page .profile-appointment-modal .modal-header,
body.profile-concept-page .profile-appointment-modal .modal-body,
body.profile-concept-page .profile-appointment-modal .modal-footer {
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    body.profile-concept-page .profile-appointment-modal .modal-dialog {
        align-items: flex-end;
        margin: 0 !important;
        min-height: 100%;
        width: 100% !important;
    }

    body.profile-concept-page .profile-appointment-modal .modal-content {
        border-radius: 18px 18px 0 0 !important;
        max-height: calc(100vh - 20px);
    }

    body.profile-concept-page .profile-appointment-modal .modal-header {
        padding: 1rem;
    }

body.profile-concept-page .profile-appointment-modal .modal-title {
        padding-right: 0.5rem;
    }

    body.profile-concept-page .profile-order-modal-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Media containment QA layer: keep concept images inside their visual frames. */
.home-hero-frame .hero-slider,
.home-hero-frame .hero-slider .item,
.home-hero-frame .hero-slider .item img,
.home-hero-frame .home-hero-media,
.home-hero-frame .home-hero-media .item,
.home-hero-frame .home-hero-media img {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
}

.home-hero-frame .home-hero-media,
.home-hero-frame .home-hero-media .item {
    overflow: hidden;
}

.home-hero-frame .home-hero-media img {
    display: block;
    inset: auto !important;
    object-fit: cover;
    object-position: center 52%;
    position: static !important;
    transform: none !important;
    width: 100%;
}

.home-service-media,
.service-concept-card .facility-media,
.booking-studio-media,
.contact-salon-media,
body.about-concept-page .about-studio-media,
body.gallery-page .gallery-photo-tile,
body.gallery-page .mg-gallery-card.gallery-photo-tile,
.profile-appointment-media {
    isolation: isolate;
    overflow: hidden !important;
}

.home-service-media img,
.service-concept-card .facility-media img,
.booking-studio-media img,
.contact-salon-media img,
body.about-concept-page .about-studio-media img,
body.gallery-page .gallery-photo-tile .mg-card-image,
body.gallery-page .mg-gallery-card .mg-card-image,
.profile-appointment-media img {
    display: block;
    height: 100% !important;
    margin: 0 !important;
    max-width: none;
    min-height: 100%;
    object-fit: cover;
    width: 100% !important;
}

body.gallery-page .gallery-photo-tile,
body.gallery-page .mg-gallery-card.gallery-photo-tile {
    contain: paint;
    padding: 0 !important;
}

body.gallery-page .gallery-photo-tile .mg-card-body {
    display: none !important;
}

body.gallery-page .gallery-photo-tile .mg-card-image {
    transform: none !important;
}

body.gallery-page .gallery-photo-featured .mg-card-image {
    object-position: center 53%;
}

body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(2) .mg-card-image {
    object-position: center 58%;
}

body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(3) .mg-card-image {
    object-position: center 42%;
}

body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(4) .mg-card-image,
body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(7) .mg-card-image {
    object-position: center 55%;
}

body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(5) .mg-card-image,
body.gallery-page .gallery-showcase-grid .gallery-photo-tile:nth-child(6) .mg-card-image {
    object-position: center 50%;
}

.home-certificate-panel {
    overflow: hidden;
}

.home-certificate-panel img {
    align-self: center;
    bottom: 14px !important;
    height: auto !important;
    margin: 0 !important;
    max-height: calc(100% - 28px) !important;
    max-width: min(34vw, 150px) !important;
    object-fit: contain;
    object-position: center;
    right: 16px !important;
    transform: rotate(-4deg) !important;
    width: auto !important;
}

@media (max-width: 767.98px) {
    body.gallery-page .gallery-photo-tile,
    body.gallery-page .mg-gallery-card.gallery-photo-tile {
        aspect-ratio: 1 / 1.08 !important;
        height: auto !important;
    }

    body.gallery-page .gallery-photo-tile .mg-card-image,
    body.gallery-page .mg-gallery-card .mg-card-image {
        aspect-ratio: auto !important;
        height: 100% !important;
    }

    .home-certificate-panel img {
        bottom: 12px !important;
        max-height: calc(100% - 24px) !important;
        max-width: min(42vw, 132px) !important;
        right: 12px !important;
        width: auto !important;
    }
}

/* Profile professional grid refresh. */
body.profile-concept-page {
    background:
        linear-gradient(180deg, #fffaf7 0%, #f4ebe4 100%) !important;
    color: #2a1a14;
}

body.profile-concept-page .profile-shell {
    background:
        radial-gradient(circle at 14% 0%, rgba(184, 118, 85, 0.16), transparent 32%),
        radial-gradient(circle at 84% 8%, rgba(63, 36, 24, 0.08), transparent 30%),
        linear-gradient(180deg, #fffaf7 0%, #f4ebe4 100%) !important;
    min-height: calc(100dvh - 92px) !important;
}

body.profile-concept-page .profile-workspace {
    padding: clamp(0.7rem, 2.4vw, 1.8rem) 0 clamp(2.2rem, 6vw, 4rem) !important;
}

body.profile-concept-page .profile-workspace > .container {
    max-width: 1220px;
}

body.profile-concept-page .profile-panel {
    align-items: start !important;
    display: grid !important;
    gap: clamp(0.75rem, 1.6vw, 1.15rem) !important;
    grid-template-areas:
        "client"
        "menu"
        "content" !important;
    grid-template-columns: minmax(0, 1fr) !important;
}

body.profile-concept-page .profile-dashboard-client {
    background:
        linear-gradient(135deg, rgba(255, 250, 247, 0.96), rgba(246, 236, 228, 0.94)) !important;
    border: 1px solid rgba(63, 36, 24, 0.1) !important;
    border-radius: 18px !important;
    box-shadow: 0 22px 70px rgba(63, 36, 24, 0.1) !important;
    display: grid !important;
    gap: 0.9rem !important;
    grid-area: client !important;
    grid-template-columns: minmax(0, 1fr) !important;
    margin: 0 !important;
    min-width: 0 !important;
    overflow: hidden;
    padding: clamp(1rem, 2vw, 1.35rem) !important;
    position: relative;
    width: 100% !important;
}

body.profile-concept-page .profile-dashboard-client::after {
    background: linear-gradient(135deg, rgba(184, 118, 85, 0.16), transparent 62%);
    content: "";
    inset: 0 0 auto auto;
    height: 120px;
    pointer-events: none;
    position: absolute;
    width: 220px;
}

body.profile-concept-page .profile-dashboard-client .profile-client-main {
    align-items: center;
    display: grid !important;
    gap: 0.85rem !important;
    grid-template-columns: 62px minmax(0, 1fr) !important;
    min-width: 0;
}

body.profile-concept-page .profile-dashboard-client .profile-client-avatar {
    border: 1px solid rgba(255, 255, 255, 0.78) !important;
    box-shadow: 0 14px 34px rgba(63, 36, 24, 0.14);
    height: 62px !important;
    overflow: hidden;
    width: 62px !important;
}

body.profile-concept-page .profile-dashboard-client .profile-client-main strong,
body.profile-concept-page .profile-dashboard-client .profile-client-main small {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-concept-page .profile-dashboard-client .profile-client-main strong {
    font-size: clamp(1.22rem, 3.2vw, 1.7rem) !important;
    line-height: 1.05;
}

body.profile-concept-page .profile-dashboard-client .profile-client-stats {
    display: grid !important;
    gap: 0.6rem !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    min-width: 0;
}

body.profile-concept-page .profile-dashboard-client .profile-client-stats > div {
    background: rgba(255, 255, 255, 0.68) !important;
    border-radius: 14px !important;
    min-height: 72px;
    padding: 0.8rem !important;
}

body.profile-concept-page .profile-dashboard-client .ui-button-primary {
    align-items: center;
    display: inline-flex !important;
    justify-content: center;
    min-height: 46px;
    position: relative;
    z-index: 1;
}

body.profile-concept-page .profile-menu {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    grid-area: menu !important;
    min-width: 0 !important;
    padding: 0 !important;
    position: static !important;
    top: auto !important;
    width: 100% !important;
}

body.profile-concept-page .profile-menu .account-menu-list {
    background: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid rgba(63, 36, 24, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 48px rgba(63, 36, 24, 0.08) !important;
    display: grid !important;
    gap: 0.38rem !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    margin: 0 !important;
    padding: 0.45rem !important;
    width: 100% !important;
}

body.profile-concept-page .profile-menu .account-menu-list li {
    min-width: 0 !important;
    width: 100% !important;
}

body.profile-concept-page .profile-menu .profile-menu-spacer,
body.profile-concept-page .profile-menu .profile-menu-logout-item {
    display: none !important;
}

body.profile-concept-page .profile-menu .nav-link,
body.profile-concept-page .profile-menu .nav-link.active,
body.profile-concept-page .profile-menu .nav-link:hover,
body.profile-concept-page .profile-menu .nav-link:focus-visible,
body.profile-concept-page .profile-logout,
body.profile-concept-page .profile-logout:hover,
body.profile-concept-page .profile-logout:focus-visible {
    align-items: center !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    color: #6f5b50 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.28rem !important;
    justify-content: center !important;
    min-height: 58px !important;
    min-width: 0 !important;
    padding: 0.48rem 0.2rem !important;
    text-align: center;
    transform: none !important;
    width: 100% !important;
}

body.profile-concept-page .profile-menu .nav-link.active {
    color: #2a1a14 !important;
}

body.profile-concept-page .profile-menu .nav-link i {
    color: #8f4a35 !important;
    font-size: 1rem !important;
    height: 18px;
}

body.profile-concept-page .profile-menu .nav-link span {
    display: block;
    font-size: 0.7rem;
    font-weight: 850;
    line-height: 1.05;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-concept-page .profile-content {
    grid-area: content !important;
    min-width: 0 !important;
    width: 100% !important;
}

body.profile-concept-page .profile-dashboard-layout,
body.profile-concept-page .profile-bonus-layout,
body.profile-concept-page .profile-address-grid {
    display: grid !important;
    gap: clamp(0.75rem, 1.6vw, 1rem) !important;
    grid-template-columns: minmax(0, 1fr) !important;
}

body.profile-concept-page .profile-card,
body.profile-concept-page .profile-card-inner,
body.profile-concept-page .profile-bonus-card,
body.profile-concept-page .profile-address-grid .account-address {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(63, 36, 24, 0.09) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 52px rgba(63, 36, 24, 0.075) !important;
    min-width: 0 !important;
    overflow: hidden;
    padding: clamp(1rem, 2vw, 1.25rem) !important;
}

body.profile-concept-page .profile-card-head {
    align-items: start !important;
    display: flex !important;
    gap: 0.8rem;
    justify-content: space-between !important;
    margin-bottom: 0.95rem !important;
}

body.profile-concept-page .profile-card-action {
    white-space: nowrap;
}

body.profile-concept-page .profile-appointment-cards,
body.profile-concept-page .profile-completed-cards,
body.profile-concept-page .profile-preview-fields,
body.profile-concept-page .profile-address-preview-list {
    display: grid !important;
    gap: 0.68rem !important;
}

body.profile-concept-page .profile-appointment-card {
    align-items: center !important;
    background: #fffaf7 !important;
    border: 1px solid rgba(63, 36, 24, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    display: grid !important;
    gap: 0.75rem !important;
    grid-template-columns: 58px minmax(0, 1fr) 16px !important;
    min-height: 96px !important;
    min-width: 0 !important;
    padding: 0.72rem !important;
    text-align: left;
    width: 100% !important;
}

body.profile-concept-page .profile-appointment-main,
body.profile-concept-page .profile-appointment-card h3,
body.profile-concept-page .profile-appointment-meta {
    min-width: 0;
}

body.profile-concept-page .profile-appointment-card h3 {
    display: -webkit-box;
    font-size: clamp(0.96rem, 2.8vw, 1.08rem) !important;
    line-height: 1.22;
    margin: 0.35rem 0 0.4rem !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.profile-concept-page .profile-appointment-meta {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.42rem 0.72rem !important;
}

body.profile-concept-page .profile-appointment-meta span {
    min-width: 0;
}

body.profile-concept-page .profile-date-tile {
    border-radius: 14px !important;
    height: 68px !important;
    width: 58px !important;
}

body.profile-concept-page .profile-dashboard-loyalty,
body.profile-concept-page .profile-dashboard-preview {
    align-content: start;
}

body.profile-concept-page .profile-dashboard-progress,
body.profile-concept-page .profile-dashboard-code,
body.profile-concept-page .profile-preview-fields > div,
body.profile-concept-page .profile-address-preview-list > div,
body.profile-concept-page .profile-completed-card,
body.profile-concept-page .profile-referral-card {
    background: #fffaf7 !important;
    border: 1px solid rgba(63, 36, 24, 0.08) !important;
    border-radius: 14px !important;
}

body.profile-concept-page .profile-form-grid {
    display: grid !important;
    gap: 0.9rem !important;
    grid-template-columns: minmax(0, 1fr) !important;
}

body.profile-concept-page .profile-form-actions {
    margin-top: 0.2rem;
}

body.profile-concept-page .profile-address-grid .account-address .card-body {
    padding: 0 !important;
}

body.profile-concept-page .profile-map-frame {
    border-radius: 14px !important;
    overflow: hidden;
}

@media (min-width: 768px) {
    body.profile-concept-page .profile-dashboard-client {
        align-items: center;
        grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.62fr) auto !important;
    }

    body.profile-concept-page .profile-menu .account-menu-list {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    body.profile-concept-page .profile-dashboard-layout {
        grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    }

    body.profile-concept-page .profile-card-large {
        grid-column: span 8 !important;
        grid-row: span 2;
    }

    body.profile-concept-page .profile-dashboard-loyalty {
        grid-column: span 4 !important;
    }

    body.profile-concept-page .profile-dashboard-profile,
    body.profile-concept-page .profile-dashboard-addresses {
        grid-column: span 4 !important;
    }

    body.profile-concept-page .profile-bonus-layout {
        grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr) !important;
    }

    body.profile-concept-page .profile-address-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.profile-concept-page .profile-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.profile-concept-page .profile-form-actions {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1200px) {
    body.profile-concept-page .profile-panel {
        grid-template-areas:
            "menu client"
            "menu content" !important;
        grid-template-columns: 220px minmax(0, 1fr) !important;
    }

    body.profile-concept-page .profile-menu .account-menu-list {
        align-content: start;
        gap: 0.18rem !important;
        grid-template-columns: minmax(0, 1fr) !important;
        padding: 0.7rem !important;
    }

    body.profile-concept-page .profile-menu .account-menu-list li {
        width: 100% !important;
    }

    body.profile-concept-page .profile-menu .profile-menu-logout-item {
        display: block !important;
        margin-top: 0.45rem;
    }

    body.profile-concept-page .profile-menu .nav-link,
    body.profile-concept-page .profile-menu .nav-link.active,
    body.profile-concept-page .profile-menu .nav-link:hover,
    body.profile-concept-page .profile-menu .nav-link:focus-visible,
    body.profile-concept-page .profile-logout,
    body.profile-concept-page .profile-logout:hover,
    body.profile-concept-page .profile-logout:focus-visible {
        flex-direction: row !important;
        justify-content: flex-start !important;
        min-height: 48px !important;
        padding: 0.78rem 0.82rem !important;
        text-align: left;
    }

    body.profile-concept-page .profile-menu .nav-link.active {
        background: rgba(143, 74, 53, 0.08) !important;
        border-color: rgba(143, 74, 53, 0.12) !important;
    }

    body.profile-concept-page .profile-menu .nav-link span {
        font-size: 0.86rem;
        text-align: left;
    }

    body.profile-concept-page .profile-dashboard-layout {
        align-items: stretch;
    }
}

@media (min-width: 1440px) {
    body.profile-concept-page .profile-workspace > .container {
        max-width: 1280px;
    }

    body.profile-concept-page .profile-panel {
        grid-template-columns: 236px minmax(0, 1fr) !important;
    }
}

/* Profile density pass: use the full grid instead of leaving empty air. */
body.profile-concept-page .profile-dashboard-addresses {
    min-height: 0;
}

body.profile-concept-page .profile-dashboard-addresses .profile-address-preview-list {
    grid-template-columns: minmax(0, 1fr) !important;
}

body.profile-concept-page .profile-dashboard-addresses .profile-address-preview-list > div {
    align-items: start;
    display: grid;
    gap: 0.25rem;
    min-height: 0;
    padding: 0.9rem !important;
}

body.profile-concept-page .profile-bonus-card {
    align-content: start;
    display: grid !important;
    gap: 0.78rem !important;
}

body.profile-concept-page .profile-bonus-card > .profile-section-kicker {
    margin-bottom: -0.15rem;
}

body.profile-concept-page .loyalty-card {
    border-radius: 18px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 42px rgba(43, 23, 16, 0.14) !important;
    display: grid !important;
    gap: 1.1rem !important;
    min-height: 0 !important;
    padding: clamp(1rem, 2vw, 1.25rem) !important;
}

body.profile-concept-page .loyalty-card strong {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
    line-height: 0.95;
}

body.profile-concept-page .loyalty-card .loyalty-points-unit {
    font-size: 0.9rem;
}

body.profile-concept-page .loyalty-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: grid !important;
    gap: 0.28rem !important;
    padding-top: 0.88rem;
}

body.profile-concept-page .profile-referral-card {
    align-items: center !important;
    display: grid !important;
    gap: 0.85rem !important;
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 1rem !important;
}

body.profile-concept-page .profile-referral-card h3 {
    font-size: clamp(1rem, 2.4vw, 1.28rem) !important;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

body.profile-concept-page .profile-referral-card p {
    margin-bottom: 0 !important;
}

body.profile-concept-page .profile-referral-card .ui-button-secondary {
    justify-self: stretch;
    min-height: 44px;
}

@media (min-width: 768px) {
    body.profile-concept-page .profile-dashboard-addresses {
        grid-column: 1 / -1 !important;
    }

    body.profile-concept-page .profile-dashboard-addresses .profile-address-preview-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.profile-concept-page .profile-bonus-card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) !important;
    }

    body.profile-concept-page .profile-bonus-card > .profile-section-kicker {
        grid-column: 1 / -1;
    }

    body.profile-concept-page .loyalty-card,
    body.profile-concept-page .profile-referral-card {
        height: 100%;
    }

    body.profile-concept-page .profile-referral-card .ui-button-secondary {
        justify-self: start;
        min-width: 170px;
    }
}

@media (min-width: 1200px) {
    body.profile-concept-page .profile-card-large {
        grid-column: span 8 !important;
    }

    body.profile-concept-page .profile-dashboard-loyalty,
    body.profile-concept-page .profile-dashboard-profile {
        grid-column: span 4 !important;
    }

    body.profile-concept-page .profile-dashboard-addresses .profile-address-preview-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.profile-concept-page .profile-bonus-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.profile-concept-page .profile-bonus-card {
        grid-template-columns: minmax(360px, 0.95fr) minmax(320px, 1.05fr) !important;
    }

    body.profile-concept-page #pills-gift .profile-card-inner {
        display: grid !important;
        gap: 0.8rem !important;
        grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    }

    body.profile-concept-page #pills-gift .profile-card-inner .profile-card-head {
        grid-column: 1 / -1;
        margin-bottom: 0 !important;
    }

    body.profile-concept-page #pills-gift .profile-completed-cards {
        min-width: 0;
    }

}

/* Profile concept v4: wide appointments, rebuilt premium bonus card. */
body.profile-concept-page #pills-order .profile-dashboard-layout {
    grid-template-columns: minmax(0, 1fr) !important;
}

body.profile-concept-page #pills-order .profile-card-large,
body.profile-concept-page #pills-order .profile-dashboard-loyalty,
body.profile-concept-page #pills-order .profile-dashboard-addresses,
body.profile-concept-page #pills-gift .profile-bonus-card,
body.profile-concept-page #pills-gift .profile-card-inner {
    grid-column: 1 / -1 !important;
}

body.profile-concept-page #pills-order .profile-dashboard-profile {
    grid-column: 1 / -1 !important;
}

body.profile-concept-page #pills-order .profile-dashboard-preview {
    display: block !important;
}

body.profile-concept-page .profile-appointment-card {
    align-items: center !important;
    background:
        linear-gradient(135deg, rgba(255, 250, 247, 0.98), rgba(249, 239, 232, 0.96)) !important;
    border-color: rgba(80, 44, 29, 0.11) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 16px 34px rgba(66, 37, 24, 0.07) !important;
    gap: clamp(0.7rem, 2vw, 1rem) !important;
    grid-template-columns: 58px minmax(0, 1fr) 16px !important;
    min-height: 98px !important;
    padding: clamp(0.75rem, 2vw, 1rem) !important;
}

body.profile-concept-page .profile-appointment-thumb {
    display: none;
}

body.profile-concept-page .profile-appointment-thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

body.profile-concept-page .profile-appointment-card-head {
    align-items: center !important;
    display: flex !important;
    gap: 0.5rem !important;
    justify-content: space-between !important;
}

body.profile-concept-page .profile-appointment-card h3 {
    font-size: clamp(1rem, 2.4vw, 1.22rem) !important;
    line-height: 1.16 !important;
    margin: 0.38rem 0 0.48rem !important;
}

body.profile-concept-page .profile-appointment-meta span {
    color: rgba(61, 36, 26, 0.72);
    font-size: 0.84rem !important;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

body.profile-concept-page .profile-loyalty-overview {
    align-items: stretch !important;
    background:
        radial-gradient(circle at 14% 0%, rgba(232, 179, 130, 0.24), transparent 32%),
        linear-gradient(135deg, #2a1710 0%, #3b2016 48%, #1d110d 100%) !important;
    border: 1px solid rgba(255, 225, 196, 0.18) !important;
    box-shadow: 0 24px 62px rgba(43, 23, 16, 0.18) !important;
    color: #fffaf7 !important;
    display: grid !important;
    gap: clamp(0.8rem, 2vw, 1rem) !important;
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: hidden;
    position: relative;
}

body.profile-concept-page .profile-loyalty-overview::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    content: "";
    height: 1px;
    left: 1.1rem;
    position: absolute;
    right: 1.1rem;
    top: 0;
}

body.profile-concept-page .profile-loyalty-overview .profile-section-kicker,
body.profile-concept-page .profile-bonus-card .profile-section-kicker {
    color: rgba(246, 213, 186, 0.84) !important;
}

body.profile-concept-page .profile-loyalty-overview .account-title {
    color: #fffaf7 !important;
    font-size: clamp(1.65rem, 4.4vw, 2.55rem) !important;
    letter-spacing: 0 !important;
    line-height: 1.08;
    margin: 0.28rem 0 0.38rem !important;
    padding-bottom: 0.08em;
}

body.profile-concept-page .profile-loyalty-overview-main p {
    color: rgba(255, 250, 247, 0.74);
    line-height: 1.48;
    margin: 0;
    max-width: 54ch;
}

body.profile-concept-page .profile-loyalty-overview-progress,
body.profile-concept-page .profile-loyalty-overview-code {
    background: rgba(255, 250, 247, 0.08) !important;
    border: 1px solid rgba(255, 250, 247, 0.14) !important;
    border-radius: 16px !important;
    color: #fffaf7 !important;
    display: grid;
    gap: 0.42rem;
    min-height: 104px;
    padding: 1rem !important;
}

body.profile-concept-page .profile-loyalty-overview-progress > span,
body.profile-concept-page .profile-loyalty-overview-code > span {
    color: rgba(255, 250, 247, 0.62);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.profile-concept-page .profile-loyalty-overview-progress small {
    color: rgba(255, 250, 247, 0.78);
}

body.profile-concept-page .profile-loyalty-overview-progress div {
    background: rgba(255, 250, 247, 0.14) !important;
    border: 0 !important;
    height: 8px;
    overflow: hidden;
}

body.profile-concept-page .profile-loyalty-overview-progress i {
    background: linear-gradient(90deg, #e0a46f, #ffe1c0) !important;
    width: 62%;
}

body.profile-concept-page .profile-loyalty-overview-code strong {
    color: #fffaf7;
    font-size: clamp(1rem, 2.4vw, 1.22rem);
    letter-spacing: 0.06em;
    overflow-wrap: anywhere;
}

body.profile-concept-page .profile-loyalty-overview-action {
    align-self: end;
    background: #fffaf7 !important;
    border-color: transparent !important;
    color: #2b1710 !important;
    justify-self: stretch;
    min-height: 48px;
}

body.profile-concept-page #pills-gift .profile-bonus-layout {
    grid-template-columns: minmax(0, 1fr) !important;
}

body.profile-concept-page #pills-gift .profile-bonus-card {
    background:
        linear-gradient(135deg, rgba(51, 29, 20, 0.98), rgba(30, 18, 14, 0.98)) !important;
    border-color: rgba(255, 225, 196, 0.16) !important;
    color: #fffaf7 !important;
    gap: clamp(0.9rem, 2vw, 1.1rem) !important;
    grid-template-columns: minmax(0, 1fr) !important;
    padding: clamp(1rem, 2.2vw, 1.35rem) !important;
}

body.profile-concept-page .profile-bonus-card-head {
    display: grid;
    gap: 0.3rem;
    grid-column: 1 / -1;
}

body.profile-concept-page .profile-bonus-card-head .account-title {
    color: #fffaf7 !important;
    font-size: clamp(1.38rem, 3vw, 2rem) !important;
    line-height: 1.12;
    margin: 0 !important;
    padding-bottom: 0.06em;
}

body.profile-concept-page .profile-bonus-card-head p {
    color: rgba(255, 250, 247, 0.68);
    line-height: 1.5;
    margin: 0;
    max-width: 64ch;
}

body.profile-concept-page #pills-gift .loyalty-card {
    background:
        radial-gradient(circle at 18% 8%, rgba(255, 220, 187, 0.26), transparent 34%),
        linear-gradient(145deg, #5b321f, #2d180f 58%, #1b0f0b) !important;
    border: 1px solid rgba(255, 240, 224, 0.16) !important;
    min-height: 236px !important;
    padding: clamp(1.15rem, 2.4vw, 1.45rem) !important;
}

body.profile-concept-page #pills-gift .loyalty-card strong {
    color: #fffaf7;
    font-size: clamp(2.1rem, 7vw, 3.6rem) !important;
    line-height: 1.08;
    padding-bottom: 0.06em;
}

body.profile-concept-page #pills-gift .profile-referral-card {
    align-content: stretch !important;
    background: rgba(255, 250, 247, 0.94) !important;
    border-color: rgba(255, 236, 219, 0.55) !important;
    color: #2d1a12 !important;
    min-height: 236px;
    padding: clamp(1.05rem, 2.2vw, 1.35rem) !important;
}

body.profile-concept-page .profile-bonus-benefits {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.profile-concept-page .profile-bonus-benefits div {
    background: #fff5ef;
    border: 1px solid rgba(63, 36, 24, 0.08);
    border-radius: 14px;
    display: grid;
    gap: 0.16rem;
    min-width: 0;
    padding: 0.82rem;
}

body.profile-concept-page .profile-bonus-benefits strong {
    color: #3a2017;
    font-size: 1rem;
    line-height: 1.1;
}

body.profile-concept-page .profile-bonus-benefits span {
    color: rgba(61, 36, 26, 0.62);
    font-size: 0.78rem;
    line-height: 1.25;
}

body.profile-concept-page #pills-gift .profile-card-inner {
    grid-template-columns: minmax(0, 1fr) !important;
}

@media (min-width: 768px) {
    body.profile-concept-page .profile-appointment-card {
        grid-template-columns: 64px 108px minmax(0, 1fr) 18px !important;
        min-height: 118px !important;
    }

    body.profile-concept-page .profile-appointment-thumb {
        border-radius: 16px;
        display: block;
        height: 86px;
        overflow: hidden;
        width: 108px;
    }

    body.profile-concept-page .profile-loyalty-overview {
        grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.52fr) minmax(190px, 0.54fr) !important;
    }

    body.profile-concept-page .profile-loyalty-overview-action {
        grid-column: 1 / -1;
        justify-self: start;
        min-width: 210px;
    }

    body.profile-concept-page #pills-gift .profile-bonus-card {
        grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr) !important;
    }

    body.profile-concept-page #pills-gift .profile-card-inner {
        grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.9fr) !important;
    }
}

@media (min-width: 1024px) {
    body.profile-concept-page #pills-order .profile-dashboard-layout {
        grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    }

    body.profile-concept-page #pills-order .profile-card-large,
    body.profile-concept-page #pills-order .profile-dashboard-loyalty {
        grid-column: 1 / -1 !important;
    }

    body.profile-concept-page #pills-order .profile-dashboard-profile {
        grid-column: span 4 !important;
    }

    body.profile-concept-page #pills-order .profile-dashboard-addresses {
        grid-column: span 8 !important;
    }
}

@media (min-width: 1200px) {
    body.profile-concept-page .profile-appointment-card {
        grid-template-columns: 66px 124px minmax(0, 1fr) 20px !important;
        min-height: 128px !important;
    }

    body.profile-concept-page .profile-appointment-thumb {
        height: 96px;
        width: 124px;
    }

    body.profile-concept-page .profile-loyalty-overview {
        grid-template-columns: minmax(0, 1.25fr) minmax(210px, 0.48fr) minmax(230px, 0.52fr) auto !important;
    }

    body.profile-concept-page .profile-loyalty-overview-action {
        grid-column: auto;
        justify-self: stretch;
        min-width: 168px;
    }

    body.profile-concept-page #pills-gift .profile-bonus-card {
        grid-template-columns: minmax(370px, 0.92fr) minmax(360px, 1.08fr) !important;
    }
}

@media (max-width: 575.98px) {
    body.profile-concept-page .site-mobile-tabbar {
        background: #fffaf7 !important;
        border-color: rgba(63, 36, 24, 0.14) !important;
        box-shadow: 0 -16px 36px rgba(43, 23, 16, 0.16) !important;
    }

    body.profile-concept-page .profile-workspace {
        padding-top: 0.75rem !important;
    }

    body.profile-concept-page .profile-panel {
        gap: 0.72rem !important;
    }

    body.profile-concept-page .profile-dashboard-client {
        gap: 0.68rem !important;
        padding: 0.82rem !important;
    }

    body.profile-concept-page .profile-client-avatar {
        height: 60px !important;
        width: 60px !important;
    }

    body.profile-concept-page .profile-client-main {
        gap: 0.72rem !important;
    }

    body.profile-concept-page .profile-client-stats {
        gap: 0.55rem !important;
    }

    body.profile-concept-page .profile-client-stats > div {
        min-height: 58px !important;
        padding: 0.68rem 0.72rem !important;
    }

    body.profile-concept-page .profile-dashboard-client .ui-button-primary {
        min-height: 46px !important;
    }

    body.profile-concept-page .profile-menu {
        padding: 0.62rem !important;
    }

    body.profile-concept-page .profile-menu .account-menu-list {
        gap: 0.28rem !important;
    }

    body.profile-concept-page .profile-menu .nav-link {
        min-height: 52px !important;
        padding: 0.46rem 0.22rem !important;
    }

    body.profile-concept-page .profile-appointment-card {
        gap: 0.5rem !important;
        grid-template-columns: 58px minmax(0, 1fr) 12px !important;
        min-height: 132px !important;
        padding: 0.68rem !important;
    }

    body.profile-concept-page .profile-date-tile {
        width: 58px !important;
    }

    body.profile-concept-page .profile-appointment-card h3 {
        -webkit-line-clamp: 3;
        line-height: 1.22 !important;
    }

    body.profile-concept-page .profile-status-badge {
        max-width: 100%;
    }

    body.profile-concept-page .profile-bonus-benefits {
        grid-template-columns: minmax(0, 1fr);
    }

    body.profile-concept-page .profile-loyalty-overview .account-title {
        font-size: clamp(1.55rem, 9vw, 2.25rem) !important;
    }
}

/* Profile concept v5: match the generated dashboard layout instead of the legacy card stack. */
body.profile-concept-page {
    background: #f7f0eb !important;
}

body.profile-concept-page .profile-shell {
    background:
        radial-gradient(circle at 10% 8%, rgba(86, 48, 32, 0.08), transparent 30%),
        linear-gradient(180deg, #fffaf7 0%, #f6eee8 100%) !important;
}

body.profile-concept-page .profile-workspace {
    padding: clamp(1.25rem, 2.2vw, 2rem) 0 clamp(2rem, 3vw, 2.7rem) !important;
}

body.profile-concept-page .profile-workspace > .container {
    max-width: 1540px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: min(calc(100% - 32px), 1540px) !important;
}

body.profile-concept-page .profile-panel {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: grid !important;
    gap: clamp(0.9rem, 1.6vw, 1.15rem) !important;
    grid-template-areas:
        "client"
        "menu"
        "content" !important;
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 0 !important;
}

body.profile-concept-page .profile-menu {
    background: linear-gradient(180deg, #28170f 0%, #1a100b 100%) !important;
    border: 1px solid rgba(255, 224, 194, 0.12) !important;
    border-radius: 18px !important;
    box-shadow: 0 28px 64px rgba(43, 23, 16, 0.18) !important;
    color: #fffaf7 !important;
    display: grid !important;
    gap: 1rem !important;
    grid-area: menu !important;
    overflow: hidden;
    padding: 1rem !important;
}

body.profile-concept-page .profile-menu-brand,
body.profile-concept-page .profile-menu-help {
    display: none;
}

body.profile-concept-page .profile-menu .account-menu-list {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    gap: 0.35rem !important;
    padding: 0 !important;
}

body.profile-concept-page .profile-menu .nav-link,
body.profile-concept-page .profile-logout {
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    color: rgba(255, 250, 247, 0.78) !important;
}

body.profile-concept-page .profile-menu .nav-link i,
body.profile-concept-page .profile-logout i {
    color: rgba(255, 224, 194, 0.88) !important;
}

body.profile-concept-page .profile-menu .nav-link.active,
body.profile-concept-page .profile-menu .nav-link:hover,
body.profile-concept-page .profile-menu .nav-link:focus-visible,
body.profile-concept-page .profile-logout:hover,
body.profile-concept-page .profile-logout:focus-visible {
    background: rgba(255, 250, 247, 0.1) !important;
    border-color: rgba(255, 224, 194, 0.13) !important;
    color: #fffaf7 !important;
}

body.profile-concept-page .profile-dashboard-client,
body.profile-concept-page .profile-card,
body.profile-concept-page .profile-card-inner {
    background: rgba(255, 250, 247, 0.9) !important;
    border: 1px solid rgba(101, 60, 38, 0.18) !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 52px rgba(43, 23, 16, 0.08) !important;
}

body.profile-concept-page .profile-dashboard-client {
    align-items: center !important;
    display: grid !important;
    gap: 1rem !important;
    grid-area: client !important;
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 0 !important;
    padding: clamp(1rem, 1.8vw, 1.25rem) !important;
}

body.profile-concept-page .profile-client-main > div:last-child span {
    color: rgba(102, 60, 39, 0.68);
}

body.profile-concept-page .profile-client-main > div:last-child strong {
    color: #24150f;
    font-size: clamp(1.35rem, 2.4vw, 1.82rem) !important;
    line-height: 1.18;
    overflow-wrap: anywhere;
    white-space: normal !important;
}

body.profile-concept-page .profile-client-stats {
    display: grid !important;
    gap: 0.8rem !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.profile-concept-page .profile-client-stats > div {
    background: rgba(255, 255, 255, 0.68) !important;
    border: 1px solid rgba(101, 60, 38, 0.14) !important;
    border-radius: 14px !important;
    min-height: 72px !important;
    padding: 0.9rem !important;
}

body.profile-concept-page .profile-client-stats span {
    color: rgba(102, 60, 39, 0.68) !important;
}

body.profile-concept-page .profile-client-stats strong {
    color: #24150f !important;
}

body.profile-concept-page .profile-content {
    grid-area: content !important;
}

body.profile-concept-page .profile-card {
    padding: clamp(1rem, 1.8vw, 1.25rem) !important;
}

body.profile-concept-page .profile-card-head {
    margin-bottom: 0.9rem !important;
}

body.profile-concept-page .profile-card-head .account-title {
    color: #24150f !important;
    font-size: clamp(1.2rem, 1.8vw, 1.42rem) !important;
    line-height: 1.1;
}

body.profile-concept-page .profile-appointment-cards {
    gap: 0.5rem !important;
}

body.profile-concept-page .profile-appointment-card {
    background: rgba(255, 250, 247, 0.82) !important;
    border-color: rgba(101, 60, 38, 0.18) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    grid-template-columns: 62px minmax(0, 1fr) 18px !important;
    min-height: 108px !important;
    overflow: hidden !important;
    padding: 0.75rem !important;
}

body.profile-concept-page .profile-date-tile {
    background: transparent !important;
    border: 0 !important;
    border-right: 1px solid rgba(101, 60, 38, 0.15) !important;
    border-radius: 0 !important;
    color: #2a1710 !important;
    display: grid !important;
    gap: 0.08rem;
    height: 76px !important;
    justify-items: center;
    place-content: center;
    text-align: center;
    width: 62px !important;
}

body.profile-concept-page .profile-date-tile strong {
    color: #2a1710 !important;
    display: block !important;
    font-size: 1.55rem !important;
    font-weight: 850 !important;
    line-height: 1;
}

body.profile-concept-page .profile-date-tile span,
body.profile-concept-page .profile-date-tile small {
    color: rgba(42, 23, 16, 0.7) !important;
}

body.profile-concept-page .profile-appointment-card h3 {
    color: #24150f !important;
    font-size: clamp(1rem, 1.5vw, 1.14rem) !important;
    line-height: 1.18 !important;
}

body.profile-concept-page .profile-appointment-place,
body.profile-concept-page .profile-appointment-time {
    display: none;
}

body.profile-concept-page .profile-appointment-meta {
    display: flex !important;
}

body.profile-concept-page .profile-status-badge {
    border-radius: 8px !important;
    justify-self: start;
    white-space: nowrap;
}

body.profile-concept-page .profile-loyalty-overview {
    border-radius: 14px !important;
    box-shadow: 0 24px 60px rgba(43, 23, 16, 0.17) !important;
}

body.profile-concept-page #pills-order .profile-loyalty-overview {
    background:
        radial-gradient(circle at 14% 0%, rgba(232, 179, 130, 0.24), transparent 32%),
        linear-gradient(135deg, #2a1710 0%, #3b2016 48%, #1d110d 100%) !important;
    border-color: rgba(255, 225, 196, 0.18) !important;
    color: #fffaf7 !important;
}

body.profile-concept-page #pills-order .profile-dashboard-addresses {
    grid-column: 1 / -1 !important;
}

body.profile-concept-page .profile-dashboard-addresses .profile-address-preview-list {
    gap: 0.85rem !important;
    grid-template-columns: minmax(0, 1fr) !important;
}

body.profile-concept-page .profile-dashboard-addresses .profile-address-preview-list > div {
    align-items: stretch !important;
    background: rgba(255, 250, 247, 0.82) !important;
    border-color: rgba(101, 60, 38, 0.16) !important;
    border-radius: 12px !important;
    display: grid !important;
    gap: 0.85rem !important;
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 0.75rem !important;
}

body.profile-concept-page .profile-salon-thumb {
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    min-height: 142px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
}

body.profile-concept-page .profile-salon-thumb img {
    display: block;
    height: 100%;
    min-width: 0;
    max-width: 100%;
    object-fit: cover;
    width: 100%;
}

body.profile-concept-page .profile-salon-copy {
    align-content: center;
    display: grid;
    gap: 0.36rem;
    min-width: 0;
}

body.profile-concept-page .profile-salon-copy strong {
    color: #24150f;
    font-size: 1.08rem;
}

body.profile-concept-page .profile-salon-copy span,
body.profile-concept-page .profile-salon-copy small {
    color: rgba(54, 32, 22, 0.68);
}

body.profile-concept-page .profile-salon-copy a {
    color: #8f4a35;
    font-weight: 800;
}

@media (min-width: 768px) {
    body.profile-concept-page .profile-dashboard-client {
        grid-template-columns: minmax(0, 1fr) minmax(230px, 0.62fr) auto !important;
    }

    body.profile-concept-page .profile-dashboard-addresses .profile-address-preview-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.profile-concept-page .profile-dashboard-addresses .profile-address-preview-list > div {
        grid-template-columns: 220px minmax(0, 1fr) !important;
    }
}

@media (min-width: 1100px) {
    body.profile-concept-page .profile-workspace {
        padding-top: 1.55rem !important;
    }

    body.profile-concept-page .profile-panel {
        align-items: start !important;
        grid-template-areas:
            "menu client"
            "menu content" !important;
        grid-template-columns: 252px minmax(0, 1fr) !important;
        grid-template-rows: 114px auto !important;
    }

    body.profile-concept-page .profile-menu {
        align-self: stretch !important;
        border-radius: 0 !important;
        min-height: 0 !important;
        padding: 1.25rem 1rem !important;
    }

    body.profile-concept-page .profile-menu-brand {
        align-items: center;
        border-bottom: 1px solid rgba(255, 224, 194, 0.12);
        display: grid;
        gap: 0.6rem;
        justify-items: center;
        padding: 0.45rem 0 1.1rem;
        text-align: center;
    }

    body.profile-concept-page .profile-menu-brand img {
        filter: brightness(0) invert(1) sepia(0.35) saturate(1.5);
        height: 78px;
        max-width: 164px;
        object-fit: contain;
        opacity: 0.92;
        width: 164px;
    }

    body.profile-concept-page .profile-menu-brand span {
        color: rgba(255, 224, 194, 0.74);
        font-size: 0.68rem;
        font-weight: 850;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }

    body.profile-concept-page .profile-menu .account-menu-list {
        gap: 0.52rem !important;
    }

    body.profile-concept-page .profile-menu .nav-link,
    body.profile-concept-page .profile-logout {
        min-height: 50px !important;
        padding: 0.82rem 0.9rem !important;
    }

    body.profile-concept-page .profile-menu .nav-link span,
    body.profile-concept-page .profile-logout span {
        color: inherit;
        font-size: 0.95rem !important;
        line-height: 1.12;
        white-space: normal;
    }

    body.profile-concept-page .profile-menu-help {
        align-self: end;
        background: rgba(255, 250, 247, 0.08);
        border: 1px solid rgba(255, 224, 194, 0.11);
        border-radius: 16px;
        display: grid;
        gap: 0.55rem;
        margin-top: 2rem;
        padding: 1rem;
    }

    body.profile-concept-page .profile-menu-help > i {
        color: #f0c28e;
        font-size: 1.25rem;
    }

    body.profile-concept-page .profile-menu-help strong {
        color: #fffaf7;
    }

    body.profile-concept-page .profile-menu-help span {
        color: rgba(255, 250, 247, 0.68);
        font-size: 0.82rem;
        line-height: 1.45;
    }

    body.profile-concept-page .profile-menu-help div {
        display: flex;
        gap: 0.45rem;
    }

    body.profile-concept-page .profile-menu-help a {
        align-items: center;
        background: rgba(255, 250, 247, 0.12);
        border-radius: 999px;
        color: #ffe0c2;
        display: inline-flex;
        height: 38px;
        justify-content: center;
        width: 38px;
    }

    body.profile-concept-page .profile-dashboard-layout {
        gap: 1rem !important;
    }

    body.profile-concept-page .profile-card-large {
        grid-column: 1 / -1 !important;
    }

    body.profile-concept-page .profile-appointment-card {
        grid-template-columns: 76px 96px minmax(240px, 1.35fr) minmax(150px, 0.75fr) 82px minmax(92px, auto) 18px !important;
        min-height: 86px !important;
        padding: 0.56rem 0.7rem !important;
    }

    body.profile-concept-page .profile-date-tile {
        height: 72px !important;
        width: 76px !important;
    }

    body.profile-concept-page .profile-appointment-thumb {
        border-radius: 8px !important;
        display: block;
        height: 58px !important;
        width: 96px !important;
    }

    body.profile-concept-page .profile-appointment-card-head {
        margin-bottom: 0.1rem;
    }

    body.profile-concept-page .profile-appointment-card h3 {
        display: block !important;
        overflow: visible !important;
        -webkit-line-clamp: unset !important;
        white-space: normal !important;
    }

    body.profile-concept-page .profile-appointment-meta {
        display: none !important;
    }

    body.profile-concept-page .profile-appointment-place,
    body.profile-concept-page .profile-appointment-time {
        align-items: center;
        color: rgba(54, 32, 22, 0.78);
        display: grid;
        gap: 0.18rem;
        grid-template-columns: 18px minmax(0, 1fr);
        min-width: 0;
    }

    body.profile-concept-page .profile-appointment-place i,
    body.profile-concept-page .profile-appointment-time i {
        color: #8f4a35;
        font-size: 1.05rem;
        grid-row: span 2;
    }

    body.profile-concept-page .profile-appointment-place span,
    body.profile-concept-page .profile-appointment-time strong {
        color: #2a1710;
        font-size: 0.92rem;
        font-weight: 800;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.profile-concept-page .profile-appointment-place small {
        color: rgba(54, 32, 22, 0.62);
        font-size: 0.78rem;
        line-height: 1.22;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
    }

    body.profile-concept-page .profile-status-badge {
        align-self: center;
        justify-self: center;
    }

    body.profile-concept-page .profile-loyalty-overview {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr) minmax(260px, 0.78fr) auto !important;
        min-height: 194px;
    }

    body.profile-concept-page .profile-dashboard-profile {
        display: none !important;
    }

    body.profile-concept-page #pills-order .profile-dashboard-profile {
        display: none !important;
    }

    body.profile-concept-page #pills-order .profile-dashboard-addresses {
        grid-column: 1 / -1 !important;
    }

    body.profile-concept-page .profile-dashboard-addresses .profile-address-preview-list > div {
        grid-template-columns: 180px minmax(0, 1fr) !important;
    }
}

@media (min-width: 1440px) {
    body.profile-concept-page .profile-panel {
        grid-template-columns: 260px minmax(0, 1fr) !important;
    }

    body.profile-concept-page .profile-appointment-card {
        grid-template-columns: 78px 112px minmax(260px, 1.25fr) minmax(210px, 0.85fr) 100px minmax(112px, auto) 20px !important;
    }

    body.profile-concept-page .profile-appointment-thumb {
        width: 112px !important;
    }

    body.profile-concept-page .profile-dashboard-addresses .profile-address-preview-list > div {
        grid-template-columns: 240px minmax(0, 1fr) !important;
    }
}

@media (max-width: 575.98px) {
    body.profile-concept-page .profile-menu {
        background: rgba(255, 250, 247, 0.96) !important;
        border-color: rgba(101, 60, 38, 0.12) !important;
        box-shadow: 0 16px 42px rgba(43, 23, 16, 0.08) !important;
        color: #2a1710 !important;
    }

    body.profile-concept-page .profile-menu .nav-link,
    body.profile-concept-page .profile-menu .nav-link.active,
    body.profile-concept-page .profile-menu .nav-link:hover,
    body.profile-concept-page .profile-menu .nav-link:focus-visible {
        color: #2a1710 !important;
    }

    body.profile-concept-page .profile-menu .nav-link.active {
        background: rgba(143, 74, 53, 0.08) !important;
        border-color: rgba(143, 74, 53, 0.12) !important;
    }

    body.profile-concept-page .profile-menu .nav-link i {
        color: #8f4a35 !important;
    }

    body.profile-concept-page .profile-appointment-card {
        grid-template-columns: 58px minmax(0, 1fr) 12px !important;
        grid-template-rows: auto auto !important;
    }

    body.profile-concept-page .profile-appointment-card .profile-date-tile {
        grid-column: 1;
        grid-row: 1 / span 2;
        background: #b9654f !important;
        border: 0 !important;
        border-radius: 14px !important;
        color: #fffaf7 !important;
        height: 72px !important;
        width: 58px !important;
    }

    body.profile-concept-page .profile-appointment-card .profile-date-tile strong,
    body.profile-concept-page .profile-appointment-card .profile-date-tile span,
    body.profile-concept-page .profile-appointment-card .profile-date-tile small {
        color: #fffaf7 !important;
    }

    body.profile-concept-page .profile-appointment-main {
        grid-column: 2;
        grid-row: 1;
    }

    body.profile-concept-page .profile-appointment-card > .profile-status-badge {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        max-width: 100%;
    }

    body.profile-concept-page .profile-appointment-card > .profile-card-chevron {
        align-self: center;
        grid-column: 3;
        grid-row: 1 / span 2;
        justify-self: center;
    }
}

/* Profile concept v6: stable rail and concept-accurate loyalty band. */
body.profile-concept-page .profile-menu-brand {
    display: none !important;
}

body.profile-concept-page .profile-loyalty-overview .account-title {
    font-size: clamp(2.65rem, 6vw, 4rem) !important;
    line-height: 1.12 !important;
    margin: 0.28rem 0 0.18rem !important;
    padding-bottom: 0.05em;
}

body.profile-concept-page .profile-loyalty-overview-main p {
    align-items: baseline;
    display: flex;
    gap: 0.7rem;
    line-height: 1.35;
}

body.profile-concept-page .profile-loyalty-overview-main p strong {
    color: #fffaf7;
    font-size: 1rem;
    font-weight: 750;
}

body.profile-concept-page .profile-loyalty-overview-main p span {
    color: rgba(255, 250, 247, 0.72);
}

body.profile-concept-page .profile-loyalty-overview-progress,
body.profile-concept-page .profile-loyalty-overview-code {
    background: transparent !important;
    border: 0 !important;
    border-left: 1px solid rgba(255, 250, 247, 0.18) !important;
    border-radius: 0 !important;
    min-height: 150px;
    padding: 0.25rem 1.5rem !important;
}

body.profile-concept-page .profile-loyalty-overview-progress strong {
    color: #f1c48f;
    font-size: clamp(2rem, 4.2vw, 3.35rem);
    font-weight: 850;
    letter-spacing: 0.03em;
    line-height: 1.12;
    padding-bottom: 0.05em;
}

body.profile-concept-page .profile-loyalty-overview-progress small,
body.profile-concept-page .profile-loyalty-overview-code small {
    color: rgba(255, 250, 247, 0.68);
    line-height: 1.35;
}

body.profile-concept-page .profile-loyalty-overview-code strong {
    font-size: clamp(1.15rem, 2vw, 1.7rem) !important;
}

body.profile-concept-page .profile-loyalty-overview-code em {
    align-self: start;
    border: 1px solid rgba(255, 250, 247, 0.24);
    border-radius: 8px;
    color: #fffaf7;
    font-style: normal;
    justify-self: start;
    padding: 0.42rem 0.72rem;
}

body.profile-concept-page .profile-loyalty-overview-stamp {
    align-items: center;
    align-self: center;
    background: radial-gradient(circle at 35% 28%, #ffe2ad, #9d7042 72%);
    border: 2px solid rgba(255, 232, 190, 0.76);
    border-radius: 999px;
    box-shadow: inset 0 0 0 8px rgba(42, 23, 16, 0.12), 0 16px 36px rgba(0, 0, 0, 0.24);
    color: #2a1710;
    display: none;
    height: 86px;
    justify-content: center;
    width: 86px;
}

body.profile-concept-page .profile-loyalty-overview-stamp i {
    font-size: 2rem;
}

body.profile-concept-page .profile-loyalty-overview-action {
    background: rgba(255, 250, 247, 0.08) !important;
    border: 1px solid rgba(241, 196, 143, 0.54) !important;
    color: #ffe2ad !important;
}

@media (min-width: 576px) and (max-width: 1099.98px) {
    body.profile-concept-page .profile-appointment-card {
        grid-template-columns: 72px 118px minmax(0, 1fr) 18px !important;
        grid-template-rows: auto auto !important;
        min-height: 124px !important;
    }

    body.profile-concept-page .profile-appointment-card .profile-date-tile {
        align-self: center !important;
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
        height: 78px !important;
        width: 72px !important;
    }

    body.profile-concept-page .profile-appointment-card .profile-appointment-thumb {
        align-self: center !important;
        display: block !important;
        grid-column: 2 !important;
        grid-row: 1 / span 2 !important;
        height: 92px !important;
        width: 118px !important;
    }

    body.profile-concept-page .profile-appointment-card .profile-appointment-main {
        grid-column: 3 !important;
        grid-row: 1 !important;
        min-width: 0 !important;
    }

    body.profile-concept-page .profile-appointment-card > .profile-status-badge {
        grid-column: 3 !important;
        grid-row: 2 !important;
        justify-self: start !important;
        max-width: 100% !important;
    }

    body.profile-concept-page .profile-appointment-card > .profile-card-chevron {
        align-self: center !important;
        grid-column: 4 !important;
        grid-row: 1 / span 2 !important;
        justify-self: end !important;
    }
}

@media (min-width: 1100px) {
    body.profile-concept-page .profile-menu {
        align-self: start !important;
        height: clamp(660px, calc(100dvh - 8.75rem), 820px) !important;
        max-height: 860px;
        min-height: 660px !important;
        position: static !important;
    }

    body.profile-concept-page .profile-menu-help {
        margin-top: auto !important;
    }

    body.profile-concept-page .profile-menu .nav-link,
    body.profile-concept-page .profile-logout {
        border-color: transparent !important;
        box-shadow: none !important;
        min-height: 52px !important;
        transform: none !important;
    }

    body.profile-concept-page .profile-menu .nav-link.active,
    body.profile-concept-page .profile-menu .nav-link:hover,
    body.profile-concept-page .profile-menu .nav-link:focus-visible,
    body.profile-concept-page .profile-logout:hover,
    body.profile-concept-page .profile-logout:focus-visible {
        background: transparent !important;
        border-color: transparent !important;
        color: #fffaf7 !important;
        transform: none !important;
    }

    body.profile-concept-page .profile-menu .nav-link.active i,
    body.profile-concept-page .profile-menu .nav-link:hover i,
    body.profile-concept-page .profile-menu .nav-link:focus-visible i {
        color: #f1c48f !important;
    }

    body.profile-concept-page .profile-loyalty-overview {
        align-items: center !important;
        grid-template-columns: minmax(200px, 0.92fr) minmax(200px, 0.86fr) minmax(240px, 1fr) 88px !important;
        min-height: 212px !important;
        padding: clamp(1.25rem, 2vw, 1.55rem) !important;
        position: relative;
    }

    body.profile-concept-page .profile-loyalty-overview-stamp {
        display: flex;
    }

    body.profile-concept-page .profile-loyalty-overview-action {
        align-self: end;
        bottom: clamp(1.25rem, 2vw, 1.55rem);
        justify-self: auto;
        max-width: 176px;
        position: absolute;
        right: clamp(1.25rem, 2vw, 1.55rem);
        width: 176px;
        z-index: 2;
    }
}

@media (min-width: 1440px) {
    body.profile-concept-page .profile-loyalty-overview {
        grid-template-columns: minmax(250px, 0.92fr) minmax(235px, 0.82fr) minmax(300px, 1fr) 98px !important;
    }

    body.profile-concept-page .profile-loyalty-overview-action {
        max-width: 190px;
        width: 190px;
    }
}

/* Profile concept v7: bonus tab card and stable appointment rhythm. */
body.profile-concept-page #pills-gift .profile-concept-bonus-card {
    align-items: stretch;
    background:
        radial-gradient(circle at 16% 8%, rgba(255, 224, 184, 0.22), transparent 34%),
        linear-gradient(135deg, #5b321f 0%, #321b12 55%, #1b0f0b 100%) !important;
    border: 1px solid rgba(255, 232, 204, 0.18) !important;
    border-radius: 18px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 48px rgba(14, 7, 4, 0.24) !important;
    color: #fffaf7;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0 !important;
    overflow: hidden;
    padding: clamp(1.05rem, 2vw, 1.35rem) !important;
    position: relative;
}

body.profile-concept-page #pills-gift .profile-concept-bonus-card::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
    content: "";
    height: 1px;
    left: 1rem;
    position: absolute;
    right: 1rem;
    top: 0;
}

body.profile-concept-page .profile-concept-bonus-balance,
body.profile-concept-page .profile-concept-bonus-level,
body.profile-concept-page .profile-concept-bonus-holder {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

body.profile-concept-page .profile-concept-bonus-balance > span,
body.profile-concept-page .profile-concept-bonus-level > span,
body.profile-concept-page .profile-concept-bonus-holder > span {
    color: rgba(255, 224, 194, 0.78);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.profile-concept-page .profile-concept-bonus-balance strong {
    color: #fffaf7;
    font-size: clamp(3.35rem, 8vw, 5rem) !important;
    font-weight: 900;
    line-height: 0.98;
}

body.profile-concept-page .profile-concept-bonus-balance p {
    align-items: baseline;
    color: rgba(255, 250, 247, 0.72);
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0;
}

body.profile-concept-page .profile-concept-bonus-balance b {
    color: #fffaf7;
    font-weight: 850;
}

body.profile-concept-page .profile-concept-bonus-balance small,
body.profile-concept-page .profile-concept-bonus-level small,
body.profile-concept-page .profile-concept-bonus-holder small {
    color: rgba(255, 250, 247, 0.68);
    font-size: 0.9rem;
    line-height: 1.38;
    overflow-wrap: anywhere;
}

body.profile-concept-page .profile-concept-bonus-level,
body.profile-concept-page .profile-concept-bonus-holder {
    border-top: 1px solid rgba(255, 250, 247, 0.16);
    padding-top: 1rem;
}

body.profile-concept-page .profile-concept-bonus-level strong {
    color: #f1c48f;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 850;
    letter-spacing: 0.03em;
    line-height: 1.05;
    text-transform: uppercase;
}

body.profile-concept-page .profile-concept-bonus-level div {
    background: rgba(255, 250, 247, 0.15);
    border-radius: 999px;
    height: 8px;
    margin-top: 0.1rem;
    overflow: hidden;
}

body.profile-concept-page .profile-concept-bonus-level i {
    background: linear-gradient(90deg, #d9955c, #ffe2ad);
    border-radius: inherit;
    display: block;
    height: 100%;
    width: 68%;
}

body.profile-concept-page .profile-concept-bonus-holder strong {
    color: #fffaf7;
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    line-height: 1.18;
    overflow-wrap: anywhere;
}

body.profile-concept-page .profile-concept-bonus-stamp {
    align-items: center;
    background: radial-gradient(circle at 35% 28%, #ffe2ad, #9d7042 72%);
    border: 2px solid rgba(255, 232, 190, 0.74);
    border-radius: 999px;
    bottom: 1rem;
    box-shadow: inset 0 0 0 8px rgba(42, 23, 16, 0.12), 0 16px 36px rgba(0, 0, 0, 0.24);
    color: #2a1710;
    display: flex;
    height: 72px;
    justify-content: center;
    position: absolute;
    right: 1rem;
    width: 72px;
}

body.profile-concept-page .profile-concept-bonus-stamp i {
    font-size: 1.65rem;
}

@media (min-width: 768px) {
    body.profile-concept-page #pills-gift .profile-concept-bonus-card {
        grid-template-columns: minmax(190px, 0.75fr) minmax(190px, 0.82fr);
        min-height: 292px !important;
    }

    body.profile-concept-page .profile-concept-bonus-balance {
        grid-row: 1 / span 2;
        padding-right: 1rem;
    }

    body.profile-concept-page .profile-concept-bonus-level,
    body.profile-concept-page .profile-concept-bonus-holder {
        border-left: 1px solid rgba(255, 250, 247, 0.16);
        border-top: 0;
        padding-left: 1rem;
        padding-top: 0;
    }
}

@media (min-width: 768px) and (max-width: 1099.98px) {
    body.profile-concept-page #pills-gift .profile-bonus-card {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (min-width: 1100px) {
    body.profile-concept-page .profile-appointment-card {
        grid-template-columns: 76px 96px minmax(210px, 1.08fr) minmax(190px, 0.9fr) 82px minmax(92px, auto) 18px !important;
    }
}

@media (min-width: 1440px) {
    body.profile-concept-page .profile-appointment-card {
        grid-template-columns: 78px 112px minmax(260px, 1.18fr) minmax(225px, 0.9fr) 100px minmax(112px, auto) 20px !important;
    }
}

/* Profile concept v8: no letter wrapping, hidden phone, concept bonus card. */
body.profile-concept-page .profile-content,
body.profile-concept-page .profile-content *,
body.profile-concept-page .profile-dashboard-client,
body.profile-concept-page .profile-dashboard-client * {
    hyphens: none !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

body.profile-concept-page .profile-dashboard-client {
    grid-template-columns: minmax(0, 1fr) minmax(148px, 0.48fr) !important;
}

body.profile-concept-page .profile-dashboard-client .ui-button-primary,
body.profile-concept-page .profile-dashboard-client .profile-client-main small {
    display: none !important;
}

body.profile-concept-page .profile-client-main > div:last-child strong,
body.profile-concept-page .profile-dashboard-client .profile-client-main strong {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap !important;
}

body.profile-concept-page .profile-preview-fields {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
}

body.profile-concept-page .profile-concept-bonus-legacy-level {
    display: none !important;
}

body.profile-concept-page #pills-gift .profile-concept-bonus-card {
    align-content: stretch !important;
    background:
        radial-gradient(circle at 86% 18%, rgba(239, 196, 132, 0.2), transparent 30%),
        linear-gradient(145deg, #56301f 0%, #2b1710 56%, #160c08 100%) !important;
    border-color: rgba(255, 226, 173, 0.2) !important;
    border-radius: 14px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 38px rgba(23, 12, 7, 0.24) !important;
    gap: 0.95rem !important;
    grid-template-areas:
        "level"
        "balance"
        "holder" !important;
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 246px !important;
    padding: clamp(1.1rem, 2vw, 1.35rem) !important;
}

body.profile-concept-page .profile-concept-bonus-level {
    border: 0 !important;
    gap: 0.34rem !important;
    grid-area: level;
    padding: 0 !important;
}

body.profile-concept-page .profile-concept-bonus-level > span:first-child,
body.profile-concept-page .profile-concept-bonus-balance > span:first-child,
body.profile-concept-page .profile-concept-bonus-holder > span:first-child {
    color: rgba(255, 234, 210, 0.78);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.profile-concept-page .profile-concept-bonus-level strong {
    color: #fff7ec !important;
    font-size: clamp(1.55rem, 3vw, 2.1rem) !important;
    letter-spacing: 0 !important;
    line-height: 1.05 !important;
    text-transform: none !important;
}

body.profile-concept-page #pills-gift .profile-concept-bonus-level strong {
    color: #fff7ec !important;
    font-size: clamp(1.85rem, 3.6vw, 2.7rem) !important;
    line-height: 1.02 !important;
    text-transform: none !important;
}

body.profile-concept-page .profile-concept-bonus-level small {
    color: rgba(255, 250, 247, 0.72) !important;
    font-size: 0.9rem !important;
}

body.profile-concept-page .profile-concept-bonus-level div {
    background: rgba(255, 250, 247, 0.18) !important;
    border-radius: 999px !important;
    height: 7px !important;
    margin-top: 0.45rem !important;
    width: min(100%, 260px);
}

body.profile-concept-page .profile-concept-bonus-level i {
    background: linear-gradient(90deg, #f1c48f, #fff2d4) !important;
    width: 47% !important;
}

body.profile-concept-page .profile-concept-bonus-balance {
    align-items: end;
    border-top: 1px solid rgba(255, 250, 247, 0.16);
    display: grid !important;
    gap: 0.2rem !important;
    grid-area: balance;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    padding-top: 0.95rem;
}

body.profile-concept-page .profile-concept-bonus-balance > span:first-child {
    grid-column: 1 / -1;
}

body.profile-concept-page .profile-concept-bonus-balance strong {
    color: #fffaf7 !important;
    font-size: clamp(2.7rem, 6vw, 4.25rem) !important;
    line-height: 0.92 !important;
}

body.profile-concept-page #pills-gift .profile-concept-bonus-balance strong {
    color: #fffaf7 !important;
    font-size: clamp(2.45rem, 5vw, 3.35rem) !important;
    line-height: 0.95 !important;
}

body.profile-concept-page .profile-concept-bonus-balance p {
    align-self: end;
    color: rgba(255, 250, 247, 0.72) !important;
    display: grid !important;
    gap: 0.08rem !important;
    margin: 0 0 0.25rem !important;
}

body.profile-concept-page .loyalty-points-unit {
    color: #fffaf7 !important;
    font-size: 0.92rem;
    font-weight: 800;
    white-space: nowrap;
}

body.profile-concept-page .profile-concept-bonus-balance small {
    color: rgba(255, 250, 247, 0.64) !important;
    font-size: 0.82rem !important;
    white-space: nowrap;
}

body.profile-concept-page .profile-concept-bonus-holder {
    border-top: 1px solid rgba(255, 250, 247, 0.14) !important;
    gap: 0.2rem !important;
    grid-area: holder;
    padding-top: 0.9rem !important;
}

body.profile-concept-page .profile-concept-bonus-holder strong {
    color: #fffaf7 !important;
    font-size: 1rem !important;
    line-height: 1.15 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-concept-page #pills-gift .profile-concept-bonus-holder strong {
    color: #fffaf7 !important;
    font-size: 1rem !important;
    line-height: 1.16 !important;
    text-transform: none !important;
}

body.profile-concept-page #pills-gift .profile-concept-bonus-holder small {
    font-size: 0.78rem !important;
}

body.profile-concept-page .profile-concept-bonus-holder small {
    color: rgba(255, 250, 247, 0.62) !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.04em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-concept-page .profile-concept-bonus-stamp {
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 246, 222, 0.95), rgba(225, 177, 104, 0.95) 54%, rgba(135, 88, 45, 0.95));
    bottom: 1.05rem !important;
    height: 68px !important;
    opacity: 0.92;
    right: 1.05rem !important;
    width: 68px !important;
}

@media (max-width: 575.98px) {
    body.profile-concept-page .profile-dashboard-client {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.profile-concept-page #pills-gift .profile-concept-bonus-card {
        padding-right: 5.45rem !important;
        min-height: 286px !important;
    }
}

@media (min-width: 768px) {
    body.profile-concept-page #pills-gift .profile-concept-bonus-card {
        grid-template-areas:
            "level stamp"
            "balance stamp"
            "holder stamp" !important;
        grid-template-columns: minmax(0, 1fr) 78px !important;
        min-height: 260px !important;
    }

    body.profile-concept-page .profile-concept-bonus-stamp {
        align-self: end;
        bottom: auto !important;
        grid-area: stamp;
        justify-self: end;
        position: static !important;
    }
}

/* Profile professional pass */
body.profile-concept-page {
    --profile-bg: #f5f6f2;
    --profile-ink: #211915;
    --profile-muted: #73665d;
    --profile-line: rgba(33, 25, 21, 0.1);
    --profile-panel: #fffefa;
    --profile-soft: #ece7df;
    --profile-accent: #b86f56;
    --profile-accent-dark: #844531;
    --profile-sage: #557565;
    --profile-sage-soft: #e7eee8;
    --profile-shadow: 0 18px 46px rgba(33, 25, 21, 0.1);
    background:
        radial-gradient(circle at 8% 2%, rgba(85, 117, 101, 0.13), transparent 28rem),
        linear-gradient(180deg, #fbfbf7 0%, var(--profile-bg) 42%, #f8f4ee 100%) !important;
    color: var(--profile-ink);
    padding-bottom: 92px !important;
}

body.profile-concept-page .profile-shell {
    background: transparent !important;
    padding: 0 !important;
}

body.profile-concept-page .profile-intro {
    background: transparent !important;
    border: 0 !important;
    margin: 0 !important;
    padding: clamp(1.5rem, 4vw, 3rem) 0 1rem !important;
}

body.profile-concept-page .profile-intro-grid {
    align-items: end;
    display: grid !important;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
}

body.profile-concept-page .profile-intro-copy {
    display: block !important;
    max-width: 760px;
}

body.profile-concept-page .profile-intro .mg-eyebrow,
body.profile-concept-page .profile-section-kicker,
body.profile-concept-page .profile-referral-kicker {
    color: var(--profile-sage) !important;
    display: block;
    font-size: 0.72rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.2;
    text-transform: uppercase;
}

body.profile-concept-page .profile-intro h1 {
    color: var(--profile-ink) !important;
    font-size: clamp(2rem, 5.6vw, 4.6rem) !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    line-height: 0.98 !important;
    margin: 0.35rem 0 0.7rem !important;
    max-width: 760px !important;
}

body.profile-concept-page .profile-intro p,
body.profile-concept-page .profile-muted-copy,
body.profile-concept-page .profile-empty-card p,
body.profile-concept-page .profile-referral-card p {
    color: var(--profile-muted) !important;
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

body.profile-concept-page .profile-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

body.profile-concept-page .profile-intro-actions .ui-button-primary,
body.profile-concept-page .profile-intro-actions .ui-button-secondary,
body.profile-concept-page .profile-referral-card .ui-button-secondary,
body.profile-concept-page .profile-empty-card .ui-button-primary,
body.profile-concept-page .profile-card-action,
body.profile-concept-page .btn-medigrace,
body.profile-concept-page .profile-logout,
body.profile-concept-page .profile-menu .nav-link {
    border-radius: 8px !important;
}

body.profile-concept-page .profile-workspace {
    padding: 0.75rem 0 clamp(2rem, 5vw, 4rem) !important;
}

body.profile-concept-page .profile-panel {
    align-items: start;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: grid !important;
    gap: 0.9rem !important;
    padding: 0 !important;
}

body.profile-concept-page .profile-dashboard-client {
    background:
        radial-gradient(circle at 88% 16%, rgba(244, 187, 139, 0.22), transparent 8rem),
        linear-gradient(145deg, #28413a 0%, #211915 68%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 8px !important;
    box-shadow: var(--profile-shadow) !important;
    color: #fffefa !important;
    display: grid !important;
    gap: 1rem !important;
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 1rem !important;
}

body.profile-concept-page .profile-client-main {
    align-items: center;
    display: grid !important;
    gap: 0.85rem !important;
    grid-template-columns: 60px minmax(0, 1fr) !important;
}

body.profile-concept-page .profile-client-avatar {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 8px !important;
    height: 60px !important;
    overflow: hidden;
    width: 60px !important;
}

body.profile-concept-page .profile-client-avatar img,
body.profile-concept-page .profile-appointment-thumb img,
body.profile-concept-page .profile-salon-thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

body.profile-concept-page .profile-client-main span,
body.profile-concept-page .profile-client-stats span {
    color: rgba(255, 254, 250, 0.68) !important;
    display: block;
    font-size: 0.68rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.2;
    text-transform: uppercase;
}

body.profile-concept-page .profile-client-main strong {
    color: #fffefa !important;
    display: block;
    font-size: 1.18rem !important;
    font-weight: 850 !important;
    line-height: 1.18;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-concept-page .profile-client-main small {
    color: rgba(255, 254, 250, 0.72) !important;
    display: block !important;
    font-size: 0.82rem !important;
    line-height: 1.35;
    margin-top: 0.15rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-concept-page .profile-client-stats {
    display: grid !important;
    gap: 0.55rem !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.profile-concept-page .profile-client-stats > div {
    background: rgba(255, 255, 255, 0.09) !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 8px !important;
    min-width: 0;
    padding: 0.8rem !important;
}

body.profile-concept-page .profile-client-stats strong {
    color: #fffefa !important;
    display: block;
    font-size: 1.45rem !important;
    font-weight: 850 !important;
    line-height: 1;
    margin-top: 0.25rem;
}

body.profile-concept-page .profile-dashboard-client .profile-client-main span,
body.profile-concept-page .profile-dashboard-client .profile-client-stats span {
    color: rgba(255, 254, 250, 0.68) !important;
}

body.profile-concept-page .profile-dashboard-client .profile-client-main strong,
body.profile-concept-page .profile-dashboard-client .profile-client-stats strong {
    color: #fffefa !important;
}

body.profile-concept-page .profile-menu {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

body.profile-concept-page .profile-menu .account-menu-list {
    background: rgba(255, 254, 250, 0.92) !important;
    border: 1px solid var(--profile-line) !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 30px rgba(33, 25, 21, 0.07) !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.4rem !important;
    margin: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0.45rem !important;
    scrollbar-width: none;
}

body.profile-concept-page .profile-menu .account-menu-list::-webkit-scrollbar {
    display: none;
}

body.profile-concept-page .profile-menu .account-menu-list li {
    flex: 0 0 auto !important;
    width: auto !important;
}

body.profile-concept-page .profile-menu .profile-menu-spacer {
    display: none !important;
}

body.profile-concept-page .profile-menu .nav-link,
body.profile-concept-page .profile-logout {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    color: var(--profile-muted) !important;
    display: inline-flex !important;
    font-size: 0.84rem !important;
    font-weight: 850 !important;
    gap: 0.45rem !important;
    justify-content: center;
    line-height: 1.15;
    min-height: 42px;
    min-width: max-content;
    padding: 0.65rem 0.78rem !important;
    text-decoration: none !important;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
    white-space: nowrap;
    width: auto !important;
}

body.profile-concept-page .profile-menu .nav-link i,
body.profile-concept-page .profile-logout i {
    color: inherit !important;
    font-size: 1rem;
}

body.profile-concept-page .profile-menu .nav-link.active,
body.profile-concept-page .profile-menu .nav-link:hover {
    background: var(--profile-sage) !important;
    color: #fffefa !important;
    transform: translateY(-1px);
}

body.profile-concept-page .profile-logout {
    color: var(--profile-accent-dark) !important;
}

body.profile-concept-page .profile-logout:hover {
    background: rgba(184, 111, 86, 0.12) !important;
}

body.profile-concept-page .profile-logout-form {
    margin: 0 !important;
}

body.profile-concept-page .profile-menu-help {
    display: none;
}

body.profile-concept-page .profile-content,
body.profile-concept-page .profile-content * {
    hyphens: none !important;
    min-width: 0;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

body.profile-concept-page .profile-card,
body.profile-concept-page .profile-card-inner {
    background: rgba(255, 254, 250, 0.96) !important;
    border: 1px solid var(--profile-line) !important;
    border-radius: 8px !important;
    box-shadow: var(--profile-shadow) !important;
    padding: clamp(1rem, 2vw, 1.35rem) !important;
}

body.profile-concept-page .profile-card-head {
    align-items: flex-start;
    display: flex !important;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem !important;
}

body.profile-concept-page .account-title,
body.profile-concept-page .profile-card h2,
body.profile-concept-page .profile-card h3 {
    color: var(--profile-ink) !important;
    letter-spacing: 0 !important;
}

body.profile-concept-page .account-title {
    font-size: clamp(1.15rem, 2vw, 1.45rem) !important;
    font-weight: 850 !important;
    line-height: 1.16 !important;
    margin: 0.2rem 0 0 !important;
}

body.profile-concept-page .profile-card-action {
    align-items: center;
    color: var(--profile-accent-dark) !important;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.82rem !important;
    font-weight: 850 !important;
    gap: 0.35rem;
    min-height: 34px;
    padding-inline: 0.2rem;
    text-decoration: none !important;
    white-space: nowrap;
}

body.profile-concept-page .profile-dashboard-layout {
    display: grid !important;
    gap: 0.9rem !important;
    grid-template-columns: minmax(0, 1fr) !important;
}

body.profile-concept-page .profile-card-large {
    min-height: 100%;
}

body.profile-concept-page .profile-appointment-cards,
body.profile-concept-page .profile-completed-cards,
body.profile-concept-page .profile-address-grid,
body.profile-concept-page .profile-preview-fields,
body.profile-concept-page .profile-address-preview-list,
body.profile-concept-page .profile-bonus-layout {
    display: grid !important;
    gap: 0.75rem !important;
}

body.profile-concept-page .profile-appointment-card {
    align-items: center;
    background: #fffefa !important;
    border: 1px solid rgba(33, 25, 21, 0.09) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    color: inherit !important;
    cursor: pointer;
    display: grid !important;
    gap: 0.75rem !important;
    grid-template-columns: 58px minmax(0, 1fr) 16px !important;
    min-height: 92px;
    padding: 0.65rem !important;
    text-align: left;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    width: 100%;
}

body.profile-concept-page .profile-appointment-card:hover {
    border-color: rgba(85, 117, 101, 0.28) !important;
    box-shadow: 0 14px 30px rgba(33, 25, 21, 0.08) !important;
    transform: translateY(-1px);
}

body.profile-concept-page .profile-date-tile {
    align-items: center;
    background: linear-gradient(180deg, var(--profile-sage) 0%, #263f37 100%) !important;
    border-radius: 8px !important;
    color: #fffefa !important;
    display: grid !important;
    height: 68px !important;
    justify-items: center;
    line-height: 1;
    padding: 0.42rem 0.25rem !important;
    text-align: center;
    width: 58px !important;
}

body.profile-concept-page .profile-date-tile strong {
    color: #fffefa !important;
    font-size: 1.35rem !important;
    font-weight: 850 !important;
}

body.profile-concept-page .profile-date-tile span,
body.profile-concept-page .profile-date-tile small {
    color: rgba(255, 254, 250, 0.84) !important;
    font-size: 0.62rem !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase;
}

body.profile-concept-page .profile-appointment-thumb {
    background: var(--profile-soft);
    border-radius: 8px;
    display: none;
    height: 76px;
    overflow: hidden;
    width: 96px;
}

body.profile-concept-page .profile-appointment-main {
    min-width: 0;
}

body.profile-concept-page .profile-appointment-card-head {
    align-items: center;
    display: flex !important;
    gap: 0.5rem;
    justify-content: space-between;
    margin-bottom: 0.3rem !important;
}

body.profile-concept-page .profile-appointment-index {
    color: #8b8077 !important;
    font-size: 0.66rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.2;
    text-transform: uppercase;
}

body.profile-concept-page .profile-appointment-card h3,
body.profile-concept-page .profile-completed-card h3,
body.profile-concept-page .profile-referral-card h3,
body.profile-concept-page .account-address .name,
body.profile-concept-page .profile-address-preview-list strong {
    color: var(--profile-ink) !important;
    font-size: 0.98rem !important;
    font-weight: 850 !important;
    line-height: 1.22 !important;
    margin: 0 !important;
    overflow-wrap: anywhere !important;
}

body.profile-concept-page .profile-appointment-meta {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem !important;
    margin-top: 0.45rem !important;
}

body.profile-concept-page .profile-appointment-meta span,
body.profile-concept-page .profile-appointment-place,
body.profile-concept-page .profile-appointment-time {
    color: var(--profile-muted) !important;
    font-size: 0.78rem !important;
    font-weight: 750 !important;
    line-height: 1.25;
}

body.profile-concept-page .profile-appointment-meta span {
    align-items: center;
    display: inline-flex;
    gap: 0.3rem;
}

body.profile-concept-page .profile-appointment-place,
body.profile-concept-page .profile-appointment-time {
    display: none;
}

body.profile-concept-page .profile-appointment-place i,
body.profile-concept-page .profile-appointment-time i,
body.profile-concept-page .profile-appointment-meta i,
body.profile-concept-page .profile-card-chevron {
    color: var(--profile-sage) !important;
}

body.profile-concept-page .profile-appointment-place small,
body.profile-concept-page .profile-salon-copy span,
body.profile-concept-page .profile-salon-copy small {
    color: var(--profile-muted) !important;
    display: block;
    font-size: 0.78rem !important;
    line-height: 1.35;
}

body.profile-concept-page .profile-appointment-time strong {
    color: var(--profile-ink) !important;
    display: block;
    font-size: 1rem !important;
    font-weight: 850 !important;
    line-height: 1.1;
}

body.profile-concept-page .profile-status-badge {
    border-radius: 8px !important;
    display: inline-flex;
    font-size: 0.68rem !important;
    font-weight: 850 !important;
    justify-content: center;
    letter-spacing: 0 !important;
    line-height: 1;
    max-width: 126px;
    overflow: hidden;
    padding: 0.45rem 0.55rem !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-concept-page .profile-status-confirmed {
    background: var(--profile-sage-soft) !important;
    color: #355344 !important;
}

body.profile-concept-page .profile-status-pending {
    background: #fff1d6 !important;
    color: #8b5a12 !important;
}

body.profile-concept-page .profile-status-cancelled {
    background: #f7dfdc !important;
    color: #943b32 !important;
}

body.profile-concept-page .profile-status-completed {
    background: #e7edf5 !important;
    color: #35567c !important;
}

body.profile-concept-page .profile-empty-card,
body.profile-concept-page .profile-completed-card,
body.profile-concept-page .profile-referral-card,
body.profile-concept-page .account-address,
body.profile-concept-page .profile-preview-fields > div,
body.profile-concept-page .profile-address-preview-list > div {
    background: #fffefa !important;
    border: 1px solid rgba(33, 25, 21, 0.09) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

body.profile-concept-page .profile-empty-card {
    display: grid !important;
    gap: 0.55rem !important;
    padding: 1rem !important;
}

body.profile-concept-page .profile-empty-card strong {
    color: var(--profile-ink) !important;
    font-size: 1rem !important;
    font-weight: 850 !important;
    line-height: 1.25;
}

body.profile-concept-page .profile-empty-cell {
    color: var(--profile-sage) !important;
    font-size: 0.7rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
}

body.profile-concept-page .profile-dashboard-preview {
    min-height: 100%;
}

body.profile-concept-page .profile-preview-fields {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
}

body.profile-concept-page .profile-preview-fields > div {
    display: grid;
    gap: 0.25rem;
    padding: 0.85rem;
}

body.profile-concept-page .profile-preview-fields span {
    color: var(--profile-muted) !important;
    font-size: 0.72rem !important;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.profile-concept-page .profile-preview-fields strong {
    color: var(--profile-ink) !important;
    font-size: 0.95rem !important;
    font-weight: 850;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-concept-page .profile-address-preview-list > div {
    align-items: center;
    display: grid !important;
    gap: 0.75rem !important;
    grid-template-columns: 64px minmax(0, 1fr) !important;
    padding: 0.65rem !important;
}

body.profile-concept-page .profile-salon-thumb {
    background: var(--profile-soft);
    border-radius: 8px;
    height: 64px;
    overflow: hidden;
    width: 64px;
}

body.profile-concept-page .profile-salon-copy {
    display: grid;
    gap: 0.18rem;
}

body.profile-concept-page .profile-salon-copy a,
body.profile-concept-page .phone-link {
    color: var(--profile-accent-dark) !important;
    font-size: 0.86rem;
    font-weight: 850;
    text-decoration: none !important;
}

body.profile-concept-page .profile-bonus-card-head {
    max-width: 650px;
}

body.profile-concept-page .profile-bonus-card-head p {
    color: var(--profile-muted) !important;
    font-size: 0.95rem !important;
    line-height: 1.55;
    margin: 0.55rem 0 0 !important;
}

body.profile-concept-page #pills-gift .profile-concept-bonus-card {
    background:
        radial-gradient(circle at 86% 16%, rgba(237, 194, 136, 0.26), transparent 8rem),
        linear-gradient(145deg, #28413a 0%, #211915 62%, #120d0b 100%) !important;
    border: 1px solid rgba(255, 232, 190, 0.18) !important;
    border-radius: 8px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 42px rgba(33, 25, 21, 0.16) !important;
    color: #fffefa;
    display: grid !important;
    gap: 1rem !important;
    grid-template-areas: "level" "balance" "holder" !important;
    grid-template-columns: minmax(0, 1fr) !important;
    margin-top: 1rem !important;
    min-height: 248px !important;
    overflow: hidden;
    padding: clamp(1.1rem, 2.5vw, 1.6rem) !important;
    position: relative;
}

body.profile-concept-page .profile-concept-bonus-level,
body.profile-concept-page .profile-concept-bonus-balance,
body.profile-concept-page .profile-concept-bonus-holder {
    position: relative;
    z-index: 1;
}

body.profile-concept-page .profile-concept-bonus-level {
    border: 0 !important;
    display: grid !important;
    gap: 0.35rem !important;
    grid-area: level !important;
    padding: 0 !important;
}

body.profile-concept-page .profile-concept-bonus-level > span:first-child,
body.profile-concept-page .profile-concept-bonus-balance > span:first-child,
body.profile-concept-page .profile-concept-bonus-holder > span:first-child {
    color: rgba(255, 254, 250, 0.68) !important;
    font-size: 0.7rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
}

body.profile-concept-page #pills-gift .profile-concept-bonus-level strong {
    color: #fffefa !important;
    font-size: clamp(1.75rem, 4vw, 2.65rem) !important;
    font-weight: 850 !important;
    line-height: 1.02 !important;
    text-transform: none !important;
}

body.profile-concept-page .profile-concept-bonus-level small {
    color: rgba(255, 254, 250, 0.74) !important;
    font-size: 0.88rem !important;
    line-height: 1.35;
}

body.profile-concept-page .profile-concept-bonus-level div {
    background: rgba(255, 254, 250, 0.16) !important;
    border-radius: 999px !important;
    height: 7px !important;
    margin-top: 0.4rem !important;
    overflow: hidden;
    width: min(100%, 280px);
}

body.profile-concept-page .profile-concept-bonus-level i {
    background: linear-gradient(90deg, #72a081, #f1c48f) !important;
    border-radius: inherit;
    display: block;
    height: 100%;
}

body.profile-concept-page .profile-concept-bonus-balance {
    align-items: end;
    border-top: 1px solid rgba(255, 254, 250, 0.14) !important;
    display: grid !important;
    gap: 0.2rem !important;
    grid-area: balance !important;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    padding-top: 0.95rem !important;
}

body.profile-concept-page .profile-concept-bonus-balance > span:first-child {
    grid-column: 1 / -1;
}

body.profile-concept-page #pills-gift .profile-concept-bonus-balance strong {
    color: #fffefa !important;
    font-size: clamp(2.7rem, 7vw, 4.4rem) !important;
    font-weight: 850 !important;
    line-height: 0.92 !important;
}

body.profile-concept-page .profile-concept-bonus-balance p {
    align-self: end;
    color: rgba(255, 254, 250, 0.7) !important;
    display: grid !important;
    gap: 0.08rem !important;
    margin: 0 0 0.25rem !important;
}

body.profile-concept-page .loyalty-points-unit {
    color: #fffefa !important;
    font-size: 0.92rem !important;
    font-weight: 800;
    white-space: nowrap;
}

body.profile-concept-page .profile-concept-bonus-balance small,
body.profile-concept-page .profile-concept-bonus-holder small {
    color: rgba(255, 254, 250, 0.64) !important;
    font-size: 0.8rem !important;
    line-height: 1.35;
}

body.profile-concept-page .profile-concept-bonus-holder {
    border-top: 1px solid rgba(255, 254, 250, 0.14) !important;
    display: grid !important;
    gap: 0.18rem !important;
    grid-area: holder !important;
    padding-top: 0.9rem !important;
}

body.profile-concept-page .profile-concept-bonus-holder strong {
    color: #fffefa !important;
    font-size: 1rem !important;
    font-weight: 850;
    line-height: 1.15 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-concept-page .profile-concept-bonus-holder small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-concept-page .profile-concept-bonus-stamp {
    align-items: center;
    background: radial-gradient(circle at 34% 28%, #fff1c9, #d1a565 58%, #6f4a28) !important;
    border: 2px solid rgba(255, 236, 193, 0.78) !important;
    border-radius: 999px !important;
    bottom: 1rem !important;
    box-shadow: inset 0 0 0 8px rgba(33, 25, 21, 0.12), 0 16px 30px rgba(0, 0, 0, 0.2) !important;
    color: #211915;
    display: flex;
    height: 68px !important;
    justify-content: center;
    opacity: 0.94;
    position: absolute !important;
    right: 1rem !important;
    width: 68px !important;
}

body.profile-concept-page .profile-bonus-benefits {
    display: grid !important;
    gap: 0.6rem !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

body.profile-concept-page .profile-bonus-benefits div {
    background: var(--profile-bg) !important;
    border: 1px solid rgba(33, 25, 21, 0.08) !important;
    border-radius: 8px !important;
    display: grid !important;
    gap: 0.25rem !important;
    padding: 0.8rem !important;
}

body.profile-concept-page .profile-bonus-benefits strong {
    color: var(--profile-ink) !important;
    font-size: 0.98rem !important;
    font-weight: 850;
}

body.profile-concept-page .profile-bonus-benefits span {
    color: var(--profile-muted) !important;
    font-size: 0.78rem !important;
    line-height: 1.35;
}

body.profile-concept-page .profile-completed-card {
    align-items: center;
    display: grid !important;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.85rem !important;
}

body.profile-concept-page .profile-completed-points {
    border-radius: 8px !important;
    font-size: 0.82rem !important;
    font-weight: 850 !important;
    padding: 0.42rem 0.55rem !important;
    text-align: right;
    white-space: nowrap;
}

body.profile-concept-page .loyalty-points-positive {
    background: var(--profile-sage-soft) !important;
    color: #355344 !important;
}

body.profile-concept-page .loyalty-points-negative {
    background: #f7dfdc !important;
    color: #943b32 !important;
}

body.profile-concept-page .loyalty-points-neutral {
    background: var(--profile-bg) !important;
    color: var(--profile-muted) !important;
}

body.profile-concept-page .profile-form-grid {
    display: grid !important;
    gap: 0.9rem !important;
}

body.profile-concept-page .profile-form-label {
    color: var(--profile-muted) !important;
    font-size: 0.78rem !important;
    font-weight: 850 !important;
    margin-bottom: 0.35rem !important;
}

body.profile-concept-page .input-medigrace {
    background: #fffefa !important;
    border: 1px solid rgba(33, 25, 21, 0.14) !important;
    border-radius: 8px !important;
    color: var(--profile-ink) !important;
    font-size: 0.95rem !important;
    min-height: 48px !important;
}

body.profile-concept-page .input-medigrace:focus {
    border-color: var(--profile-sage) !important;
    box-shadow: 0 0 0 0.18rem rgba(85, 117, 101, 0.14) !important;
}

body.profile-concept-page .profile-form-actions {
    display: flex !important;
    justify-content: stretch;
}

body.profile-concept-page .btn-medigrace {
    background: var(--profile-ink) !important;
    border: 1px solid var(--profile-ink) !important;
    color: #fffefa !important;
    font-size: 0.92rem !important;
    font-weight: 850 !important;
    min-height: 48px !important;
    padding-inline: 1.1rem !important;
    width: 100%;
}

body.profile-concept-page .account-address {
    height: 100%;
    overflow: hidden;
}

body.profile-concept-page .account-address .card-body {
    display: grid !important;
    gap: 0.6rem !important;
    padding: 1rem !important;
}

body.profile-concept-page .profile-address-links {
    display: flex !important;
    gap: 0.55rem;
}

body.profile-concept-page .profile-address-links a {
    align-items: center;
    background: var(--profile-bg) !important;
    border: 1px solid rgba(33, 25, 21, 0.08) !important;
    border-radius: 8px !important;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    width: 40px;
}

body.profile-concept-page .profile-address-links img {
    display: block;
    height: 20px;
    width: 20px;
}

body.profile-concept-page .profile-map-frame,
body.profile-concept-page .profile-order-map,
body.profile-concept-page .profile-order-map-fallback {
    background: var(--profile-soft) !important;
    border-radius: 8px !important;
    overflow: hidden;
}

body.profile-concept-page .profile-map-frame {
    aspect-ratio: 16 / 10;
    margin-top: 0.3rem;
}

body.profile-concept-page .profile-map-frame iframe {
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
}

body.profile-concept-page .profile-appointment-modal .modal-content {
    background: var(--profile-panel);
    border: 1px solid var(--profile-line);
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(33, 25, 21, 0.18);
}

body.profile-concept-page .profile-appointment-modal .modal-header,
body.profile-concept-page .profile-appointment-modal .modal-footer {
    border-color: var(--profile-line);
}

body.profile-concept-page .profile-appointment-modal .modal-title {
    color: var(--profile-ink);
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    font-weight: 850;
    line-height: 1.1;
}

body.profile-concept-page .profile-order-modal-grid {
    display: grid;
    gap: 0.9rem;
}

body.profile-concept-page .profile-order-modal-main,
body.profile-concept-page .profile-order-modal-salon,
body.profile-concept-page .profile-order-modal-note {
    background: #fffefa;
    border: 1px solid rgba(33, 25, 21, 0.09);
    border-radius: 8px;
    padding: 1rem;
}

body.profile-concept-page .profile-order-modal-status {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

body.profile-concept-page .profile-order-modal-status > span,
body.profile-concept-page .profile-order-modal-facts span,
body.profile-concept-page .profile-order-modal-note span {
    color: var(--profile-muted);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.profile-concept-page .profile-order-modal-facts {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.profile-concept-page .profile-order-modal-facts > div {
    background: var(--profile-bg);
    border-radius: 8px;
    display: grid;
    gap: 0.25rem;
    padding: 0.75rem;
}

body.profile-concept-page .profile-order-modal-facts strong,
body.profile-concept-page .profile-order-modal-salon h3 {
    color: var(--profile-ink);
    font-size: 0.98rem;
    font-weight: 850;
}

body.profile-concept-page .profile-order-modal-note {
    margin-top: 0.75rem;
}

body.profile-concept-page .profile-order-modal-note p {
    color: var(--profile-muted);
    line-height: 1.5;
    margin: 0.35rem 0 0;
}

body.profile-concept-page .profile-order-map,
body.profile-concept-page .profile-order-map-fallback {
    aspect-ratio: 16 / 11;
    margin-top: 0.85rem;
}

body.profile-concept-page .profile-order-map-fallback {
    align-items: center;
    color: var(--profile-muted);
    display: grid;
    gap: 0.4rem;
    justify-items: center;
    padding: 1.25rem;
    text-align: center;
}

@media (max-width: 575.98px) {
    body.profile-concept-page .profile-intro-actions .ui-button-primary,
    body.profile-concept-page .profile-intro-actions .ui-button-secondary {
        width: 100%;
    }

    body.profile-concept-page .profile-card-action {
        display: none !important;
    }

    body.profile-concept-page #pills-gift .profile-concept-bonus-card {
        padding-right: 5.25rem !important;
    }

    body.profile-concept-page .profile-order-modal-facts {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    body.profile-concept-page {
        padding-bottom: 0 !important;
    }

    body.profile-concept-page .profile-intro-grid {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    body.profile-concept-page .profile-dashboard-layout,
    body.profile-concept-page .profile-bonus-layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr) !important;
    }

    body.profile-concept-page .profile-card-large,
    body.profile-concept-page .profile-bonus-card {
        grid-row: span 2;
    }

    body.profile-concept-page .profile-appointment-card {
        grid-template-columns: 70px minmax(0, 1fr) auto 18px !important;
        padding: 0.75rem !important;
    }

    body.profile-concept-page .profile-date-tile {
        height: 76px !important;
        width: 70px !important;
    }

    body.profile-concept-page .profile-status-badge {
        justify-self: end;
    }

    body.profile-concept-page .profile-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.profile-concept-page .profile-form-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    body.profile-concept-page .btn-medigrace {
        width: auto;
    }

    body.profile-concept-page .profile-address-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.profile-concept-page #pills-gift .profile-concept-bonus-card {
        grid-template-areas:
            "level stamp"
            "balance stamp"
            "holder stamp" !important;
        grid-template-columns: minmax(0, 1fr) 78px !important;
        min-height: 262px !important;
    }

    body.profile-concept-page .profile-concept-bonus-stamp {
        align-self: end;
        bottom: auto !important;
        grid-area: stamp !important;
        justify-self: end;
        position: static !important;
    }

    body.profile-concept-page .profile-order-modal-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    }
}

@media (min-width: 1100px) {
    body.profile-concept-page .profile-workspace {
        padding-top: 1rem !important;
    }

    body.profile-concept-page .profile-panel {
        grid-template-areas:
            "client content"
            "menu content";
        grid-template-columns: 286px minmax(0, 1fr);
        gap: 1rem !important;
    }

    body.profile-concept-page .profile-dashboard-client {
        grid-area: client;
        position: sticky;
        top: 96px;
    }

    body.profile-concept-page .profile-menu {
        grid-area: menu;
        position: sticky;
        top: 292px;
    }

    body.profile-concept-page .profile-content {
        grid-area: content;
    }

    body.profile-concept-page .profile-menu .account-menu-list {
        flex-direction: column !important;
        overflow: visible !important;
    }

    body.profile-concept-page .profile-menu .account-menu-list li,
    body.profile-concept-page .profile-menu .nav-link,
    body.profile-concept-page .profile-logout {
        width: 100%;
    }

    body.profile-concept-page .profile-menu .nav-link,
    body.profile-concept-page .profile-logout {
        justify-content: flex-start;
    }

    body.profile-concept-page .profile-menu-help {
        background: rgba(255, 254, 250, 0.86);
        border: 1px solid var(--profile-line);
        border-radius: 8px;
        box-shadow: 0 12px 30px rgba(33, 25, 21, 0.07);
        display: grid;
        gap: 0.45rem;
        margin-top: 0.75rem;
        padding: 1rem;
    }

    body.profile-concept-page .profile-menu-help > i {
        color: var(--profile-sage);
        font-size: 1.2rem;
    }

    body.profile-concept-page .profile-menu-help strong {
        color: var(--profile-ink);
        font-size: 0.98rem;
        font-weight: 850;
    }

    body.profile-concept-page .profile-menu-help span {
        color: var(--profile-muted);
        font-size: 0.82rem;
        line-height: 1.45;
    }

    body.profile-concept-page .profile-menu-help div {
        display: flex;
        gap: 0.5rem;
        margin-top: 0.2rem;
    }

    body.profile-concept-page .profile-menu-help a {
        align-items: center;
        background: var(--profile-sage-soft);
        border-radius: 8px;
        color: var(--profile-sage);
        display: inline-flex;
        height: 36px;
        justify-content: center;
        text-decoration: none;
        width: 36px;
    }

    body.profile-concept-page .profile-appointment-card {
        grid-template-columns: 76px 96px minmax(210px, 1.05fr) minmax(180px, 0.85fr) 78px minmax(96px, auto) 18px !important;
    }

    body.profile-concept-page .profile-appointment-thumb,
    body.profile-concept-page .profile-appointment-place,
    body.profile-concept-page .profile-appointment-time {
        display: block;
    }

    body.profile-concept-page .profile-appointment-place,
    body.profile-concept-page .profile-appointment-time {
        align-items: start;
        display: grid;
        gap: 0.2rem;
        grid-template-columns: auto minmax(0, 1fr);
    }

    body.profile-concept-page .profile-appointment-place small {
        grid-column: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.profile-concept-page .profile-appointment-meta {
        display: none !important;
    }
}

@media (min-width: 1440px) {
    body.profile-concept-page .profile-panel {
        grid-template-columns: 304px minmax(0, 1fr);
    }

    body.profile-concept-page .profile-appointment-card {
        grid-template-columns: 78px 112px minmax(260px, 1.15fr) minmax(220px, 0.9fr) 96px minmax(112px, auto) 20px !important;
    }
}

/* Profile production page: uses only shared theme tokens. */
body.profile-production-page {
    --profile-header-height: 72px;
    background:
        linear-gradient(180deg, var(--mg-card) 0%, var(--mg-surface) 42%, var(--mg-surface-strong) 100%) !important;
    color: var(--mg-ink);
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    scroll-padding-top: var(--profile-header-height);
}

html:has(body.profile-production-page),
body.profile-production-page.reference-page {
    padding-top: 0 !important;
}

body.profile-production-page .site-footer {
    margin-bottom: 0 !important;
}

@media (max-width: 991.98px) {
    body.profile-production-page .site-footer {
        padding-bottom: calc(1.35rem + 72px + env(safe-area-inset-bottom)) !important;
    }
}

body.profile-production-page .profile-shell {
    background: transparent !important;
    padding: 0 !important;
}

body.profile-production-page .profile-intro {
    background: transparent !important;
    border: 0 !important;
    margin: 0 !important;
    padding: clamp(1.4rem, 4vw, 3.1rem) 0 1rem !important;
}

body.profile-production-page .profile-intro-grid {
    align-items: end;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
}

body.profile-production-page .profile-intro-copy {
    display: block !important;
    max-width: 760px;
}

body.profile-production-page .profile-intro .mg-eyebrow,
body.profile-production-page .profile-section-kicker,
body.profile-production-page .profile-referral-kicker {
    color: var(--mg-rose-dark) !important;
    display: block;
    font-size: 0.72rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.2;
    text-transform: uppercase;
}

body.profile-production-page .profile-intro h1 {
    color: var(--mg-ink) !important;
    font-size: clamp(2rem, 5.4vw, 4.45rem) !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    line-height: 0.98 !important;
    margin: 0.35rem 0 0.72rem !important;
    max-width: 760px !important;
    text-transform: none !important;
}

body.profile-production-page .profile-intro p,
body.profile-production-page .profile-muted-copy,
body.profile-production-page .profile-empty-card p,
body.profile-production-page .profile-referral-card p {
    color: var(--mg-muted) !important;
    font-size: 0.96rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

body.profile-production-page .profile-intro-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

body.profile-production-page .profile-intro-actions .ui-button-primary,
body.profile-production-page .profile-intro-actions .ui-button-secondary {
    min-height: 48px;
}

body.profile-production-page .profile-workspace {
    padding: 0.7rem 0 clamp(2.2rem, 5vw, 4.2rem) !important;
}

body.profile-production-page .profile-panel {
    align-items: start;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: grid !important;
    gap: 1rem !important;
    padding: 0 !important;
}

body.profile-production-page .profile-panel > *,
body.profile-production-page .profile-sidebar,
body.profile-production-page .profile-content,
body.profile-production-page .profile-menu,
body.profile-production-page .profile-dashboard-client,
body.profile-production-page .profile-card,
body.profile-production-page .profile-card-inner,
body.profile-production-page .profile-appointment-card,
body.profile-production-page .profile-dashboard-layout,
body.profile-production-page .profile-bonus-layout {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
}

body.profile-production-page .profile-dashboard-client {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--mg-card) 8%, transparent), transparent 36%),
        linear-gradient(145deg, var(--mg-cypress), var(--mg-ink)) !important;
    border: 1px solid color-mix(in srgb, var(--mg-card) 18%, transparent) !important;
    border-radius: var(--mg-radius-sm) !important;
    box-shadow: var(--mg-shadow-soft) !important;
    color: var(--mg-card) !important;
    display: grid !important;
    gap: 1rem !important;
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 1rem !important;
}

body.profile-production-page .profile-sidebar {
    align-self: start;
    display: grid !important;
    gap: 1rem !important;
}

body.profile-production-page .profile-sidebar .profile-client-main small {
    display: none !important;
}

body.profile-production-page .profile-client-main {
    align-items: center;
    display: grid !important;
    gap: 0.85rem !important;
    grid-template-columns: minmax(0, 1fr) !important;
}

body.profile-production-page .profile-client-avatar {
    background: color-mix(in srgb, var(--mg-card) 12%, transparent) !important;
    border: 1px solid color-mix(in srgb, var(--mg-card) 22%, transparent) !important;
    border-radius: var(--mg-radius-sm) !important;
    height: 60px !important;
    overflow: hidden;
    width: 60px !important;
    display: none !important;
}

body.profile-production-page .profile-client-avatar img,
body.profile-production-page .profile-appointment-thumb img,
body.profile-production-page .profile-salon-thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

body.profile-production-page .profile-client-main span,
body.profile-production-page .profile-client-stats span {
    color: color-mix(in srgb, var(--mg-card) 68%, transparent) !important;
    display: block;
    font-size: 0.68rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.2;
    text-transform: uppercase;
}

body.profile-production-page .profile-client-main strong {
    color: var(--mg-card) !important;
    display: block;
    font-size: 1.16rem !important;
    font-weight: 850 !important;
    line-height: 1.18;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-production-page .profile-client-main small {
    color: color-mix(in srgb, var(--mg-card) 74%, transparent) !important;
    display: block !important;
    font-size: 0.82rem !important;
    line-height: 1.35;
    margin-top: 0.15rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-production-page .profile-client-stats {
    display: grid !important;
    gap: 0.6rem !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.profile-production-page .profile-client-stats > div {
    background: color-mix(in srgb, var(--mg-card) 10%, transparent) !important;
    border: 1px solid color-mix(in srgb, var(--mg-card) 16%, transparent) !important;
    border-radius: var(--mg-radius-sm) !important;
    min-width: 0;
    padding: 0.82rem !important;
}

body.profile-production-page .profile-client-stats strong {
    color: var(--mg-card) !important;
    display: block;
    font-size: 1.45rem !important;
    font-weight: 850 !important;
    line-height: 1;
    margin-top: 0.25rem;
}

body.profile-production-page .profile-menu {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

body.profile-production-page .profile-menu .account-menu-list {
    background: color-mix(in srgb, var(--mg-card) 92%, transparent) !important;
    border: 1px solid var(--mg-line) !important;
    border-radius: var(--mg-radius-sm) !important;
    box-shadow: var(--mg-shadow-soft) !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.42rem !important;
    margin: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0.45rem !important;
    scrollbar-width: none;
    width: 100% !important;
}

body.profile-production-page .profile-menu .account-menu-list::-webkit-scrollbar {
    display: none;
}

body.profile-production-page .profile-menu .account-menu-list li {
    flex: 0 0 auto !important;
    width: auto !important;
}

body.profile-production-page .profile-menu .profile-menu-spacer {
    display: none !important;
}

body.profile-production-page .profile-menu .nav-link,
body.profile-production-page .profile-logout {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 8px !important;
    color: var(--mg-ink-soft) !important;
    display: inline-flex !important;
    font-size: 0.84rem !important;
    font-weight: 850 !important;
    gap: 0.45rem !important;
    justify-content: center;
    line-height: 1.15;
    min-height: 42px;
    min-width: max-content;
    padding: 0.65rem 0.78rem !important;
    text-decoration: none !important;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
    white-space: nowrap;
    width: auto !important;
}

body.profile-production-page .profile-menu .nav-link i,
body.profile-production-page .profile-logout i {
    color: inherit !important;
    font-size: 1rem;
}

body.profile-production-page .profile-menu .nav-link.active,
body.profile-production-page .profile-menu .nav-link:hover {
    background: var(--mg-cypress) !important;
    color: var(--mg-card) !important;
    transform: translateY(-1px);
}

body.profile-production-page .profile-logout {
    color: var(--mg-rose-dark) !important;
}

body.profile-production-page .profile-logout:hover {
    background: color-mix(in srgb, var(--mg-rose) 12%, transparent) !important;
    color: var(--mg-rose-dark) !important;
}

body.profile-production-page .profile-logout-form {
    margin: 0 !important;
}

body.profile-production-page .profile-menu-help {
    display: none;
}

body.profile-production-page .profile-content,
body.profile-production-page .profile-content * {
    hyphens: none !important;
    min-width: 0;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

body.profile-production-page .profile-card,
body.profile-production-page .profile-card-inner {
    background: color-mix(in srgb, var(--mg-card) 96%, transparent) !important;
    border: 1px solid var(--mg-line) !important;
    border-radius: var(--mg-radius-sm) !important;
    box-shadow: var(--mg-shadow-soft) !important;
    padding: clamp(1rem, 2vw, 1.35rem) !important;
}

body.profile-production-page .profile-card-head {
    align-items: flex-start;
    display: flex !important;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem !important;
}

body.profile-production-page .account-title,
body.profile-production-page .profile-card h2,
body.profile-production-page .profile-card h3 {
    color: var(--mg-ink) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

body.profile-production-page .account-title {
    font-size: clamp(1.16rem, 2vw, 1.45rem) !important;
    font-weight: 850 !important;
    line-height: 1.16 !important;
    margin: 0.2rem 0 0 !important;
}

body.profile-production-page .profile-card-action {
    align-items: center;
    color: var(--mg-rose-dark) !important;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.82rem !important;
    font-weight: 850 !important;
    gap: 0.35rem;
    min-height: 34px;
    padding-inline: 0.2rem;
    text-decoration: none !important;
    white-space: nowrap;
}

body.profile-production-page .profile-card-action:hover {
    color: var(--mg-cypress) !important;
}

body.profile-production-page .profile-dashboard-layout {
    display: grid !important;
    gap: 1rem !important;
    grid-template-columns: minmax(0, 1fr) !important;
}

body.profile-production-page .profile-card-large {
    min-height: 100%;
}

body.profile-production-page .profile-appointment-cards,
body.profile-production-page .profile-completed-cards,
body.profile-production-page .profile-address-grid,
body.profile-production-page .profile-preview-fields,
body.profile-production-page .profile-address-preview-list,
body.profile-production-page .profile-bonus-layout {
    display: grid !important;
    gap: 0.78rem !important;
}

body.profile-production-page .profile-appointment-card {
    align-items: center;
    background: var(--mg-card) !important;
    border: 1px solid var(--mg-line) !important;
    border-radius: var(--mg-radius-sm) !important;
    box-shadow: none !important;
    color: inherit !important;
    cursor: pointer;
    display: grid !important;
    gap: 0.78rem !important;
    grid-template-columns: 58px minmax(0, 1fr) 16px !important;
    min-height: 92px;
    padding: 0.68rem !important;
    text-align: left;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    width: 100%;
}

body.profile-production-page .profile-appointment-card:hover {
    border-color: color-mix(in srgb, var(--mg-rose) 42%, var(--mg-line)) !important;
    box-shadow: var(--mg-shadow-soft) !important;
    transform: translateY(-1px);
}

body.profile-production-page .profile-appointment-card:focus-visible,
body.profile-production-page .profile-menu .nav-link:focus-visible,
body.profile-production-page .profile-logout:focus-visible,
body.profile-production-page .profile-card-action:focus-visible,
body.profile-production-page .btn-medigrace:focus-visible,
body.profile-production-page .ui-button-primary:focus-visible,
body.profile-production-page .ui-button-secondary:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--mg-rose) 34%, transparent);
    outline-offset: 3px;
}

body.profile-production-page .profile-date-tile {
    align-items: center;
    background: var(--mg-cypress) !important;
    border-radius: 8px !important;
    color: var(--mg-card) !important;
    display: grid !important;
    height: 68px !important;
    justify-items: center;
    line-height: 1;
    padding: 0.42rem 0.25rem !important;
    text-align: center;
    width: 58px !important;
}

body.profile-production-page .profile-date-tile strong {
    color: var(--mg-card) !important;
    font-size: 1.35rem !important;
    font-weight: 850 !important;
}

body.profile-production-page .profile-date-tile span,
body.profile-production-page .profile-date-tile small {
    color: color-mix(in srgb, var(--mg-card) 84%, transparent) !important;
    font-size: 0.62rem !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase;
}

body.profile-production-page .profile-appointment-thumb {
    background: var(--mg-mist);
    border-radius: 8px;
    display: none;
    height: 76px;
    overflow: hidden;
    width: 96px;
}

body.profile-production-page .profile-appointment-main {
    min-width: 0;
}

body.profile-production-page .profile-appointment-card-head {
    align-items: center;
    display: flex !important;
    gap: 0.5rem;
    justify-content: space-between;
    margin-bottom: 0.3rem !important;
}

body.profile-production-page .profile-appointment-index {
    color: var(--mg-muted) !important;
    font-size: 0.66rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.2;
    text-transform: uppercase;
}

body.profile-production-page .profile-appointment-card h3,
body.profile-production-page .profile-completed-card h3,
body.profile-production-page .profile-referral-card h3,
body.profile-production-page .account-address .name,
body.profile-production-page .profile-address-preview-list strong {
    color: var(--mg-ink) !important;
    font-size: 0.98rem !important;
    font-weight: 850 !important;
    line-height: 1.22 !important;
    margin: 0 !important;
    overflow-wrap: anywhere !important;
    text-transform: none !important;
}

body.profile-production-page .profile-appointment-meta {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem !important;
    margin-top: 0.45rem !important;
}

body.profile-production-page .profile-appointment-meta span,
body.profile-production-page .profile-appointment-place,
body.profile-production-page .profile-appointment-time {
    color: var(--mg-muted) !important;
    font-size: 0.78rem !important;
    font-weight: 750 !important;
    line-height: 1.25;
}

body.profile-production-page .profile-appointment-meta span {
    align-items: center;
    display: inline-flex;
    gap: 0.3rem;
}

body.profile-production-page .profile-appointment-place,
body.profile-production-page .profile-appointment-time {
    display: none;
}

body.profile-production-page .profile-appointment-place i,
body.profile-production-page .profile-appointment-time i,
body.profile-production-page .profile-appointment-meta i,
body.profile-production-page .profile-card-chevron {
    color: var(--mg-rose-dark) !important;
}

body.profile-production-page .profile-appointment-place small,
body.profile-production-page .profile-salon-copy span,
body.profile-production-page .profile-salon-copy small {
    color: var(--mg-muted) !important;
    display: block;
    font-size: 0.78rem !important;
    line-height: 1.35;
}

body.profile-production-page .profile-appointment-time strong {
    color: var(--mg-ink) !important;
    display: block;
    font-size: 1rem !important;
    font-weight: 850 !important;
    line-height: 1.1;
}

body.profile-production-page .profile-status-badge {
    border: 1px solid transparent;
    border-radius: 8px !important;
    display: inline-flex;
    font-size: 0.68rem !important;
    font-weight: 850 !important;
    justify-content: center;
    letter-spacing: 0 !important;
    line-height: 1;
    max-width: 132px;
    overflow: hidden;
    padding: 0.45rem 0.55rem !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-production-page .profile-status-confirmed {
    background: color-mix(in srgb, var(--mg-eucalyptus) 16%, var(--mg-card)) !important;
    border-color: color-mix(in srgb, var(--mg-eucalyptus) 34%, var(--mg-line)) !important;
    color: var(--mg-cypress) !important;
}

body.profile-production-page .profile-status-pending {
    background: var(--mg-surface-strong) !important;
    border-color: var(--mg-line) !important;
    color: var(--mg-rose-dark) !important;
}

body.profile-production-page .profile-status-cancelled {
    background: color-mix(in srgb, var(--mg-rose) 14%, var(--mg-card)) !important;
    border-color: color-mix(in srgb, var(--mg-rose) 34%, var(--mg-line)) !important;
    color: var(--mg-rose-dark) !important;
}

body.profile-production-page .profile-status-completed,
body.profile-production-page .profile-status-neutral {
    background: color-mix(in srgb, var(--mg-cypress) 8%, var(--mg-card)) !important;
    border-color: var(--mg-line) !important;
    color: var(--mg-cypress) !important;
}

body.profile-production-page .profile-empty-card,
body.profile-production-page .profile-completed-card,
body.profile-production-page .profile-referral-card,
body.profile-production-page .account-address,
body.profile-production-page .profile-preview-fields > div,
body.profile-production-page .profile-address-preview-list > div {
    background: var(--mg-card) !important;
    border: 1px solid var(--mg-line) !important;
    border-radius: var(--mg-radius-sm) !important;
    box-shadow: none !important;
}

body.profile-production-page .profile-empty-card {
    display: grid !important;
    gap: 0.55rem !important;
    padding: 1rem !important;
}

body.profile-production-page .profile-empty-card strong {
    color: var(--mg-ink) !important;
    font-size: 1rem !important;
    font-weight: 850 !important;
    line-height: 1.25;
}

body.profile-production-page .profile-empty-cell {
    color: var(--mg-rose-dark) !important;
    font-size: 0.7rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
}

body.profile-production-page .profile-dashboard-preview {
    min-height: 100%;
}

body.profile-production-page .profile-preview-fields {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
}

body.profile-production-page .profile-preview-fields > div {
    display: grid;
    gap: 0.25rem;
    padding: 0.85rem;
}

body.profile-production-page .profile-preview-fields span {
    color: var(--mg-muted) !important;
    font-size: 0.72rem !important;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.profile-production-page .profile-preview-fields strong {
    color: var(--mg-ink) !important;
    font-size: 0.95rem !important;
    font-weight: 850;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-production-page .profile-address-preview-list > div {
    align-items: center;
    display: grid !important;
    gap: 0.75rem !important;
    grid-template-columns: 64px minmax(0, 1fr) !important;
    padding: 0.65rem !important;
}

body.profile-production-page .profile-salon-thumb {
    background: var(--mg-mist);
    border-radius: 8px;
    height: 64px;
    overflow: hidden;
    width: 64px;
}

body.profile-production-page .profile-salon-copy {
    display: grid;
    gap: 0.18rem;
}

body.profile-production-page .profile-salon-copy a,
body.profile-production-page .phone-link {
    color: var(--mg-rose-dark) !important;
    font-size: 0.86rem;
    font-weight: 850;
    text-decoration: none !important;
}

body.profile-production-page .profile-bonus-card-head {
    max-width: 650px;
}

body.profile-production-page .profile-bonus-status-card,
body.profile-production-page .profile-bonus-history-card {
    align-content: start;
    display: grid !important;
    gap: 1rem !important;
}

body.profile-production-page .profile-bonus-card-head p {
    color: var(--mg-muted) !important;
    font-size: 0.96rem !important;
    line-height: 1.6;
    margin: 0.55rem 0 0 !important;
}

body.profile-production-page #pills-gift .profile-bonus-summary-card {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--mg-card) 9%, transparent), transparent 34%),
        linear-gradient(145deg, var(--mg-cypress), var(--mg-ink)) !important;
    border: 1px solid color-mix(in srgb, var(--mg-card) 18%, transparent) !important;
    border-radius: var(--mg-radius-sm) !important;
    box-shadow: var(--mg-shadow-soft) !important;
    color: var(--mg-card);
    display: grid !important;
    gap: 1rem !important;
    grid-template-areas: "level" "balance" "holder" !important;
    grid-template-columns: minmax(0, 1fr) !important;
    margin-top: 1rem !important;
    min-height: 248px !important;
    overflow: hidden;
    padding: clamp(1.1rem, 2.5vw, 1.6rem) !important;
    position: relative;
}

body.profile-production-page .profile-bonus-level,
body.profile-production-page .profile-bonus-balance,
body.profile-production-page .profile-bonus-holder {
    position: relative;
    z-index: 1;
}

body.profile-production-page .profile-bonus-level {
    border: 0 !important;
    display: grid !important;
    gap: 0.35rem !important;
    grid-area: level !important;
    padding: 0 !important;
}

body.profile-production-page .profile-bonus-level > span:first-child,
body.profile-production-page .profile-bonus-balance > span:first-child,
body.profile-production-page .profile-bonus-holder > span:first-child {
    color: color-mix(in srgb, var(--mg-card) 68%, transparent) !important;
    font-size: 0.7rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
}

body.profile-production-page #pills-gift .profile-bonus-level strong {
    color: var(--mg-card) !important;
    font-size: clamp(1.75rem, 4vw, 2.65rem) !important;
    font-weight: 850 !important;
    line-height: 1.02 !important;
    text-transform: none !important;
}

body.profile-production-page .profile-bonus-level small {
    color: color-mix(in srgb, var(--mg-card) 74%, transparent) !important;
    font-size: 0.88rem !important;
    line-height: 1.35;
}

body.profile-production-page .profile-bonus-progress {
    appearance: none;
    background: color-mix(in srgb, var(--mg-card) 16%, transparent);
    border: 0;
    border-radius: var(--mg-pill);
    display: block;
    height: 8px;
    margin-top: 0.4rem;
    overflow: hidden;
    width: min(100%, 280px);
}

body.profile-production-page .profile-bonus-progress::-webkit-meter-bar {
    background: color-mix(in srgb, var(--mg-card) 16%, transparent);
    border: 0;
    border-radius: var(--mg-pill);
}

body.profile-production-page .profile-bonus-progress::-webkit-meter-optimum-value,
body.profile-production-page .profile-bonus-progress::-webkit-meter-suboptimum-value,
body.profile-production-page .profile-bonus-progress::-webkit-meter-even-less-good-value {
    background: var(--mg-rose);
    border-radius: var(--mg-pill);
}

body.profile-production-page .profile-bonus-progress::-moz-meter-bar {
    background: var(--mg-rose);
    border-radius: var(--mg-pill);
}

body.profile-production-page .profile-bonus-balance {
    align-items: end;
    border-top: 1px solid color-mix(in srgb, var(--mg-card) 14%, transparent) !important;
    display: grid !important;
    gap: 0.2rem !important;
    grid-area: balance !important;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    padding-top: 0.95rem !important;
}

body.profile-production-page .profile-bonus-balance > span:first-child {
    grid-column: 1 / -1;
}

body.profile-production-page #pills-gift .profile-bonus-balance strong {
    color: var(--mg-card) !important;
    font-size: clamp(2.7rem, 7vw, 4.4rem) !important;
    font-weight: 850 !important;
    line-height: 0.92 !important;
}

body.profile-production-page .profile-bonus-balance p {
    align-self: end;
    color: color-mix(in srgb, var(--mg-card) 70%, transparent) !important;
    display: grid !important;
    gap: 0.08rem !important;
    margin: 0 0 0.25rem !important;
}

body.profile-production-page .loyalty-points-unit {
    color: var(--mg-card) !important;
    font-size: 0.92rem !important;
    font-weight: 800;
    white-space: nowrap;
}

body.profile-production-page .profile-bonus-balance small,
body.profile-production-page .profile-bonus-holder small {
    color: color-mix(in srgb, var(--mg-card) 64%, transparent) !important;
    font-size: 0.8rem !important;
    line-height: 1.35;
}

body.profile-production-page .profile-bonus-holder {
    border-top: 1px solid color-mix(in srgb, var(--mg-card) 14%, transparent) !important;
    display: grid !important;
    gap: 0.18rem !important;
    grid-area: holder !important;
    padding-top: 0.9rem !important;
}

body.profile-production-page .profile-bonus-holder strong {
    color: var(--mg-card) !important;
    font-size: 1rem !important;
    font-weight: 850;
    line-height: 1.15 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-production-page .profile-bonus-holder small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.profile-production-page .profile-bonus-stamp {
    align-items: center;
    background: var(--mg-rose) !important;
    border: 2px solid color-mix(in srgb, var(--mg-card) 70%, transparent) !important;
    border-radius: var(--mg-pill) !important;
    bottom: 1rem !important;
    box-shadow: var(--mg-shadow-soft) !important;
    color: var(--mg-card);
    display: flex;
    height: 68px !important;
    justify-content: center;
    opacity: 0.95;
    position: absolute !important;
    right: 1rem !important;
    width: 68px !important;
}

body.profile-production-page .profile-bonus-benefits {
    display: grid !important;
    gap: 0.65rem !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

body.profile-production-page .profile-bonus-benefits div {
    background: var(--mg-surface) !important;
    border: 1px solid var(--mg-line) !important;
    border-radius: var(--mg-radius-sm) !important;
    display: grid !important;
    gap: 0.25rem !important;
    padding: 0.82rem !important;
}

body.profile-production-page .profile-bonus-benefits strong {
    color: var(--mg-ink) !important;
    font-size: 0.98rem !important;
    font-weight: 850;
}

body.profile-production-page .profile-bonus-benefits span {
    color: var(--mg-muted) !important;
    font-size: 0.78rem !important;
    line-height: 1.35;
}

body.profile-production-page .profile-completed-card {
    align-items: center;
    display: grid !important;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.85rem !important;
}

body.profile-production-page .profile-bonus-history-card .profile-completed-cards {
    align-content: start;
    display: grid !important;
    gap: 0.75rem !important;
}

body.profile-production-page .profile-bonus-history-card .profile-empty-card {
    min-height: 132px;
}

body.profile-production-page .profile-completed-card p {
    color: var(--mg-muted) !important;
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
    margin: 0.28rem 0 0 !important;
}

body.profile-production-page .profile-completed-points {
    border-radius: 8px !important;
    font-size: 0.82rem !important;
    font-weight: 850 !important;
    padding: 0.42rem 0.55rem !important;
    text-align: right;
    white-space: nowrap;
}

body.profile-production-page .loyalty-points-positive {
    background: color-mix(in srgb, var(--mg-eucalyptus) 16%, var(--mg-card)) !important;
    color: var(--mg-cypress) !important;
}

body.profile-production-page .loyalty-points-negative {
    background: color-mix(in srgb, var(--mg-rose) 14%, var(--mg-card)) !important;
    color: var(--mg-rose-dark) !important;
}

body.profile-production-page .loyalty-points-neutral {
    background: var(--mg-surface) !important;
    color: var(--mg-muted) !important;
}

body.profile-production-page .profile-form-grid {
    display: grid !important;
    gap: 0.9rem !important;
}

body.profile-production-page .profile-form-label {
    color: var(--mg-muted) !important;
    font-size: 0.78rem !important;
    font-weight: 850 !important;
    margin-bottom: 0.35rem !important;
}

body.profile-production-page .input-medigrace {
    background: var(--mg-card) !important;
    border: 1px solid var(--mg-line) !important;
    border-radius: var(--mg-radius-sm) !important;
    color: var(--mg-ink) !important;
    font-size: 0.95rem !important;
    min-height: 48px !important;
}

body.profile-production-page .input-medigrace:focus {
    border-color: var(--mg-eucalyptus) !important;
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--mg-eucalyptus) 18%, transparent) !important;
}

body.profile-production-page .profile-form-actions {
    display: flex !important;
    justify-content: stretch;
}

body.profile-production-page .btn-medigrace {
    background: var(--mg-rose) !important;
    border: 1px solid var(--mg-rose) !important;
    color: var(--mg-card) !important;
    font-size: 0.92rem !important;
    font-weight: 850 !important;
    min-height: 48px !important;
    padding-inline: 1.1rem !important;
    width: 100%;
}

body.profile-production-page .btn-medigrace:hover {
    background: var(--mg-rose-dark) !important;
    border-color: var(--mg-rose-dark) !important;
}

body.profile-production-page .btn-medigrace:disabled,
body.profile-production-page .ui-button-primary:disabled,
body.profile-production-page .ui-button-secondary:disabled {
    cursor: not-allowed;
    opacity: 0.62;
    transform: none !important;
}

body.profile-production-page .account-address {
    height: 100%;
    overflow: hidden;
}

body.profile-production-page .account-address .card-body {
    display: grid !important;
    gap: 0.6rem !important;
    padding: 1rem !important;
}

body.profile-production-page .profile-address-links {
    display: flex !important;
    gap: 0.55rem;
}

body.profile-production-page .profile-address-links a {
    align-items: center;
    background: var(--mg-surface) !important;
    border: 1px solid var(--mg-line) !important;
    border-radius: 8px !important;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    width: 40px;
}

body.profile-production-page .profile-address-links a:hover {
    background: var(--mg-mist) !important;
}

body.profile-production-page .profile-address-links img {
    display: block;
    height: 20px;
    width: 20px;
}

body.profile-production-page .profile-map-frame,
body.profile-production-page .profile-order-map,
body.profile-production-page .profile-order-map-fallback {
    background: var(--mg-mist) !important;
    border-radius: var(--mg-radius-sm) !important;
    overflow: hidden;
}

body.profile-production-page .profile-map-frame {
    aspect-ratio: 16 / 10;
    margin-top: 0.3rem;
}

body.profile-production-page .profile-map-frame iframe {
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
}

body.profile-production-page .profile-appointment-modal .modal-content {
    background: var(--mg-card);
    border: 1px solid var(--mg-line);
    border-radius: var(--mg-radius-sm) !important;
    box-shadow: var(--mg-shadow);
}

body.profile-production-page .profile-appointment-modal .modal-header,
body.profile-production-page .profile-appointment-modal .modal-footer {
    border-color: var(--mg-line);
}

body.profile-production-page .profile-appointment-modal .modal-title {
    color: var(--mg-ink);
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    font-weight: 850;
    line-height: 1.1;
    text-transform: none;
}

body.profile-production-page .profile-order-modal-grid {
    display: grid;
    gap: 0.9rem;
}

body.profile-production-page .profile-order-modal-main,
body.profile-production-page .profile-order-modal-salon,
body.profile-production-page .profile-order-modal-note {
    background: var(--mg-card);
    border: 1px solid var(--mg-line);
    border-radius: var(--mg-radius-sm);
    padding: 1rem;
}

body.profile-production-page .profile-order-modal-status {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

body.profile-production-page .profile-order-modal-status > span,
body.profile-production-page .profile-order-modal-facts span,
body.profile-production-page .profile-order-modal-note span {
    color: var(--mg-muted);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.profile-production-page .profile-order-modal-facts {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.profile-production-page .profile-order-modal-facts > div {
    background: var(--mg-surface);
    border-radius: var(--mg-radius-sm);
    display: grid;
    gap: 0.25rem;
    padding: 0.75rem;
}

body.profile-production-page .profile-order-modal-facts strong,
body.profile-production-page .profile-order-modal-salon h3 {
    color: var(--mg-ink);
    font-size: 0.98rem;
    font-weight: 850;
}

body.profile-production-page .profile-order-modal-note {
    margin-top: 0.75rem;
}

body.profile-production-page .profile-order-modal-note p {
    color: var(--mg-muted);
    line-height: 1.5;
    margin: 0.35rem 0 0;
}

body.profile-production-page .profile-order-map,
body.profile-production-page .profile-order-map-fallback {
    aspect-ratio: 16 / 11;
    margin-top: 0.85rem;
}

body.profile-production-page .profile-order-map-fallback {
    align-items: center;
    color: var(--mg-muted);
    display: grid;
    gap: 0.4rem;
    justify-items: center;
    padding: 1.25rem;
    text-align: center;
}

@media (max-width: 575.98px) {
    body.profile-production-page .profile-intro {
        padding-top: 1rem !important;
    }

    body.profile-production-page .profile-intro h1 {
        font-size: 1.9rem !important;
        margin-bottom: 0.55rem !important;
    }

    body.profile-production-page .profile-intro p {
        font-size: 0.94rem !important;
        line-height: 1.5 !important;
    }

    body.profile-production-page .profile-intro-actions {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    body.profile-production-page .profile-intro-actions .ui-button-primary,
    body.profile-production-page .profile-intro-actions .ui-button-secondary {
        flex: 1 1 0;
        font-size: 0.82rem !important;
        min-height: 44px;
        min-width: 0;
        padding-inline: 0.45rem !important;
        white-space: nowrap;
        width: auto;
    }

    body.profile-production-page .profile-card-action {
        display: none !important;
    }

    body.profile-production-page #pills-gift .profile-bonus-summary-card {
        padding-right: 5.25rem !important;
    }

    body.profile-production-page .profile-order-modal-facts {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    body.profile-production-page {
        padding-bottom: 0;
    }

    body.profile-production-page .profile-intro-grid {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    body.profile-production-page .profile-bonus-layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr) !important;
    }

    body.profile-production-page .profile-bonus-card {
        grid-row: span 2;
    }

    body.profile-production-page .profile-appointment-card {
        grid-template-columns: 70px minmax(0, 1fr) auto 18px !important;
        padding: 0.75rem !important;
    }

    body.profile-production-page .profile-date-tile {
        height: 76px !important;
        width: 70px !important;
    }

    body.profile-production-page .profile-status-badge {
        justify-self: end;
    }

    body.profile-production-page .profile-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.profile-production-page .profile-form-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    body.profile-production-page .btn-medigrace {
        width: auto;
    }

    body.profile-production-page .profile-address-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.profile-production-page #pills-gift .profile-bonus-summary-card {
        grid-template-areas:
            "level stamp"
            "balance stamp"
            "holder stamp" !important;
        grid-template-columns: minmax(0, 1fr) 78px !important;
        min-height: 262px !important;
    }

    body.profile-production-page .profile-bonus-stamp {
        align-self: end;
        bottom: auto !important;
        grid-area: stamp !important;
        justify-self: end;
        position: static !important;
    }

    body.profile-production-page .profile-order-modal-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    }
}

@media (min-width: 992px) {
    body.profile-production-page {
        --profile-header-height: 114px;
    }
}

@media (min-width: 1100px) {
    body.profile-production-page .profile-workspace {
        padding-top: 1rem !important;
    }

    body.profile-production-page .profile-panel {
        grid-template-columns: 286px minmax(0, 1fr);
        gap: 1rem !important;
    }

    body.profile-production-page .profile-sidebar {
        align-self: stretch;
        background: color-mix(in srgb, var(--mg-card) 96%, transparent) !important;
        border: 1px solid var(--mg-line) !important;
        border-radius: var(--mg-radius-sm) !important;
        box-shadow: var(--mg-shadow-soft) !important;
        display: grid !important;
        gap: 0.75rem !important;
        grid-column: 1;
        grid-row: 1;
        grid-template-rows: auto minmax(0, 1fr);
        min-height: calc(100svh - var(--profile-header-height) - 2rem);
        padding: 0.75rem !important;
        position: static;
    }

    body.profile-production-page .profile-sidebar .profile-dashboard-client {
        box-shadow: none !important;
        padding: 0.9rem !important;
    }

    body.profile-production-page .profile-dashboard-client,
    body.profile-production-page .profile-menu {
        position: static;
    }

    body.profile-production-page .profile-sidebar .profile-menu {
        display: flex !important;
        flex-direction: column;
        min-height: 0;
    }

    body.profile-production-page .profile-sidebar .profile-menu .account-menu-list {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    body.profile-production-page .profile-content {
        grid-column: 2;
        grid-row: 1;
    }

    body.profile-production-page .profile-dashboard-layout {
        align-items: stretch;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.profile-production-page .profile-card-large {
        grid-column: 1 / -1;
    }

    body.profile-production-page .profile-order-history-card {
        grid-column: 1 / -1;
    }

    body.profile-production-page .profile-menu .account-menu-list {
        flex-direction: column !important;
        overflow: visible !important;
    }

    body.profile-production-page .profile-menu .account-menu-list li,
    body.profile-production-page .profile-menu .nav-link,
    body.profile-production-page .profile-logout {
        width: 100% !important;
    }

    body.profile-production-page .profile-menu .nav-link,
    body.profile-production-page .profile-logout {
        justify-content: flex-start;
    }

    body.profile-production-page .profile-menu-help {
        background: color-mix(in srgb, var(--mg-card) 94%, transparent);
        border: 1px solid var(--mg-line);
        border-radius: var(--mg-radius-sm);
        box-shadow: var(--mg-shadow-soft);
        display: grid;
        gap: 0.45rem;
        margin-top: auto;
        padding: 1rem;
    }

    body.profile-production-page .profile-menu-help > i {
        color: var(--mg-rose-dark);
        font-size: 1.2rem;
    }

    body.profile-production-page .profile-menu-help strong {
        color: var(--mg-ink);
        font-size: 0.98rem;
        font-weight: 850;
    }

    body.profile-production-page .profile-menu-help span {
        color: var(--mg-muted);
        font-size: 0.82rem;
        line-height: 1.45;
    }

    body.profile-production-page .profile-menu-help div {
        display: flex;
        gap: 0.5rem;
        margin-top: 0.2rem;
    }

    body.profile-production-page .profile-menu-help a {
        align-items: center;
        background: var(--mg-mist);
        border-radius: 8px;
        color: var(--mg-cypress);
        display: inline-flex;
        height: 36px;
        justify-content: center;
        text-decoration: none;
        width: 36px;
    }

    body.profile-production-page .profile-appointment-card {
        grid-template-columns: 76px 96px minmax(0, 1fr) auto 18px !important;
    }

    body.profile-production-page .profile-appointment-thumb {
        display: block;
    }
}

@media (min-width: 1440px) {
    body.profile-production-page .profile-panel {
        grid-template-columns: 304px minmax(0, 1fr);
    }

    body.profile-production-page .profile-appointment-card {
        grid-template-columns: 78px 112px minmax(0, 1fr) auto 20px !important;
    }
}

/* Final public UI system: brand typography and a single modal/offcanvas language. */
html,
body,
button,
input,
textarea,
select {
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body .brand-name,
body .site-footer-brand strong {
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-weight: 850 !important;
    letter-spacing: 0.045em !important;
    text-transform: none !important;
}

body .modal-backdrop.show,
body .offcanvas-backdrop.show {
    opacity: 0.44 !important;
}

body .modal-dialog {
    margin: 1rem auto;
}

body .modal-content,
body .auth-modal .auth-modal-card,
body .booking-panel.offcanvas {
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--mg-card) 98%, transparent), var(--mg-card)) !important;
    border: 1px solid var(--mg-line) !important;
    border-radius: var(--mg-radius-sm) !important;
    box-shadow: var(--mg-shadow) !important;
    color: var(--mg-ink) !important;
    overflow: hidden;
}

body .modal-header,
body .modal-footer,
body .booking-panel .offcanvas-header {
    border-color: var(--mg-line) !important;
    padding: 1rem !important;
}

body .modal-body,
body .booking-panel .offcanvas-body {
    padding: 1rem !important;
}

body .modal-title,
body .auth-modal-card h2,
body .booking-panel .offcanvas-title {
    color: var(--mg-ink) !important;
    font-size: clamp(1.25rem, 2.4vw, 1.75rem) !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    line-height: 1.12 !important;
    margin: 0 !important;
    text-transform: none !important;
}

body .modal .btn-close,
body .booking-panel .btn-close,
body .auth-modal .auth-close {
    align-items: center;
    background: var(--mg-surface) !important;
    border: 1px solid var(--mg-line) !important;
    border-radius: 8px !important;
    color: var(--mg-ink) !important;
    display: inline-flex;
    height: 40px !important;
    justify-content: center;
    margin: 0 !important;
    min-width: 40px !important;
    opacity: 1 !important;
    padding: 0 !important;
    width: 40px !important;
}

body .auth-modal {
    align-items: center;
    background: color-mix(in srgb, var(--mg-ink) 46%, transparent) !important;
    display: none;
    inset: 0;
    justify-content: center;
    overflow: auto;
    padding: 1rem;
    position: fixed;
    z-index: 1065;
}

body .auth-modal.is-open {
    display: flex !important;
}

body .auth-modal .auth-modal-card {
    max-height: calc(100dvh - 2rem);
    max-width: 460px !important;
    overflow: auto;
    padding: 1rem !important;
    position: relative;
    width: min(100%, 460px) !important;
}

body .auth-modal .auth-close {
    font-size: 1.3rem !important;
    line-height: 1 !important;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

body .auth-modal .auth-form,
body .auth-modal .auth-form #smsCodeSection {
    display: grid;
    gap: 0.72rem;
}

body .auth-modal .auth-form label {
    color: var(--mg-muted) !important;
    font-size: 0.78rem !important;
    font-weight: 850 !important;
    margin: 0 !important;
}

body .auth-modal .auth-form input {
    background: var(--mg-card) !important;
    border: 1px solid var(--mg-line) !important;
    border-radius: var(--mg-radius-sm) !important;
    color: var(--mg-ink) !important;
    min-height: 48px !important;
    padding: 0.7rem 0.85rem !important;
}

body .booking-panel.offcanvas,
body .booking-panel.offcanvas.offcanvas-end {
    border-radius: var(--mg-radius-sm) 0 0 var(--mg-radius-sm) !important;
    max-width: min(100vw, 620px) !important;
}

body.profile-production-page .profile-logout-modal .modal-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
}

body.profile-production-page .profile-logout-modal .profile-logout-form {
    margin: 0 !important;
}

body.profile-production-page .profile-logout-modal .ui-button-primary,
body.profile-production-page .profile-logout-modal .ui-button-secondary {
    min-height: 44px;
}

@media (max-width: 575.98px) {
    body .modal-dialog {
        margin: 0.75rem;
    }

    body .modal-header,
    body .modal-footer,
    body .modal-body,
    body .booking-panel .offcanvas-header,
    body .booking-panel .offcanvas-body {
        padding: 0.9rem !important;
    }

    body .booking-panel.offcanvas,
    body .booking-panel.offcanvas.offcanvas-end {
        border-radius: var(--mg-radius-sm) var(--mg-radius-sm) 0 0 !important;
        max-width: 100vw !important;
    }
}

/* Global modal adaptation fix: neutralize legacy fixed 400px modal-content. */
body .modal:not(.auth-modal) {
    background: color-mix(in srgb, var(--mg-ink) 46%, transparent) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 0 !important;
    z-index: 1060 !important;
}

body .modal:not(.auth-modal) .modal-dialog {
    margin: 1rem auto !important;
    max-width: min(760px, calc(100vw - 2rem)) !important;
    width: min(760px, calc(100vw - 2rem)) !important;
}

body .modal:not(.auth-modal) .modal-dialog.modal-lg {
    max-width: min(980px, calc(100vw - 2rem)) !important;
    width: min(980px, calc(100vw - 2rem)) !important;
}

body .modal:not(.auth-modal) .modal-dialog-centered {
    align-items: center !important;
    display: flex !important;
    min-height: calc(100dvh - 2rem) !important;
}

body .modal:not(.auth-modal) .modal-content {
    display: flex !important;
    flex-direction: column !important;
    left: auto !important;
    margin: 0 !important;
    max-height: calc(100dvh - 2rem) !important;
    max-width: none !important;
    min-height: 0 !important;
    padding: 0 !important;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
}

body .modal:not(.auth-modal) .modal-header,
body .modal:not(.auth-modal) .modal-footer {
    flex: 0 0 auto !important;
}

body .modal:not(.auth-modal) .modal-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

body.profile-production-page .profile-appointment-modal .modal-content,
body.profile-production-page .profile-logout-modal .modal-content {
    background: var(--mg-card) !important;
    border: 1px solid var(--mg-line) !important;
    border-radius: var(--mg-radius-sm) !important;
    box-shadow: var(--mg-shadow) !important;
}

body.profile-production-page .profile-appointment-modal .modal-header {
    align-items: flex-start !important;
    background: var(--mg-cypress) !important;
    color: var(--mg-card) !important;
    gap: 1rem !important;
}

body.profile-production-page .profile-appointment-modal .modal-header .profile-section-kicker,
body.profile-production-page .profile-appointment-modal .modal-title {
    color: var(--mg-card) !important;
}

body.profile-production-page .profile-appointment-modal .btn-close {
    background-color: color-mix(in srgb, var(--mg-card) 94%, transparent) !important;
}

body.profile-production-page .profile-appointment-modal .modal-body {
    background: var(--mg-surface) !important;
}

body.profile-production-page .profile-appointment-modal .profile-order-modal-grid {
    align-items: stretch !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr) !important;
}

body.profile-production-page .profile-appointment-modal .profile-order-modal-main,
body.profile-production-page .profile-appointment-modal .profile-order-modal-salon,
body.profile-production-page .profile-appointment-modal .profile-order-modal-note {
    background: var(--mg-card) !important;
}

body.profile-production-page .profile-appointment-modal .profile-order-map,
body.profile-production-page .profile-appointment-modal .profile-order-map-fallback {
    max-height: 260px !important;
}

body.profile-production-page .profile-appointment-modal .modal-footer {
    background: var(--mg-card) !important;
    gap: 0.65rem !important;
}

body .booking-panel.offcanvas,
body .booking-panel.offcanvas.offcanvas-end {
    bottom: 0 !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    top: 0 !important;
    transform: translateX(100%) !important;
}

body .booking-panel.offcanvas.show,
body .booking-panel.offcanvas.showing {
    transform: translateX(0) !important;
}

body .booking-panel .offcanvas-header {
    flex: 0 0 auto !important;
}

body .booking-panel .offcanvas-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

@media (max-width: 767.98px) {
    body .modal:not(.auth-modal) .modal-dialog,
    body .modal:not(.auth-modal) .modal-dialog.modal-lg {
        align-items: flex-end !important;
        margin: 0.75rem auto 0 !important;
        max-width: calc(100vw - 1rem) !important;
        min-height: calc(100dvh - 0.75rem) !important;
        width: calc(100vw - 1rem) !important;
    }

    body .modal:not(.auth-modal) .modal-content {
        border-radius: var(--mg-radius-sm) var(--mg-radius-sm) 0 0 !important;
        max-height: calc(100dvh - 0.75rem) !important;
    }

    body.profile-production-page .profile-appointment-modal .profile-order-modal-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.profile-production-page .profile-appointment-modal .profile-order-modal-facts {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}
