/* Photographer public profile — moved from view.html */
.thumbnail-item {
    border: 2px solid #fff;
}

.coupon-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
    background-color: #fff;
    border: 2px solid rgba(75, 86, 99, 1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.unavailable-coupon {
    border-color: rgba(193, 193, 193, 1);
    cursor: not-allowed;
}

.unavailable-coupon h3,
.unavailable-coupon p {
    color: rgba(193, 193, 193, 1);
}

.active-coupon {
    border-color: rgba(219, 4, 4, 1);
    background-color: rgba(255, 238, 238, 1);
    cursor: pointer;
}

.active-coupon h3 {
    color: rgba(219, 4, 4, 1);
}

.review-item:not(:nth-last-of-type) {
    border-bottom: 1px solid rgba(225, 229, 234, 1);
}

.masonry-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    border: 1px solid rgba(209, 213, 219, 0.8);
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
}

#lightbox-image {
    transition: transform 180ms ease;
    touch-action: pan-y;
}

.requested-date-item {
    transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.requested-date-item--highlight {
    box-shadow: 0 0 0 2px #fb923c;
    transform: scale(1.01);
}

.gallery-frame {
    width: 100%;
    overflow-x: scroll;
    /* enable horizontal scrolling */
    scroll-behavior: smooth;
    white-space: nowrap;
    overflow-y: hidden;
    user-select: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.gallery-outer {
    min-height: 400px;
    height: 450px;
    width: 1000vw;
}

.gallery-body {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 8px;
    height: 100%;
    width: 100%;
}

.gallery-long-1 {
    height: 100%;
    border-radius: 5px;
    width: 300px;
}

.gallery-grid-shell {
    width: 625px;
    height: calc(100% - 8px);
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 50% 50%;
    gap: 8px;
    flex-shrink: 0;
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    opacity: 1;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.5s;
    flex-shrink: 0;
}

.grid-item {
    border-radius: 5px;
    flex-shrink: 0;
}

.gallery-item:hover {
    transform: scale(1.01);
    transition: transform 0.2s ease;
}

.gallery-flipbook {
    width: 100vw;
    max-height: 40vh;
    min-height: 40vh;
    height: 40vh;
    touch-action: pan-y;
    overflow-y: hidden;
    overflow-x: hidden;
    position: relative;
}

.gallery-sliding-window {
    width: 300%;
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    will-change: transform;
    transition: transform 0.35s ease;
    justify-content: flex-start;
    user-select: none;
}

.gallery-image-counter {
    position: absolute;
    display: flex;
    bottom: 0;
    right: 0;
    margin-right: 20px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.65);
    border-style: solid;
    border-width: 1px;
    width: 39px;
    height: 17px;
    white-space: nowrap;
    text-align: center;
    align-items: center;
    justify-content: center;
    line-height: 140%;
    border-color: white;
    padding: 2px 10px 2px 10px;
    border-radius: 20px;
    z-index: 49;
}

.gallery-image-counter-text {
    font-size: 8px;
    font-weight: bold;
    text-align: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.gallery-back-btn {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 20px;
    margin-top: 15px;
    width: 37px;
    height: 37px;
    z-index: 49;
}

.gallery-fav-btn {
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 20px;
    margin-top: 15px;
    width: 37px;
    height: 37px;
    z-index: 49;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.gallery-share-btn {
    position: absolute;
    top: 0;
    right: 58px;
    margin-top: 15px;
    margin-right: 20px;
    width: 37px;
    height: 37px;
    z-index: 49;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

/* Match new_exit.svg circle (white 65% + white stroke) — heart/share SVGs have no baked-in circle */
#mobile-gallery-flipbook .gallery-fav-btn,
#mobile-gallery-flipbook .gallery-share-btn {
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.65);
    border: 1px solid #fff;
    appearance: none;
    -webkit-appearance: none;
}

/* Figma: share ~25×29px, heart 29×27.74px in 60×60; mobile gallery circles 37px — scale proportionally */
.gallery-share-btn img,
.gallery-fav-btn img {
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.gallery-share-btn img {
    width: calc(25px * 37 / 60);
    height: calc(29px * 37 / 60);
}

.gallery-fav-btn img {
    width: calc(29px * 37 / 60);
    height: calc(27.74px * 37 / 60);
}

.round-btn {
    border-radius: 50%;
    background-color: #FAF5EC;
    border: none;
    width: 37px;
    height: 37px;
}

.hidden {
    display: none;
}

/* Sits below fixed site header (#navbar-container, h-16) so the SnapMate bar stays visible */
#desktop-portfolio-view {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    overflow: hidden;
    z-index: 100;
}

/* Mobile portfolio: below site header, body is scroll-locked, gallery list scrolls in #mobile-portfolio-view-body */
#mobile-portfolio-view {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    overflow: hidden;
    z-index: 100;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

#mobile-portfolio-view > div:first-child {
    flex-shrink: 0;
}

#mobile-portfolio-view-body {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    width: 90%;
    margin: 0 auto;
    box-sizing: border-box;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#mobile-portfolio-view-body::-webkit-scrollbar {
    display: none;
}

#mobile-portfolio-view.hidden {
    display: none;
}

.gallery-frame::-webkit-scrollbar {
    display: none;
}

.heading {
    font-family: 'Cormorant', serif;
    font-size: 20px;
    font-weight: 700;
    user-select: none;
}

.center-flex {
    display: flex;
    justify-content: center;
}

.review-heart {
    width: 9px;
    height: 8.36px;
    border-radius: 2px;
    color: #000000;
}

.review-heart-pc {
    width: 11px;
    height: 10.2px;
    border-radius: 2px;
    color: #000000;
}

.review-heart-pc-1 {
    width: 22px;
    border-radius: 2px;
}

.review-heart-pc-2 {
    width: 20%;
    max-width: 13px;
    border-radius: 2px;
}

.review-heart-mobile-1 {
    width: 10px;
    border-radius: 2px;
}

.mobile-review-meat {
    height: auto;
    margin-top: 5px;
    width: 100%;
    text-align: left;
    overflow: hidden;
}

.mobile-review-meat div {
    font-size: 15px;
    font-weight: 700;
}

.mobile-review-meat p {
    font-weight: 700;
    font-size: 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    margin: 0;
}

.profile-badge {
    width: 55px;
    height: 60px;
}


