.public-photo-session-page,
.public-photo-session-page body {
  min-height: 100%;
  background: #f4f7f7;
}

.ps-public {
  --ps-ink: #17272c;
  --ps-muted: #65777d;
  --ps-brand: #3c727e;
  --ps-brand-dark: #285762;
  --ps-accent: #ed9517;
  --ps-line: #dce5e6;
  min-height: 100vh;
  padding: clamp(.85rem, 2.6vw, 2.2rem);
  color: var(--ps-ink);
  background:
    radial-gradient(circle at 8% 3%, rgba(60,114,126,.12), transparent 28rem),
    var(--ps-page-bg, #f4f7f7);
  font-family: var(--ps-font, system-ui), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ps-shell { width: min(1120px, 100%); margin-inline: auto; }

.ps-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  margin-bottom: 1rem;
}
.ps-brand__identity { display: inline-flex; align-items: center; gap: .7rem; }
.ps-brand__logo { display: block; width: auto; max-width: 230px; max-height: 58px; object-fit: contain; }
.ps-brand__label { display: inline-flex; align-items: center; gap: .4rem; color: var(--ps-muted); font-size: .78rem; font-weight: 700; }
.ps-brand__label i { color: var(--ps-brand); }

.ps-hero-flickity { position: relative; margin-bottom: 1.15rem; }
.ps-hero-carousel { width: 100%; overflow: hidden; border-radius: 22px; }
.ps-hero-flickity .flickity-viewport { height: clamp(260px, 38vw, 450px) !important; }
.ps-hero-flickity .flickity-slider { height: 100%; }
.ps-hero-carousel .carousel-cell {
  display: block;
  width: 54%;
  height: 100%;
  margin: 0 .35rem 0 0;
  overflow: hidden;
  border-radius: 18px;
  background: #dfe7e8;
}
.ps-hero-flickity[data-count="1"] .carousel-cell { width: 100%; margin-right: 0; }
.ps-hero-flickity[data-count="2"] .carousel-cell { width: calc(64% - .35rem); }
.ps-hero-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ps-hero-carousel:not(.flickity-enabled) { display: flex; gap: .7rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.ps-hero-carousel:not(.flickity-enabled) .carousel-cell { flex: 0 0 54%; scroll-snap-align: start; }
.ps-hero-flickity[data-count="1"] .ps-hero-carousel:not(.flickity-enabled) .carousel-cell { flex-basis: 100%; }
.ps-gallery-hint { position: absolute; right: .85rem; bottom: .75rem; z-index: 2; display: inline-flex; align-items: center; gap: .38rem; margin: 0; padding: .42rem .62rem; border-radius: 999px; color: #fff; background: rgba(17,39,44,.78); backdrop-filter: blur(8px); font-size: .69rem; font-weight: 750; }
.ps-hero-flickity .flickity-prev-next-button { width: 38px; height: 38px; background: rgba(255,255,255,.92); box-shadow: 0 6px 18px rgba(23,39,44,.2); }
.ps-hero-flickity .flickity-page-dots { bottom: 12px; }
.ps-hero-flickity .flickity-page-dots .dot { width: 7px; height: 7px; margin: 0 4px; background: #fff; opacity: .6; }
.ps-hero-flickity .flickity-page-dots .dot.is-selected { opacity: 1; }

.ps-content { display: grid; gap: 1.15rem; }
.ps-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.35rem, 3.8vw, 2.4rem);
  border: 1px solid rgba(37,84,94,.14);
  border-radius: 22px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 16px 45px rgba(28,61,68,.08);
}
.ps-eyebrow { display: block; margin-bottom: .45rem; color: var(--ps-brand); font-size: .72rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.ps-title { margin: 0; max-width: 760px; color: var(--ps-ink); font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.03; letter-spacing: -.045em; }
.ps-intro p { max-width: 620px; margin: .75rem 0 0; color: var(--ps-muted); font-size: .95rem; }
.ps-intro__badges { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .45rem; }
.ps-intro__badges span { display: inline-flex; align-items: center; gap: .38rem; padding: .42rem .62rem; border-radius: 999px; color: var(--ps-brand-dark); background: #e8f1f2; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.ps-intro__badges span.is-muted { color: #5b6568; background: #edf0f0; }

.ps-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--ps-line);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 28px rgba(28,61,68,.055);
}
.ps-summary > div { min-width: 0; padding: 1rem 1.2rem; }
.ps-summary > div + div { border-left: 1px solid var(--ps-line); }
.ps-summary span { display: flex; align-items: center; gap: .4rem; margin-bottom: .25rem; color: var(--ps-muted); font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.ps-summary span i { color: var(--ps-brand); }
.ps-summary strong,
.ps-summary small { display: block; }
.ps-summary strong { overflow: hidden; font-size: .91rem; text-overflow: ellipsis; white-space: nowrap; }
.ps-summary small { margin-top: .12rem; color: var(--ps-muted); font-size: .72rem; }

.ps-card { padding: clamp(1.2rem, 3vw, 1.7rem); border: 1px solid var(--ps-line); border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: 0 12px 34px rgba(28,61,68,.06); }
.ps-section-heading { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.15rem; }
.ps-section-heading > span { display: grid; flex: 0 0 auto; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: var(--ps-brand-dark); background: #e8f1f2; }
.ps-section-heading h2 { margin: 0; color: var(--ps-ink); font-size: 1.05rem; font-weight: 850; }
.ps-section-heading p { margin: .12rem 0 0; color: var(--ps-muted); font-size: .79rem; }
.ps-text { color: #46585e; line-height: 1.72; }
.ps-text > :last-child { margin-bottom: 0; }

.ps-kv { display: grid; margin: 0; }
.ps-kv-row { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 1rem; align-items: start; padding: .85rem 0; border-top: 1px solid var(--ps-line); }
.ps-kv-row dt { margin: 0; color: var(--ps-muted); font-size: .78rem; font-weight: 750; }
.ps-kv-row dd { margin: 0; color: var(--ps-ink); font-size: .9rem; }
.ps-kv-compact .ps-kv-row { padding: .55rem 0; }
.ps-location-value { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ps-location-value strong,
.ps-location-value span { display: block; }
.ps-location-value span { margin-top: .1rem; color: var(--ps-muted); font-size: .78rem; }
.ps-inline-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--ps-brand-dark); font-size: .78rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.ps-inline-link:hover { color: var(--ps-accent); }

.ps-packages .row { margin-top: -.15rem; }
.ps-package { height: 100%; padding: 1rem; border: 1px solid var(--ps-line); border-radius: 15px; background: #fbfcfc; }
.ps-package-title { margin: 0; color: var(--ps-ink); font-size: .92rem; font-weight: 800; }
.ps-price { padding: .25rem .48rem; border-radius: 8px; color: var(--ps-brand-dark); background: #e8f1f2; font-size: .73rem; font-weight: 800; }
.ps-package .btn { border-color: #b8cccf; border-radius: 9px; color: var(--ps-brand-dark); font-size: .72rem; font-weight: 750; }
.ps-package .btn:hover { border-color: var(--ps-brand); color: #fff; background: var(--ps-brand); }

.ps-date-block { padding: 1rem; border: 1px solid var(--ps-line); border-radius: 15px; background: #fbfcfc; }
.ps-date-block + .ps-date-block { margin-top: .75rem; }
.ps-date-heading { margin-bottom: .75rem; color: var(--ps-ink); font-size: .9rem; font-weight: 850; }
.timeslot-button { display: flex !important; width: 100%; min-height: 48px; padding: .58rem .72rem; align-items: center; justify-content: center; gap: .5rem; border: 1px solid transparent !important; border-radius: 11px !important; color: #fff !important; background: var(--ps-brand) !important; font-size: .82rem !important; font-weight: 800 !important; line-height: 1.15; transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease; }
.timeslot-button:not(:disabled):hover { background: var(--ps-brand-dark) !important; box-shadow: 0 6px 15px rgba(40,87,98,.18); transform: translateY(-1px); }
.timeslot-button.selected { border-color: #fff !important; background: var(--ps-accent) !important; box-shadow: 0 0 0 3px rgba(237,149,23,.25); }
.timeslot-button:focus-visible { box-shadow: 0 0 0 3px rgba(60,114,126,.25); }
.timeslot-button__time { min-width: 0; }
.timeslot-button__status { flex: 0 0 auto; padding: .2rem .38rem; border-radius: 999px; color: #5f686b; background: rgba(255,255,255,.72); font-size: .62rem; font-weight: 850; letter-spacing: .025em; white-space: nowrap; }
.timeslot-button.is-booked,
.timeslot-button.is-booking-in-progress,
.timeslot-button.is-unavailable,
.timeslot-button:disabled:not(.is-available) { border-color: #d7dfe0 !important; color: #707b7e !important; background: #e9edee !important; box-shadow: none !important; cursor: not-allowed; opacity: 1 !important; transform: none !important; }
.timeslot-button.is-booking-in-progress { color: #778184 !important; background: #f0f2f2 !important; }
.ps-waitlist-cta { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--ps-line); }
.ps-waitlist-cta p { margin: 0; color: var(--ps-muted); font-size: .78rem; }
.ps-waitlist-cta .btn { border-color: #abc1c5; border-radius: 9px; color: var(--ps-brand-dark); font-size: .72rem; font-weight: 800; }

.ps-public button[data-timeslot-status-target="bookButton"],
.ps-public button[data-target="timeslot_status.bookButton"] {
  position: fixed;
  right: 0;
  bottom: 20px;
  left: 0;
  z-index: 1000;
  display: none;
  width: min(260px, 90vw);
  min-height: 48px;
  margin: auto;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--ps-accent);
  box-shadow: 0 10px 26px rgba(23,39,44,.24);
  font-weight: 850;
}
.ps-public button[data-timeslot-status-target="bookButton"]:hover,
.ps-public button[data-target="timeslot_status.bookButton"]:hover { background: #d97f06; }

.ps-task-list { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.ps-task-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: .75rem; min-height: 68px; padding: .72rem; border: 1px solid #ead9bf; border-radius: 14px; background: #fffaf2; }
.ps-task-list__icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: #9a5e0a; background: #ffedcf; }
.ps-task-list strong,
.ps-task-list small { display: block; }
.ps-task-list strong { font-size: .86rem; }
.ps-task-list small { margin-top: .1rem; color: var(--ps-muted); font-size: .73rem; }
.ps-task-list form { margin: 0; }
.ps-task-list__action { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; margin: 0; padding: .48rem .7rem; border: 0; border-radius: 9px; color: #fff; background: var(--ps-accent); font: inherit; font-size: .72rem; font-weight: 850; line-height: 1; text-decoration: none; cursor: pointer; }
.ps-task-list__action:hover { color: #fff; background: #d97f06; }

.ps-public .modal-content { overflow: hidden; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 24px 70px rgba(23,39,44,.24); }
.ps-public .modal-header { border-bottom-color: var(--ps-line); }
.ps-public .modal-title { color: var(--ps-ink); font-weight: 800; }
.ps-public .wl-date-btn { border-radius: 10px; transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease; }
.ps-public .wl-date-btn[aria-pressed="true"],
.ps-public .wl-date-btn.wl-selected { border-color: var(--ps-accent) !important; color: #fff !important; background: var(--ps-accent) !important; box-shadow: 0 0 0 .18rem rgba(237,149,23,.26); }
.ps-public .wl-date-btn[disabled] { opacity: .5; pointer-events: none; }

.ps-footer { display: flex; align-items: center; justify-content: center; gap: .35rem; padding: 1rem 0 .35rem; color: var(--ps-muted); font-size: .75rem; }
.ps-footer span { display: inline-flex; align-items: center; gap: .35rem; }
.ps-footer img { display: block; width: auto; }

@media (max-width: 720px) {
  .ps-brand__label { font-size: 0; }
  .ps-brand__label i { font-size: 1rem; }
  .ps-brand__logo { max-width: 160px; max-height: 48px; }
  .ps-intro { align-items: start; flex-direction: column; }
  .ps-intro__badges { justify-content: flex-start; }
  .ps-summary { grid-template-columns: 1fr; }
  .ps-summary > div + div { border-top: 1px solid var(--ps-line); border-left: 0; }
  .ps-location-value { align-items: flex-start; flex-direction: column; }
  .ps-task-list li { grid-template-columns: 38px minmax(0, 1fr); }
  .ps-task-list li > form,
  .ps-task-list li > .ps-task-list__action { grid-column: 2; justify-self: start; }
}

@media (max-width: 480px) {
  .timeslot-button { min-height: 52px; padding-inline: .55rem; flex-direction: column; gap: .22rem; }
  .timeslot-button__status { padding: .15rem .34rem; font-size: .58rem; }
  .ps-waitlist-cta { align-items: stretch; flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .ps-public { padding: .75rem; }
  .ps-hero-carousel { border-radius: 18px; }
  .ps-hero-flickity .flickity-viewport { height: clamp(235px, 72vw, 340px) !important; }
  .ps-hero-carousel .carousel-cell,
  .ps-hero-flickity[data-count="2"] .carousel-cell { width: 88%; border-radius: 15px; }
  .ps-hero-flickity[data-count="1"] .carousel-cell { width: 100%; }
  .ps-intro,
  .ps-card { border-radius: 17px; }
  .ps-kv-row { grid-template-columns: 100px minmax(0, 1fr); }
  .ps-gallery-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ps-public * { scroll-behavior: auto !important; transition: none !important; }
}
