:root { color-scheme: light; font-family: Inter, system-ui, sans-serif; color: #271b25; background: #fcf8fa; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
.site-header, .page-content, .site-footer { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.site-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { color: #612b52; font-size: 1.4rem; font-weight: 800; letter-spacing: .13em; text-decoration: none; }
nav { display: flex; gap: 1.25rem; } nav a { color: #594552; text-decoration: none; }
.page-content { flex: 1; padding: 3rem 0 5rem; }
.hero, .card { width: min(700px, 100%); background: #fff; border: 1px solid #f0e2e9; border-radius: 24px; padding: clamp(2rem, 6vw, 5rem); box-shadow: 0 20px 50px #612b5210; }
.hero h1, .card h1 { margin: .2rem 0 1rem; font-size: clamp(2.2rem, 6vw, 4.5rem); line-height: 1.02; letter-spacing: -.055em; }
.hero p:not(.eyebrow), .card p:not(.eyebrow) { color: #695762; font-size: 1.1rem; line-height: 1.7; }
.eyebrow { color: #9f527d; font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.site-footer { padding: 1.5rem 0 2rem; color: #8f7a86; font-size: .85rem; }
.card form { display: grid; gap: .6rem; margin-top: 1.5rem; }
.card input { border: 1px solid #d9cbd2; border-radius: 8px; font: inherit; padding: .7rem; }
.card input[type="submit"] { background: #612b52; border: 0; color: white; cursor: pointer; font-weight: 700; }

.page-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.page-heading.horizontal { display: flex; justify-content: space-between; align-items: center; }
.page-heading h1 { margin: .2rem 0 0; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.045em; line-height: 1.05; }
.page-heading > p { color: #75616e; line-height: 1.65; margin: 0; }
.wizard-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr); gap: 1.5rem; align-items: start; }
.booking-card {  box-shadow: 0 14px 40px #612b520d; }
.form-card { padding: clamp(1.25rem, 3vw, 2.25rem); }
.form-card h2, .summary-card h2 { font-size: 1.15rem; margin: .25rem 0 1.2rem; }
.form-card h2:not(:first-child) { border-top: 1px solid #f1e6eb; margin-top: 2rem; padding-top: 1.7rem; }
.form-grid { display: grid; gap: 1.15rem; }
.form-grid.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: .45rem; min-width: 0; }
.field.full-width { grid-column: 1 / -1; }
.field label { color: #4e3946; font-size: .88rem; font-weight: 700; }
.field .ui-selectonemenu, .field .ui-inputfield, .field .ui-datepicker { width: 100%; }
.form-card .ui-button, .primary-action { margin-top: 1.25rem; background: #6d315a; border-color: #6d315a; border-radius: 10px; }
.summary-card { position: sticky; top: 1rem; padding: 1.5rem; }
.empty-state { display: grid; place-items: center; text-align: center; color: #8e7885; background: #fcf8fa; border: 1px dashed #dfcdd6; border-radius: 14px; padding: 2rem 1rem; }
.empty-state i { font-size: 1.8rem; color: #b46f96; }
.summary-item { position: relative; display: grid; gap: .6rem; padding: 1rem 2.2rem 1rem 0; border-top: 1px solid #f1e6eb; }
.summary-item > div:first-child { display: flex; justify-content: space-between; gap: .75rem; }
.summary-item span { color: #806b77; font-size: .86rem; }
.summary-meta { display: flex; justify-content: space-between; }
.summary-price { color: #6d315a; font-weight: 800; }
.summary-item .icon-only { position: absolute; right: -.6rem; top: .7rem; margin: 0; }
.summary-total { display: flex; align-items: end; justify-content: space-between; border-top: 2px solid #ead9e2; margin-top: .6rem; padding-top: 1.1rem; }
.summary-total span { color: #75616e; font-size: .9rem; }
.summary-total strong { color: #5f294e; font-size: 1.35rem; }
.price-note { color: #816e79; background: #fcf6f9; border-radius: 10px; padding: .8rem; font-size: .78rem; line-height: 1.5; }
.primary-action { width: 100%; }
.button-link { display: inline-flex; align-items: center; background: #6d315a; color: #fff; border-radius: 10px; padding: .78rem 1.1rem; text-decoration: none; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.home-hero-slider { position: relative; height: clamp(520px, 55vw, 650px); overflow: hidden; border-radius: 32px; background: #52233f; box-shadow: 0 28px 70px #4d1e3b26; isolation: isolate; }
.home-hero-track, .home-hero-slide { position: absolute; inset: 0; }
.home-hero-slide { visibility: hidden; opacity: 0; transition: opacity .7s ease, visibility .7s; }
.home-hero-slide.is-active { visibility: visible; opacity: 1; }
.home-hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.025); transition: transform 7s ease; }
.home-hero-slide.is-active img { transform: scale(1); }
.home-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #2d1525f2 0%, #38192bd9 34%, #37192778 53%, transparent 76%), linear-gradient(0deg, #2d152552, transparent 40%); }
.home-hero-copy { position: absolute; z-index: 1; top: 50%; left: clamp(2rem, 6vw, 5.25rem); width: min(540px, 46%); color: #fff; transform: translateY(-47%); }
.home-hero-copy .eyebrow { margin: 0 0 1rem; color: #efb9d7; }
.home-hero-copy h1, .home-hero-copy h2 { margin: 0; max-width: 530px; font-size: clamp(2.8rem, 5vw, 5rem); line-height: .98; letter-spacing: -.06em; }
.home-hero-description { max-width: 470px; margin: 1.25rem 0 0; color: #f7eaf1; font-size: clamp(.95rem, 1.4vw, 1.12rem); line-height: 1.55; }
.home-hero-primary { background: #fff; color: #632b52; box-shadow: 0 8px 25px #1808102e; }
.home-hero-primary:hover { color: #632b52; transform: translateY(-1px); }
.home-hero-secondary { color: #fff; font-weight: 750; text-decoration: none; }
.home-hero-secondary:hover { color: #f3c8df; }
.home-hero-controls { position: absolute; z-index: 3; right: 1.5rem; bottom: 1.5rem; left: 1.5rem; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.home-hero-dots, .home-hero-arrows { display: flex; align-items: center; gap: .5rem; pointer-events: auto; }
.home-hero-dot { width: 26px; height: 4px; border: 0; border-radius: 99px; background: #ffffff73; padding: 0; cursor: pointer; transition: width .25s ease, background .25s ease; }
.home-hero-dot.is-active { width: 48px; background: #fff; }
.home-hero-arrows button { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #ffffff73; border-radius: 50%; background: #2a122180; color: #fff; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s ease, transform .2s ease; }
.home-hero-arrows button:hover { background: #fff; color: #632b52; transform: translateY(-2px); }
.home-categories { margin-top: 3.5rem; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.35rem; }
.home-section-heading .eyebrow { margin: 0 0 .35rem; }
.home-section-heading h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.45rem); letter-spacing: -.04em; }
.home-section-heading > p { max-width: 470px; margin: 0; color: #75616e; line-height: 1.55; text-align: right; }
.home-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.home-category-card { position: relative; display: grid; min-height: 155px; place-items: center; overflow: hidden; border-radius: 20px; background-position: center; background-size: cover; color: #fff; box-shadow: 0 12px 28px #4e1f3b18; isolation: isolate; transition: transform .2s ease, box-shadow .2s ease; }
.home-category-card::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, #2914211a, #2914218c); content: ""; transition: background .2s ease; }
.home-category-card::after { position: absolute; inset: 0; border: 1px solid #ffffff24; border-radius: inherit; content: ""; }
.home-category-card:hover { color: #fff; box-shadow: 0 18px 35px #4e1f3b29; transform: translateY(-3px); }
.home-category-card:hover::before { background: linear-gradient(180deg, #2914210d, #291421a6); }
.home-category-link { position: absolute; z-index: 1; display: grid; inset: 0; place-items: center; color: #fff; text-decoration: none; }
.home-category-link:hover { color: #fff; }
.home-category-link span { padding: 1rem; font-size: 1.1rem; font-weight: 850; text-align: center; text-shadow: 0 2px 12px #1e1019b3; }
.home-category-card.without-image { background: linear-gradient(145deg, #a45e84, #5f294e); }
.home-category-card.without-image::before { background: radial-gradient(circle at 80% 20%, #ffffff1c 0 22%, transparent 23%), linear-gradient(145deg, transparent, #3112255c); }
.home-portfolio-section { margin-top: 2.5rem; }
.home-portfolio-heading { margin: 0 0 .9rem; color: #4a1f3d; font-size: 1.15rem; font-weight: 850; }
.home-portfolio-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.home-portfolio-card { position: relative; overflow: hidden; border-radius: 16px; background: #eee4e9; box-shadow: 0 10px 24px #48203d14; aspect-ratio: 1 / 1; }
.home-portfolio-image-link { display: block; width: 100%; height: 100%; }
.home-portfolio-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.home-portfolio-card:hover img { transform: scale(1.05); }
.home-portfolio-like { position: absolute; right: .5rem; bottom: .5rem; display: inline-flex; align-items: center; gap: .3rem; border-radius: 999px; background: #21101bbd; padding: .3rem .6rem; color: #fff; font-size: .74rem; font-weight: 800; backdrop-filter: blur(4px); }
.home-portfolio-like i { color: #ff8fb8; font-size: .78rem; }
.home-portfolio-more { display: grid; place-items: center; gap: .4rem; border: 1.5px dashed #d9bdcd; background: #fcf7fa; color: #71345d; font-weight: 800; font-size: .82rem; text-align: center; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.home-portfolio-more:hover { border-color: #a94c7d; background: #f6e9f0; color: #71345d; }
.home-portfolio-more i { font-size: 1.1rem; }
.category-image-admin { margin-top: 1.5rem; border: 1px dashed #d9bdcd; border-radius: 18px; background: #fcf7fa; padding: 1.1rem; }
.category-admin-heading { display: flex; align-items: center; gap: .75rem; margin-bottom: .85rem; }
.category-admin-heading > i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #f0e0e9; color: #71345d; }
.category-admin-heading div { display: grid; gap: .15rem; }
.category-admin-heading small { color: #806b77; }
.category-admin-controls { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(240px, 1fr) auto; gap: .75rem; align-items: center; }
.category-admin-controls .ui-selectonemenu, .category-admin-controls .ui-fileupload-simple { width: 100%; }
@media (max-width: 850px) {
  .home-hero-slider { height: 600px; border-radius: 26px; }
  .home-hero-shade { background: linear-gradient(0deg, #29131ff5 0%, #301522d1 47%, #2b14204d 76%, transparent); }
  .home-hero-copy { top: auto; right: 1.75rem; bottom: 5.3rem; left: 1.75rem; width: auto; transform: none; }
  .home-hero-copy h1, .home-hero-copy h2 { font-size: clamp(2.5rem, 8vw, 4.1rem); }
  .home-hero-slide img { object-position: 64% center; }
  .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-admin-controls { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .page-content { padding-top: 1.25rem; }
  .home-hero-slider { height: 560px; margin-inline: -.5rem; border-radius: 22px; }
  .home-hero-copy { right: 1.25rem; bottom: 5rem; left: 1.25rem; }
  .home-hero-copy .eyebrow { margin-bottom: .65rem; }
  .home-hero-copy h1, .home-hero-copy h2 { font-size: clamp(2.25rem, 11vw, 3.2rem); }
  .home-hero-description { margin-top: .85rem; font-size: .92rem; }
  .home-hero-copy .hero-actions { gap: .7rem; margin-top: 1rem; }
  .home-hero-primary { padding: .68rem .85rem; font-size: .88rem; }
  .home-hero-secondary { font-size: .88rem; }
  .home-hero-controls { right: 1.1rem; bottom: 1.1rem; left: 1.1rem; }
  .home-hero-arrows button { width: 38px; height: 38px; }
  .home-section-heading { display: grid; gap: .65rem; }
  .home-section-heading > p { text-align: left; }
  .home-category-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .home-category-card { min-height: 118px; border-radius: 16px; }
  .home-category-link span { font-size: .92rem; }
  .home-portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .home-portfolio-card { border-radius: 12px; }
}

/* Public category portfolio */
.category-gallery-page { display: grid; gap: 1.5rem; }
.category-gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.category-gallery-heading h1 { margin: .25rem 0 .6rem; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.055em; line-height: 1; }
.category-gallery-heading p:last-child { max-width: 650px; margin: 0; color: #75616e; line-height: 1.6; }
.gallery-back { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1.5rem; color: #6d315a; font-size: .82rem; font-weight: 800; text-decoration: none; }
.gallery-count { flex: 0 0 auto; border-radius: 999px; background: #f1e3eb; padding: .55rem .8rem; color: #71345d; font-size: .78rem; font-weight: 800; }
.category-gallery-empty { min-height: 250px; }
.public-portfolio-grid { columns: 3 260px; column-gap: 1rem; }
.public-portfolio-card { position: relative; break-inside: avoid; overflow: hidden; margin-bottom: 1rem; border-radius: 18px; background: #eee4e9; box-shadow: 0 10px 26px #48203d14; }
.public-portfolio-image-link { display: block; }
.public-portfolio-card img { display: block; width: 100%; height: auto; min-height: 190px; object-fit: cover; transition: transform .35s ease; }
.public-portfolio-card:hover img { transform: scale(1.025); }
.public-portfolio-overlay { position: absolute; display: flex; align-items: end; justify-content: space-between; gap: .75rem; inset: auto 0 0; padding: 2.5rem .8rem .8rem; background: linear-gradient(transparent, #21101bbd); }
.public-portfolio-overlay p { overflow: hidden; margin: 0; color: #fff; font-size: .82rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 8px #0008; }
.gallery-like-button.ui-button, .gallery-like-login { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: .3rem; min-width: 50px; min-height: 36px; margin: 0; border: 1px solid #ffffff61; border-radius: 999px; background: #fffefee8; color: #71345d; padding: .4rem .65rem; font-size: .75rem; font-weight: 800; text-decoration: none; backdrop-filter: blur(7px); }
.gallery-like-button.ui-button.liked { border-color: #a94c7d; background: #a94c7d; color: #fff; }
@media (max-width: 560px) {
  .category-gallery-heading { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .public-portfolio-grid { columns: 2 145px; column-gap: .65rem; }
  .public-portfolio-card { margin-bottom: .65rem; border-radius: 14px; }
  .public-portfolio-overlay p { display: none; }
  .public-portfolio-overlay { justify-content: flex-end; padding: 2rem .55rem .55rem; }
}

/* Explorer page */
.explorer-page { display: grid; gap: 1.5rem; }
.explorer-heading h1 { margin: .25rem 0 .6rem; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.055em; line-height: 1; }
.explorer-heading p:last-child { max-width: 650px; margin: 0; color: #75616e; line-height: 1.6; }
.explorer-sort { display: flex; flex-wrap: wrap; gap: .55rem; }
.explorer-filters { display: flex; flex-wrap: wrap; gap: .55rem; }
.explorer-category-filter { display: grid; grid-template-columns: minmax(0, 360px); gap: .45rem; align-items: start; }
.explorer-category-filter > label { color: #3d2935; font-size: .86rem; font-weight: 800; }
.explorer-category-filter .ui-selectonemenu { width: 100%; border-color: #e6d3de; border-radius: 12px; }
.explorer-category-filter .ui-selectonemenu-label { padding: .72rem 1rem; }
.explorer-category-filter small { color: #806b77; font-size: .78rem; }
.explorer-filter-chip { border-radius: 999px; border: 1px solid #e6d3de; background: #fff; padding: .5rem 1rem; color: #6d315a; font-size: .82rem; font-weight: 800; text-decoration: none; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.explorer-filter-chip:hover { border-color: #a94c7d; }
.explorer-filter-chip.active { border-color: #a94c7d; background: #a94c7d; color: #fff; }
.explorer-empty { min-height: 250px; }
.explorer-grid { columns: 5 200px; column-gap: 1rem; }
.explorer-load-more { display: flex; justify-content: center; margin-top: .5rem; }
.explorer-load-more-button.ui-button { border-radius: 999px; background: #6d315a; border-color: #6d315a; padding: .7rem 1.6rem; font-weight: 800; }
@media (max-width: 900px) { .explorer-grid { columns: 3 190px; } }
@media (max-width: 560px) { .explorer-grid { columns: 2 145px; column-gap: .65rem; } }
@media (max-width: 400px) { .explorer-grid { columns: 1 100%; } }

/* Portfolio item post page */
.portfolio-post-page { display: grid; gap: 1rem; }
.portfolio-post-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 1.75rem; align-items: start; }
.portfolio-post-media { position: relative; }
.portfolio-post-slider { position: relative; min-height: min(720px, 68vw); overflow: hidden; border-radius: 20px; background: #eee4e9; box-shadow: 0 12px 30px #48203d14; }
.portfolio-post-slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .7s ease, visibility .7s; }
.portfolio-post-slide.is-active { position: relative; visibility: visible; opacity: 1; }
.portfolio-post-slide img { display: block; width: 100%; height: min(720px, 68vw); object-fit: cover; background: #eee4e9; }
.portfolio-post-slider-controls { position: absolute; z-index: 2; right: .8rem; bottom: .8rem; left: .8rem; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.portfolio-post-slider-dots, .portfolio-post-slider-arrows { display: flex; gap: .45rem; pointer-events: auto; }
.portfolio-post-slider-dot { width: 20px; height: 4px; border: 0; border-radius: 99px; background: #ffffff80; cursor: pointer; }
.portfolio-post-slider-dot.is-active { width: 38px; background: #fff; }
.portfolio-post-slider-arrows button { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #ffffff80; border-radius: 50%; background: #2a122180; color: #fff; cursor: pointer; backdrop-filter: blur(8px); }
.portfolio-post-slider-arrows button:hover { background: #fff; color: #632b52; }
.portfolio-post-like-form { position: absolute; top: .8rem; right: .8rem; }
.portfolio-post-caption { margin: .9rem 0 0; color: #4a1f3d; font-size: 1rem; line-height: 1.6; }
.portfolio-post-caption strong { color: #71345d; }
.portfolio-post-side { display: grid; gap: 1.25rem; align-content: start; position: sticky; top: 1.25rem; }
.portfolio-post-specialist { display: grid; gap: 1rem; border: 1px solid #eadde4; border-radius: 18px; background: #fff; padding: 1.1rem; box-shadow: 0 12px 30px #612b520d; }
.portfolio-post-specialist-header { display: flex; gap: .9rem; align-items: flex-start; }
.portfolio-post-avatar { flex: 0 0 auto; width: 62px; height: 62px; border-radius: 50%; object-fit: cover; background: #eee4e9; }
.portfolio-post-specialist-info { display: grid; gap: .3rem; min-width: 0; flex: 1; }
.portfolio-post-specialist-name-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.portfolio-post-specialist-info strong { overflow: hidden; color: #3d1830; font-size: 1.05rem; text-overflow: ellipsis; white-space: nowrap; }
.portfolio-post-followers { color: #8a7387; font-size: .76rem; font-weight: 700; }
.portfolio-post-specialist-info p { margin: 0; overflow: hidden; color: #66525e; font-size: .86rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.portfolio-post-book { display: flex; align-items: center; justify-content: center; gap: .65rem; min-height: 54px; border-radius: 12px; background: #71345d; text-align: center; font-weight: 700; }
.portfolio-post-locations { display: grid; gap: .55rem; }
.portfolio-post-locations h3 { display: flex; align-items: center; gap: .55rem; margin: .4rem 0 .25rem; color: #3d1830; font-size: 1rem; }
.portfolio-post-locations h3 .pi { color: #a43272; margin-right: .4rem; }
.portfolio-post-location { display: flex; align-items: center; justify-content: space-between; gap: .75rem; border: 1px solid #eadde4; border-radius: 12px; padding: 1rem; background: #fff; }
.portfolio-post-location.is-selected { border-color: #dbb5cf; background: #faf0f6; }
.portfolio-post-location.is-single { border-color: transparent; }
.portfolio-post-location-choice { display: flex; align-items: center; gap: .9rem; min-width: 0; flex: 1; cursor: pointer; }
.portfolio-post-location.is-single .portfolio-post-location-choice { cursor: default; }
.portfolio-post-location-radio { width: 26px; height: 26px; margin: 0; accent-color: #a43272; cursor: pointer; }
.portfolio-post-location-pin { color: #a43272; font-size: 1.8rem; }
.portfolio-post-location-details { display: grid; gap: .35rem; min-width: 0; }
.portfolio-post-location-details strong { font-size: .95rem; line-height: 1.4; color: #241b24; }
.portfolio-post-location-details > span { font-size: .87rem; color: #867b85; line-height: 1.5; }
.portfolio-post-location-map { display: flex; align-items: center; gap: .35rem; flex-shrink: 0; color: #a43272; font-size: .8rem; font-weight: 700; text-decoration: none; }
.portfolio-post-location-map > .pi-map { font-size: 1.2rem; }
.portfolio-post-location-map:hover { text-decoration: underline; }
.portfolio-post-location-map:focus-visible, .portfolio-post-location-radio:focus-visible { outline: 2px solid #71345d; outline-offset: 4px; }
.portfolio-post-specialist .portfolio-follow-login { display: inline-flex; align-items: center; gap: .6rem; padding: .65rem .9rem; border: 1px solid #b96698; border-radius: 999px; white-space: nowrap; }
.portfolio-post-specialist .portfolio-follow-button:not(.following) { min-height: 42px; padding: .6rem .9rem; font-size: .8rem; }
@media (max-width: 480px) { .portfolio-post-location { flex-wrap: wrap; } .portfolio-post-location-map { margin-left: 2.5rem; } .portfolio-post-specialist-name-row { align-items: flex-start; flex-wrap: wrap; } }
.portfolio-follow-form { flex: 0 0 auto; }
.portfolio-follow-button.ui-button { flex: 0 0 auto; margin: 0; border: 1.5px solid #a94c7d; border-radius: 999px; background: #fff; color: #a94c7d; padding: .32rem .8rem; font-size: .74rem; font-weight: 800; }
.portfolio-follow-button.following { flex: 0 0 auto; display: inline-flex; align-items: stretch; border-radius: 999px; overflow: hidden; box-shadow: none; vertical-align: middle; }
.portfolio-follow-button.following .ui-button { display: inline-flex; align-items: center; margin: 0; border: none; border-radius: 0; background: #a94c7d; color: #fff; padding: .32rem .7rem; font-size: .74rem; font-weight: 800; box-shadow: none; }
.portfolio-follow-button.following .ui-button:hover, .portfolio-follow-button.following .ui-button:focus { background: #922f65; color: #fff; }
.portfolio-follow-button.following .ui-splitbutton-menubutton { flex: 0 0 auto; padding: .32rem .5rem; border-left: 1px solid #ffffff59; }
.portfolio-follow-button.following .ui-icon { color: #fff; }
.portfolio-follow-login { color: #a94c7d; font-size: .74rem; font-weight: 800; text-decoration: none; }
.portfolio-post-more { border: 1px solid #eadde4; border-radius: 18px; background: #fff; padding: 1.1rem; box-shadow: 0 12px 30px #612b520d; }
.portfolio-post-more h3 { margin: 0 0 .9rem; color: #4a1f3d; font-size: 1.05rem; }
.portfolio-post-more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.portfolio-post-more-grid .home-portfolio-card { border-radius: 12px; }
.portfolio-post-comments { margin-top: 1.5rem; border: 1px solid #eadde4; border-radius: 18px; background: #fff; padding: 1.1rem; box-shadow: 0 12px 30px #612b520d; }
.portfolio-post-comments h3 { margin: 0 0 .9rem; color: #4a1f3d; font-size: 1.05rem; }
.portfolio-comments-empty { padding: 1.2rem 1rem; }
.portfolio-comment-list { display: grid; gap: .9rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.portfolio-comment { border-bottom: 1px solid #f1e3eb; padding-bottom: .8rem; }
.portfolio-comment strong { color: #3d1830; font-size: .88rem; }
.portfolio-comment p { margin: .25rem 0; color: #4a1f3d; font-size: .88rem; line-height: 1.5; }
.portfolio-comment-date { color: #a186a0; font-size: .74rem; font-weight: 700; }
.portfolio-comment-form { display: grid; gap: .6rem; }
.portfolio-comment-form textarea { width: 100%; border: 1px solid #dfcdd6; border-radius: 12px; padding: .7rem .85rem; font-family: inherit; font-size: .88rem; resize: vertical; }
.portfolio-comment-form .ui-button { justify-self: end; }
.portfolio-comment-login { justify-self: start; }
@media (max-width: 850px) {
  .portfolio-post-layout { grid-template-columns: 1fr; }
  .portfolio-post-media img { max-height: 460px; }
  .portfolio-post-side { position: static; }
}
.secondary-link, .inline-action { color: #6d315a; font-weight: 700; text-decoration: none; }
.refresh-button { margin-bottom: 1rem; }
.empty-bookings { text-align: center; padding: 4rem 1rem; }
.empty-bookings > i { color: #a45b84; font-size: 2.4rem; }
.group-card { margin-bottom: 1.2rem; overflow: hidden; }
.group-header, .group-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; }
.group-header { background: linear-gradient(135deg, #fff 0%, #fcf6f9 100%); border-bottom: 1px solid #f0e3e9; }
.group-header h2 { margin: .4rem 0 0; }
.status-pill, .item-status { display: inline-flex; border-radius: 999px; background: #f1e2ea; color: #6d315a; padding: .28rem .6rem; font-size: .7rem; font-weight: 800; }
.group-date { display: flex; gap: .5rem; color: #6d315a; }
.group-item { display: grid; grid-template-columns: auto minmax(150px, 1fr) minmax(90px, auto) minmax(100px, auto) auto; gap: 1rem; align-items: center; padding: 1rem 1.5rem; border-bottom: 1px solid #f3e9ee; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #f3e2eb; color: #6d315a; font-weight: 800; }
.item-main { display: grid; gap: .2rem; }
.item-main span, .label { color: #897480; font-size: .78rem; }
.group-item > div:not(.item-main):not(.avatar) { display: grid; gap: .2rem; }
.group-footer { background: #fdfafd; }
.group-footer > div:first-child { display: grid; gap: .2rem; }
.group-footer span { color: #806b77; font-size: .8rem; }
.group-footer strong { font-size: 1.15rem; }
.group-actions { display: flex; gap: .65rem; }

@media (max-width: 850px) {
  .site-header { align-items: flex-start; padding: 1rem 0; }
  nav { flex-wrap: wrap; justify-content: flex-end; gap: .65rem 1rem; }
  .page-heading, .wizard-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .group-item { grid-template-columns: auto 1fr auto; }
  .group-item > div:nth-child(3), .group-item > div:nth-child(4) { grid-column: 2; }
}
@media (max-width: 560px) {
  .site-header, .page-content, .site-footer { width: min(100% - 1.5rem, 1120px); }
  .site-header { display: grid; gap: .8rem; }
  nav { justify-content: flex-start; font-size: .88rem; }
  .form-grid.two-columns { grid-template-columns: 1fr; }
  .field.full-width { grid-column: auto; }
  .page-heading.horizontal, .group-header, .group-footer { align-items: flex-start; flex-direction: column; }
  .group-actions { width: 100%; flex-direction: column; }
  .group-actions .ui-button { width: 100%; }
}

.nav-register { border: 1px solid #d9bdcd; border-radius: 999px; padding: .5rem .85rem; font-weight: 700; }
.auth-card { width: min(700px, 100%); margin-inline: auto; background: #fff; border: 1px solid #f0e2e9; border-radius: 24px; padding: clamp(1.5rem, 5vw, 3.5rem); box-shadow: 0 20px 50px #612b5210; }
.auth-card.compact { width: min(560px, 100%); }
.auth-intro { text-align: center; }
.auth-intro h1 { margin: .2rem 0 1rem; font-size: clamp(2rem, 5vw, 3.3rem); letter-spacing: -.055em; }
.auth-intro p:not(.eyebrow) { color: #695762; line-height: 1.7; }
.auth-form { display: grid; gap: .8rem; margin-top: 1.5rem; }
.auth-form .field small { color: #806b77; font-size: .78rem; line-height: 1.45; }
.auth-switch { color: #75616e; text-align: center; margin: 1.5rem 0 0; }
.auth-switch a { color: #6d315a; font-weight: 800; text-decoration: none; }


/* Authenticated account menu */
.guest-navigation { display: flex; align-items: center; gap: 1.25rem; }
.account-menu { position: relative; }
.account-menu > summary { display: flex; align-items: center; gap: .6rem; list-style: none; cursor: pointer; color: #4e3946; font-weight: 700; }
.account-menu > summary::-webkit-details-marker { display: none; }
.account-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #6d315a; color: #fff; font-size: .75rem; letter-spacing: .04em; }
.account-menu > summary .pi-chevron-down { color: #9a7d8d; font-size: .7rem; transition: transform .2s ease; }
.account-menu[open] > summary .pi-chevron-down { transform: rotate(180deg); }
.account-dropdown { position: absolute; z-index: 1000; top: calc(100% + .75rem); right: 0; width: min(310px, calc(100vw - 2rem)); overflow: hidden; background: #fff; border: 1px solid #eadce4; border-radius: 16px; box-shadow: 0 18px 50px #48203d26; padding: .55rem; }
.account-dropdown > a, .logout-form button, .account-menu-footer a { display: flex; align-items: center; gap: .75rem; width: 100%; border: 0; border-radius: 10px; background: transparent; color: #4f3b47; padding: .72rem .8rem; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.account-dropdown > a:hover, .logout-form button:hover, .account-menu-footer a:hover { background: #faf2f6; color: #6d315a; }
.account-dropdown i { width: 1.1rem; color: #9f527d; text-align: center; }
.logout-form { margin: 0; }
.account-menu-footer { border-top: 1px solid #eee2e8; margin-top: .45rem; padding-top: .45rem; }
.account-menu-footer a span { display: grid; gap: .12rem; }
.account-menu-footer small { color: #876f7c; font-size: .73rem; line-height: 1.35; }
.account-menu-footer .salon-cta { background: linear-gradient(135deg, #fbf1f6, #f6e5ef); }
.account-menu-footer .salon-cta strong { color: #6d315a; }
@media (max-width: 560px) {
  .account-name { display: none; }
  .account-dropdown { position: fixed; top: 70px; right: .75rem; }
  .guest-navigation { flex-wrap: wrap; gap: .65rem 1rem; }
}


/* Specialist studio */
.studio-page { display: grid; gap: 2rem; }
.studio-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.studio-layout .form-card { display: grid; gap: 1rem; }
.portfolio-section { margin-top: 2.5rem; }
.portfolio-section .page-heading { margin-bottom: 1.25rem; }
.portfolio-section h2 { margin: .2rem 0 0; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.15rem; }
.portfolio-card { position: relative; overflow: hidden; background: #fff; border: 1px solid #eadde4; border-radius: 18px; box-shadow: 0 12px 30px #612b520d; }
.portfolio-like-button.ui-button { position: absolute; top: .75rem; right: .75rem; min-width: 48px; margin: 0; border: 1px solid #ffffff75; border-radius: 999px; background: #fffefee8; color: #71345d; box-shadow: 0 6px 18px #32112229; backdrop-filter: blur(8px); }
.portfolio-like-button.ui-button.liked { border-color: #8c3f69; background: #8c3f69; color: #fff; }
.portfolio-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f5edf1; }
.portfolio-card-body { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .8rem 1rem; }
.portfolio-card-body p { overflow: hidden; margin: 0; color: #66525e; font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
.portfolio-card-body .ui-button { flex: 0 0 auto; }
@media (max-width: 760px) {
  .studio-layout { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}


/* Portfolio categories */
.portfolio-card-details { display: grid; gap: .45rem; min-width: 0; flex: 1; }
.portfolio-category { width: fit-content; border-radius: 999px; background: #f4e5ed; color: #71345d; padding: .25rem .55rem; font-size: .68rem; font-weight: 800; }
.portfolio-category-editor { display: flex; align-items: center; gap: .25rem; }
.portfolio-category-editor .ui-selectonemenu { min-width: 150px; font-size: .78rem; }
.portfolio-category-editor .ui-button { margin: 0; }


/* Login */
.login-page { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr); width: min(1000px, 100%); min-height: 610px; margin: 0 auto; overflow: hidden; background: #fff; border: 1px solid #eadce4; border-radius: 28px; box-shadow: 0 28px 80px #4c18352b; }
.login-showcase { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(2rem, 5vw, 4rem); color: #fff; background: linear-gradient(145deg, #3e1833 0%, #733258 58%, #a45780 100%); }
.login-showcase::before, .login-showcase::after { position: absolute; content: ""; border-radius: 50%; background: #ffffff12; }
.login-showcase::before { width: 360px; height: 360px; right: -150px; top: -120px; }
.login-showcase::after { width: 260px; height: 260px; left: -100px; bottom: -120px; }
.login-brand, .login-showcase-copy, .login-benefits { position: relative; z-index: 1; }
.login-brand { display: flex; align-items: center; gap: .7rem; width: fit-content; color: #fff; font-size: 1.15rem; font-weight: 900; letter-spacing: .18em; text-decoration: none; }
.login-brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #ffffff70; border-radius: 12px; background: #ffffff18; letter-spacing: 0; }
.login-brand img { display:block; width:210px; max-width:100%; height:auto; }
.sidebar-header .brand img { display:block; width:145px; height:auto; }
.login-showcase-copy { margin: 4rem 0; }
.login-showcase .eyebrow { color: #f3cadf; }
.login-showcase h1 { max-width: 530px; margin: .7rem 0 1.2rem; color: #fff; font-size: clamp(2.35rem, 5vw, 4.3rem); line-height: 1.02; letter-spacing: -.055em; }
.login-showcase-copy > p:last-child { max-width: 520px; margin: 0; color: #f4dce8; font-size: 1.02rem; line-height: 1.7; }
.login-benefits { display: flex; flex-wrap: wrap; gap: .7rem 1.1rem; color: #f8e7f0; font-size: .8rem; }
.login-benefits span { display: flex; align-items: center; gap: .42rem; }
.login-benefits i { color: #f0bcd7; }
.login-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem); }
.login-panel-header h2 { margin: .25rem 0 .6rem; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.045em; }
.login-panel-header > p:last-child { margin: 0; color: #7c6874; font-size: .9rem; line-height: 1.55; }
.login-form { display: grid; gap: 1.15rem; margin-top: 1.7rem; }
.login-field { display: grid; gap: .5rem; }
.login-field > label { color: #4e3946; font-size: .82rem; font-weight: 800; }
.login-input { position: relative; }
.login-input i { position: absolute; top: 50%; left: 1rem; color: #a17c91; transform: translateY(-50%); }
.login-input input { width: 100%; min-height: 49px; border: 1px solid #ddcfd7; border-radius: 12px; outline: none; background: #fdfbfc; padding: .8rem 1rem .8rem 2.8rem; color: #34252e; font: inherit; transition: border-color .2s, box-shadow .2s, background .2s; }
.login-input input:focus { border-color: #9b527a; background: #fff; box-shadow: 0 0 0 4px #9b527a17; }
.login-options { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.remember-option { display: flex; align-items: center; gap: .55rem; color: #5f4a56; font-size: .84rem; cursor: pointer; }
.remember-option input { width: 17px; height: 17px; margin: 0; accent-color: #71345d; }
.remember-hint { color: #9a8591; font-size: .72rem; }
.login-submit { display: flex; align-items: center; justify-content: center; gap: .75rem; min-height: 50px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #6a2d56, #8f4770); color: #fff; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 10px 24px #6d315a35; transition: transform .2s, box-shadow .2s; }
.login-submit:hover { transform: translateY(-1px); box-shadow: 0 14px 30px #6d315a42; }
.auth-alert { display: flex; align-items: center; gap: .65rem; margin-top: 1.2rem; border-radius: 10px; padding: .75rem .85rem; font-size: .82rem; }
.auth-alert.error { background: #fff0f2; color: #a42d48; }
.auth-alert.success { background: #edf9f2; color: #267148; }
.login-panel .auth-switch { font-size: .84rem; }
.login-security { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: .85rem 0 0; color: #9b8792; font-size: .7rem; }
@media (max-width: 820px) {
  .login-page { grid-template-columns: 1fr; min-height: 0; }
  .login-showcase { min-height: 260px; padding: 2rem; }
  .login-showcase-copy { margin: 2.5rem 0 1rem; }
  .login-showcase h1 { font-size: clamp(2rem, 8vw, 3.2rem); }
  .login-benefits { display: none; }
}
@media (max-width: 480px) {
  .page-content { padding-top: 1.25rem; }
  .login-page { border-radius: 20px; }
  .login-showcase { min-height: 220px; padding: 1.5rem; }
  .login-showcase-copy { margin: 2rem 0 0; }
  .login-showcase-copy > p:last-child { display: none; }
  .login-panel { padding: 1.5rem; }
}


.booking-verification-notice { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; border: 1px solid #e7cade; border-radius: 12px; background: #fcf3f8; padding: .85rem 1rem; color: #654052; font-size: .86rem; }
.booking-verification-notice i { color: #9f527d; }
.booking-verification-notice a { margin-left: auto; color: #6d315a; font-weight: 800; white-space: nowrap; }
@media (max-width: 560px) { .booking-verification-notice { align-items: flex-start; flex-wrap: wrap; } .booking-verification-notice a { margin-left: 1.8rem; } }


/* Keep login icons in their own column; PrimeFaces theme input rules have higher precedence. */
.login-input > i { z-index: 2; left: 1.1rem; width: 1.1rem; pointer-events: none; text-align: center; }
.login-input > input { padding-left: 3.25rem !important; }

/* Compact application header */
.site-header { min-height: 70px; border-bottom: 1px solid #eadfe5; }
.site-header nav, .site-header .guest-navigation { display: flex; align-items: center; }
.site-header nav { gap: 1.5rem; }
.site-header nav > a, .site-header .guest-navigation > a { display: inline-flex; align-items: center; min-height: 40px; }
.site-header nav a:not(.nav-register):hover { color: #e0bfd6; }
.site-header .nav-register { justify-content: center; min-height: 42px; padding: .55rem 1rem; background: #fff; }
.site-header a.explorer{ text-decoration: none; color: #8f6472; font-weight: bold; }

.page-content { padding-top: 2rem; }
@media (max-width: 560px) {
  .site-header { min-height: 64px; padding: .75rem 0; }
  .site-header nav, .site-header .guest-navigation { gap: .55rem; }
  .site-header nav > a, .site-header .guest-navigation > a { min-height: 36px; }
  .site-header .nav-register { min-height: 38px; padding: .45rem .7rem; }
}

.language-switcher { display: inline-flex; align-items: center; gap: .2rem; margin: 0; }
.language-switcher a { min-height: auto !important; border-radius: 999px; padding: .3rem .42rem; color: #806b77; font-size: .68rem; font-weight: 800; text-decoration: none; }
.language-switcher a:hover, .language-switcher a.active { background: #f2e5ec; color: #6d315a; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@media (max-width: 560px) { .language-switcher { order: 3; width: 100%; justify-content: flex-end; } }

.verification-card { max-width: 560px; }
.verification-destination { display: flex; align-items: center; gap: .85rem; margin: 1rem 0 1.25rem; border: 1px solid #eadde4; border-radius: 14px; background: #fcf8fa; padding: .9rem 1rem; }
.verification-destination > i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #f1e3eb; color: #7b3b62; }
.verification-destination div { display: grid; gap: .15rem; min-width: 0; }
.verification-destination span { color: #8a7480; font-size: .75rem; }
.verification-destination strong { overflow-wrap: anywhere; color: #432f3b; }
.verification-help { margin: 0 0 1rem; color: #725e69; line-height: 1.55; }
.verification-code-step { display: grid; gap: 1rem; }
.verification-sent, .verification-complete { display: flex; align-items: flex-start; gap: .75rem; border: 1px solid #cce9d8; border-radius: 12px; background: #f0faf4; padding: .85rem 1rem; color: #286947; }
.verification-complete > i { margin-top: .15rem; font-size: 1.35rem; }
.verification-complete p { margin: .25rem 0 0; color: #527060; line-height: 1.5; }
.verification-code-field input { max-width: 220px; font-size: 1.25rem; font-weight: 800; letter-spacing: .35em; text-align: center; }
.verification-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.verification-actions .primary-action { flex: 1 1 220px; }
@media (max-width: 560px) { .verification-actions > * { width: 100%; } .verification-code-field input { max-width: none; } }

/* Vouchers */
.voucher-workspace { max-width: 1120px; margin: 0 auto; }
.voucher-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.voucher-page-heading h1 { margin: .25rem 0 .65rem; font-size: clamp(2.35rem, 5vw, 4rem); line-height: 1; letter-spacing: -.055em; }
.voucher-page-heading > div:first-child > p:last-child { max-width: 670px; margin: 0; color: #75616e; line-height: 1.65; }
.voucher-heading-mark { display: grid; flex: 0 0 auto; place-items: center; width: 76px; height: 76px; border: 1px solid #e4cad8; border-radius: 24px; background: linear-gradient(145deg, #fff, #f5e5ed); color: #7c3b64; box-shadow: 0 18px 35px #65304f17; transform: rotate(4deg); }
.voucher-heading-mark i { font-size: 2rem; transform: rotate(-4deg); }
.voucher-creator { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); overflow: hidden; border: 1px solid #e9dce3; border-radius: 26px; background: #fff; box-shadow: 0 22px 55px #612b5212; }
.voucher-form-card { padding: clamp(1.5rem, 4vw, 2.75rem); }
.voucher-section-title { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.75rem; }
.voucher-section-title .voucher-step { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #6d315a; color: #fff; font-size: .85rem; font-weight: 800; box-shadow: 0 8px 18px #6d315a35; }
.voucher-section-title div { display: grid; gap: .16rem; }
.voucher-section-title div > span { color: #a17c91; font-size: .67rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.voucher-section-title h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.02em; }
.voucher-form-grid { gap: 1.2rem; }
.voucher-dynamic-field:empty { display: none; }
.voucher-control { position: relative; }
.voucher-control > i { position: absolute; z-index: 2; top: 50%; left: 1rem; width: 1rem; color: #a1718c; text-align: center; pointer-events: none; transform: translateY(-50%); }
.voucher-control .ui-inputfield, .voucher-control .ui-selectonemenu { width: 100%; min-height: 49px; border: 1px solid #ddcfd7; border-radius: 12px; background: #fdfbfc; box-shadow: none; }
.voucher-control input.ui-inputfield { padding-left: 3rem; }
.voucher-control .ui-selectonemenu-label { display: flex; align-items: center; min-height: 47px; padding-left: 3rem; }
.voucher-control .ui-inputnumber { display: block; width: 100%; }
.voucher-control .ui-inputfield:focus, .voucher-control .ui-selectonemenu.ui-state-focus { border-color: #9b527a; background: #fff; box-shadow: 0 0 0 4px #9b527a17; }
.voucher-amount-field { max-width: calc(50% - .6rem); }
.voucher-form-actions { padding-top: 1.5rem; }
.voucher-form-card .voucher-create-button { min-height: 50px; margin: 0; background: linear-gradient(135deg, #612b52, #914a73); border-color: #612b52; box-shadow: 0 11px 24px #612b5230; }
.voucher-form-card .voucher-create-button:hover { background: linear-gradient(135deg, #542347, #813d67); border-color: #542347; }
.voucher-preview { position: relative; display: flex; min-height: 430px; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 2.25rem; background: linear-gradient(150deg, #3d1832 0%, #6d315a 54%, #a35780 100%); color: #fff; }
.voucher-preview::before, .voucher-preview::after { position: absolute; top: 50%; width: 24px; height: 24px; border-radius: 50%; background: #fff; content: ""; transform: translateY(-50%); }
.voucher-preview::before { left: -12px; }
.voucher-preview::after { right: -12px; background: #fcf8fa; }
.voucher-preview-orb { position: absolute; border: 1px solid #ffffff17; border-radius: 50%; background: #ffffff0d; }
.voucher-preview-orb-one { top: -90px; right: -70px; width: 270px; height: 270px; }
.voucher-preview-orb-two { bottom: -110px; left: -80px; width: 290px; height: 290px; }
.voucher-preview-top, .voucher-preview-bottom, .voucher-preview-copy { position: relative; z-index: 1; }
.voucher-preview-top, .voucher-preview-bottom { display: flex; align-items: center; justify-content: space-between; }
.voucher-preview-brand { font-weight: 900; letter-spacing: .22em; }
.voucher-preview-top i { color: #f0bbd6; font-size: 1.35rem; }
.voucher-preview-copy { display: grid; gap: .55rem; max-width: 290px; }
.voucher-preview-copy span { color: #efc8dc; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.voucher-preview-copy strong { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.05; letter-spacing: -.045em; }
.voucher-preview-bottom { border-top: 1px dashed #ffffff45; padding-top: 1.25rem; color: #eed9e4; font-size: .68rem; font-weight: 800; letter-spacing: .16em; }
.voucher-preview-bottom i { font-size: 1.15rem; }
.voucher-list-section { overflow: hidden; margin-top: 2rem; border: 1px solid #eadce4; border-radius: 22px; background: #fff; box-shadow: 0 14px 36px #612b520b; }
.voucher-list-heading { display: flex; align-items: center; justify-content: space-between; padding: 1.35rem 1.5rem; border-bottom: 1px solid #eee2e8; background: linear-gradient(135deg, #fff, #fcf7fa); }
.voucher-list-heading .eyebrow { margin: 0 0 .25rem; }
.voucher-list-heading h2 { margin: 0; font-size: 1.35rem; }
.voucher-list-icon, .voucher-token-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #f2e3eb; color: #71345d; }
.voucher-table { border: 0; }
.voucher-table .ui-datatable-tablewrapper { border-radius: 0 0 22px 22px; }
.voucher-table thead th { border-width: 0 0 1px; background: #fcf9fb; color: #88717e; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.voucher-table tbody td { border-width: 0 0 1px; padding-block: 1rem; }
.voucher-code { display: inline-flex; align-items: center; gap: .5rem; color: #673051; font-weight: 800; }
.voucher-code i { color: #b06c92; }
.voucher-beneficiary { display: block; margin-bottom: .2rem; font-weight: 700; }
.voucher-balance { color: #4a3341; font-size: 1.05rem; }
.voucher-balance small { color: #927b87; font-size: .68rem; }
.voucher-qr-column { width: 1%; white-space: nowrap; }
.voucher-qr-button { border-color: #d8b9ca; border-radius: 10px; color: #6d315a; }
.voucher-token { display: grid; justify-items: center; gap: .8rem; margin-top: 2rem; padding: 2rem; background: linear-gradient(145deg, #fff, #fcf6f9); border: 1px solid #eadce4; border-radius: 22px; box-shadow: 0 14px 36px #612b520b; text-align: center; }
.voucher-token h2, .voucher-token p { margin: 0; }
.voucher-token p { color: #806b77; max-width: 34rem; }
.voucher-token-icon { border-radius: 50%; }
.voucher-qr-frame { padding: .75rem; border: 1px solid #e5d3dd; border-radius: 16px; background: #fff; box-shadow: 0 8px 22px #612b5210; }
.workspace-table small { color: #806b77; }
@media (max-width: 820px) {
  .voucher-creator { grid-template-columns: 1fr; }
  .voucher-preview { min-height: 300px; }
  .voucher-preview::before, .voucher-preview::after { top: -12px; }
  .voucher-preview::before { left: 25%; }
  .voucher-preview::after { right: 25%; background: #fff; }
}
@media (max-width: 560px) {
  .voucher-page-heading { align-items: flex-start; }
  .voucher-heading-mark { width: 54px; height: 54px; border-radius: 17px; }
  .voucher-heading-mark i { font-size: 1.4rem; }
  .voucher-form-card { padding: 1.25rem; }
  .voucher-amount-field { max-width: none; }
  .voucher-preview { min-height: 260px; padding: 1.5rem; }
  .voucher-preview-copy strong { font-size: 2rem; }
  .voucher-list-heading { padding: 1.1rem; }
  .voucher-table .ui-datatable-data > tr > td { padding: .75rem 1rem; }
  .voucher-qr-column { width: auto; }
  .voucher-qr-button { width: 100%; }
}

/* International phone input */
.aria-phone-control { display: grid; grid-template-columns: auto minmax(0, 1fr); width: 100%; border: 1px solid #ddcfd7; border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.aria-phone-control:focus-within { border-color: #9b527a; box-shadow: 0 0 0 4px #9b527a17; }
.aria-phone-country { min-width: 105px; border: 0; border-right: 1px solid #eadde4; border-radius: 10px 0 0 10px; outline: 0; background: #faf6f8; padding: .72rem .65rem; color: #4e3946; font: inherit; cursor: pointer; }
.aria-phone-control .aria-phone-input { width: 100% !important; border: 0 !important; border-radius: 0 10px 10px 0 !important; box-shadow: none !important; background: transparent !important; }
@media (max-width: 420px) { .aria-phone-country { min-width: 96px; padding-inline: .45rem; } }

/* Application sidebar and compact action header */
:root { --app-sidebar-width: 270px; }
body { padding-left: var(--app-sidebar-width); transition: padding-left .25s ease; }
.app-sidebar { position: fixed; z-index: 1200; top: 0; bottom: 0; left: 0; display: flex; width: var(--app-sidebar-width); flex-direction: column; border-right: 1px solid #eadde4; background: #fff; box-shadow: 12px 0 40px #4d1e3b0a; transition: transform .25s ease; }
.sidebar-header { display: flex; min-height: 76px; align-items: center; justify-content: space-between; border-bottom: 1px solid #f0e5eb; padding: 0 1.35rem; }
.sidebar-close, .sidebar-open { display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #6d315a; cursor: pointer; }
.sidebar-open:hover, .sidebar-close:hover { background: #f4e5ed; }
.sidebar-user { display: flex; align-items: center; gap: .75rem; margin: 1rem; border-radius: 16px; background: linear-gradient(135deg, #fbf3f7, #f5e7ef); padding: .9rem; }
.sidebar-user .account-avatar { display: grid; flex: 0 0 auto; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: #6d315a; color: #fff; font-size: .78rem; font-weight: 800; }
.sidebar-user > span:last-child { display: grid; min-width: 0; gap: .15rem; }
.sidebar-user strong { overflow: hidden; color: #3c2935; font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user small { color: #8b7380; font-size: .72rem; }
.sidebar-navigation { display: grid; align-content: start; gap: .18rem; overflow-y: auto; padding: .5rem .85rem; }
.sidebar-navigation > span { display: contents; }
.sidebar-navigation a, .sidebar-logout button { display: flex; width: 100%; align-items: center; gap: .8rem; border: 0; border-radius: 11px; background: transparent; color: #594552; padding: .72rem .8rem; font: inherit; font-size: .88rem; text-align: left; text-decoration: none; cursor: pointer; }
.sidebar-navigation a:hover, .sidebar-logout button:hover { background: #faf1f6; color: #6d315a; }
.sidebar-navigation i, .sidebar-logout i { width: 1.1rem; color: #9f527d; text-align: center; }
.sidebar-footer { display: grid; gap: .65rem; margin-top: auto; border-top: 1px solid #f0e5eb; padding: 1rem; }
.sidebar-languages { display: grid; grid-template-columns: 1fr repeat(3, auto); gap: .25rem; }
.sidebar-languages > span { align-self: center; color: #8b7380; font-size: .72rem; font-weight: 700; }
.sidebar-logout { margin: 0; }
.sidebar-overlay { display: none; }
.site-header, .page-content, .site-footer { width: min(1180px, calc(100% - 3rem)); }
.site-header { position: sticky; z-index: 900; top: 0; gap: 1rem; border-bottom: 1px solid #eadfe5; background: #fcf8faf2; backdrop-filter: blur(16px); }
.mobile-brand { display: none; color: #612b52; font-weight: 850; letter-spacing: .12em; text-decoration: none; }
.header-logo { display: flex; flex: 0 0 auto; width: 154px; height: 54px; align-items: center; justify-content: center; overflow: hidden; background: transparent; text-decoration: none; }
.header-logo img { display: block; width: 150px; height: 52px; object-fit: contain; }
.header-search { position: relative; flex: 1 1 420px; max-width: 560px; margin: 0; }
.header-search i { position: absolute; top: 50%; left: 1rem; color: #a28394; transform: translateY(-50%); }
.header-search input { width: 100%; height: 44px; border: 1px solid #e5d6de; border-radius: 999px; outline: none; background: #fff; padding: 0 1rem 0 2.7rem; color: #3e2d37; font: inherit; text-indent: 2rem; }
.header-search input:focus { border-color: #a96088; box-shadow: 0 0 0 3px #a9608817; }
.header-actions { display: flex; align-items: center; gap: .55rem; }
.header-booking { display: inline-flex; min-height: 42px; align-items: center; gap: .5rem; border-radius: 999px; background: #6d315a; color: #fff; padding: .65rem 1rem; font-size: .85rem; font-weight: 800; text-decoration: none; }
.header-booking:hover { color: #fff; background: #572446; }
.header-popover { position: relative; }
.header-popover summary { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #e5d6de; border-radius: 50%; background: #fff; color: #6d315a; cursor: pointer; list-style: none; }
.header-popover summary::-webkit-details-marker { display: none; }
.header-popover[open] summary { background: #f4e5ed; }
.header-popover > div { position: absolute; top: calc(100% + .7rem); right: 0; width: 280px; border: 1px solid #eadce4; border-radius: 16px; background: #fff; padding: 1rem; box-shadow: 0 18px 50px #48203d24; }
.header-popover p { margin: .55rem 0 0; color: #806b77; font-size: .82rem; line-height: 1.5; }
@media (min-width: 901px) {
  body.sidebar-collapsed { padding-left: 0; }
  .sidebar-collapsed .app-sidebar { transform: translateX(-105%); }
}
@media (max-width: 900px) {
  body { padding-left: 0; }
  .app-sidebar { transform: translateX(-105%); transition: transform .25s ease; }
  .sidebar-visible .app-sidebar { transform: translateX(0); }
  .sidebar-overlay { position: fixed; z-index: 1100; inset: 0; border: 0; background: #28131f70; }
  .sidebar-visible .sidebar-overlay { display: block; }
  .mobile-brand { display: inline-block; }
}
@media (max-width: 600px) {
  .site-header { display: flex; width: 100%; min-height: 64px; gap: .35rem; padding: .65rem .75rem; }
  .header-search { flex: 1; }
  .header-search input { height: 40px; font-size: .82rem; }
  .header-booking span { display: none; }
  .header-booking { width: 40px; min-height: 40px; justify-content: center; padding: 0; }
  .header-popover summary { width: 40px; height: 40px; }
  .mobile-brand { display: none; }
  .header-logo { width: 102px; height: 42px; }
  .header-logo img { width: 100px; height: 40px; }
  .header-popover > div { position: fixed; top: 70px; right: .75rem; }
}

/* Salon discovery */
.home-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 1.5rem; align-items: stretch; }
.home-grid .hero { width: 100%; }
.discovery-heading { max-width: 720px; }
.discovery-heading h1 { margin: .2rem 0 .7rem; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.045em; }
.discovery-heading > p:last-child { color: #75616e; }
.discovery-filters { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 1rem; align-items: end; margin: 2rem 0 1rem; }
.discovery-filters label { display: grid; gap: .45rem; color: #4e3946; font-size: .85rem; font-weight: 700; }
.discovery-filters input, .discovery-filters select { min-height: 46px; border: 1px solid #ddcfd6; border-radius: 11px; background: white; padding: 0 .9rem; font: inherit; }
.nearby-button, .view-switch button { display: inline-flex; align-items: center; gap: .4rem; min-height: 46px; border: 1px solid #d8c4cf; border-radius: 11px; background: white; color: #6d315a; padding: 0 1rem; font-weight: 800; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.nearby-button:hover, .view-switch button:hover { border-color: #a94c7d; }
.nearby-button.active, .view-switch button.active { background: #6d315a; border-color: #6d315a; color: white; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.salon-results-count { margin: 0; color: #806b77; font-size: .88rem; font-weight: 700; }
.view-switch { display: flex; gap: .45rem; }
.view-switch button { min-height: 38px; }
.salon-results { display: grid; gap: .9rem; }
.salon-result-card { display: grid; grid-template-columns: auto 1fr auto; gap: 1.1rem; align-items: center; border: 1px solid #eee1e8; border-radius: 18px; background: white; padding: 1.1rem 1.3rem; box-shadow: 0 8px 22px #612b520a; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.salon-result-card { color: #241f25; text-decoration: none; cursor: pointer; }
.salon-result-card:focus-visible { outline: 3px solid #9a527f; outline-offset: 4px; }
.salon-result-card:hover { transform: translateY(-2px); box-shadow: 0 16px 34px #612b5218; border-color: #e6cfdb; }
.salon-result-avatar { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; color: white; font-size: 1.05rem; font-weight: 800; letter-spacing: .02em; box-shadow: 0 8px 18px #612b5222; }
.salon-result-body { display: grid; gap: .35rem; min-width: 0; }
.salon-result-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.salon-result-card h2 { margin: 0; font-size: 1.1rem; letter-spacing: -.01em; }
.salon-result-card p { display: flex; align-items: center; gap: .35rem; margin: 0; color: #806b77; font-size: .85rem; }
.salon-result-card p i { color: #c191a8; font-size: .8rem; }
.result-sector { border-radius: 999px; background: #f2e4eb; padding: .18rem .6rem; color: #9f527d; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.salon-distance-badge, .salon-policy-badge { display: inline-flex; align-items: center; gap: .3rem; border-radius: 999px; padding: .18rem .6rem; font-size: .72rem; font-weight: 800; }
.salon-distance-badge { background: #eef1fb; color: #4a5bc4; }
.salon-policy-badge { background: #e8f6ec; color: #2f8a4c; }
.salon-result-action { display: inline-flex; align-items: center; gap: .4rem; border-radius: 999px; background: #6d315a; padding: .65rem 1.15rem; color: white; font-size: .85rem; font-weight: 800; text-decoration: none; white-space: nowrap; transition: background .2s ease, transform .18s ease; }
.salon-result-action:hover { background: #582548; transform: translateY(-1px); }
.salon-map-panel { position: relative; }
.salon-map { min-height: 560px; overflow: hidden; border: 1px solid #d2d5d8; border-radius: 22px; background: #eef0f1; }
.salon-map .gm-style { border-radius: 22px; }
.map-info-window { display: grid; gap: .3rem; max-width: 220px; font-family: Inter, system-ui, sans-serif; }
.map-info-window strong { font-size: .95rem; color: #271b25; }
.map-info-window p { margin: 0; color: #75616e; font-size: .82rem; }
.map-info-window a { color: #6d315a; font-weight: 800; font-size: .82rem; text-decoration: none; }
.discovery-empty { text-align: center; color: #806b77; padding: 3rem; }

@media (max-width: 850px) {
  .home-grid { grid-template-columns: 1fr; }
  .discovery-filters { grid-template-columns: 1fr 1fr; }
  .nearby-button { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .discovery-filters { grid-template-columns: 1fr; }
  .nearby-button { grid-column: auto; }
  .results-toolbar { flex-wrap: wrap; }
  .salon-result-card { grid-template-columns: auto 1fr; }
  .salon-result-action { grid-column: 1 / -1; justify-content: center; }
  .salon-map { min-height: 480px; }
}

/* Booking form: clear sequence with quiet surfaces and visible controls. */
body:has(.booking-shell) { background: #faf9fb; }
.booking-shell .page-heading { align-items: center; gap: 1rem 2rem; margin-bottom: 1rem; }
.booking-shell .page-heading h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; }
.booking-shell .page-heading > p { max-width: 400px; line-height: 1.45; font-size: .9rem; }
.booking-full-width { width: 100%; min-width: 0; box-sizing: border-box; padding: clamp(1.25rem, 2.4vw, 2rem); background: #fff; border: 1px solid #e9e3e8; border-radius: 18px; box-shadow: 0 12px 34px #32232d0a; }
.booking-full-width .form-grid { gap: .8rem 1rem; }
.booking-full-width .field { gap: .35rem; align-content: start; }
.booking-full-width h2 { margin: 0; font-size: 1.05rem; }
.booking-step-heading { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.booking-step-heading h2 { border: 0 !important; margin: 0 !important; padding: 0 !important; }
.booking-step-heading p { color: #70616b; font-size: .82rem; line-height: 1.4; margin: .2rem 0 0; }
.booking-step-number { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: #6d315a; color: #fff; font-size: .85rem; font-weight: 700; }
.booking-step-heading.is-complete .booking-step-number { background: #e8f4eb; color: #277249; }
.booking-step-actions { display: flex; justify-content: flex-end; margin-top: 1rem; }
.booking-full-width .booking-step-actions .ui-button { margin: 0; }
.booking-step-summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; border: 1px solid #e7e1e7; border-radius: 10px; background: #fbfafb; }
.booking-step-summary-text { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; color: #51424d; font-size: .9rem; }
.booking-step-summary-text strong { color: #271b25; }
.booking-step-summary-text > span, .booking-step-summary-text > time { color: #51424d; }
.booking-full-width .booking-edit-step { flex: none; margin: 0; color: #6d315a; background: transparent; border: 0; }
.booking-beneficiaries-intro { padding-top: 1.25rem; border-top: 1px solid #eee9ed; margin-top: 1.25rem; }
.booking-selected-location { display: flex; align-items: center; gap: .5rem; color: #51424d; margin-bottom: .75rem; }
.booking-selected-location i { color: #6d315a; }
.booking-section-divider { border: 0; border-top: 1px solid #eee9ed; margin: 1.1rem 0; }
.booking-field-label { display: block; font-weight: 700; font-size: .88rem; color: #4e3946; }
.booking-address { padding: .55rem 0; color: #654052; }
.booking-section-heading { display: flex; align-items: center; justify-content: flex-start; gap: 1.25rem; margin-bottom: .85rem; }
.booking-section-heading h2 { margin: 0; }
.booking-date-row { width: 250px; max-width: 100%; }
.booking-beneficiaries-intro + .booking-date-row { margin-bottom: 1rem; }
.booking-beneficiary { border: 1px solid #e7e1e7; background: #fff; border-radius: 12px; padding: 1rem; margin-bottom: .85rem; }
.booking-person-grid { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); margin-bottom: .75rem; }
.booking-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.booking-beneficiary-heading {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin: -1rem -1rem .85rem; padding: .6rem 1rem;
  background: #faf8fa; border-bottom: 1px solid #e7e1e7; border-radius: 11px 11px 0 0;
}
.booking-beneficiary-heading h3 { margin: 0; font-size: 1rem; }
.booking-full-width .booking-beneficiary-heading .ui-button { margin: 0; }
.booking-full-width .booking-beneficiary-heading .booking-remove-beneficiary,
.booking-full-width .booking-beneficiary-heading .booking-remove-beneficiary .ui-button-text,
.booking-full-width .booking-beneficiary-heading .booking-remove-beneficiary .ui-button-icon-left { color: #6d315a; }
.booking-form-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .85rem; }
.booking-full-width .booking-form-actions .ui-button { margin: 0; }
.booking-full-width .field .ui-inputfield { padding: .55rem .65rem; }
.booking-full-width .field textarea.ui-inputfield { min-height: 40px; }
.booking-selection-hint { color: #654052; }
.booking-service-notice { display: flex; align-items: flex-start; gap: .6rem; padding: .65rem .75rem; margin-top: .15rem; border: 1px solid #e7d8bd; border-radius: 9px; background: #fffaf1; color: #684f26; font-size: .82rem; line-height: 1.45; }
.booking-service-notice i { color: #946c28; margin-top: .1rem; }
.booking-location-choice { width: 100%; padding: 24px; background: #fff; border: 1px solid #efe2e9; border-radius: 22px; box-shadow: 0 14px 40px #612b520d; }
.booking-location-choice h2 { margin: 0 0 6px; font-size: 22px; }
.booking-location-choice > .salon-hint { margin: 0 0 18px; }
.booking-location-option { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 16px; align-items: center; width: 100%; margin-top: 10px; padding: 16px 18px; border: 1px solid #eadce5; border-radius: 12px; color: #33242f !important; text-decoration: none !important; background: #fffcfe; }
.booking-location-option strong, .booking-location-option span { grid-column: 1; }
.booking-location-option span { color: #745c6b; }
.booking-location-option i { grid-column: 2; grid-row: 1 / 3; color: #6d315a; }
.booking-location-option:hover, .booking-location-option:focus-visible { border-color: #6d315a; background: #fbf3f8; }
.booking-change-location { display: inline-block; margin: 0 0 12px; color: #6d315a; }
.booking-full-width .booking-day-picker { display: flex; align-items: stretch; width: 100%; min-width: 0; }
.booking-full-width .booking-day-picker > input { flex: 1 1 0; min-width: 0; width: auto; }
.booking-full-width .booking-day-picker > .ui-button { flex: 0 0 auto; margin: 0; }
.booking-full-width .ui-selectonemenu, .booking-full-width .ui-inputfield { border-color: #cfc7d0; background: #fff; }
.booking-full-width .ui-selectonemenu:focus-within, .booking-full-width .ui-inputfield:focus { border-color: #6d315a; box-shadow: 0 0 0 2px #6d315a24; }
.booking-full-width .ui-state-disabled { opacity: .62; }
@media (max-width: 1000px) { .booking-person-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .booking-step-summary { align-items: flex-start; flex-direction: column; }
  .booking-step-summary-text { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .booking-beneficiary { padding: .8rem; }
  .booking-beneficiary-heading { margin: -.8rem -.8rem .75rem; padding: .55rem .8rem; }
  .booking-person-grid, .booking-service-grid { grid-template-columns: 1fr; }
  .booking-section-heading { flex-direction: column; align-items: stretch; }
  .booking-date-row { width: 100%; }
}
.service-discovery { max-width: 1180px; margin: 1.5rem auto 4rem; padding: 2rem; background: #fff; border: 1px solid #eadce5; border-radius: 20px; }
.service-discovery-back { color: #6d315a; text-decoration: none; }
.service-discovery h1 { margin: .8rem 0 .2rem; }
.service-discovery-location { color: #806b77; }
.service-root-categories, .service-filter-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.service-root-categories { margin: 2rem 0 1.3rem; padding-bottom: 1rem; border-bottom: 1px solid #eadce5; }
.service-discovery-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.service-filter-group h2 { font-size: .9rem; margin: 0 0 .55rem; }
.service-filter-chip { cursor: pointer; border: 1px solid #decbd7; background: #fff; color: #6d315a; border-radius: 999px; padding: .48rem .85rem; font: inherit; }
.service-filter-chip:hover, .service-filter-chip:focus-visible { border-color: #6d315a; }
.service-filter-chip.is-active { color: white; background: #6d315a; border-color: #6d315a; font-weight: 700; }
.service-discovery-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 1.7rem 0 .7rem; }
.service-discovery-toolbar button { border: 0; background: transparent; color: #6d315a; cursor: pointer; text-decoration: underline; }
.service-discovery-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .75rem; }
.service-discovery-card { border: 1px solid #eadce5; border-radius: 12px; padding: 1rem; }
.service-discovery-card h3 { margin: 0 0 .5rem; font-size: 1rem; }
.service-discovery-card p { margin: 0 0 1rem; color: #665461; }
.service-discovery-card a { color: #6d315a; font-weight: 700; }
.service-discovery-empty { padding: 1rem; color: #806b77; }
@media (max-width: 640px) { .service-discovery { margin: .7rem; padding: 1rem; } }
.salon-result-avatar img { width: 100%; height: 100%; object-fit: contain; background: #fff; border-radius: inherit; }
.salon-public-logo { width: 100px; height: 100px; object-fit: contain; margin-top: 1rem; }

/* Public salon profile: cover, overlapping identity and service catalogue. */
.service-discovery { padding: 0; max-width: 1320px; }
.salon-public-cover { position: relative; height: 240px; border-radius: 20px 20px 0 0; overflow: hidden; background: linear-gradient(120deg, #f4e7ef, #fbf7fa 55%, #eee0eb); }
.salon-public-cover img { width: 100%; height: 100%; object-fit: cover; }
.salon-public-cover .service-discovery-back { position: absolute; top: 24px; left: 28px; padding: .6rem .9rem; background: rgba(255,255,255,.94); border-radius: 999px; }
.salon-public-identity { position: relative; text-align: center; padding: 0 2rem 1rem; }
.salon-public-avatar { position: relative; display: flex; align-items: center; justify-content: center; width: 128px; height: 128px; margin: -64px auto 1rem; border: 6px solid #fff; border-radius: 50%; background: #f5eaf2; box-shadow: 0 4px 18px #48213b14; color: #71345d; font-size: 2.2rem; font-weight: 700; overflow: hidden; }
.salon-public-avatar .salon-public-logo { width: 100%; height: 100%; object-fit: contain; margin: 0; background: #fff; padding: 8px; box-sizing: border-box; }
.salon-public-identity h1 { margin: 0 0 .6rem; font-size: clamp(1.65rem, 3vw, 2.3rem); }
#service-discovery-location { margin: 0; color: #806b77; line-height: 1.6; }
.salon-public-content { padding: 0 2rem 2rem; }
.salon-public-content .service-root-categories { margin-top: 1.2rem; }
.salon-cover-preview { width: min(420px, 100%); height: 150px; object-fit: cover; border-radius: 12px; border: 1px solid #eadce5; }
.service-discovery-empty { grid-column: 1 / -1; padding: 2rem 1rem; }
@media (max-width: 640px) {
 .service-discovery { padding: 0; }
 .salon-public-cover { height: 170px; }
 .salon-public-cover .service-discovery-back { top: 16px; left: 16px; }
 .salon-public-avatar { width: 104px; height: 104px; margin-top: -52px; }
 .salon-public-identity { padding: 0 1rem 1rem; }
 .salon-public-content { padding: 0 1rem 1rem; }
}

.service-detail-description { white-space: pre-line; line-height: 1.7; }
.service-specialist-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.service-specialist-card { min-width: 0; padding: 1rem; border: 1px solid #eadce5; border-radius: 18px; background: #fff; }
.service-specialist-card h3 { margin: 0 0 1rem; }
.service-specialist-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #f5edf1; border-radius: 12px; }
.service-gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: .75rem 0; }
.service-gallery-controls button { border: 1px solid #eadce5; border-radius: 50%; width: 42px; height: 42px; background: #fff; color: #6d315a; cursor: pointer; }
.service-gallery-controls button:disabled { opacity: .4; cursor: default; }
.service-gallery-caption { white-space: pre-line; color: #665461; }
.service-photo-preview { position: relative; display: block; height: 180px; margin: 0 0 1.1rem; border-radius: 14px; text-decoration: none; }
.service-photo-layer { position: absolute; width: calc(100% - 16px); height: calc(100% - 16px); left: 0; bottom: 0; object-fit: cover; border: 3px solid white; border-radius: 12px; box-sizing: border-box; box-shadow: 0 3px 12px rgba(60, 30, 50, .12); }
.service-photo-layer.layer-1 { left: 8px; bottom: 8px; transform: rotate(2deg); }
.service-photo-layer.layer-2 { left: 16px; bottom: 16px; transform: rotate(4deg); }
.service-photo-count { position: absolute; right: 22px; bottom: 10px; padding: .35rem .65rem; border-radius: 999px; background: rgba(32, 20, 30, .8); color: #fff; font-size: .8rem; font-weight: 600; }
.service-photo-preview.is-empty { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .65rem; background: #f7f0f5; color: #876078; }
.service-photo-preview.is-empty i { font-size: 2rem; }
.service-photo-preview.is-empty span { font-size: .85rem; }
.work-image-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .75rem; margin-top: 1rem; }
.work-image-previews:empty { display: none; }
.work-image-previews figure { position: relative; margin: 0; min-width: 0; }
.work-image-previews button { display: block; width: 100%; padding: 0; border: 1px solid #eadce5; border-radius: 12px; overflow: hidden; background: #fff; cursor: zoom-in; }
.work-image-previews img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.work-image-previews figcaption { margin-top: .35rem; font-size: .8rem; overflow-wrap: anywhere; color: #665461; }
.work-image-preview-status { font-size: .85rem; color: #665461; }
.portfolio-upload-picker .ui-fileupload-filename { display: none; }
.portfolio-upload-form .portfolio-upload-picker { display: none; }
.portfolio-upload-form .work-image-previews .work-image-add { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: .65rem; border: 1px dashed #b88da6; border-radius: 12px; background: #fff; color: #6d315a; font: inherit; font-size: .85rem; cursor: pointer; }
.portfolio-upload-form .work-image-previews .work-image-add:hover { background: #f5edf1; border-color: #6d315a; }
.studio-layout .portfolio-upload-form { padding: 1.25rem; gap: .75rem; }
.portfolio-upload-form h2 { margin: 0 0 .25rem; }
.portfolio-upload-form .field { gap: .3rem; }
.portfolio-upload-form .ui-button { margin-top: 0; }
.portfolio-upload-form .primary-action { margin-top: .25rem; }
.portfolio-upload-form .work-image-previews { grid-template-columns: repeat(auto-fill, 100px); gap: .6rem; margin-top: .35rem; }
.portfolio-upload-form .work-image-preview-status { margin: .2rem 0 0; font-size: .78rem; line-height: 1.4; }
.portfolio-upload-form .work-image-preview-status:empty { display: none; }
.portfolio-upload-form small { font-size: .78rem; line-height: 1.4; }
.portfolio-upload-form textarea.ui-inputfield { min-height: 64px; }
.work-image-controls { position: absolute; top: .35rem; right: .35rem; }
.work-image-controls .work-image-remove { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; min-width: 0; padding: 0; border: 2px solid #fff; border-radius: 50%; background: rgba(35, 20, 32, .75); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.work-image-controls .work-image-remove:hover { background: #6d315a; }
.work-image-controls .work-image-remove { position: relative; box-sizing: border-box; }
.work-image-controls .work-image-remove::before,
.work-image-controls .work-image-remove::after { content: ''; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; border-radius: 1px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.work-image-controls .work-image-remove::after { transform: translate(-50%, -50%) rotate(-45deg); }
.work-image-controls button:disabled { opacity: .35; cursor: default; }
.work-image-previews figure { cursor: grab; touch-action: none; border-radius: 12px; transition: opacity .15s, outline-color .15s; }
.work-image-previews figure.is-dragging { opacity: .45; cursor: grabbing; }
.work-image-previews figure.is-drop-target { outline: 2px dashed #6d315a; outline-offset: 4px; }
.work-image-previews figure:focus-visible { outline: 2px solid #6d315a; outline-offset: 4px; }
.work-image-preview-dialog { width: min(900px, 90vw); max-height: 90vh; padding: 2.5rem 1rem 1rem; border: 1px solid #eadce5; border-radius: 16px; }
.work-image-preview-dialog::backdrop { background: rgba(25, 15, 24, .7); }
.work-image-preview-dialog img { display: block; max-width: 100%; max-height: 70vh; margin: auto; object-fit: contain; }
.work-image-preview-dialog p { overflow-wrap: anywhere; text-align: center; }
.work-image-preview-close { position: absolute; top: .4rem; right: .6rem; border: 0; background: transparent; font-size: 1.8rem; cursor: pointer; }
.service-specialist-book { display: inline-block; padding: .7rem 1rem; margin: .35rem .4rem .35rem 0; border-radius: 999px; background: #6d315a; color: #fff; text-decoration: none; font-weight: 700; }
/* Portfolio dashboard: gallery and expandable composer */
.portfolio-dashboard { gap: 1.5rem; }
.portfolio-dashboard .portfolio-hero { display: block; padding: 2rem; border-radius: 24px; background: radial-gradient(ellipse at top right, #edcfdf 0, transparent 65%), linear-gradient(120deg, #fff, #f7edf2); }
.portfolio-hero h1 { margin: .5rem 0; font-size: clamp(2rem, 4vw, 3.3rem); }
.portfolio-hero > p { max-width: 640px; margin: 0; line-height: 1.6; }
.portfolio-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1rem; margin-bottom: 1.5rem; border: 1px solid #eadde4; border-radius: 18px; background: #ffffffd9; }
.portfolio-toolbar button, .portfolio-compose-actions button, .portfolio-first-work, .portfolio-select-images { padding: .75rem 1rem; border: 1px solid #b88da6; border-radius: 12px; background: #fff; color: #6d315a; font: inherit; cursor: pointer; }
.portfolio-toolbar .portfolio-add-work, .portfolio-select-images { background: #6d315a; color: #fff; border-color: #6d315a; }
.portfolio-toolbar i, .portfolio-first-work i { margin-right: .45rem; }
.portfolio-total { display: flex; align-items: center; gap: .5rem; margin-left: auto; padding-left: 1rem; border-left: 1px solid #eadde4; }
.portfolio-total i { font-size: 1.5rem; color: #b34f82; }
.portfolio-total strong { font-size: 1.5rem; }
.portfolio-total span { color: #806b77; font-size: .85rem; }
.portfolio-help { padding: 1rem; margin-bottom: 1rem; background: #f4e5ed; border-radius: 12px; line-height: 1.6; }
.portfolio-content { display: grid; gap: 1.5rem; }
.portfolio-workspace.is-empty .portfolio-content { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
.portfolio-workspace .portfolio-composer { display: none; grid-template-columns: 1fr; scroll-margin-top: 100px; }
.portfolio-workspace.composer-open .portfolio-composer { display: grid; }
.portfolio-dashboard .portfolio-composer .portfolio-upload-form { background: #fff; border: 1px solid #eadde4; border-radius: 20px; padding: 1.5rem; gap: 1.25rem; }
.portfolio-composer-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.portfolio-composer-heading h2 { margin-bottom: .35rem; }
.portfolio-composer-heading small { color: #806b77; }
.portfolio-close-composer { border: 0; background: transparent; color: #6d315a; cursor: pointer; padding: .5rem; }
.portfolio-compose-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.portfolio-workspace.is-empty .portfolio-compose-columns { grid-template-columns: 1fr; }
.portfolio-compose-photos, .portfolio-compose-fields { display: grid; gap: 1rem; min-width: 0; }
.portfolio-drop-zone { display: grid; justify-items: center; gap: .65rem; padding: 1.5rem 1rem; border: 1px dashed #dcb7cb; border-radius: 14px; text-align: center; background: #fcf8fa; }
.portfolio-drop-zone > i { font-size: 2rem; padding: .75rem; background: #f6e5ee; color: #b34f82; border-radius: 50%; }
.portfolio-drop-zone span, .portfolio-drop-zone small { color: #806b77; font-size: .8rem; }
.portfolio-drop-zone.is-drop-target { border-color: #6d315a; background: #f4e5ed; }
.portfolio-compose-actions { display: flex; gap: .75rem; }
.portfolio-compose-actions .primary-action { flex: 1; width: auto; margin: 0; background: #6d315a; border-color: #6d315a; color: #fff; }
.portfolio-compose-actions .primary-action .ui-button-text,
.portfolio-compose-actions .primary-action .ui-button-icon-left { color: inherit; }
.portfolio-dashboard .portfolio-gallery { margin-top: 0; min-width: 0; }
.portfolio-workspace.is-empty .portfolio-gallery { padding: 1.5rem; background: #fff; border: 1px solid #eadde4; border-radius: 20px; }
.portfolio-gallery .page-heading { flex-wrap: wrap; gap: 1rem; }
.portfolio-gallery .page-heading h2 { font-size: 1.5rem; }
.portfolio-gallery-tools { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.portfolio-gallery-tools input, .portfolio-gallery-tools select, .portfolio-view-toggle { border: 1px solid #eadde4; border-radius: 10px; background: #fff; padding: .65rem; color: #665461; font: inherit; font-size: .85rem; }
.portfolio-search { position: relative; }
.portfolio-search input { padding-left: 2rem; width: 220px; max-width: 100%; }
.portfolio-search i { position: absolute; left: .65rem; top: 50%; transform: translateY(-50%); color: #806b77; }
.portfolio-view-toggle { cursor: pointer; color: #6d315a; }
.portfolio-category-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.portfolio-category-filters button { padding: .5rem .85rem; border: 0; border-radius: 99px; background: #f3eaf0; color: #6d315a; font: inherit; font-size: .8rem; cursor: pointer; }
.portfolio-category-filters button.is-active { background: #6d315a; color: #fff; }
.portfolio-dashboard .portfolio-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.portfolio-dashboard .portfolio-card img { aspect-ratio: 1; }
.portfolio-dashboard .portfolio-card-body { padding: .75rem; align-items: start; }
.portfolio-dashboard .portfolio-category { font-size: .75rem; }
.portfolio-work-editor summary { font-size: .78rem; color: #6d315a; cursor: pointer; }
.portfolio-work-editor .portfolio-category-editor { flex-direction: column; align-items: stretch; margin-top: .75rem; }
.portfolio-work-editor .ui-selectonemenu, .portfolio-work-editor .ui-selectcheckboxmenu { width: 100%; min-width: 0; }
.portfolio-dashboard .portfolio-card-body > .ui-button { padding: .4rem; margin: 0; }
.portfolio-dashboard .portfolio-card-body > .ui-button .ui-button-text { font-size: 0; padding: .5rem; }
.portfolio-dashboard .portfolio-grid.is-list { grid-template-columns: 1fr; }
.portfolio-grid.is-list .portfolio-card { display: grid; grid-template-columns: 140px minmax(0, 1fr); }
.portfolio-empty-gallery { min-height: 400px; border: 1px dashed #e5c9d8; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; }
.portfolio-empty-gallery p { max-width: 430px; line-height: 1.6; color: #806b77; }
.portfolio-empty-icon { display: grid; place-items: center; width: 100px; height: 100px; border-radius: 24px; background: #fae8f1; transform: rotate(-8deg); }
.portfolio-empty-icon i { font-size: 3rem; color: #c46794; }
.portfolio-empty-gallery h3 { font-size: 1.4rem; margin: 1.5rem 0 0; }
.portfolio-dashboard [hidden] { display: none !important; }
@media (max-width: 1100px) {
 .portfolio-dashboard .portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
 .portfolio-workspace.is-empty .portfolio-content { grid-template-columns: 1fr 1fr; }
 .portfolio-gallery-tools { width: 100%; }
}
@media (max-width: 760px) {
 .portfolio-dashboard .portfolio-hero { padding: 1.25rem; }
 .portfolio-workspace.is-empty .portfolio-content, .portfolio-compose-columns { grid-template-columns: 1fr; }
 .portfolio-dashboard .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .portfolio-total { margin-left: 0; border-left: 0; padding-left: 0; }
 .portfolio-dashboard .portfolio-composer .portfolio-upload-form { padding: 1rem; }
 .portfolio-empty-gallery { min-height: 300px; padding: 1.25rem; }
 .portfolio-gallery-tools .portfolio-search { flex: 1; min-width: 150px; }
 .portfolio-search input { width: 100%; }
 .portfolio-grid.is-list .portfolio-card { grid-template-columns: 100px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .portfolio-dashboard * { scroll-behavior: auto; transition: none; } }
.portfolio-hero { position: relative; overflow: hidden; }
.portfolio-hero-photo { position: absolute; inset: 0 0 0 55%; }
.portfolio-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f7edf2, #f7edf200); }
.portfolio-hero > div:not(.portfolio-hero-photo), .portfolio-hero > p { position: relative; z-index: 1; }
.portfolio-hero:has(.portfolio-hero-photo) > p { max-width: 55%; }
.portfolio-workspace.is-empty:not(.composer-open) .portfolio-content { grid-template-columns: 1fr; }
@media (max-width: 760px) { .portfolio-hero-photo { opacity: .25; inset: 0; } .portfolio-hero:has(.portfolio-hero-photo) > p { max-width: 100%; } }
/* Multiple autocomplete as a textarea with wrapping tag chips. */
.portfolio-dashboard .portfolio-tag-input { display: block; width: 100%; }
.portfolio-dashboard .portfolio-tag-input .ui-autocomplete-multiple-container { display: flex; flex-wrap: wrap; align-content: flex-start; align-items: center; gap: .45rem; box-sizing: border-box; width: 100%; min-height: 110px; margin: 0; padding: .65rem; border: 1px solid #dfcdd6; border-radius: 12px; background: #fff; }
.portfolio-dashboard .portfolio-tag-input .ui-autocomplete-token { display: inline-flex; align-items: center; gap: .4rem; max-width: 100%; margin: 0; padding: .35rem .6rem; border-radius: 8px; background: #f4e5ed; color: #6d315a; font-size: .85rem; }
.portfolio-dashboard .portfolio-tag-input .ui-autocomplete-token-label { overflow-wrap: anywhere; }
.portfolio-dashboard .portfolio-tag-input .ui-autocomplete-token-icon { position: static; flex-shrink: 0; margin: 0; }
.portfolio-dashboard .portfolio-tag-input .ui-autocomplete-input-token { flex: 1 0 100%; width: 100%; margin: 0; padding: 0; }
.portfolio-dashboard .portfolio-tag-input .ui-autocomplete-input-token input { width: 100%; min-width: 0; box-sizing: border-box; padding: .45rem 0; border: 0; outline: 0; box-shadow: none; background: transparent; font: inherit; font-size: .85rem; }
.portfolio-dashboard .portfolio-tag-input .ui-autocomplete-multiple-container:focus-within { border-color: #8c3f69; box-shadow: 0 0 0 2px #8c3f691a; }
/* Distinguish category headings from selectable services. */
.ui-selectonemenu-panel.portfolio-source-service-panel .ui-selectonemenu-items li.ui-selectonemenu-item-group { padding: .65rem .85rem; background: #f4e5ed; color: #6d315a; font-weight: 700; border-top: 1px solid #eadde4; }
.ui-selectonemenu-panel.portfolio-source-service-panel .ui-selectonemenu-items li.ui-selectonemenu-item-group-children { padding-left: 2.5rem; font-weight: 400; }
.specialist-public-page { max-width: 1200px; margin-inline: auto; }
.specialist-public-header { display: flex; align-items: center; gap: 24px; padding: 28px; border: 1px solid #eee5eb; border-radius: 22px; background: #fff; margin-bottom: 24px; }
.specialist-public-avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.specialist-public-details { flex: 1; min-width: 0; }
.specialist-public-details h1 { margin: 0 0 8px; }
.specialist-public-details p { margin: 6px 0; }
.specialist-public-bio, .specialist-review-comment { white-space: pre-wrap; overflow-wrap: anywhere; }
.specialist-public-header .portfolio-post-book { width: auto; flex-shrink: 0; padding-inline: 24px; }
.specialist-public-tabs { display: flex; gap: 24px; border-bottom: 1px solid #e8dce4; margin-bottom: 24px; }
.specialist-public-tabs a { padding: 14px 4px; border-bottom: 3px solid transparent; text-decoration: none; font-weight: 700; color: #71636e; }
.specialist-public-tabs a.active { color: #84335f; border-bottom-color: #84335f; }
.specialist-public-tabs span { font-size: .85em; padding: 3px 8px; border-radius: 16px; background: #f8edf3; margin-left: 6px; }
.specialist-public-tabs a:focus-visible, .portfolio-specialist-profile-link:focus-visible { outline: 2px solid #84335f; outline-offset: 4px; }
.specialist-public-rating { color: #84335f; font-weight: 700; }
.specialist-review-policy { color: #71636e; }
.specialist-review-form, .specialist-review-card { border: 1px solid #eee5eb; border-radius: 18px; background: #fff; padding: 24px; }
.specialist-review-form { display: grid; gap: 10px; max-width: 700px; margin: 24px 0; }
.specialist-review-form h2 { margin: 0 0 8px; }
.specialist-review-form select, .specialist-review-form textarea { width: 100%; padding: 12px; border: 1px solid #d9cbd4; border-radius: 10px; font: inherit; box-sizing: border-box; }
.specialist-review-form textarea { resize: vertical; }
.specialist-review-form .button-link { justify-self: start; border: none; cursor: pointer; }
.specialist-review-list { display: grid; gap: 16px; margin-top: 24px; }
.specialist-review-heading { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.specialist-review-heading span, .specialist-review-service { color: #71636e; font-size: .9rem; }
.portfolio-specialist-profile-link { color: inherit; text-decoration: none; }
.portfolio-specialist-profile-link:hover { color: #84335f; }
@media (max-width: 640px) {
  .specialist-public-header { flex-wrap: wrap; padding: 20px; gap: 16px; }
  .specialist-public-avatar { width: 80px; height: 80px; }
  .specialist-public-header .portfolio-post-book { width: 100%; }
  .specialist-review-card, .specialist-review-form { padding: 18px; }
}
.specialist-profile-page { max-width: 1500px; }
.specialist-profile-page .specialist-public-header { align-items: flex-start; padding: 24px; gap: 28px; }
.specialist-profile-page .specialist-public-avatar { width: 140px; height: 140px; }
.specialist-avatar-placeholder { display: grid; place-items: center; background: #f8e7f1; color: #963164; font-size: 48px; }
.specialist-profile-page .specialist-public-details h1 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.specialist-public-specialties { color: #827888; }
.specialist-profile-stats { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 22px; }
.specialist-profile-stat { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.specialist-profile-stat > i { color: #b12c6b; font-size: 1.5rem; }
.specialist-profile-stat strong, .specialist-profile-stat small { display: block; }
.specialist-profile-stat strong { font-size: 1.15rem; margin-bottom: 4px; }
.specialist-profile-stat small { color: #827888; }
.specialist-profile-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.specialist-profile-actions form { margin: 0; }
.specialist-outline-button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 12px 20px; border: 1px solid #dfb5cf; border-radius: 10px; color: #942157; background: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.specialist-outline-button:hover { background: #fbeef5; }
.specialist-outline-button:focus-visible { outline: 2px solid #84335f; outline-offset: 3px; }
.specialist-share { padding: 12px 16px; }
.specialist-share-status { width: 100%; font-size: .85rem; color: #71636e; }
.specialist-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 24px; align-items: start; }
.specialist-profile-main, .specialist-profile-sidebar { min-width: 0; }
.specialist-profile-page .specialist-public-tabs { gap: 26px; overflow-x: auto; }
.specialist-public-tabs a { white-space: nowrap; }
.specialist-work-filters, .specialist-location-tabs { display: flex; overflow-x: auto; gap: 10px; padding: 0 4px 12px; margin-bottom: 8px; }
.specialist-work-filters a, .specialist-location-tabs a { white-space: nowrap; padding: 11px 17px; border: 1px solid #e9dce4; border-radius: 24px; background: #fff; color: #443044; text-decoration: none; font-size: .85rem; }
.specialist-work-filters a.active, .specialist-location-tabs a.active { background: #a14a76; color: #fff; border-color: #a14a76; }
.specialist-work-filters i { margin-right: 6px; }
.specialist-work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.specialist-work-tile { position: relative; display: block; aspect-ratio: 1.45; border-radius: 13px; overflow: hidden; background: #f5eaf1; }
.specialist-work-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.specialist-work-tile:hover img { transform: scale(1.035); }
.specialist-work-likes { position: absolute; right: 8px; bottom: 8px; display: flex; align-items: center; gap: 7px; border-radius: 18px; padding: 5px 10px; background: #35252cc9; color: #fff; font-size: .75rem; font-weight: 700; }
.specialist-work-likes i { color: #f88fc3; }
.specialist-work-more { text-align: center; margin-top: 24px; }
.specialist-work-more .specialist-outline-button { border-radius: 28px; font-size: .85rem; }
.specialist-work-more p { color: #827888; font-size: .85rem; }
.specialist-profile-sidebar { display: grid; gap: 18px; }
.specialist-sidebar-card { background: #fff; border: 1px solid #eee5eb; border-radius: 20px; padding: 20px; }
.specialist-sidebar-card h2 { margin: 0 0 18px; font-size: 1.25rem; }
.specialist-booking-card .portfolio-post-location { padding: 14px 12px; margin-bottom: 8px; gap: 8px; }
.specialist-booking-card .portfolio-post-location-choice { gap: 12px; }
.specialist-booking-card .portfolio-post-location-details strong { font-size: .85rem; }
.specialist-booking-card .portfolio-post-location-details span { font-size: .8rem; }
.specialist-booking-card .portfolio-post-location-map { font-size: .75rem; }
.specialist-booking-card .portfolio-post-location-map i { font-size: 1rem; }
.specialist-booking-card .portfolio-post-book { width: 100%; margin-top: 10px; }
.specialist-sidebar-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.specialist-sidebar-heading a { color: #a12765; text-decoration: none; font-size: .85rem; font-weight: 700; }
.specialist-rating-overview { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; margin-bottom: 16px; align-items: center; }
.specialist-rating-number { font-size: 2.6rem; }
.specialist-rating-overview p { margin: 2px 0 8px; color: #eab600; letter-spacing: 1px; }
.specialist-rating-overview small { color: #827888; }
.specialist-rating-bars > div { display: grid; grid-template-columns: 25px minmax(0,1fr) 35px; gap: 6px; align-items: center; margin: 5px 0; font-size: .75rem; color: #827888; }
.specialist-rating-bars meter { width: 100%; height: 10px; appearance: none; }
.specialist-rating-bars meter::-webkit-meter-bar { background: #eee7ed; border: none; border-radius: 8px; }
.specialist-rating-bars meter::-webkit-meter-optimum-value { background: #b34c7e; border-radius: 8px; }
.specialist-profile-page .specialist-public-rating { color: #eab600; }
.specialist-review-heading { align-items: center; }
.specialist-review-heading > div { flex: 1; }
.specialist-review-initial { width: 42px; height: 42px; border-radius: 50%; background: #f6e1ed; color: #99345e !important; display: grid; place-items: center; font-weight: 700; font-size: 1rem !important; }
.specialist-review-heading time { align-self: flex-start; font-size: .8rem; color: #827888; }
.specialist-review-location { display: inline-block; padding: 6px 10px; background: #fbeef5; color: #983465; border-radius: 20px; font-size: .75rem; }
.specialist-review-summary .specialist-review-card { border: none; border-top: 1px solid #f0e7ed; border-radius: 0; padding: 16px 0 0; margin-top: 16px; }
.specialist-review-summary .specialist-review-comment { font-size: .85rem; line-height: 1.6; color: #71636e; }
.specialist-review-summary .specialist-review-service { font-size: .7rem; }
.specialist-service-list { display: grid; gap: 12px; }
.specialist-service-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; background: #fff; border: 1px solid #eee5eb; border-radius: 16px; padding: 20px; }
.specialist-service-row h3 { margin: 0 0 8px; font-size: 1rem; }
.specialist-service-row p, .specialist-service-address { color: #827888; font-size: .85rem; }
.specialist-service-price { display: grid; gap: 10px; justify-items: end; flex-shrink: 0; }
.specialist-service-price .specialist-outline-button { font-size: .8rem; padding: 9px 12px; }
.specialist-about { padding: 24px; background: #fff; border: 1px solid #eee5eb; border-radius: 18px; }
@media (max-width: 1100px) {
  .specialist-profile-layout { grid-template-columns: minmax(0,1fr) 300px; gap: 18px; }
  .specialist-profile-page .specialist-public-avatar { width: 110px; height: 110px; }
  .specialist-profile-page .specialist-public-header { flex-wrap: wrap; }
  .specialist-work-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .specialist-booking-card .portfolio-post-location-map { margin-left: 40px; }
  .specialist-booking-card .portfolio-post-location { flex-wrap: wrap; }
}
@media (max-width: 800px) {
  .specialist-profile-layout { grid-template-columns: minmax(0,1fr); }
  .specialist-profile-sidebar { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .specialist-profile-stats { gap: 20px; }
}
@media (max-width: 550px) {
  .specialist-profile-sidebar { grid-template-columns: minmax(0,1fr); }
  .specialist-work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .specialist-profile-page .specialist-public-header { padding: 18px; gap: 18px; }
  .specialist-profile-page .specialist-public-avatar { width: 85px; height: 85px; }
  .specialist-profile-stats { gap: 16px; }
  .specialist-profile-stat > i { font-size: 1.1rem; }
  .specialist-service-row { flex-direction: column; align-items: stretch; }
  .specialist-service-price { display: flex; justify-content: space-between; align-items: center; }
}

/* Individual service: content, specialist-style booking and FAQ. */
.service-detail-hero {display:flex;align-items:center;gap:2rem;background:linear-gradient(120deg,#fff,#f7e9ef);border-radius:24px;padding:2rem;margin:1rem 0 2rem;overflow:hidden;}
.service-detail-hero > div {flex:1;min-width:0;}
.service-detail-hero img {width:45%;height:300px;object-fit:cover;border-radius:18px;}
.service-detail-layout {display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:2rem;}
.service-detail-layout main {min-width:0;}
.service-detail-layout main > section {padding:1.5rem 0;scroll-margin-top:100px;}
.service-detail-nav {display:flex;gap:1.5rem;flex-wrap:wrap;border-bottom:1px solid #eadce4;padding-bottom:1rem;}
.service-detail-nav a {color:#71315d;font-weight:600;text-decoration:none;}
.service-detail-faq details {border-bottom:1px solid #eadce4;padding:1rem 0;}
.service-detail-faq summary {cursor:pointer;font-weight:600;}
.service-detail-faq p,.service-detail-description {white-space:pre-wrap;}
#service-book-providers {border:0;padding:0;margin:1.5rem 0;}
#service-book-providers label {padding:.75rem 0;gap:.7rem;}
.service-similar-link {display:flex;flex-direction:column;gap:.4rem;padding:1rem 0;color:#71315d;text-decoration:none;border-bottom:1px solid #eadce4;}
.service-similar-link span {font-size:.9rem;color:#756572;}
.service-question-draft {padding:1rem;border:1px solid #eadce4;border-radius:12px;margin:1rem 0;}
.service-question-editor input,.service-question-editor textarea {width:100%;}
@media(max-width:900px) {.service-detail-layout{grid-template-columns:1fr;}.service-detail-hero{padding:1.25rem;}.service-detail-hero img{height:220px;}}
@media(max-width:600px) {.service-detail-hero{flex-direction:column;align-items:stretch;}.service-detail-hero img{width:100%;}}

.portfolio-work-service {display:flex;align-items:baseline;gap:.45rem;margin:.65rem 0 .35rem;color:#71315d;font-weight:600;overflow-wrap:anywhere;}

.portfolio-dashboard .portfolio-card-body {position:relative;display:block;}
.portfolio-dashboard .portfolio-card-details {width:100%;min-width:0;}
.portfolio-dashboard .portfolio-card-details > .portfolio-category {max-width:calc(100% - 84px);}
.portfolio-dashboard .portfolio-card-body > .ui-button {position:absolute;top:.75rem;right:.75rem;width:34px;height:34px;}
.portfolio-dashboard .portfolio-work-editor > .portfolio-edit-icon {position:absolute;top:.75rem;right:3.35rem;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #eadde4;border-radius:5px;background:#fff;color:#71315d;list-style:none;font-size:1rem;}
.portfolio-edit-icon::-webkit-details-marker {display:none;}
.portfolio-edit-icon:hover,.portfolio-work-editor[open] > .portfolio-edit-icon {background:#f5e8ef;}
.portfolio-edit-icon:focus-visible {outline:2px solid #71315d;outline-offset:2px;}
.portfolio-work-editor:not([open]) {margin:0;padding:0;}

.portfolio-dashboard .portfolio-card-details > .portfolio-edit-icon.ui-button {position:absolute;top:.75rem;right:3.35rem;width:34px;height:34px;padding:0;margin:0;background:#fff;border:1px solid #eadde4;color:#71315d;}
.portfolio-edit-dialog .portfolio-category-editor {display:flex;flex-direction:column;gap:1rem;}
.portfolio-edit-dialog .ui-selectonemenu,.portfolio-edit-dialog .portfolio-tag-input {width:100%;}

.portfolio-edit-photos {display:flex;flex-wrap:wrap;gap:.65rem;}
.portfolio-edit-photos a {width:110px;height:110px;}
.portfolio-edit-photos img {width:100%;height:100%;object-fit:cover;border-radius:12px;}

/* Compact work editor, isolated from gallery flex rules. */
.portfolio-edit-dialog.ui-dialog {max-width:calc(100vw - 32px);border-radius:18px;overflow:hidden;}
.portfolio-edit-dialog .ui-dialog-content {padding:1.25rem 1.5rem;max-height:calc(100dvh - 130px);overflow:auto;}
.portfolio-edit-dialog .portfolio-category-editor {display:block;text-align:left;}
.portfolio-edit-layout {display:grid;grid-template-columns:220px minmax(0,1fr);gap:1.5rem;align-items:start;}
.portfolio-edit-media {padding:1rem;background:#fbf6f9;border:1px solid #eedee7;border-radius:14px;}
.portfolio-edit-media h3 {font-size:.95rem;margin:0 0 .8rem;}
.portfolio-edit-media small {display:block;margin-top:.75rem;color:#857080;font-size:.78rem;line-height:1.45;}
.portfolio-edit-dialog .portfolio-edit-photos {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;}
.portfolio-edit-dialog .portfolio-edit-photos a {width:100%;height:auto;aspect-ratio:1;display:block;}
.portfolio-edit-dialog .portfolio-edit-photos a:first-child {grid-column:1/-1;}
.portfolio-edit-fields {display:flex;flex-direction:column;gap:1rem;min-width:0;}
.portfolio-edit-field {display:flex;flex-direction:column;gap:.45rem;min-width:0;}
.portfolio-edit-dialog .portfolio-edit-field > .ui-outputlabel {font-weight:600;font-size:.88rem;text-align:left;}
.portfolio-edit-dialog .portfolio-edit-field > textarea {width:100%;box-sizing:border-box;min-height:86px;resize:vertical;}
.portfolio-edit-dialog .portfolio-tag-input .ui-autocomplete-multiple-container {min-height:100px;}
.portfolio-edit-actions {display:flex;justify-content:flex-end;align-items:center;gap:.75rem;border-top:1px solid #eedee7;margin-top:1.25rem;padding-top:1rem;}
.portfolio-edit-dialog .portfolio-edit-save.ui-button {background:#71315d;border-color:#71315d;color:#fff;}
.portfolio-edit-dialog .portfolio-edit-save .ui-button-text,.portfolio-edit-dialog .portfolio-edit-save .ui-button-icon-left {color:#fff;}
@media(max-width:650px) {.portfolio-edit-layout{grid-template-columns:1fr;gap:1rem;}.portfolio-edit-dialog .ui-dialog-content{padding:1rem;}.portfolio-edit-dialog .portfolio-edit-photos{display:flex;flex-wrap:wrap;}.portfolio-edit-dialog .portfolio-edit-photos a,.portfolio-edit-dialog .portfolio-edit-photos a:first-child{width:90px;height:90px;}.portfolio-edit-actions{flex-wrap:wrap;}.portfolio-edit-actions .ui-button{flex:1;}}

.portfolio-edit-dialog .ui-dialog-footer {padding:.85rem 1.5rem;background:#fff;border-top:1px solid #eedee7;}
.portfolio-edit-dialog .ui-dialog-footer .portfolio-edit-actions {margin:0;padding:0;border:0;}
.portfolio-edit-dialog .ui-dialog-content {max-height:calc(100dvh - 210px);}

.specialist-workspace {max-width:1400px;margin:0 auto;}
.professional-heading {display:flex;align-items:center;gap:1.5rem;padding:2rem;border:1px solid #eedce7;border-radius:24px;background:linear-gradient(120deg,#fff,#f7e9f1);margin-bottom:1.5rem;}
.professional-heading h1 {font-size:clamp(1.6rem,3vw,2.5rem);margin:.35rem 0;}
.professional-heading p {margin:.4rem 0;color:#80677b;}
.professional-avatar {width:100px;height:100px;flex:none;border-radius:24px;background:#71315d;color:#fff;display:grid;place-items:center;font-size:2rem;font-weight:700;overflow:hidden;}
.professional-avatar img {width:100%;height:100%;object-fit:cover;}
.professional-portfolio {margin-left:auto;white-space:nowrap;}
.professional-panel {padding:1.5rem;border:1px solid #eddee7;border-radius:18px;background:#fff;margin:1.25rem 0;}
.professional-panel h2,.professional-panel h3 {margin-top:0;}
.professional-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:1rem 0;}
.professional-metrics article {display:flex;flex-direction:column;gap:.6rem;border:1px solid #eddee7;border-radius:18px;padding:1.3rem;background:#fff;}
.professional-metrics i {color:#9a527f;font-size:1.3rem;}.professional-metrics strong{font-size:2rem;}.professional-metrics span{color:#80677b;}
.professional-period {display:flex;flex-wrap:wrap;align-items:flex-end;gap:1rem;}.professional-period .field{margin:0;}.professional-chart{height:320px;margin:1.5rem 0;}.professional-chart-totals{display:flex;gap:1.5rem;flex-wrap:wrap;margin:1rem 0;}.professional-error{display:block;color:#b32945;margin-top:1rem;}
.professional-profile-fields {display:grid;grid-template-columns:240px minmax(0,1fr);gap:2rem;}.professional-profile-fields input,.professional-profile-fields textarea{width:100%;}.professional-photo-field{display:flex;flex-direction:column;gap:1rem;padding:1.2rem;background:#fbf6f9;border-radius:16px;align-self:start;}
.professional-actions {display:flex;gap:.75rem;justify-content:flex-end;flex-wrap:wrap;margin-top:1.25rem;}.professional-schedules{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;}.professional-collaboration-heading{display:flex;justify-content:space-between;gap:1rem;margin-bottom:1rem;}.professional-off-day{display:flex;gap:.75rem;align-items:center;margin:.6rem 0;}
.personal-profile-card {border-radius:24px;background:#fff;border:1px solid #eedce7;max-width:900px;}.personal-professional-link{max-width:900px;margin:1rem auto;padding:1.5rem;border:1px solid #eedce7;border-radius:18px;background:#fbf6f9;display:flex;align-items:center;gap:1rem;justify-content:space-between;}.personal-professional-link>div{display:flex;gap:1rem;align-items:center;}.personal-professional-link p{color:#80677b;margin:.35rem 0;}
@media(max-width:950px){.professional-metrics{grid-template-columns:repeat(2,1fr);}.professional-schedules{grid-template-columns:1fr;}.professional-heading{flex-wrap:wrap;}.professional-portfolio{margin-left:0;}}
@media(max-width:650px){.professional-profile-fields{grid-template-columns:1fr;}.professional-heading,.professional-panel{padding:1rem;}.professional-avatar{width:72px;height:72px;}.professional-collaboration-heading,.personal-professional-link{flex-direction:column;align-items:flex-start;}.professional-period .field{width:100%;}}
.professional-photo-preview{position:relative;display:block;width:100%;aspect-ratio:1;padding:0;overflow:hidden;border:1px solid #eadce5;border-radius:14px;background:#f3e7ef;cursor:zoom-in;}
.professional-photo-preview img{width:100%;height:100%;object-fit:cover;display:block;}.professional-photo-preview [hidden]{display:none;}
.professional-photo-placeholder{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:.8rem;color:#75335f;}.professional-photo-placeholder>.pi{font-size:2.5rem;}
.professional-photo-zoom{position:absolute;right:.6rem;bottom:.6rem;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.9);color:#75335f;}
.professional-photo-field .ui-fileupload-filename{display:none;}.professional-photo-field small{line-height:1.5;}.professional-photo-field .ui-button,.professional-profile-fields+.professional-actions .ui-button{background:#6d315a;border-color:#6d315a;color:#fff;}
.professional-profile-fields>.professional-photo-field+div{display:flex;flex-direction:column;gap:.8rem;}
.professional-booking-panel .professional-period{padding:1rem;background:#fbf6f9;border:1px solid #f0e2eb;border-radius:14px;gap:1rem;}
.professional-period .field{width:220px;min-width:0;}.professional-period .field>label{display:block;margin-bottom:.45rem;}
.professional-period .ui-calendar{display:flex;width:100%;align-items:stretch;}.professional-period .ui-calendar input{flex:1;min-width:0;width:0;border-radius:6px 0 0 6px;}
.professional-period .ui-calendar .ui-datepicker-trigger{flex:0 0 44px;width:44px;position:relative;margin:0;border-radius:0 6px 6px 0;}
.professional-period>.ui-button{height:44px;background:#6d315a;border-color:#6d315a;}
.professional-booking-panel .professional-chart{height:260px;margin:1.25rem 0;min-width:0;}.professional-chart>div{height:100%;width:100%;}.professional-chart canvas{width:100%!important;height:100%!important;}
.professional-chart-totals{gap:.65rem;margin:1rem 0;}.professional-chart-totals>span{display:flex;align-items:center;gap:.5rem;padding:.6rem .85rem;border-radius:10px;background:#f7f3f6;font-size:.9rem;}.professional-chart-totals strong{font-size:1.05rem;}
.professional-chart-totals .professional-total-customers{background:#edf5fc;color:#316d9d;}.professional-chart-totals .professional-total-salon{background:#f6eaf1;color:#75335f;}
.professional-no-bookings{padding:.85rem 1rem;margin-bottom:1rem;border-radius:10px;background:#fbf6f9;color:#806c7c;}.professional-no-bookings .pi{margin-right:.5rem;}
.professional-booking-panel .workspace-table td,.professional-booking-panel .workspace-table th{padding:.75rem 1rem;}.professional-booking-panel .workspace-table th:not(:first-child),.professional-booking-panel .workspace-table td:not(:first-child){text-align:right;}
@media(max-width:650px){.professional-period .field{width:100%;}.professional-period>.ui-button{width:100%;}.professional-booking-panel .professional-chart{height:220px;}.professional-booking-panel .workspace-table .ui-datatable-tablewrapper{overflow-x:auto;}.professional-booking-panel .workspace-table table{min-width:550px;}}
/* Keep the date inputs and their apply action on the same baseline. */
.professional-booking-panel .professional-period .ui-calendar,
.professional-booking-panel .professional-period .ui-calendar input,
.professional-booking-panel .professional-period .ui-datepicker-trigger,
.professional-booking-panel .professional-period>.ui-button{box-sizing:border-box;height:44px;min-height:44px;max-height:44px;}
.professional-booking-panel .professional-period>.ui-button{margin:0;padding:0;border-radius:6px;align-self:flex-end;}
.professional-booking-panel .professional-period>.ui-button .ui-button-text{box-sizing:border-box;display:block;padding:0 1rem 0 2.5rem;line-height:42px;}
.professional-tab-nav{display:flex;gap:0;overflow-x:auto;border-bottom:1px solid #dce0e6;background:#fff;}.professional-tab-nav button{flex:0 0 auto;display:flex;align-items:center;gap:.5rem;padding:1rem;border:0;border-bottom:2px solid transparent;background:transparent;color:#6c7580;font:inherit;font-weight:700;cursor:pointer;}.professional-tab-nav button[aria-selected="true"]{color:#2196f3;border-bottom-color:#2196f3;}.professional-tab-nav button:focus-visible{outline:2px solid #6d315a;outline-offset:-4px;}.professional-tab-panel{padding:1.25rem;background:#fff;}.professional-tab-panel[hidden]{display:none;}.professional-no-collaborations{padding:1rem;color:#806c7c;}
.specialist-workspace .salon-category-list{display:flex;flex-wrap:wrap;gap:.5rem;}.specialist-workspace .salon-category-tag{display:inline-flex;padding:.3rem .65rem;border-radius:20px;background:#f5e8f0;color:#75335f;font-size:.85rem;}
@media(max-width:650px){.professional-tab-panel{padding:.75rem;}.professional-tab-nav button{padding:.85rem .75rem;}}
/* Specialist schedules: compact rows with consistently sized time controls. */
.professional-schedules{align-items:start;margin-top:1.5rem;}
.professional-schedules>.professional-panel{min-width:0;padding:1.25rem;}
.professional-schedules h3{margin:0 0 .4rem;font-size:1.1rem;}
.professional-schedules .salon-hint{margin:.4rem 0 1rem;font-size:.85rem;line-height:1.5;}
.professional-schedules .salon-week{display:flex;flex-direction:column;gap:0;}
.professional-schedules .salon-week-day{display:grid;grid-template-columns:minmax(115px,1fr) minmax(0,220px);align-items:center;gap:.75rem;padding:.65rem 0;border-bottom:1px solid #f0e5ec;}
.professional-schedules .salon-week-day:last-child{border-bottom:0;}
.professional-schedules .salon-week-label{min-width:0;}
.professional-schedules .ui-chkbox{display:inline-flex;align-items:center;gap:.6rem;margin:0;}
.professional-schedules .ui-chkbox-label{margin:0;line-height:1.4;font-size:.9rem;}
.professional-schedules .salon-hours{display:flex;align-items:center;gap:.5rem;min-width:0;}
.professional-schedules .salon-hours>span:not(.ui-calendar){color:#aa8a9e;}
.professional-schedules .salon-time-picker{flex:1;min-width:0;width:0;display:block;}
.professional-schedules .salon-time-picker input{box-sizing:border-box;width:100%;min-width:0;height:38px;padding:.45rem .4rem;text-align:center;border-radius:8px;font-size:.9rem;cursor:pointer;}
.professional-schedules .salon-time-picker input.ui-state-disabled{background:#f7f3f6;color:#aa9ba5;opacity:.65;cursor:default;}
.professional-schedules>.professional-panel>.ui-button{display:block;box-sizing:border-box;min-height:40px;margin:1rem 0 0 auto;background:#6d315a;border-color:#6d315a;border-radius:8px;color:#fff;}
.professional-schedules>.professional-panel>.ui-button .ui-button-text{color:inherit;}
@media(max-width:420px){.professional-schedules>.professional-panel{padding:1rem;}.professional-schedules .salon-week-day{grid-template-columns:1fr;gap:.4rem;padding:.75rem 0;}.professional-schedules .salon-hours{padding-left:1.85rem;}.professional-schedules>.professional-panel>.ui-button{width:100%;}}
.professional-schedules .professional-working-schedule .salon-week-day{grid-template-columns:minmax(100px,1fr) minmax(95px,.8fr) minmax(0,220px);gap:.6rem;}
.salon-location-hours-reference{font-size:.8rem;color:#806c7c;white-space:nowrap;}.salon-location-hours-label{display:block;font-size:.7rem;color:#a38999;margin-bottom:.15rem;}.salon-location-closed{color:#a38999;}
@media(max-width:1200px) and (min-width:951px){.professional-schedules .professional-working-schedule .salon-week-day{grid-template-columns:minmax(100px,1fr) minmax(0,180px);}.professional-working-schedule .salon-location-hours-reference{grid-column:2;text-align:right;}.professional-working-schedule .salon-hours{grid-column:1/-1;}}
@media(max-width:500px){.professional-schedules .professional-working-schedule .salon-week-day{grid-template-columns:1fr auto;}.professional-working-schedule .salon-hours{grid-column:1/-1;padding-left:1.85rem;}.professional-working-schedule .salon-location-hours-reference{text-align:right;}}
.service-discovery-toolbar{gap:1rem;flex-wrap:wrap;}.service-toolbar-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;}.service-view-switch{display:inline-flex;padding:.25rem;gap:.2rem;border:1px solid #eadce5;border-radius:10px;background:#fff;}
.service-discovery-toolbar .service-view-switch button{display:flex;align-items:center;gap:.4rem;padding:.55rem .75rem;border-radius:7px;text-decoration:none;font:inherit;font-size:.85rem;}
.service-view-switch button[aria-pressed="true"]{background:#6d315a;color:#fff;}.service-view-switch button:focus-visible{outline:2px solid #a94c7d;outline-offset:2px;}
.service-discovery-results[data-view="list"],.service-discovery-results[data-view="text"]{grid-template-columns:1fr;gap:.65rem;}
.service-discovery-results[data-view="list"] .service-discovery-card{display:grid;grid-template-columns:130px minmax(0,1fr) auto;align-items:center;gap:1.25rem;}
.service-discovery-results[data-view="list"] .service-photo-preview{width:130px;height:105px;margin:0;}
.service-discovery-results[data-view="list"] .service-photo-layer{height:calc(100% - 16px);}.service-discovery-results[data-view="list"] .service-photo-count{font-size:.7rem;}
.service-discovery-results[data-view="text"] .service-discovery-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;}
.service-discovery-results[data-view="text"] .service-photo-preview{display:none;}
.service-discovery-results[data-view="list"] .service-card-content p,.service-discovery-results[data-view="text"] .service-card-content p{margin:0;}
.service-discovery-results[data-view="grid"] .service-discovery-card{display:flex;flex-direction:column;}.service-discovery-results[data-view="grid"] .service-book-link{margin-top:auto;}
@media(max-width:600px){.service-discovery-results[data-view="list"] .service-discovery-card{grid-template-columns:85px minmax(0,1fr);gap:.85rem;}.service-discovery-results[data-view="list"] .service-photo-preview{width:85px;height:85px;grid-row:span 2;}.service-discovery-results[data-view="list"] .service-book-link{grid-column:2;}.service-discovery-results[data-view="text"] .service-discovery-card{grid-template-columns:1fr;gap:.5rem;}.service-view-switch button span{display:none;}}
.service-text-category{display:none;}.service-discovery-results[data-view="text"] .service-text-category:not([hidden]){display:block;margin-bottom:.4rem;color:#9a527f;font-size:.8rem;font-weight:600;}
.service-discovery-results[data-view="list"] .service-text-category:not([hidden]),
.service-discovery-results[data-view="text"] .service-text-category:not([hidden]){display:block;margin-bottom:.45rem;color:#9a527f;font-size:.95rem;font-weight:600;line-height:1.5;}
.service-discovery-results[data-view="list"] .service-card-content h3,
.service-discovery-results[data-view="text"] .service-card-content h3{font-size:1.2rem;line-height:1.4;margin-bottom:.5rem;}
.service-discovery-results[data-view="list"] .service-card-content p,
.service-discovery-results[data-view="text"] .service-card-content p{font-size:1.05rem;line-height:1.5;}
.service-discovery-results[data-view="list"] .service-book-link,
.service-discovery-results[data-view="text"] .service-book-link{font-size:1.05rem;line-height:1.5;}
.service-detail-layout>.specialist-profile-sidebar{align-content:start;align-items:start;grid-auto-rows:max-content;}.service-detail-layout .service-detail-faq p{margin-bottom:0;font-size:.95rem;line-height:1.5;}
.service-specialist-introduction{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;padding-bottom:1rem;margin-bottom:1rem;border-bottom:1px solid #f0e2eb;}.service-specialist-identity{display:flex;align-items:center;gap:.8rem;color:#271b25;text-decoration:none;}.service-specialist-identity h3{margin:0;font-size:1.15rem;}.service-specialist-initials{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#f5e8f0;color:#75335f;font-weight:700;flex-shrink:0;}.service-specialist-actions{display:flex;gap:.5rem;flex-wrap:wrap;}.service-specialist-actions .service-specialist-book{margin:0;}.service-specialist-works-title{margin:0 0 .8rem;font-size:1rem;color:#806c7c;}
.service-detail-hero .service-detail-description{margin-top:1.5rem;line-height:1.7;color:#665461;}.service-detail-description[hidden]{display:none;}
.service-specialist-initials img{width:100%;height:100%;aspect-ratio:1;object-fit:cover;border-radius:50%;background:transparent;}
.service-works-carousel{position:relative;}.service-works-track{display:flex;gap:.6rem;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;}.service-works-track::-webkit-scrollbar{display:none;}
.service-work-slide{flex:0 0 calc((100% - 1.2rem)/3);min-width:0;scroll-snap-align:start;border-radius:12px;overflow:hidden;}.service-work-slide img{width:100%;aspect-ratio:1;object-fit:cover;display:block;border-radius:12px;}
.service-works-arrow{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;display:grid;place-items:center;border:1px solid #eadce5;border-radius:50%;background:white;color:#9a527f;cursor:pointer;box-shadow:0 3px 12px #3c1e321a;}.service-works-arrow[hidden]{display:none;}.service-works-arrow.is-previous{left:-12px;}.service-works-arrow.is-next{right:-12px;}
@media(max-width:600px){.service-work-slide{flex-basis:calc((100% - .6rem)/2);}.service-specialist-introduction{gap:.75rem;}.service-specialist-actions{width:100%;}}
.bookings-page-subtitle{color:#806c7c;margin:-1rem 0 1.5rem;}.bookings-status-tabs{display:flex;overflow-x:auto;border-bottom:1px solid #eadce5;margin-bottom:1rem;}.bookings-status-tabs button{display:flex;align-items:center;gap:.65rem;white-space:nowrap;padding:1rem;border:0;border-bottom:2px solid transparent;background:transparent;color:#665461;font:inherit;cursor:pointer;}.bookings-status-tabs button[aria-pressed="true"]{color:#862554;border-bottom-color:#862554;font-weight:700;}
.bookings-filter-bar{display:flex;gap:.7rem;align-items:center;flex-wrap:wrap;margin:1rem 0;}.bookings-filter-bar select{padding:.75rem 1rem;border:1px solid #eadce5;border-radius:9px;background:#fff;color:#594552;font:inherit;}.bookings-sort{margin-left:auto;}
.bookings-visit-list{display:flex;flex-direction:column;gap:.75rem;}.bookings-visit-card{display:grid;grid-template-columns:150px minmax(200px,1.4fr) minmax(160px,1fr) 230px;gap:1.1rem;align-items:center;border:1px solid #eadce5;border-radius:14px;background:#fff;padding:1rem;}.bookings-visit-card[hidden]{display:none;}
.bookings-visit-image{height:145px;display:grid;place-items:center;overflow:hidden;border-radius:10px;background:#f7edf3;color:#aa618a;font-size:2.2rem;}.bookings-visit-image img{width:100%;height:100%;object-fit:cover;}
.bookings-visit-info h2{font-size:1.05rem;margin:.5rem 0 .3rem;}.bookings-visit-address{color:#806c7c;font-size:.85rem;margin:.3rem 0 .7rem;}.bookings-visit-badge{display:inline-flex;align-items:center;border-radius:20px;padding:.2rem .65rem;font-size:.8rem;background:#eeeaf0;color:#665461;}.status-PENDING_CONFIRMATION{background:#fff0db;color:#a26312;}.status-CONFIRMED{background:#e6f3e9;color:#267545;}.status-CANCELLED{background:#ffe8ed;color:#b32945;}
.bookings-visit-person{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.65rem;font-size:.8rem;color:#806c7c;}.bookings-visit-person>span{display:flex;align-items:center;gap:.4rem;}.bookings-visit-person img{width:30px;height:30px;object-fit:cover;border-radius:50%;}.bookings-visit-details{display:flex;flex-direction:column;gap:.9rem;padding-left:1rem;border-left:1px solid #f0e5ec;font-size:.9rem;}.bookings-visit-details>div{display:flex;gap:.8rem;align-items:center;}.bookings-visit-details .pi{color:#9a275f;font-size:1.1rem;}.bookings-visit-details strong{font-weight:500;}.bookings-visit-actions{display:flex;flex-direction:column;gap:.5rem;}.bookings-visit-actions .ui-button{width:100%;margin:0;border-radius:8px;font-size:.85rem;}.bookings-visit-actions .booking-confirm-action{background:#862554;border-color:#862554;color:#fff;}.bookings-filter-empty{padding:2rem;text-align:center;color:#806c7c;}
@media(max-width:1150px){.bookings-visit-card{grid-template-columns:110px minmax(0,1fr) minmax(150px,1fr);}.bookings-visit-image{height:120px;}.bookings-visit-actions{grid-column:2/-1;flex-direction:row;}.bookings-visit-actions .ui-button{width:auto;}.bookings-sort{margin-left:0;}}
@media(max-width:650px){.bookings-visit-card{grid-template-columns:80px minmax(0,1fr);gap:.75rem;}.bookings-visit-image{height:100px;}.bookings-visit-details{grid-column:1/-1;border-left:0;border-top:1px solid #f0e5ec;padding:.8rem 0 0;flex-direction:row;flex-wrap:wrap;}.bookings-visit-actions{grid-column:1/-1;flex-direction:column;}.bookings-visit-actions .ui-button{width:100%;}.bookings-filter-bar select{max-width:100%;}.bookings-page .page-heading.horizontal{flex-wrap:wrap;gap:1rem;}}
.booking-edit-dialog .ui-dialog-content{text-align:left;}.booking-edit-dialog .field{display:flex;flex-direction:column;gap:.45rem;margin-top:1rem;}.booking-edit-dialog .ui-calendar{display:flex;}.booking-edit-dialog .ui-calendar input{min-width:0;flex:1;}.booking-edit-dialog textarea,.booking-edit-dialog .ui-selectonemenu{width:100%!important;}.booking-edit-dialog .professional-actions{padding-top:1rem;border-top:1px solid #eadce5;}
.booking-edit-summary{padding:1rem;background:#fcf7fa;border:1px solid #eadce5;border-radius:14px;}.booking-edit-summary h3{margin:0 0 1rem;}.booking-edit-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:0;}.booking-edit-summary dt{font-size:.8rem;color:#806a79;margin-bottom:.25rem;}.booking-edit-summary dd{margin:0;font-weight:600;overflow-wrap:anywhere;}.booking-edit-summary dd span{display:block;font-weight:400;font-size:.9rem;margin-top:.2rem;}.booking-edit-summary-wide{grid-column:1/-1;}@media(max-width:480px){.booking-edit-summary dl{grid-template-columns:1fr;}}
.sidebar-salon-section { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #eadce5; }.sidebar-salon-section h2 { margin: 0 1rem .6rem; color: #9f527d; font-size: .85rem; font-weight: 700; }.sidebar-salon-section a span { overflow-wrap: anywhere; }
.booking-notification-preview{padding:.8rem 0;border-bottom:1px solid #eadce5;}.booking-notification-preview p{font-size:.85rem;line-height:1.5;}.booking-notification{margin:.8rem 0;padding:1.2rem;border:1px solid #eadce5;border-radius:12px;background:#fff;}.booking-notification.is-unread{border-left:4px solid #73305e;background:#fcf7fa;}
.professional-referral-qr{margin-left:auto;text-align:center;display:flex;flex-direction:column;align-items:center;gap:5px;padding:8px 12px;background:white;border:1px solid #eadce5;border-radius:12px}.professional-referral-qr img{display:block;width:132px;height:132px}.professional-referral-qr span{font-size:.8rem;color:#73305e}.professional-referral-qr small{font-size:.7rem;color:#87788a}.professional-collaboration-heading{align-items:center}@media(max-width:700px){.professional-collaboration-heading{flex-wrap:wrap}.professional-referral-qr{margin-left:0}}
@media(max-width:600px){
 .site-header{flex-wrap:wrap;align-items:center;gap:6px}
 .site-header>.explorer{display:none}
 .site-header .header-search{order:2;flex:0 0 100%;max-width:none;min-width:0}
 .site-header .header-search input{font-size:16px}
 .site-header .header-logo{width:80px}.site-header .header-logo img{width:78px}
 .site-header .header-actions{margin-left:auto;gap:4px;flex-shrink:0}
 .site-header .header-booking,.site-header .header-popover summary,.sidebar-open,.sidebar-close{width:44px;min-height:44px}
 .app-sidebar{width:min(270px,calc(100vw - 40px))}
 .page-content,.site-footer{width:calc(100% - 24px);min-width:0}
 .page-content{padding-top:1.25rem}
 input.ui-inputfield,textarea.ui-inputfield,.ui-selectonemenu-label{font-size:16px}
 .agenda-filters>div{width:100%}.agenda-filters .ui-selectonemenu{max-width:100%}
}
/* Professional profile heading: keep the identity and actions aligned at every width. */
.specialist-workspace .professional-heading{display:grid;grid-template-columns:100px minmax(0,1fr) auto;gap:22px;align-items:center}
.professional-heading-details{min-width:0}
.professional-heading-details h1{overflow-wrap:anywhere;line-height:1.15}
.professional-heading-details p{line-height:1.5}
.professional-avatar>span{display:block;width:100%;height:100%}
.professional-portfolio{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:0}
@media(max-width:950px){.specialist-workspace .professional-heading{grid-template-columns:80px minmax(0,1fr)}.specialist-workspace .professional-avatar{width:80px;height:80px}.professional-heading .professional-portfolio{grid-column:1/-1;justify-self:start}}
@media(max-width:650px){
 .specialist-workspace .professional-heading{grid-template-columns:64px minmax(0,1fr);padding:18px 16px;gap:14px;border-radius:18px;margin-bottom:18px;align-items:start}
 .specialist-workspace .professional-avatar{width:64px;height:64px;border-radius:16px;font-size:1.4rem}
 .professional-heading-details .eyebrow{font-size:.6rem;letter-spacing:.1em;margin:0 0 5px}
 .professional-heading-details h1{font-size:1.35rem;margin:0 0 6px;line-height:1.2}
 .professional-heading-details p:not(.eyebrow){font-size:.82rem;margin:0;color:#887184}
 .professional-heading .professional-portfolio{justify-self:stretch;width:100%;border-radius:12px;font-size:.9rem}
 .professional-tab-nav{overflow-x:auto;flex-wrap:nowrap;max-width:100%;-webkit-overflow-scrolling:touch}
 .professional-tab-nav>button{flex:0 0 auto;max-width:260px;white-space:normal;text-align:left;line-height:1.35}
}
/* Public specialist header keeps the same layout before and after sharing. */
.specialist-profile-page .specialist-public-header{display:grid;grid-template-columns:140px minmax(0,1fr) minmax(170px,230px);align-items:start;gap:24px}
.specialist-public-photo{display:block;width:100%;min-width:0;line-height:0}
.specialist-public-photo img{display:block;max-width:100%}
.specialist-profile-page .specialist-public-details h1{overflow-wrap:anywhere;line-height:1.2}
.specialist-profile-actions{display:grid;grid-template-columns:minmax(0,1fr) 44px;width:100%;min-width:0;gap:10px}
.specialist-profile-actions>form{min-width:0}
.specialist-profile-actions .specialist-outline-button{width:100%;min-height:44px;gap:8px;padding:10px 12px}
.specialist-profile-actions .specialist-share{width:44px;height:44px;padding:0}
.specialist-share-status{grid-column:1/-1;min-height:1.4em;line-height:1.4;overflow-wrap:anywhere}
@media(max-width:1100px){.specialist-profile-page .specialist-public-header{grid-template-columns:110px minmax(0,1fr)}.specialist-profile-actions{grid-column:1/-1;max-width:300px;justify-self:end}}
@media(max-width:550px){
 .specialist-profile-page .specialist-public-header{grid-template-columns:72px minmax(0,1fr);gap:12px;padding:16px;border-radius:18px}
 .specialist-profile-page .specialist-public-avatar{width:72px;height:72px}
 .specialist-public-header>.specialist-public-photo,.specialist-public-header>.specialist-avatar-placeholder{grid-column:1;grid-row:1/3}
 .specialist-profile-page .specialist-public-details{display:contents}
 .specialist-profile-page .specialist-public-details h1{grid-column:2;grid-row:1;margin:0;align-self:end;font-size:1.3rem}
 .specialist-profile-page .specialist-public-specialties{grid-column:2;grid-row:2;margin:0;align-self:start;font-size:.8rem;overflow-wrap:anywhere}
 .specialist-profile-stats{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:6px 0 0;padding:12px 0;border-top:1px solid #eee5eb;border-bottom:1px solid #eee5eb}
 .specialist-profile-stat{min-width:0;gap:7px;align-items:flex-start}
 .specialist-profile-stat>i{font-size:1rem}
 .specialist-profile-stat strong{font-size:1rem}.specialist-profile-stat small{font-size:.7rem;overflow-wrap:anywhere}
 .specialist-profile-actions{grid-column:1/-1;max-width:none;justify-self:stretch}
 .specialist-share-status{font-size:.75rem}
}

.login-social-buttons { display:grid; gap:10px; margin-bottom:16px; }
.login-social-button { display:flex; justify-content:center; align-items:center; gap:12px; min-height:48px; padding:10px 16px; border:1px solid #dcc5d5; border-radius:12px; background:white; color:#71315f; font-weight:600; text-decoration:none; }
.login-social-button:hover { background:#faf2f7; }
.login-social-button:disabled { cursor:not-allowed; color:#877585; background:#f9f6f8; }
.login-social-hint { color:#877585; font-size:.85rem; text-align:center; margin:0 0 16px; }
.login-social-divider { text-align:center; color:#877585; font-size:.9rem; margin:16px 0; }

/* Salon directory: locations and map stay together on desktop. */
.discovery-filters { grid-template-columns:minmax(220px,1.3fr) minmax(170px,.85fr) minmax(230px,1fr) auto; gap:14px; }
.discovery-filters input,.discovery-filters select,.discovery-filters .nearby-button { min-height:52px; width:100%; }
.salon-discovery-layout { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr); gap:24px; align-items:start; margin:24px 0 48px; }
.salon-list-panel { min-width:0; }
.salon-list-panel .results-toolbar { min-height:40px; gap:10px; flex-wrap:wrap; }
.salon-sort { margin-left:auto; }.salon-sort select { min-height:38px; max-width:170px; border:1px solid #eadce5; border-radius:10px; padding:0 12px; background:white; color:#372332; font:inherit; font-size:.85rem; }
.salon-list-panel .view-switch button { padding:0 10px; font-size:.75rem; }
.salon-discovery-layout .salon-result-card { grid-template-columns:64px minmax(0,1fr) auto 42px; gap:12px; padding:20px 16px; min-height:132px; }
.salon-discovery-layout .salon-result-avatar { width:64px; height:64px; font-size:1.3rem; overflow:hidden; }
.salon-result-avatar img { width:100%; height:100%; object-fit:contain; background:white; }
.salon-result-card h2 a { color:inherit; text-decoration:none; }
.salon-result-card.selected { border-color:#8b2865; background:#fff9fc; }
.salon-discovery-layout .salon-result-card h2 { font-size:1.1rem; line-height:1.3; }
.salon-discovery-layout .salon-result-card p { font-size:.9rem; line-height:1.5; }
.salon-discovery-layout .salon-result-action { padding:.7rem .9rem; font-size:.8rem; }
.salon-result-map-button { display:grid; place-items:center; height:42px; width:42px; border:1px solid #ead2e1; background:white; border-radius:12px; color:#7d285d; cursor:pointer; font-size:1.2rem; }
.salon-map-panel { position:sticky; top:20px; border-radius:20px; overflow:hidden; margin-top:51px; background:#f7f1f5; }
.salon-map { height:710px; min-height:560px; border-radius:20px; }
.map-area-button { position:absolute; z-index:2; top:16px; left:16px; border:1px solid #decbd6; border-radius:999px; background:white; padding:12px 18px; color:#792b5e; font:inherit; font-size:.85rem; font-weight:700; box-shadow:0 4px 16px #40233715; cursor:pointer; }
.salon-map-panel .discovery-empty { position:absolute; inset:0; display:grid; place-content:center; margin:0; background:#f7f1f5; }.salon-map-panel .discovery-empty[hidden] { display:none; }
.salon-discovery-layout[data-view="map"] { grid-template-columns:1fr; }.salon-discovery-layout[data-view="map"] .salon-results { display:none; }.salon-discovery-layout[data-view="map"] .salon-map-panel { margin-top:0; }
@media(min-width:851px) and (max-width:1250px) { .salon-discovery-layout .salon-result-card { grid-template-columns:56px minmax(0,1fr) 42px; }.salon-discovery-layout .salon-result-action { grid-column:2; grid-row:2; justify-self:start; }.salon-result-map-button { grid-column:3; grid-row:1 / span 2; }.discovery-filters { grid-template-columns:1fr 1fr; }.discovery-filters .nearby-button { grid-column:auto; } }
@media(max-width:850px) { .salon-discovery-layout { grid-template-columns:1fr; }.salon-discovery-layout[data-view="list"] .salon-map-panel { display:none; }.salon-map-panel { position:relative; top:auto; margin-top:0; }.discovery-filters { grid-template-columns:1fr 1fr; }.discovery-filters .nearby-button { grid-column:auto; }.salon-map { height:520px; min-height:400px; } }
@media(max-width:560px) { .discovery-filters { grid-template-columns:1fr; }.salon-discovery-layout .salon-result-card { grid-template-columns:54px minmax(0,1fr) 42px; gap:10px; padding:16px 12px; }.salon-discovery-layout .salon-result-avatar { width:54px; height:54px; }.salon-discovery-layout .salon-result-action { grid-column:2; justify-self:start; }.salon-result-map-button { grid-column:3; grid-row:1 / span 2; }.salon-sort { margin-left:0; }.salon-list-panel .results-toolbar { justify-content:space-between; }.salon-map { height:480px; } }

/* Public salon profile */
#service-discovery.service-discovery { max-width:1440px; margin:16px auto 48px; background:transparent; border:0; box-shadow:none; }
.salon-public-breadcrumb { display:flex; gap:12px; padding:0 0 16px; color:#71315f; font-size:.9rem; }.salon-public-breadcrumb a { color:inherit; text-decoration:none; }
#service-discovery .salon-public-cover { height:220px; border-radius:18px 18px 0 0; }
#service-discovery .salon-public-identity { display:grid; grid-template-columns:116px minmax(0,1fr) auto; gap:24px; align-items:center; text-align:left; min-height:116px; padding:0 30px 20px; background:#fff; border-radius:0 0 18px 18px; box-shadow:0 8px 24px #60264308; }
#service-discovery .salon-public-avatar { width:116px; height:116px; margin:-24px 0 0; border-width:5px; }
#service-discovery .salon-public-identity h1 { font-size:clamp(1.4rem,2.5vw,2rem); margin:0 0 8px; }
.salon-public-meta { display:flex; gap:20px; flex-wrap:wrap; align-items:center; }.salon-public-meta p { margin:0; }
.salon-show-map { display:inline-flex; gap:8px; align-items:center; padding:14px 20px; border:1px solid #e5c9db; border-radius:999px; text-decoration:none; color:#792b5e; font-weight:700; white-space:nowrap; }
#service-discovery .salon-public-content { padding:0; }.salon-public-tabs { display:flex; gap:12px; overflow-x:auto; border-bottom:1px solid #eadce5; margin:6px 0 20px; }
.salon-public-tabs button { padding:18px 28px 14px; border:0; border-bottom:3px solid transparent; background:transparent; color:#362737; font:inherit; white-space:nowrap; cursor:pointer; }.salon-public-tabs button[aria-selected="true"] { border-bottom-color:#792b5e; color:#792b5e; font-weight:700; }
.salon-services-layout { display:grid; grid-template-columns:270px minmax(0,1fr); gap:30px; align-items:start; }.salon-services-layout[hidden],.salon-secondary-panel[hidden] { display:none; }
.salon-service-sidebar { padding:18px 20px; background:white; border:1px solid #eee1e8; border-radius:16px; position:sticky; top:20px; }.salon-service-sidebar>h2 { margin:0 0 10px; font-size:1rem; }
#service-discovery .salon-service-sidebar .service-root-categories { display:grid; gap:4px; margin:0; border:0; padding:0 0 18px; }.salon-service-sidebar .service-root-categories button { text-align:left; border:0; border-radius:10px; padding:9px 10px; color:#766477; }.salon-service-sidebar .service-root-categories button.is-active { background:#f7eaf1; color:#792b5e; font-weight:700; }
#service-discovery .salon-service-sidebar .service-discovery-filters { display:grid; grid-template-columns:1fr; gap:16px; border-top:1px solid #efe1e9; padding-top:16px; }.salon-service-sidebar .service-filter-group h2 { font-size:.95rem; margin:0 0 8px; }.salon-service-sidebar .service-filter-options { gap:6px; }.salon-service-sidebar .service-filter-chip { padding:6px 12px; font-size:.85rem; }
.salon-reset-filters { display:flex; gap:8px; align-items:center; margin-top:20px; border:0; background:transparent; padding:0; font:inherit; color:#792b5e; cursor:pointer; }
#service-discovery .service-discovery-toolbar { margin:0 0 18px; gap:16px; }.service-discovery-toolbar h2 { margin:0 0 4px; font-size:1.85rem; }.service-discovery-toolbar #service-results-count { margin:0; color:#897688; font-size:.9rem; }.salon-services-main { min-width:0; }
.salon-service-search { display:flex; align-items:center; gap:10px; padding:0 14px; border:1px solid #ddcfd6; border-radius:8px; background:white; color:#aa85a0; }.salon-service-search input { height:46px; width:220px; max-width:100%; border:0; outline:none; background:transparent; font:inherit; font-size:.95rem; }
#service-discovery .service-view-switch button { height:44px; min-width:44px; color:#792b5e; text-decoration:none; }.service-view-switch button[aria-pressed="true"] { background:#792b5e; color:white !important; }.service-view-switch button span { display:none; }
.salon-service-group-heading { grid-column:1/-1; border-radius:10px; background:#f5eaf0; padding:12px 16px; margin:8px 0 0; font-size:1.1rem; color:#792b5e; }.service-discovery-results[data-view="grid"] .salon-service-group-heading { display:none; }
#service-discovery .service-discovery-results[data-view="list"] .service-discovery-card { grid-template-columns:160px minmax(0,1fr) auto auto; gap:20px; padding:10px 20px; border-radius:14px; }
#service-discovery .service-discovery-results[data-view="list"] .service-photo-preview { width:160px; height:82px; margin:0; border-radius:10px; overflow:hidden; }.service-discovery-results[data-view="list"] .service-photo-layer { width:100%; height:100%; border:0; border-radius:10px; box-shadow:none; }.service-discovery-results[data-view="list"] .service-photo-layer:not(.layer-0),.service-discovery-results[data-view="list"] .service-photo-count { display:none; }
#service-discovery .service-discovery-results[data-view="text"] .service-discovery-card { grid-template-columns:minmax(0,1fr) auto auto; padding:16px 20px; }
#service-discovery .service-card-content h3 { margin:0 0 5px; font-size:1.15rem; }.service-card-content h3 a { text-decoration:none; color:#251a2d; }#service-discovery .service-card-content .service-text-category { font-size:.9rem; line-height:1.4; margin:0 0 5px; color:#8a788b; font-weight:400; }.salon-service-duration { color:#8a788b; font-size:.9rem !important; }.salon-service-duration::before { content:'◷'; margin-right:6px; }
.salon-service-price { font-size:1.2rem; white-space:nowrap; color:#251a2d; }#service-discovery .service-book-link { display:inline-flex; justify-content:center; align-items:center; padding:13px 22px; min-width:130px; border-radius:12px; background:#792b5e; color:white; text-decoration:none; font-size:.9rem; font-weight:700; }
.service-discovery-results[data-view="grid"] .salon-service-price { margin:12px 0; }.salon-price-note { display:flex; gap:8px; color:#8a788b; font-size:.85rem; margin:16px 4px; }
.salon-secondary-panel { padding:24px; background:white; border:1px solid #eee1e8; border-radius:16px; }.salon-secondary-panel h2 { margin:0 0 20px; }.salon-specialists-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:18px; }.salon-specialist-link { display:flex; align-items:center; gap:16px; padding:16px; border:1px solid #eee1e8; border-radius:14px; color:#362737; text-decoration:none; }.salon-specialist-link img { width:64px; height:64px; border-radius:50%; object-fit:cover; }.salon-works-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:16px; }.salon-works-list img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:14px; }#salon-about-description { white-space:pre-line; line-height:1.7; }
@media(max-width:1100px) { .salon-services-layout { grid-template-columns:220px minmax(0,1fr); gap:20px; }#service-discovery .service-discovery-results[data-view="list"] .service-discovery-card { grid-template-columns:105px minmax(0,1fr) auto; gap:12px; }#service-discovery .service-discovery-results[data-view="list"] .service-photo-preview { width:105px; grid-row:span 2; }#service-discovery .service-discovery-results[data-view="list"] .service-book-link { grid-column:2/-1; justify-self:end; }.salon-service-search input { width:180px; } }
@media(max-width:750px) { #service-discovery .salon-public-cover { height:180px; }#service-discovery .salon-public-identity { grid-template-columns:76px minmax(0,1fr); gap:14px; padding:0 16px 18px; }#service-discovery .salon-public-avatar { width:76px; height:76px; margin-top:-20px; }.salon-public-meta { gap:10px; }.salon-show-map { grid-column:2; justify-self:start; padding:10px 14px; }.salon-public-tabs button { padding:16px; }.salon-services-layout { grid-template-columns:1fr; }.salon-service-sidebar { position:static; padding:16px; }#service-discovery .salon-service-sidebar .service-root-categories { display:flex; flex-wrap:wrap; }#service-discovery .salon-service-sidebar .service-discovery-filters { grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); }.salon-service-search { width:100%; }.salon-service-search input { width:100%; }.service-toolbar-actions { width:100%; }.salon-service-search { flex:1; } }
@media(max-width:480px) { #service-discovery .service-discovery-results[data-view="list"] .service-discovery-card { grid-template-columns:80px minmax(0,1fr); padding:12px; }#service-discovery .service-discovery-results[data-view="list"] .service-photo-preview { width:80px; height:80px; }#service-discovery .service-discovery-results[data-view="list"] .salon-service-price { grid-column:2; }#service-discovery .service-discovery-results[data-view="list"] .service-book-link { grid-column:1/-1; justify-self:stretch; }#service-discovery .service-discovery-results[data-view="text"] .service-discovery-card { grid-template-columns:minmax(0,1fr) auto; gap:10px; }#service-discovery .service-discovery-results[data-view="text"] .service-book-link { grid-column:1/-1; }.salon-public-identity h1 { overflow-wrap:anywhere; } }

.salon-show-map[hidden], #salon-instant-confirmation[hidden] { display:none; }

/* One rounded surface per service category in list and text views. */
#service-discovery .service-discovery-results[data-view="list"],
#service-discovery .service-discovery-results[data-view="text"] { gap:16px; }
#service-discovery .service-discovery-results:not([data-view="grid"]) .salon-service-group { border:1px solid #eadce5; border-radius:14px; overflow:hidden; background:#fffafd; }
#service-discovery .service-discovery-results:not([data-view="grid"]) .salon-service-group-heading { margin:0; border-radius:0; border:0; padding:12px 18px; background:#f5eaf0; }
#service-discovery .service-discovery-results:not([data-view="grid"]) .salon-service-group .service-discovery-card { margin:0; border:0; border-top:1px solid #eee3e9; border-radius:0; background:linear-gradient(100deg,#fff 0%,#fffafd 100%); box-shadow:none; }
#service-discovery .service-discovery-results:not([data-view="grid"]) .salon-service-group .service-discovery-card:hover { background:#fcf4f8; }
#service-discovery .service-discovery-results[data-view="grid"] .salon-service-group { display:contents; }

.service-preview-editor { padding:16px; border:1px solid #eadce5; border-radius:14px; background:#fcf7fa; }
.service-preview-editor h3 { margin:0 0 8px; font-size:1rem; }.service-preview-editor p,.service-preview-editor small { color:#877585; font-size:.85rem; }.service-preview-editor small { display:block; margin-top:8px; }
.service-preview-editor-image { display:block; width:200px; max-width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:10px; margin-bottom:12px; }
.service-preview-editor .ui-button { margin:4px 8px 4px 0; }

.site-header .header-search { flex:1 1 320px; max-width:440px; min-width:150px; margin-right:auto; }
.site-header .header-search input { text-indent:0; }
.header-salons { white-space:nowrap; text-decoration:none; color:#8c5b76; font-weight:700; }
.header-login { display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; border:1px solid #e8d5df; border-radius:50%; background:white; color:#792b5e; text-decoration:none; font-size:1.2rem; }
.header-login:hover { background:#f7eaf1; }.header-login:focus-visible { outline:2px solid #792b5e; outline-offset:3px; }
@media(max-width:600px) { .site-header .header-search { flex:1 1 100%; width:100%; max-width:none; min-width:0; margin:0; }.header-login { width:44px; height:44px; } }