#new-mobile {
    /* Category tags column (badges / bio use :has() overrides below). */
    --mobile-profile-content-inline: clamp(22px, 8.21vw, 40px);
    /* Badges — ~29px / 28px at ~402px; scales with viewport. */
    --mobile-profile-badges-inline-left: clamp(18px, 7.21vw, 29px);
    --mobile-profile-badges-inline-right: clamp(16px, 6.97vw, 28px);
    --mobile-profile-badges-row-gap: clamp(6px, 2.49vw, 10px);
    /* Bio — ~40px / 39px at ~402px; scales with viewport. */
    --mobile-profile-description-inline-left: clamp(22px, 9.95vw, 40px);
    --mobile-profile-description-inline-right: clamp(20px, 9.70vw, 39px);
    --mobile-gutter-portfolio: clamp(18px, 5.97vw, 28px);
}

/* Ribbons: full-width row; space-between + max-width mimics justified text (one asset toward each margin). Shell must stay block (not .center-flex). */
#new-mobile #profile-badges {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: var(--mobile-profile-badges-row-gap);
}

#new-mobile #profile-badges .profile-badge {
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(50% - var(--mobile-profile-badges-row-gap) / 2);
    width: auto;
    height: auto;
    aspect-ratio: 196 / 41;
    object-fit: fill;
}

.profile-badge-pc {
    width: 60px;
    height: 65px;
}

/* Row1: photo | name. Row2: badges | divider | tags. Fluid from ~1728px Figma baseline. */
.desktop-profile-header-grid {
    display: grid;
    grid-template-columns: clamp(88px, 8.044vw, 139px) 1fr;
    column-gap: clamp(12px, 1.157vw, 20px);
    row-gap: clamp(10px, 0.984vw, 17px);
    align-items: center;
    margin-bottom: clamp(14px, 1.302vw, 22px);
}


#new-desktop .desktop-sb-main > .desktop-profile-header-grid {
    margin-top: clamp(6px, 0.556vw, 10px);
}

#new-desktop .desktop-profile-description {
    font-weight: 400;
    font-size: clamp(15px, 1.157vw, 20px);
    text-align: left;
    margin: 0;
}

.desktop-profile-header-grid__avatar {
    width: 100%;
    max-width: 139px;
    aspect-ratio: 1;
    height: auto;
    border-radius: 100%;
    object-fit: cover;
    display: block;
    align-self: end;
}


.desktop-profile-header-grid__name-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(10px, 0.926vw, 16px);
    min-width: 0;
}

.desktop-profile-header-grid__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 0.579vw, 10px);
    flex-shrink: 0;
}

.desktop-profile-header-grid__actions .round-btn {
    width: clamp(44px, 3.472vw, 60px);
    height: clamp(44px, 3.472vw, 60px);
    flex-shrink: 0;
    padding: 0;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.desktop-profile-header-grid__actions .round-btn img {
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.desktop-profile-header-grid__actions .round-btn:first-child img {
    width: clamp(18px, 1.447vw, 25px);
    height: clamp(22px, 1.678vw, 29px);
}

.desktop-profile-header-grid__actions .round-btn:last-child img {
    width: clamp(22px, 1.678vw, 29px);
    height: clamp(20px, 1.606vw, 27.74px);
}

.desktop-profile-header-grid__name-row .profile-main-name {
    margin: 0 0 clamp(4px, 0.347vw, 6px) 0;
    line-height: 1.1;
    font-size: clamp(28px, 2.894vw, 50px);
}

.desktop-profile-header-grid__name-row .profile-main-location {
    margin: 0;
    line-height: 1.25;
    font-size: clamp(14px, 1.447vw, 25px);
}

.desktop-profile-header-row2 {
    grid-column: 1 / -1;
    align-self: start;
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.315vw, 40px);
    min-width: 0;
}

.desktop-profile-badges-with-rule {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(20px, 2.315vw, 40px);
    flex-shrink: 0;
}

.desktop-badges-stack {
    display: flex;
    flex-direction: column;
    gap: clamp(6px, 0.463vw, 8px);
    align-items: flex-start;
    justify-content: center;
    flex: 0 0 auto;
    width: max-content;
    max-width: min(320px, 50vw);
    align-self: center;
}


.desktop-badges-stack .profile-badge-pc {

    --desktop-badge-w: min(280px, min(380px, 50vw));
    width: var(--desktop-badge-w);
    aspect-ratio: 196 / 41;
    height: auto;
    max-width: min(380px, 50vw);
    display: block;
    object-fit: fill;
    flex-shrink: 0;
}

.desktop-profile-badges-tags__divider {
    width: 2px;
    height: clamp(48px, 3.993vw, 69px);
    flex-shrink: 0;
    background-color: #C0C0C0;
}


.category-tags-seed {
    display: none !important;
}

/* Two rows of pills; one horizontal scroll moves both rows together (desktop + mobile). */
.desktop-category-tags,
.mobile-category-tags {
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.desktop-category-tags {
    flex: 1;
}

.mobile-category-tags {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}


#new-mobile #profile-description {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    overflow-wrap: break-word;
    word-break: break-word;
}

.desktop-category-tags::-webkit-scrollbar,
.mobile-category-tags::-webkit-scrollbar {
    display: none;
}

.desktop-category-tags-inner,
.mobile-category-tags-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: max-content;
    max-width: none;
    padding-right: 40px;
    box-sizing: content-box;
}


/* Profile column shell: block layout (overrides .center-flex on badges). Default padding = category tags; badges/bio use :has() insets above. */
#new-mobile .mobile-profile-gutter-shell {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: var(--mobile-profile-content-inline);
    padding-right: var(--mobile-profile-content-inline);
}

#new-mobile .mobile-profile-gutter-shell:has(> #profile-badges) {
    padding-left: var(--mobile-profile-badges-inline-left);
    padding-right: var(--mobile-profile-badges-inline-right);
}

#new-mobile .mobile-profile-gutter-shell:has(> #profile-description) {
    padding-left: var(--mobile-profile-description-inline-left);
    padding-right: var(--mobile-profile-description-inline-right);
}

#new-mobile .mobile-profile-gutter-shell .mobile-category-tags {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100%;
}

#new-mobile .mobile-category-tags-inner {
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

.desktop-category-tags-inner {
    gap: clamp(8px, 0.579vw, 10px);
    padding-right: clamp(24px, 2.315vw, 40px);
}

.desktop-category-tags-row,
.mobile-category-tags-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    width: max-content;
}

.desktop-category-tags-row {
    gap: clamp(8px, 0.579vw, 10px);
}

.desktop-category-tags-row .profile-category-badge-pc,
.mobile-category-tags-row .profile-category-badge {
    flex: 0 0 auto;
}

.profile-category-badge {
    border-radius: 20px;
    background-color: #F9DCB5;
    font-weight: 700;
    font-size: 11px;
    text-align: center;
    color: #884D00;
    padding: 6px 10px 6px 10px;
    min-width: 40px;
}

.profile-category-badge-pc {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background-color: #F9DCB5;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.25;
    text-align: center;
    color: #884D00;
    padding: 10px 18px;
    min-width: 0;
}

.desktop-category-tags-row .profile-category-badge-pc {
    font-size: clamp(14px, 1.042vw, 18px);
    padding: clamp(8px, 0.579vw, 10px) clamp(14px, 1.042vw, 18px);
}

.desktop-sb-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    user-select: none;
    width: 95%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
}

/* Outer wrapper is block; flex row lives in #desktop-sticky-region so StickySidebar’s container height ends with the meet-photographer row (not trailing <br>s). */
#new-desktop .desktop-sb-wrapper {
    display: block;
    width: 100%;
}


#new-desktop .desktop-sticky-region {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    user-select: none;
}

.desktop-sb-sidebar {
    align-self: flex-start;
    flex: 0 1 auto;
    min-width: 0;
    position: relative;
}


/* Price card stays right of main; exact right inset vs. hero is set in JS (hero is centered and narrower than the row). */
#new-desktop .desktop-sb-sidebar {
    margin-left: auto;
    margin-right: 0;
}

/* Hint compositing for StickySidebar’s inner (position/transform updates each scroll). */
#new-desktop .desktop-sb-sidebar.is-affixed .desktop-sb-sidebar-inner {
    will-change: transform, top, left, bottom;
}

.desktop-sb-main {
    width: 65%;
    min-width: 0;
    padding-right: clamp(16px, 1.736vw, 30px);
    padding-left: 0;
}



.desktop-sb-sidebar-inner {
    background-color: #FAF5EC;
    border-radius: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    position: relative;
}

.desktop-sb-sidebar-inner.desktop-price-card {
    width: clamp(220px, 26.3vw, 454px);
    min-height: clamp(255px, 23.1vw, 400px);
    max-width: min(454px, 100%);
    max-height: min(500px, 90vh);
    min-width: 0;
    padding: clamp(17px, 1.6vw, 28px) clamp(20px, 2vw, 36px) clamp(16px, 1.6vw, 27px);
    border: none;
    outline: none;
    flex-shrink: 1;
    display: flex;
    flex-direction: column;
    overflow: visible;
    box-sizing: border-box;
}

.desktop-price-card__top {
    flex-shrink: 0;
    display: block;
    min-width: 0;
}

.desktop-price-card__price-block {
    margin-bottom: clamp(10px, 0.811vw, 14px);
    flex-shrink: 0;
}

.desktop-price-card__price-line {
    margin: 0;
    font-family: 'Quicksand', sans-serif;
    color: #111;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 2px;
    line-height: 1.08;
    width: fit-content;
    max-width: 100%;
    border-bottom: 1px solid #000000;
    padding-bottom: 0;
}

.desktop-price-card__price-line .desktop-price-card__suffix {
    line-height: 1.08;
}

.desktop-price-card__currency {
    font-size: clamp(22px, 2.025vw, 35px);
    font-weight: 700;
}

.desktop-price-card__amount {
    font-size: clamp(22px, 2.025vw, 35px);
    font-weight: 700;
}

.desktop-price-card__amount--muted {
    color: #6b6b6b;
    font-weight: 600;
}

.desktop-price-card__suffix {
    font-size: clamp(14px, 1.157vw, 20px);
    font-weight: 700;
    line-height: 1.4;
}

.desktop-price-card__field {
    margin-bottom: clamp(8px, 0.694vw, 12px);
    flex-shrink: 0;
}

.desktop-price-card__field--half {
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
}

.desktop-price-card__label {
    display: block;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: clamp(14px, 1.157vw, 20px);
    color: #111;
    margin-bottom: clamp(6px, 0.463vw, 8px);
}

.desktop-price-card__input {
    width: 100%;
    box-sizing: border-box;
    border: none;
    border-radius: clamp(10px, 0.811vw, 14px);
    background-color: #ede4d6;
    padding: clamp(9px, 0.637vw, 11px) clamp(11px, 0.811vw, 14px) clamp(9px, 0.637vw, 11px) clamp(16px, 1.273vw, 22px);
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(13px, 0.868vw, 15px);
    font-weight: 400;
    line-height: 1.4;
    color: #000000;
}

.desktop-price-card__input::placeholder {
    color: #000000;
}

.desktop-price-card__input:focus,
.desktop-price-card__select:focus {
    outline: none;
    box-shadow: none;
}

.desktop-price-card__time-row {
    display: flex;
    flex-direction: row;
    gap: clamp(8px, 0.694vw, 12px);
    margin-bottom: clamp(10px, 0.811vw, 14px);
    align-items: flex-start;
    flex-shrink: 0;
}

.desktop-price-card__select-wrap {
    position: relative;
    width: 100%;
}

.desktop-price-card__select {
    width: 100%;
    box-sizing: border-box;
    border: none;
    border-radius: clamp(10px, 0.811vw, 14px);
    background-color: #ede4d6;
    padding: clamp(9px, 0.637vw, 11px) clamp(28px, 2.315vw, 40px) clamp(9px, 0.637vw, 11px) clamp(16px, 1.273vw, 22px);
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(13px, 0.868vw, 15px);
    font-weight: 400;
    line-height: 1.4;
    color: #000000;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' d='M1.5 1.5L6 6l4.5-4.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right clamp(10px, 0.811vw, 14px) center;
}

.desktop-price-card__select-btn {
    display: block;
    text-align: left;
    -webkit-appearance: none;
    appearance: none;
}

.desktop-time-panel {
    width: 100%;
    max-height: 320px;
    overflow: hidden;
    left: 0;
    top: calc(100% + 4px);
    display: flex;
    flex-direction: column;
    min-height: 0;
    box-sizing: border-box;
    padding-top: 0;
}
.desktop-time-panel .snapmate-time-slots {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 240px;
}

/* ── Sidebar time picker: segmented AM/PM on desktop breakpoints only (#new-desktop + lg viewport).
   Mobile date/time modal keeps global .snapmate-meridiem-* from view.html (outline pills). ── */
@media (min-width: 768px) {
    #new-desktop .desktop-time-panel .snapmate-meridiem-bar {
        display: flex;
        gap: 4px;
        align-items: stretch;
        justify-content: stretch;
        padding: 4px;
        margin: 0 0 8px;
        border-bottom: none;
        background-color: #ffffff;
        border-radius: clamp(10px, 0.811vw, 14px);
        box-sizing: border-box;
    }

    #new-desktop .desktop-time-panel .snapmate-meridiem-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        min-width: 0;
        max-width: none;
        margin: 0;
        padding: clamp(8px, 0.637vw, 10px) clamp(10px, 0.8vw, 14px);
        border: none;
        border-radius: clamp(8px, 0.637vw, 11px);
        background-color: transparent;
        font-family: 'Quicksand', sans-serif;
        font-size: clamp(12px, 0.868vw, 15px);
        font-weight: 600;
        letter-spacing: 0;
        text-align: center;
        color: #4a4540;
        cursor: pointer;
        box-sizing: border-box;
        transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    }

    #new-desktop .desktop-time-panel .snapmate-meridiem-btn:not(.is-active):hover {
        background-color: rgba(255, 255, 255, 0.45);
        color: #222;
    }

    #new-desktop .desktop-time-panel .snapmate-meridiem-btn.is-active,
    #new-desktop .desktop-time-panel .snapmate-meridiem-btn.is-active:hover,
    #new-desktop .desktop-time-panel .snapmate-meridiem-btn.is-active:focus,
    #new-desktop .desktop-time-panel .snapmate-meridiem-btn.is-active:active {
        background-color: #eb890a;
        color: #fff;
        border: none;
        box-shadow: 0 1px 3px rgba(235, 137, 10, 0.35);
    }

    #new-desktop .desktop-time-panel .snapmate-meridiem-btn:focus-visible {
        outline: 2px solid #eb890a;
        outline-offset: 2px;
    }
}

.desktop-price-card__cta {
    width: 100%;
    border: none;
    border-radius: 999px;
    background-color: #eb890a;
    color: #fff;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: clamp(14px, 1.157vw, 20px);
    padding: clamp(10px, 0.753vw, 13px) clamp(14px, 1.042vw, 18px);
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(235, 137, 10, 0.35);
    box-sizing: border-box;
    flex-shrink: 0;
}

.desktop-price-card__cta:hover:not(:disabled) {
    filter: brightness(1.03);
}

.desktop-price-card__cta:disabled:hover,
.desktop-price-card__cta.is-disabled:hover {
    filter: none;
}

.desktop-price-card__cta:disabled,
.desktop-price-card__cta.is-disabled {
    opacity: 0.6;
    box-shadow: none;
    cursor: not-allowed;
}

.desktop-price-card__fineprint {
    margin: clamp(6px, 0.463vw, 8px) 0 0;
    text-align: center;
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(11px, 0.868vw, 15px);
    font-weight: 500;
    color: #5c5c5c;
    flex-shrink: 0;
}

.profile-main-name {
    font-family: 'Dancing Script', serif; font-weight: bold;
}

.profile-main-location {
    font-weight: 400;
}

.center-vertical {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hr {
    width: 90%;
    border-top: 1px solid #C0C0C0;
    margin: 0 auto;
    margin-bottom: 8px;
}
.d-hr {
    width: 100%;
    border-top: 1px solid #C0C0C0;
    margin: 0 auto;
    margin-bottom: 8px;
}

/* Profile page: extra space around dividers */
#new-mobile .hr,
#new-desktop .d-hr {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.mobile-section-header {
    font-family: 'Cormorant', serif;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
}

.desktop-reviews-card {
    width: calc(50% - 8px);
    height: auto;
    border-radius: 15px;
    background-color: #FAF5EC;
    padding: 20px;
    position: relative;
    user-select: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.mobile-review-card {
    width: 298px;
    min-height: 200px;
    height: auto;
    border-radius: 20px;
    background-color: #FAF5EC;
    padding: 12px 15px;
    flex-shrink: 0;
    position: relative;
    user-select: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.mobile-review-card-modal {
    width: 90%;
    min-height: 200px;
    height: auto;
    border-radius: 20px;
    background-color: #FAF5EC;
    padding: 12px 15px;
    flex-shrink: 0;
    position: relative;
    user-select: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

/* Review card photo thumbnails */
.rv-thumb-strip {
    display: flex;
    gap: 5px;
    margin: 8px 0 6px;
    overflow: hidden;
    height: 54px; /* fixed — reserves space even when no photos */
    align-items: center;
    flex-shrink: 0;
}
.rv-thumb {
    width: 44px;
    height: 44px;
    border-radius: 7px;
    object-fit: cover;
    flex-shrink: 0;
}
.rv-thumb-strip--sm {
    margin: 3px 0 2px;
    height: 68px;
}
.rv-thumb-strip--sm:empty {
    height: 0;
    margin: 0;
}
.rv-thumb--sm {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

.mobile-reviews-card-image {
    object-fit: cover !important;
    border-radius: 0px !important;
    width: 22px !important;
    height: 22px !important;
}

.mobile-reviews-card-image-indicator {
    margin-left: auto;
    color: #EB890A;
    font-size: 14px !important;
}

.desktop-reviews-card-image {
    object-fit: cover !important;
    border-radius: 0px !important;
    width: 24px !important;
    height: 24px !important;
}

.desktop-reviews-card-image-indicator {
    margin-left: auto;
    color: #EB890A;
    font-size: 15px !important;
}

.rv-show-more {
    margin-top: auto; /* pins Show More + footer to bottom regardless of photo count */
    padding-top: 8px;
}

.mobile-reviews-card-footer {
    display: flex;
    position: static;
    margin-top: 0;
    padding-top: 10px;
    gap: 10px;
    align-items: center;
    color: black;
    font-weight: 700;
    font-size: 13px;
    width: 100%;
    flex-direction: row;
}

/* Collapse the <br> between rating row and review content */
.mobile-review-card > br,
.mobile-review-card-modal > br {
    display: none;
}

.mobile-reviews-card-footer img {
    width: 28px;
    height: 28px;
    border-radius: 50px;
    object-fit: cover;
}

.desktop-reviews-card:hover {
    transform: scale(1.01);
    transition: transform 0.1s ease;
}

.review-heart-mobile-1 {
    border-radius: 2px;
}

#mobile-portfolio-1 {
    height: 257px;
    width: 90%;
    margin: 0 auto;
    margin-top: 10px;
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
}

#new-mobile #mobile-portfolio-1 {
    width: calc(100% - 2 * var(--mobile-gutter-portfolio));
    max-width: 100%;
}

#mobile-portfolio-1 img {
    border-radius: 7px;
}

#mobile-portfolio-2 {
    height: 131px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

#new-mobile #mobile-portfolio-2 {
    width: calc(100% - 2 * var(--mobile-gutter-portfolio));
    max-width: 100%;
}

#mobile-portfolio-2 img {
    border-radius: 7px;
}

#desktop-expand-review-photos {
    display: flex;
    flex-direction: row;
    justify-content: left;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

#desktop-expand-review-photos img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
}

#desktop-expand-review-insert {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 16px;
}

#desktop-expand-review-insert img {
    width: 45px;
    border-radius: 50%;
    object-fit: cover;
}

#desktop-expand-review-insert-data {
    font-size: 12px;
    color: #EB890A;
}

#desktop-expand-review-title {
    position: absolute;
    top: 27px;
    margin-top: 21px;
    width: 100%;
    height: 40px;
    overflow: hidden;
    white-space: nowrap;
    padding: 0 120px;
    text-align: center;
    font-size: 20px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    z-index: 1000;
    text-overflow: ellipsis;
}

#desktop-expand-review-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(27px + 21px + 75px);
    background-color: #FAF5EC;
}

#desktop-expand-review-body {
    position: relative;
    top: 0;
    width: 90%;
    margin: 0 auto;
    height: 77%;
    margin-top: calc(27px + 21px + 75px);
    overflow-y: scroll;
    font-size: 14px;
    font-family: 'QUicksand', sans-serif;
    font-weight: 700;
}

#desktop-expand-review-modal {
    background-color: #FAF5EC;
}

#meet-photographer-card-desktop-outer-shell {
    width: min(600px, 100%);
    aspect-ratio: 600 / 337;
    border-radius: 25px;
    background-color: #FEEFDC;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0px 3px 4px -1px rgba(212,212,212,0.75);
    -webkit-box-shadow: 0px 3px 4px -1px rgba(212,212,212,0.75);
    -moz-box-shadow: 0px 3px 4px -1px rgba(212,212,212,0.75);
}

#meet-photographer-card-desktop-inner-shell {
    width: 97%;
    height: 95%;
    background-color: #FEEFDC;
    border: 2px solid white;
    border-radius: 20px;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 clamp(20px, 3.5vw, 50px);
    gap: clamp(12px, 1.5vw, 20px);
}

.meet-photographer-device-line {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#meet-photographer-card-mobile-outer-shell {
    width: 343.5px;
    height: auto;
    border-radius: 25px;
    background-color: #FEEFDC;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0px 3px 4px -1px rgba(212,212,212,0.75);
    -webkit-box-shadow: 0px 3px 4px -1px rgba(212,212,212,0.75);
    -moz-box-shadow: 0px 3px 4px -1px rgba(212,212,212,0.75);
    margin: 0 auto;
}

#meet-photographer-card-mobile-inner-shell {
    width: 96%;
    height: auto;
    background-color: #FEEFDC;
    border: 2px solid white;
    border-radius: 20px;
    margin: 7px auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    gap: 28px;
}

#mobile-reviews-modal-cards {
    position: relative;
    top: -360px;
    left: 0;
    width: 100%;
    height: 83vh; /* change it eventually to match the request to book bottom bar, and the other modal too */
    z-index: -1;
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#mobile-reviews-modal-cards::-webkit-scrollbar {
    display: none;
}

#mobile-reviews-modal-cards-inner {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: left;
    padding-top: 180px;
    gap: 12px;
    padding-bottom: 8px;
}

#mobile-review-cards {
    display: flex;
    flex-wrap: nowrap;
    justify-content: left;
    padding: 0px 17px;
    gap: 12px;
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Hide scrollbar for mobile (iOS) */
#mobile-review-cards::-webkit-scrollbar {
    display: none;
}

.mobile-reviews-frontpage {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 35px;
}

#mobile-reviews-inexperienced-subtext {
    font-family: 'Quicksand', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #969696;
}

#mobile-reviews-header-whitebox {
    position: relative;
    top: -180px;
    left: 0;
    height: 180px;
    width: 100%;
    background-color: white;
    z-index: 700;
    opacity: 0.80;
}

#mobile-reviews-header-modal {
    font-size: 50px;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    text-align: center;
}

#desktop-all-reviews-header {
    z-index: 999;
    position: absolute;
    left: 0;
    text-align: center;
    width: 100%;
    padding-top: 21px;
    font-size: 30px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(6px);
    padding-bottom: 15px;
    user-select: none;
    cursor: default;
}

#desktop-reviews-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
    gap: 8px;
    width: 100%;
}

#desktop-included-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 0;
    border-radius: 25px;
    background-color: #FEEFDC;
    color: #EB890A;
    /* Same as .desktop-profile-header-grid__name-row .profile-main-location */
    font-size: clamp(14px, 1.447vw, 25px);
    font-weight: 700;
    padding: 30px 35px;
    gap: 20px;
    height: auto;
}

#mobile-included-card {
    width: 83%;
    height: 203px;
    background-color: #FEEFDC;
    margin: 0 auto;
    border-radius: 25px;
    margin-top: 10px;
    margin-bottom: 0;
    color: #EB890A;
    font-size: 15px;
    font-weight: 700;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

#mobile-reviews-header {
    position: relative;
    width: 100%;
    padding-top: 22px;
    height: 180px;
    backdrop-filter: blur(6px);
    z-index: 999;
}

.mobile-included-card-section {
    display: flex;
    gap: 15px;
}

.mobile-included-card-section p {
    font-weight: 400;
    color: black;
}
/* Descriptive line under orange labels: match bio (desktop) */
#desktop-included-card .mobile-included-card-section p {
    font-size: clamp(15px, 1.157vw, 20px);
}
#mobile-included-card .mobile-included-card-section p {
    font-size: 13px;
}

.desktop-section-header {
    font-weight: 700;
    font-size: 35px;
    font-family: 'Cormorant', serif;
}

#new-desktop .desktop-section-header {
    font-size: clamp(22px, 2.026vw, 35px);
}


#gallery-container {
    container-type: inline-size;
    container-name: hero-gallery;
    aspect-ratio: 1333 / 500;
    width: 100%;
    max-width: 100%;
    max-height: 48vh;
    min-height: 0;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(10px, 1.1vw, 16px);
    position: relative;
    box-sizing: border-box;
}

/* Hero strip: hide until images + layout are ready (avoids View Portfolio flicker). */
#gallery-container.gallery-loading {
    visibility: hidden;
}

#gallery-container.gallery-ready {
    visibility: visible;
}

#gallery-container.gallery-empty {
    display: none !important;
}

#gallery-container.gallery-loading .portfolio-preview-btn {
    visibility: hidden;
    pointer-events: none;
}

#gallery-container.gallery-ready .portfolio-preview-btn {
    visibility: visible;
    pointer-events: auto;
}

.gallery-new {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: 51.6fr 33.9fr 19fr;
    grid-template-rows: 49.4fr 49fr;
    gap: 4px;
    box-sizing: border-box;
}

.gallery-new > .gallery-hero__img {
    width: 100%;
    height: 100%;
    min-height: 0;
    min-width: 0;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    overflow: hidden;
}

.gallery-new > .gallery-hero__left {
    grid-column: 1;
    grid-row: 1 / span 2;
    border-radius: 25px 0 0 25px;
}

.gallery-new > .gallery-hero__mid-top {
    grid-column: 2;
    grid-row: 1;
}

.gallery-new > .gallery-hero__mid-bottom {
    grid-column: 2;
    grid-row: 2;
}

.gallery-new > .gallery-hero__right-top {
    grid-column: 3;
    grid-row: 1;
    border-radius: 0 25px 0 0;
}

.gallery-new > .gallery-hero__right-bottom {
    grid-column: 3;
    grid-row: 2;
    border-radius: 0 0 25px 0;
}

.desktop-reviews-tally {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: black;
}

.desktop-reviews-card-meat {
    margin-top: 16px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    overflow: hidden;
}
.desktop-reviews-card-meat p {
    height: 44px; /* exactly 2 lines at 14px/1.57 line-height */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 4px 0 0;
}

#desktop-all-reviews-container {
    width: 100%;
    left: 0px;
    top: 0px;
    padding: 0 6%;
    padding-top: 140px;
    height: 98%;
}

#desktop-reviews-show-all {
    font-weight: 700;
    padding: 15px 35px;
    margin-top: 8px;
}

#profile-card-mobile {
    text-align: center;
}

#mobile-section-highlights {
    /* Match .hr (90% width) so text aligns with the rule above */
    width: 90%;
    font-weight: 400;
    font-size: 16px;
    margin: 0 auto;
    margin-top: 0;
    margin-bottom: 0;
    text-align: left;
    box-sizing: border-box;
}

/* Profile: "How the Session Goes" — tight stack like Portfolio / View More → rule */
#mobile-session-goes-section .mobile-section-header {
    margin-top: 0;
    margin-bottom: 6px;
}
#mobile-session-goes-section #mobile-section-highlights {
    margin-top: 0;
    /* Space before “Show more” (mobile) */
    margin-bottom: 20px;
}

#mobile-section-highlights-full {
    width: 100%;
    font-weight: 400;
    font-size: 16px;
    margin: 0 auto;
    text-align: left;
}

#mobile-section-highlights-full-container {
    height: 80vh;
    overflow-x: scroll;
    overflow-y: auto;
    width: 80%;
    margin: 0 auto;
    margin-top: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 85%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 85%,
        transparent 100%
    );
}
#mobile-session-highlights-modal #mobile-section-highlights-full-container::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}

#desktop-section-highlights-full {
    width: 100%;
    height: 100%;
    /* Same as #new-desktop .desktop-profile-description */
    font-size: clamp(15px, 1.157vw, 20px);
    font-weight: 400;
}

#mobile-section-highlights,
#desktop-section-highlights,
#mobile-section-highlights-full,
#desktop-section-highlights-full {
    white-space: pre-wrap;
}

#desktop-portfolio-container {
    width: 100%;
    height: 400px;
    display: block;
    position: relative;
}

.portfolio-preview-btn {
    position: absolute;
    bottom: 18px;
    right: 14px;
    background-color: rgba(255, 255, 255, 0.80) !important;
    border-width: 1px;
    border-style: solid;
    border-color: white;
    border-radius: 20px;
    font-weight: 700 !important;
    font-size: 13px !important;
    font-family: 'Quicksand', sans-serif;
}

#portfolio_preview_pc {
    width: 100%;
    height: 100%;
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.desktop-modal-full-container {
    width: 77.305737109%; 
    height: calc(100% - 150px); 
    position: relative; 
    top: 110px; 
    left: 125px;
    overflow-x: scroll;
    overflow-y: scroll;
    -webkit-mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 90%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 90%,
        transparent 100%
    );
}

/* “How the Session Goes” viewer: scroll works; bars hidden */
#desktop-session-highlights-modal .desktop-modal-full-container {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
#desktop-session-highlights-modal .desktop-modal-full-container::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}

.mobile-button {
    background-color: #FAF5EC;
    border-radius: 25px;
    padding: 7px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
}

/* Figma: mobile sticky footer — single CTA (Select date and time / Request to book) */
#sticky-dt-btn,
.sticky-bar-cta {
    box-sizing: border-box;
    min-width: 147px;
    max-width: min(52vw, 200px);
    height: 41px;
    padding: 0 12px;
    border: none;
    border-radius: 20.5px;
    background-color: #eb890a;
    color: #fff;
    font-family: 'Quicksand', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
    cursor: pointer;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    -webkit-appearance: none;
    appearance: none;
}

#sticky-dt-btn:hover,
.sticky-bar-cta:hover {
    background-color: #d97d09;
}

#sticky-dt-btn:active,
.sticky-bar-cta:active {
    background-color: #c77408;
}

.desktop-reviews-card-info {
    display: flex;
    gap: 15px;
    color: #EB890A;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    align-items: center;
    font-size: 1rem;
    width: 100%;
}

.mobile-reviews-card-info {
    display: flex;
    gap: 15px;
    color: #EB890A;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    align-items: center;
    font-size: 13px;
    width: 100%;
}

.desktop-reviews-card-footer {
    display: flex;
    position: static;
    margin-top: 10px;
    gap: 10px;
    align-items: center;
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
    font-weight: 700;
    width: calc(100% - 20px - 20px);
}

.desktop-reviews-card-footer img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.desktop-button {
    background-color: #FAF5EC;
    border-radius: 25px;
    padding: 7px;
    padding-left: 18px;
    padding-right: 18px;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
}

.desktop-button:hover {
    transform: scale(1.015);
    transition: transform 0.15s ease;
}

/* Weird hack that changes dialog modal width to make it full screen. Not sure why it's default on Firefox, needs testing on Chromium. */
dialog:modal {
    max-width: 500vw;
    max-height: 500vh;
}

.mobile-modal {
    position: absolute;
    width: 100vw !important;
    height: 125vh;
    border-radius: 15px;
    margin-top: 8vh;
    overflow: hidden;
    animation-name: fadeInOpacity;
    animation-timing-function: ease-in;
    animation-duration: 0.2s;
    user-select: none;
}

.mobile-modal::backdrop {
    background: rgba(0, 0, 0, 0.5);
}

#desktop-section-highlights {
    font-weight: 400;
    /* Same as #new-desktop .desktop-profile-description (bio) */
    font-size: clamp(15px, 1.157vw, 20px);
    /* Full width of main column — matches .d-hr (100%) */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-top: 0;
    text-align: justify;
}

#desktop-session-goes-section .desktop-section-header {
    margin-top: 0;
    margin-bottom: 8px;
}
#desktop-session-goes-section #desktop-section-highlights {
    margin-top: 0;
    margin-bottom: 8px;
}

.desktop-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 120vh;
    max-width: 95vw;
    height: 80vh;
    border-radius: 25px;
    transform: translate(-50%, -50%);
}

.desktop-modal::backdrop {
    background: rgba(0, 0, 0, 0.50);
}

.desktop-modal-close-btn {
    opacity: 1;
    position: absolute;
    top: 27px;
    left: 40px;
    width: 43px;
    height: 43px;
}

#desktop-session-highlights-modal {
    box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

#desktop-portfolio-view-close-btn {
    width: 43px;
    height: 43px;
    margin-left: 50px;
}

#desktop-portfolio-view-header {
    margin-top: 20px;
    display: flex;
    width: 100vw;
    flex-direction: row;
    justify-content: space-between;
    position: absolute;
}

#desktop-portfolio-section {
    scroll-margin-top: clamp(64px, 5.093vw, 88px);
}

#desktop-portfolio-view-body {
    margin-top: 5px;
    width: 100%;
    height: 500px;
    display: flex;
}

#desktop-portfolio-body-menu {
    display: flex;
    flex-direction: column;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    font-size: 22px;
    background-color: white;
    width: 300px;
    padding-left: 50px;
    padding-top: 80px;
    gap: 30px;
    height: 100%;
    flex-shrink: 0;
}

#desktop-portfolio-body-menu div {
    cursor: pointer;
}

#desktop-portfolio-body-menu div[open] {
    color: #EB890A;
    font-weight: 700;
}

#desktop-portfolio-body-gallerycontainer {
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: calc(100% - 300px);
    padding-right: 50px;
    padding-bottom: 24px;
    height: 100%;
    flex-grow: 0;
    flex-shrink: 0;
    box-sizing: border-box;
}

#desktop-portfolio-body-gallerycontainer::-webkit-scrollbar {
    display: none;
}

#desktop-portfolio-body-gallery {
    width: 100%;
    position: relative;
}

#desktop-portfolio-body-gallery-heading {
    width: 100vw;
    position: relative;
    left: -300px;
    text-align: center;
    margin-top: 15px;
}

@keyframes fadeInOpacity {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ── Figma-style session date picker (view.html / mypage price card) ── */
#new-desktop .desktop-sb-sidebar-inner.desktop-price-card:has(.snapmate-date-picker.is-open),
#new-desktop .desktop-sb-sidebar-inner.desktop-price-card:has(.desktop-time-panel:not([hidden])) {
    overflow: visible;
    z-index: 6;
}

.snapmate-date-picker {
    position: relative;
    width: 100%;
    font-family: 'Quicksand', sans-serif;
}

/* Match .desktop-price-card__select: field + label text */
.snapmate-date-trigger {
    width: 100%;
    background-color: #ede4d6;
    border: none;
    border-radius: clamp(10px, 0.811vw, 14px);
    padding: clamp(9px, 0.637vw, 11px) clamp(12px, 0.868vw, 14px) clamp(9px, 0.637vw, 11px) clamp(16px, 1.273vw, 22px);
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(13px, 0.868vw, 15px);
    font-weight: 400;
    line-height: 1.4;
    color: #000000;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.snapmate-date-trigger:hover {
    background-color: #e5dccf;
}

.snapmate-calendar {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 50;
    display: none;
    background: #fff;
    border-radius: 10px;
    padding: 23px 24px 33px 23px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}

.snapmate-calendar.is-open {
    display: block;
}

.snapmate-calendar--inline {
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding: 16px 0 8px;
}

.snapmate-cal-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: center;
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
}

.snapmate-cal-header-left {
    grid-column: 1 / 6;
    display: flex;
    flex-direction: row;
    align-items: center;
    /* 17px from month block (incl. chevron) to year text (Figma) */
    gap: 17px;
    min-width: 0;
    box-sizing: border-box;
    position: relative;
    /* 100% here = 5-col area (5W/7). We need W/14 = (5W/7)/10. Subtract ~10px (half of "Sun" text width at 12px 600) */
    padding-left: calc(100% / 10 - 10px);
}

.snapmate-cal-select-wrap {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    column-gap: 5px;
    row-gap: 0;
    position: relative;
}

.snapmate-cal-select-wrap--year {
    margin-left: 0;
}

.snapmate-cal-select-btn {
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #111;
    cursor: pointer;
    outline: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    white-space: nowrap;
}

.snapmate-cal-dropdown-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(19, 10, 46, 0.13), 0 3px 14px rgba(19, 10, 46, 0.03);
    width: 105px;
    z-index: 60;
    padding: 8px 0;
}

/* Start/end time dropdowns live in .desktop-price-card__select-wrap; match trigger width (overrides narrow 105px panel) */
#new-desktop .desktop-price-card__select-wrap .snapmate-cal-dropdown-panel.desktop-time-panel {
    width: 100%;
    left: 0;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.snapmate-cal-dropdown-panel--year {
    width: 68px;
}

#snapmate-dpc-month-panel {
    left: -16px;
}

.snapmate-cal-dropdown-item {
    display: flex;
    align-items: center;
    width: 100%;
    height: 32px;
    padding: 4px 16px;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #111;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
}

.snapmate-cal-dropdown-item:hover:not(.selected) {
    background: #f0ebe3;
    font-weight: 700;
}

.snapmate-cal-dropdown-item.selected {
    background: #EB890A;
    color: #fff;
    font-weight: 700;
}


/* Vector_140.svg 8×14; 8/14 = width/height, rotate 90° for dropdown (down) */
.snapmate-cal-select-chevron {
    pointer-events: none;
    display: block;
    flex-shrink: 0;
    width: 5px;
    height: 8.75px;
    object-fit: contain;
    align-self: center;
    transform: rotate(90deg);
    transform-origin: center;
}

/* Same asset; Figma long side 11.84px → w = 11.84 * (8/14) to keep 8:14 */
.snapmate-cal-nav-icon {
    display: block;
    width: calc(11.84px * 8 / 14);
    height: 11.84px;
    object-fit: contain;
    flex-shrink: 0;
}

.snapmate-cal-nav-icon--prev {
    transform: scaleX(-1);
}

.snapmate-cal-nav {
    grid-column: 6 / 8;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Figma 1728×1117: space between the two month arrows */
    gap: 41.47px;
    /* 100% here = 2-col area (2W/7). We need W/14 = (2W/7)/4. Subtract ~10px (half of "Sat" text width at 12px 600) */
    padding-right: calc(100% / 4 - 10px);
}

.snapmate-cal-nav button {
    background: none;
    border: none;
    cursor: pointer;
    /* No padding so flex gap matches Figma distance between chevron assets */
    padding: 0;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.15s;
}

.snapmate-cal-nav button:hover:not(:disabled) {
    background: #f0ebe3;
}

.snapmate-cal-nav button:disabled {
    opacity: 0.35;
    cursor: default;
}

.snapmate-cal-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 4px;
}

.snapmate-cal-days-header span {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #000000;
    padding: 4px 0;
}

.snapmate-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px 0;
}

.snapmate-cal-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
}

.snapmate-cal-cell button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: none;
    font-family: 'Quicksand', sans-serif;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
    color: #111;
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.snapmate-cal-cell button:hover:not(:disabled):not(.selected):not(.muted) {
    background: #f0ebe3;
}

.snapmate-cal-cell button.today {
    font-weight: 700;
}

.snapmate-cal-cell button.selected {
    background: #EB890A;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

/* Unselectable: past, outside-month, etc. — light grey, bold, strikethrough (Figma) */
.snapmate-cal-cell button:disabled,
.snapmate-cal-cell button.muted {
    color: #a3a3a3;
    font-family: 'Quicksand', sans-serif;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-color: #a3a3a3;
    text-decoration-thickness: 1px;
    cursor: default;
    pointer-events: none;
    background: none !important;
}

/* Next-month overflow dates — grey only, no strikethrough */
.snapmate-cal-cell button.next-month {
    text-decoration: none;
}

/* Selectable overflow dates (prev/next month) — faded so user knows they're outside current month */
.snapmate-cal-cell button.outside-month:not(.muted) {
    opacity: 0.45;
    cursor: pointer;
}

* {
    font-family: 'Quicksand', sans-serif;
}

.tw\:font-damion {
    font-family: var(--tw-font-damion);
}

body:has(dialog[open]) {
    overflow: hidden;
}

/* ── Review detail modal ── */
#sm-review-detail-modal {
    border: none;
    border-radius: 20px;
    padding: 0;
    max-width: 620px;
    width: 90%;
    box-shadow: rgba(0,0,0,0.18) 0 12px 48px;
    font-family: 'Quicksand', sans-serif;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    overflow: hidden;
    animation: desktopModalIn 0.25s ease-out forwards;
}
#sm-review-detail-modal::backdrop { background: rgba(0,0,0,0.45); }

.sm-rd-inner {
    padding: 32px 36px 28px;
    max-height: 80vh;
    overflow-y: auto;
}
.sm-rd-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1.5px solid #D0D0D0;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 2;
    font-size: 20px;
    color: #555;
    line-height: 1;
}
.sm-rd-identity {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-right: 52px;
}
.sm-rd-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #f0e0c8;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; font-weight: 700; color: #EB890A;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}
.sm-rd-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute; top: 0; left: 0;
}
.sm-rd-name {
    font-size: 18px; font-weight: 700;
    color: #2C2C2C;
    margin: 0 0 4px;
}
.sm-rd-score { display: flex; align-items: center; gap: 6px; }
.sm-rd-score-num { font-size: 14px; font-weight: 600; color: #2C2C2C; }
.sm-rd-hearts { display: flex; gap: 2px; }
.sm-rd-heart { width: 14px; height: 14px; }
.sm-rd-divider { height: 1px; background: #F0F0F0; margin: 0 0 22px; }
.sm-rd-quote {
    font-size: 22px; font-style: italic;
    color: #2C2C2C; line-height: 1.6;
    margin: 0 0 24px; font-weight: 400;
}
.sm-rd-photo-grid { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.sm-rd-photo {
    width: 160px; height: 160px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}
.sm-rd-caption { font-size: 13px; color: #AAAAAA; font-weight: 500; margin: 0; padding-bottom: 4px; }

@media (max-width: 640px), (orientation: portrait) {
    #sm-review-detail-modal {
        top: auto; bottom: 0;
        left: 0; right: 0;
        width: 100%; max-width: 100%;
        border-radius: 20px 20px 0 0;
        transform: none;
        animation: mobileModalIn 0.28s ease-out forwards;
    }
    .sm-rd-inner { padding: 20px 20px 32px; }
    .sm-rd-quote { font-size: 18px; }
    .sm-rd-name { font-size: 16px; }
    .sm-rd-photo-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .sm-rd-photo { width: 100%; height: auto; aspect-ratio: 1; }
}

/* ── Hero gallery: tablet breakpoint ── */
@media (max-width: 768px) {
    #gallery-container {
        aspect-ratio: unset;
        height: auto;
    }

    .gallery-new {
        grid-template-columns: 33.9fr 19fr;
        grid-template-rows: auto auto auto;
    }

    .gallery-new > .gallery-hero__img {
        height: auto;
    }

    .gallery-new > .gallery-hero__left {
        grid-column: 1 / -1;
        grid-row: 1;
        aspect-ratio: 4 / 3;
        border-radius: 0;
    }

    .gallery-new > .gallery-hero__mid-top {
        grid-column: 1;
        grid-row: 2;
        aspect-ratio: 16 / 10;
    }

    .gallery-new > .gallery-hero__mid-bottom {
        grid-column: 1;
        grid-row: 3;
        aspect-ratio: 16 / 10;
    }

    .gallery-new > .gallery-hero__right-top {
        grid-column: 2;
        grid-row: 2;
        aspect-ratio: 3 / 4;
        border-radius: 0;
    }

    .gallery-new > .gallery-hero__right-bottom {
        grid-column: 2;
        grid-row: 3;
        aspect-ratio: 3 / 4;
    }
}

/* ── Hero gallery: mobile breakpoint ── */
@media (max-width: 480px) {
    .gallery-new {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-new > .gallery-hero__left {
        aspect-ratio: 3 / 2;
    }

    .gallery-new > .gallery-hero__mid-top,
    .gallery-new > .gallery-hero__mid-bottom,
    .gallery-new > .gallery-hero__right-top,
    .gallery-new > .gallery-hero__right-bottom {
        aspect-ratio: 4 / 3;
    }
}
