@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Cormorant+Garamond:wght@300;400;500;600&display=swap");

:root {
    --plf-bg: #fbf8f3;
    --plf-text: #171714;
    --plf-copy: #5d574e;
    --plf-muted: #8a8379;
    --plf-gold: #9a7d45;
    --plf-line: rgba(154, 125, 69, 0.28);
    --plf-white: #fff;
    --plf-noir: #171713;
    --plf-noir-center: #28231b;
    --plf-noir-frame: #f7f2ea;
    --plf-noir-gold: #c6ad80;
    --plf-noir-copy: #d8d0c5;
}

[data-plf-lang-content][hidden] {
    display: none !important;
}

.plf-lang-switcher {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0 0 18px;
}

body.plf-gallery-page .plf-lang-button {
    display: inline-flex;
    position: relative;
    width: 34px;
    height: 30px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(159, 124, 71, 0.58);
    border-radius: 999px;
    background: transparent;
    color: var(--plf-copy-color, #6f6b63);
    font: 500 10px/1 "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.plf-lang-button::before {
    position: absolute;
    inset: -7px -4px;
    content: "";
}

body.plf-gallery-page .plf-lang-button.is-active {
    border-color: var(--plf-accent-color, #9f7c47);
    background: var(--plf-accent-color, #9f7c47);
    color: #fff;
}

.plf-lang-button:focus-visible {
    outline: 2px solid var(--plf-accent-color, #9f7c47);
    outline-offset: 3px;
}

.plf-story-copy .plf-lang-switcher {
    justify-content: flex-start;
}

html {
    scroll-behavior: smooth;
}

body.plf-gallery-page {
    margin: 0;
    color: var(--plf-text);
    background: var(--plf-bg) !important;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.plf-gallery-page,
body.plf-gallery-page * {
    box-sizing: border-box;
}

body.plf-gallery-page button,
body.plf-gallery-page input {
    font: inherit;
}

.plf-gallery-main,
.plf-client-story {
    width: 100%;
    max-width: none;
    margin: 0;
    background: var(--plf-bg);
}

.plf-gallery-menu-fallback {
    display: grid;
    min-height: 92px;
    place-items: center;
    background: var(--plf-bg);
}

.plf-gallery-menu-fallback a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    color: var(--plf-text);
    text-decoration: none;
}

.plf-gallery-menu-fallback span {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 25px;
    letter-spacing: 2.5px;
}

.plf-gallery-menu-fallback small {
    margin-top: 6px;
    color: var(--plf-gold);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 7.5px;
    font-weight: 600;
    letter-spacing: 2.35px;
}

/* Dostęp do galerii */
.plf-access-screen {
    display: grid;
    min-height: calc(100vh - 92px);
    padding: clamp(54px, 8vw, 110px) 20px;
    place-items: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(154, 125, 69, 0.08), transparent 32%),
        var(--plf-bg);
}

.plf-access-card {
    width: min(640px, 100%);
    padding: clamp(42px, 7vw, 82px);
    text-align: center;
    background: rgba(255, 255, 255, 0.38);
    border-top: 1px solid var(--plf-line);
    border-bottom: 1px solid var(--plf-line);
}

.plf-access-kicker,
.plf-client-kicker,
.plf-client-subtitle {
    display: block;
    margin: 0;
    color: var(--plf-accent-color, #8a7657);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2.2px;
    line-height: 1.5;
    text-transform: uppercase;
}

.plf-access-card h1 {
    margin: 14px 0 18px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(48px, 7vw, 78px);
    font-weight: 500;
    line-height: 1;
}

.plf-access-card > p {
    margin: 10px 0;
    color: var(--plf-copy);
    font-size: 19px;
}

.plf-access-form {
    width: min(450px, 100%);
    margin: 38px auto 0;
    text-align: left;
}

.plf-access-form label {
    display: block;
    margin: 0 0 10px;
    color: rgba(65, 58, 49, 0.52);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 0.23em;
    text-align: center;
    text-transform: uppercase;
}

.plf-password-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    border-bottom: 1px solid rgba(154, 125, 69, 0.34);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.plf-password-row:focus-within {
    border-bottom-color: rgba(154, 125, 69, 0.82);
    box-shadow: 0 1px 0 rgba(154, 125, 69, 0.12);
}

.plf-password-row input {
    min-width: 0;
    min-height: 50px;
    padding: 14px 3px 12px;
    color: var(--plf-text);
    background: transparent;
    border: 0;
    border-radius: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.1em;
    outline: none;
}

.plf-password-row input::placeholder {
    color: rgba(65, 58, 49, 0.38);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.04em;
}

.plf-password-row input:focus {
    border: 0;
    box-shadow: none;
}

.plf-button {
    display: inline-flex;
    min-width: 220px;
    min-height: 52px;
    padding: 14px 32px;
    align-items: center;
    justify-content: center;
    color: var(--plf-text);
    background: transparent;
    border: 1px solid #b99a68;
    border-radius: 999px;
    cursor: pointer;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.7px;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.28s ease, border-color 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.plf-password-row .plf-button {
    min-width: 0;
    min-height: 50px;
    padding: 13px 3px 11px 22px;
    gap: 9px;
    color: rgba(23, 23, 20, 0.68);
    background: transparent;
    border: 0;
    border-radius: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 0.2em;
}

.plf-button:hover,
.plf-button:focus-visible {
    color: var(--plf-white);
    background: #b99a68;
    border-color: #b99a68;
    outline: none;
    transform: translateY(-1px);
}

.plf-password-row .plf-button:hover,
.plf-password-row .plf-button:focus-visible {
    color: var(--plf-gold);
    background: transparent;
    border: 0;
    outline: none;
    transform: none;
}

.plf-password-arrow {
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1;
    transition: transform 0.25s ease;
}

.plf-password-row .plf-button:hover .plf-password-arrow,
.plf-password-row .plf-button:focus-visible .plf-password-arrow {
    transform: translateX(3px);
}

.plf-access-help {
    margin-top: 22px !important;
    font-size: 15px !important;
}

.plf-access-error {
    margin: 24px 0;
    padding: 12px 15px;
    color: #7b2727;
    background: #fff0ef;
    border: 1px solid #e9c6c3;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
}

/* Okładka i tytuł */
.plf-client-hero {
    width: 100%;
    padding: 30px 0 0;
    overflow: visible;
    background: var(--plf-bg);
}

.plf-client-hero-image {
    position: relative;
    width: 80%;
    max-width: none;
    aspect-ratio: 8 / 3;
    margin: 0 auto;
    overflow: hidden;
    background: #ece7df;
}

.plf-client-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.plf-client-title-wrap {
    width: min(var(--plf-title-width, 960px), 80%);
    margin: var(--plf-title-margin-top, 32px) auto 0;
    text-align: center;
}

.plf-client-title {
    margin: 14px 0 !important;
    color: var(--plf-title-color, var(--plf-text));
    font-family: var(--plf-title-font, "Playfair Display", Georgia, serif);
    font-size: clamp(min(72px, var(--plf-title-size-desktop, 132px)), 6.5vw, var(--plf-title-size-desktop, 132px)) !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    line-height: var(--plf-title-line-height, 0.96) !important;
    overflow-wrap: anywhere;
    text-wrap: balance;
    text-transform: var(--plf-title-transform, none);
}

.plf-client-subtitle {
    max-width: 620px;
    margin: 0 auto;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.plf-client-story .plf-client-title {
    margin: var(--plf-kicker-title-gap, 14px) 0 0 !important;
}

.plf-client-story .plf-client-subtitle {
    margin-top: var(--plf-title-subtitle-gap, 14px);
}

.plf-gallery-title-wrap {
    padding-bottom: var(--plf-subtitle-intro-gap, 30px);
}

.plf-gallery-title-wrap.no-subtitle {
    padding-bottom: calc(var(--plf-title-subtitle-gap, 14px) + var(--plf-subtitle-intro-gap, 30px));
}

.plf-client-intro {
    width: calc(100% - 42px);
    max-width: var(--plf-text-width, 760px) !important;
    margin: 0 auto;
    padding: 0 0 var(--plf-intro-margin-bottom, 72px);
    text-align: var(--plf-copy-align, center);
}

.plf-client-intro.no-subtitle {
    margin-top: 0;
}

.plf-client-intro .plf-gallery-prose,
.plf-client-intro .plf-gallery-prose p {
    width: 100% !important;
    max-width: none !important;
    text-align: var(--plf-copy-align, center) !important;
}

.plf-client-intro .plf-gallery-prose > * {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: var(--plf-copy-align, center) !important;
}

.plf-client-intro .plf-gallery-prose p {
    margin-top: 0 !important;
    margin-bottom: 1.15em !important;
}

/* Reportaż — wizualny rytm blogowej historii, z siatką Harmonijnego. */
body.plf-layout-reportage .plf-client-story {
    max-width: 2040px;
    margin: 0 auto;
    color: #6f6b63;
}

body.plf-layout-reportage .plf-client-hero {
    padding-top: 0;
}

body.plf-layout-reportage .plf-client-hero-image {
    width: 100%;
    max-width: 2040px;
    aspect-ratio: 2040 / 800;
    margin: 0 auto;
}

body.plf-layout-reportage .plf-client-title-wrap {
    width: min(var(--plf-title-width, 820px), calc(100% - 48px));
    max-width: var(--plf-title-width, 820px);
    margin: var(--plf-title-margin-top, 58px) auto 0 !important;
    padding: 0 0 var(--plf-subtitle-intro-gap, 30px) !important;
    text-align: var(--plf-copy-align, center);
}

body.plf-layout-reportage .plf-client-kicker {
    margin: 0 0 16px;
    color: #9f7c47;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2.4px;
    line-height: 1.5;
    text-transform: uppercase;
}

body.plf-layout-reportage .plf-client-title,
body.plf-layout-reportage .plf-client-story .plf-client-title {
    margin: var(--plf-kicker-title-gap, 14px) 0 0 !important;
    color: var(--plf-title-color, #1a1a18);
    font-family: var(--plf-title-font, "Playfair Display", Georgia, serif);
    font-size: clamp(min(40px, var(--plf-title-size-desktop, 76px)), 6.5vw, var(--plf-title-size-desktop, 76px)) !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    line-height: var(--plf-title-line-height, 1.24) !important;
    text-transform: var(--plf-title-transform, none);
}

body.plf-layout-reportage .plf-client-subtitle,
body.plf-layout-reportage .plf-client-story .plf-client-subtitle {
    max-width: 720px;
    margin: var(--plf-title-subtitle-gap, 20px) auto 0;
    color: var(--plf-copy-color, #6f6b63);
    font-family: var(--plf-copy-font, "Cormorant Garamond", "Playfair Display", serif);
    font-size: var(--plf-copy-size, 19px);
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1.72;
    text-transform: none;
}

body.plf-layout-reportage .plf-client-intro {
    width: min(var(--plf-text-width, 720px), calc(100% - 48px));
    max-width: var(--plf-text-width, 720px) !important;
    margin: 0 auto !important;
    padding: 0 0 var(--plf-intro-margin-bottom, 48px) !important;
    text-align: var(--plf-copy-align, center);
}

body.plf-layout-reportage .has-gallery-subtitle .plf-client-intro {
    padding-top: 0 !important;
}

body.plf-layout-reportage .plf-client-intro .plf-gallery-prose,
body.plf-layout-reportage .plf-client-intro .plf-gallery-prose p,
body.plf-layout-reportage .plf-client-intro .plf-gallery-prose > * {
    color: var(--plf-copy-color, #6f6b63);
    font-family: var(--plf-copy-font, "Cormorant Garamond", "Playfair Display", serif);
    font-size: var(--plf-copy-size, 19px);
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1.72;
    text-align: var(--plf-copy-align, center) !important;
}

body.plf-layout-reportage .plf-client-story:not(.has-gallery-description) .plf-gallery-title-wrap {
    padding-bottom: 48px !important;
}

body.plf-layout-reportage .plf-gallery-content {
    padding-top: 0;
}

body.plf-layout-reportage .plf-gallery-toolbar {
    margin-bottom: 34px;
}

/* Story — magazynowe wprowadzenie z dwiema fotografiami */
.plf-story-intro {
    display: grid;
    width: min(1180px, 84%);
    margin: clamp(74px, 8vw, 138px) auto clamp(86px, 9vw, 150px);
    align-items: center;
    gap: clamp(44px, 5.5vw, 94px);
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
}

.plf-story-photos {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(18px, 2.2vw, 38px);
}

.plf-story-photo {
    position: relative;
    flex: 0 0 auto;
    margin: 0;
    overflow: hidden;
    background: #ece7df;
}

.plf-story-photo-1 {
    width: 38%;
    aspect-ratio: 4 / 5;
    transform: translateY(6%);
}

.plf-story-photo-2 {
    width: 54%;
    aspect-ratio: 2 / 3;
}

.plf-story-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plf-story-intro.has-single-photo .plf-story-photos {
    justify-content: center;
}

.plf-story-intro.has-single-photo .plf-story-photo {
    width: min(68%, 390px);
    aspect-ratio: 2 / 3;
    transform: none;
}

.plf-story-copy {
    min-width: 0;
}

.plf-story-copy .plf-client-title-wrap {
    width: 100%;
    max-width: 570px;
    margin-right: 0;
    margin-left: 0;
    text-align: left;
}

.plf-story-copy .plf-client-title {
    font-size: clamp(44px, 4vw, var(--plf-title-size-desktop, 82px)) !important;
    line-height: var(--plf-title-line-height, 0.96) !important;
    text-wrap: balance;
}

.plf-story-copy .plf-client-subtitle {
    max-width: 520px;
    margin-right: 0;
    margin-left: 0;
    text-align: left;
}

.plf-story-description {
    width: 100%;
    max-width: 560px !important;
    margin-right: 0;
    margin-left: 0;
    text-align: left;
}

.plf-story-copy .plf-story-description .plf-gallery-prose,
.plf-story-copy .plf-story-description .plf-gallery-prose p,
.plf-story-copy .plf-story-description .plf-gallery-prose > * {
    margin-left: 0 !important;
    text-align: left !important;
}

body.plf-layout-story .plf-gallery-content {
    padding-top: 0;
}

body.plf-layout-story .plf-load-more-wrap {
    max-width: none;
}

.plf-gallery-prose,
.plf-gallery-prose p {
    color: var(--plf-copy-color, var(--plf-copy));
    font-family: var(--plf-copy-font, "Cormorant Garamond", Georgia, serif);
    font-size: var(--plf-copy-size, 20px);
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1.72;
    overflow-wrap: anywhere;
    word-break: normal;
    text-wrap: pretty;
}

.plf-gallery-prose > :first-child {
    margin-top: 0;
}

.plf-gallery-prose > :last-child {
    margin-bottom: 0 !important;
}

/* Sterowanie galerią */
.plf-gallery-content {
    padding: 34px 0 0;
    scroll-margin-top: 110px;
}

.plf-gallery-toolbar {
    display: grid;
    width: var(--plf-gallery-width, 80%);
    max-width: none;
    margin: 0 auto 52px;
    padding: 0;
    align-items: center;
    grid-template-columns: 1fr auto 1fr;
}

.plf-gallery-toolbar-primary {
    display: contents;
}

.plf-gallery-count {
    grid-column: 2;
    justify-self: center;
    color: var(--plf-muted);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 9px;
    letter-spacing: 2px;
    line-height: 1.4;
    text-transform: uppercase;
}

.plf-filter-favorites {
    display: inline-flex;
    position: relative;
    grid-column: 3;
    justify-self: end;
    padding: 3px 0 4px;
    align-items: center;
    gap: 8px;
    color: var(--plf-muted);
    background: none;
    border: 0;
    cursor: pointer;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 1.7px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.plf-filter-favorites:hover {
    color: var(--plf-gold);
}

.plf-filter-favorites[hidden] {
    display: none;
}

.plf-filter-favorites > span:first-child {
    color: var(--plf-gold);
    font-family: Georgia, serif;
    font-size: 14px;
    line-height: 1;
}

.plf-favorite-count {
    display: inline-block;
    min-width: 0;
    height: auto;
    padding: 0;
    color: rgba(65, 58, 49, 0.48);
    background: transparent;
    border-radius: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 8px;
    line-height: 1;
    transform: translateY(-3px);
}

/* Uporządkowana ekspozycja fotografii */
.plf-photo-grid {
    display: grid;
    position: relative;
    width: var(--plf-gallery-width, 80%);
    max-width: none;
    margin: 0 auto;
    grid-template-columns: repeat(var(--plf-cols-qhd, 4), minmax(0, 1fr));
    gap: var(--plf-gallery-gap-desktop, 30px);
    align-items: center;
    justify-content: center;
}

.plf-photo-grid.is-masonry {
    display: block;
}

.plf-photo-grid.is-masonry .plf-photo-card {
    position: absolute;
    max-width: none;
    margin: 0;
    transition: left 0.25s ease, top 0.25s ease;
}

.plf-photo-grid.is-editorial {
    max-width: none;
}

.plf-photo-grid.is-editorial .plf-open-photo img {
    max-width: none;
}

.plf-photo-grid.is-justified.is-masonry .plf-photo-card {
    align-self: start;
}

.plf-photo-grid.is-justified .plf-open-photo,
.plf-photo-grid.is-justified .plf-open-photo img {
    height: 100%;
}

.plf-photo-grid.is-justified .plf-open-photo img {
    object-fit: cover;
}

body.plf-layout-editorial .plf-load-more-wrap {
    max-width: none;
}

.plf-photo-card {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    align-self: center;
    justify-self: center;
    overflow: visible;
    background: transparent;
}

.plf-photo-card[hidden] {
    display: none;
}

.plf-load-more-wrap {
    display: flex;
    width: var(--plf-gallery-width, 80%);
    max-width: none;
    margin: 56px auto 0;
    align-items: center;
    flex-direction: column;
    gap: 13px;
    text-align: center;
}

.plf-load-more-wrap[hidden] {
    display: none;
}

.plf-load-more-status {
    color: rgba(65, 58, 49, 0.55);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.18em;
    line-height: 1.5;
    text-transform: uppercase;
}

.plf-load-more-button {
    min-height: 44px;
    padding: 10px 3px 8px;
    border: 0;
    border-bottom: 1px solid rgba(154, 125, 69, 0.42);
    border-radius: 0;
    color: #413a31;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.plf-load-more-button:disabled {
    cursor: wait;
    opacity: 0.52;
}

.plf-load-more-button:hover,
.plf-load-more-button:focus-visible {
    border-bottom-color: #9a7d45;
    color: #9a7d45;
    outline: none;
}

.plf-load-more-arrow {
    display: inline-block;
    margin-left: 8px;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 11px;
    transition: transform 0.2s ease;
}

.plf-load-more-button:hover .plf-load-more-arrow,
.plf-load-more-button:focus-visible .plf-load-more-arrow {
    transform: translateY(2px);
}

.plf-open-photo {
    display: block;
    width: 100%;
    padding: 0;
    background: none;
    border: 0;
    cursor: zoom-in;
    overflow: hidden;
    border-radius: var(--plf-image-radius, 0);
}

.plf-open-photo:focus {
    outline: none;
}

.plf-open-photo:focus-visible {
    outline: 1px solid rgba(154, 125, 69, 0.58);
    outline-offset: 3px;
}

.plf-open-photo.plf-silent-return-focus:focus-visible {
    outline: none;
}

.plf-open-photo img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0 auto;
    transition: filter 450ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.plf-photo-card:hover .plf-open-photo img {
    filter: brightness(0.94);
    transform: translateY(-2px);
}

.plf-client-story.plf-hover-none .plf-photo-card:hover .plf-open-photo img {
    filter: none;
    transform: none;
}

.plf-client-story.plf-hover-zoom .plf-photo-card:hover .plf-open-photo img {
    filter: brightness(0.97);
    transform: scale(1.018);
}

.plf-favorite-button {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    display: grid;
    width: 28px;
    height: 28px;
    padding: 0;
    place-items: center;
    color: rgba(251, 248, 243, 0.92);
    background: transparent;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    opacity: 0;
    filter: drop-shadow(0 1px 5px rgba(0, 0, 0, 0.72));
    transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.plf-photo-card:hover .plf-favorite-button,
.plf-favorite-button:focus-visible {
    opacity: 1;
}

.plf-photo-card.is-favorite .plf-favorite-button {
    opacity: 0.86;
}

.plf-favorite-button:hover {
    transform: scale(1.06);
}

.plf-photo-card.is-favorite .plf-favorite-button {
    color: #ead4b4;
    background: transparent;
}

.plf-favorite-button span {
    font-family: Georgia, serif;
    font-size: 16px;
    line-height: 1;
}

.plf-empty-gallery,
.plf-empty-favorites {
    width: min(760px, calc(100% - 42px));
    margin: 70px auto;
    padding: 54px 20px;
    color: var(--plf-copy);
    border-top: 1px solid var(--plf-line);
    border-bottom: 1px solid var(--plf-line);
    text-align: center;
}

.plf-selection-workflow {
    width: min(720px, calc(100% - 42px));
    margin: clamp(88px, 10vw, 150px) auto 0;
    padding: clamp(46px, 6vw, 72px) 24px;
    color: var(--plf-text);
    border-top: 1px solid var(--plf-line);
    border-bottom: 1px solid var(--plf-line);
    text-align: center;
}

.plf-selection-eyebrow {
    color: var(--plf-gold);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 9px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.plf-selection-workflow h2 {
    margin: 17px auto 18px;
    font-family: var(--plf-title-font, "Playfair Display", Georgia, serif);
    font-size: clamp(30px, 4vw, 45px);
    font-weight: 400;
    line-height: 1.12;
}

.plf-selection-message {
    max-width: 570px;
    margin: 0 auto;
    color: var(--plf-copy);
    font-family: var(--plf-copy-font, "Cormorant Garamond", Georgia, serif);
    font-size: 18px;
    line-height: 1.65;
}

.plf-selection-summary {
    margin: 25px 0 22px;
    color: var(--plf-muted);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 9px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.plf-selection-summary strong {
    color: var(--plf-gold);
    font-size: 11px;
}

.plf-selection-submit,
.plf-selection-confirm button {
    min-height: 42px;
    padding: 11px 20px;
    color: var(--plf-text);
    background: transparent;
    border: 1px solid rgba(151, 126, 89, 0.5);
    cursor: pointer;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 9px;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.plf-selection-submit:hover,
.plf-selection-confirm-submit:hover {
    color: #fff;
    background: var(--plf-gold);
    border-color: var(--plf-gold);
}

.plf-selection-submit:disabled,
.plf-selection-confirm button:disabled {
    cursor: default;
    opacity: 0.38;
}

.plf-selection-confirm {
    max-width: 520px;
    margin: 25px auto 0;
}

.plf-selection-confirm p {
    margin: 0 0 16px;
    color: var(--plf-copy);
    font-family: var(--plf-copy-font, Georgia, serif);
    font-size: 17px;
}

.plf-selection-confirm > div {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.plf-selection-confirm-cancel {
    border-color: transparent !important;
}

.plf-selection-feedback {
    min-height: 1.5em;
    margin: 18px 0 0;
    color: var(--plf-muted);
    font-size: 13px;
}

.plf-selection-workflow.is-submitted,
.plf-selection-workflow.is-approved {
    background: rgba(151, 126, 89, 0.035);
}

.plf-favorite-button:disabled,
.plf-lightbox-favorite:disabled {
    cursor: default;
    opacity: 0.42;
}

.plf-gallery-closing {
    width: min(820px, calc(100% - 42px));
    margin: clamp(110px, 13vw, 210px) auto 0;
    padding: 78px 0 108px;
    color: var(--plf-text);
    text-align: center;
    border-top: 1px solid var(--plf-line);
}

.plf-gallery-closing h2 {
    max-width: 720px;
    margin: 18px auto 24px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.2;
}

.plf-gallery-closing p {
    margin: 4px 0;
    color: var(--plf-copy);
    font-size: 18px;
}

.plf-gallery-closing .plf-button {
    margin-top: 32px;
}

/* Prywatna strona klienta */
.plf-portal-title-wrap {
    width: min(1120px, 82%);
}

.plf-portal-intro {
    padding-bottom: clamp(70px, 8vw, 130px);
}

.plf-client-library {
    width: 80%;
    margin: 0 auto;
    padding: 28px 0 0;
}

.plf-client-library-heading {
    max-width: 760px;
    margin: 0 auto clamp(70px, 8vw, 128px);
    text-align: center;
}

.plf-client-library-heading h2 {
    margin: 15px 0 18px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(46px, 5vw, 84px);
    font-weight: 400;
    line-height: 1;
}

.plf-client-library-heading > p:last-child {
    margin: 0;
    color: var(--plf-copy);
    font-size: 19px;
}

.plf-client-year-nav {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin: calc(-1 * clamp(42px, 5vw, 76px)) auto clamp(62px, 7vw, 104px);
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--plf-muted);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 8px;
    letter-spacing: 1.35px;
    text-transform: uppercase;
}

.plf-client-year-nav > span {
    margin-right: 5px;
}

.plf-client-year-nav a {
    padding: 8px 12px 7px;
    color: var(--plf-text);
    border: 1px solid var(--plf-line);
    border-radius: 999px;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.plf-client-year-nav a:hover,
.plf-client-year-nav a:focus-visible {
    color: var(--plf-gold);
    border-color: var(--plf-gold);
    outline: none;
}

.plf-client-year + .plf-client-year {
    margin-top: clamp(90px, 10vw, 170px);
}

.plf-client-year-heading {
    display: flex;
    margin-bottom: 38px;
    padding-bottom: 15px;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 1px solid var(--plf-line);
}

.plf-client-year-heading h3 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(34px, 3.2vw, 54px);
    font-weight: 400;
    line-height: 1;
}

.plf-client-year-heading span {
    color: var(--plf-muted);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.plf-client-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(38px, 4vw, 72px) 40px;
}

.plf-client-gallery-card {
    display: block;
    min-width: 0;
    color: var(--plf-text);
    text-decoration: none;
}

.plf-client-gallery-cover {
    position: relative;
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
    background: #e9e3da;
}

.plf-client-gallery-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.45s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.plf-client-gallery-card:hover .plf-client-gallery-cover img,
.plf-client-gallery-card:focus-visible .plf-client-gallery-cover img {
    filter: brightness(0.94);
    transform: scale(1.018);
}

.plf-client-gallery-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: rgba(154, 125, 69, 0.48);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 44px;
    letter-spacing: 4px;
}

.plf-client-gallery-card-body {
    padding-top: 20px;
}

.plf-client-gallery-meta {
    display: flex;
    min-height: 18px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--plf-muted);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 8px;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}

.plf-client-gallery-card h4 {
    margin: 13px 0 9px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(27px, 2.2vw, 38px);
    font-weight: 400;
    line-height: 1.1;
}

.plf-client-gallery-card p {
    margin: 0;
    color: var(--plf-copy);
    font-size: 17px;
    line-height: 1.5;
}

.plf-client-gallery-state {
    display: flex;
    margin-top: 18px;
    padding-top: 13px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--plf-muted);
    border-top: 1px solid var(--plf-line);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 8px;
    letter-spacing: 1.15px;
    line-height: 1.4;
    text-transform: uppercase;
}

.plf-client-gallery-state-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--plf-text);
}

.plf-client-gallery-state-label i {
    display: block;
    width: 5px;
    height: 5px;
    flex: 0 0 auto;
    background: var(--plf-muted);
    border-radius: 50%;
}

.plf-client-gallery-state.is-active .plf-client-gallery-state-label i {
    background: var(--plf-gold);
}

.plf-client-gallery-state.is-complete .plf-client-gallery-state-label i {
    background: #687560;
}

.plf-client-gallery-capability {
    text-align: right;
}

.plf-client-gallery-open {
    display: inline-block;
    margin-top: 17px;
    color: var(--plf-gold);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 9px;
    letter-spacing: 1.45px;
    text-transform: uppercase;
}

.plf-client-gallery-open span {
    display: inline-block;
    margin-left: 7px;
    transition: transform 0.25s ease;
}

.plf-client-gallery-card:hover .plf-client-gallery-open span {
    transform: translateX(4px);
}

.plf-back-to-client-wrap {
    width: 80%;
    margin: 0 auto 34px;
}

.plf-back-to-client {
    color: var(--plf-gold);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 9px;
    letter-spacing: 1.45px;
    text-decoration: none;
    text-transform: uppercase;
}

.plf-back-to-client span {
    display: inline-block;
    margin-right: 8px;
    transition: transform 0.25s ease;
}

.plf-back-to-client:hover span {
    transform: translateX(-4px);
}

.plf-portal-closing {
    margin-top: clamp(120px, 14vw, 230px);
}

/* Lightbox */
.plf-lightbox[hidden] {
    display: none;
}

.plf-lightbox {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: grid;
    width: 100%;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    box-sizing: border-box;
    grid-template: "prev stage next" 1fr "actions actions actions" auto / clamp(44px, 3.4vw, 64px) 1fr clamp(44px, 3.4vw, 64px);
    color: rgba(23, 23, 20, 0.54);
    background: #fbf8f3;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    overflow: hidden;
    overscroll-behavior: none;
}

.plf-lightbox-stage {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 0;
    padding: 32px 18px 20px;
    grid-area: stage;
    overflow: hidden;
    place-items: center;
}

.plf-lightbox-image {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    object-fit: contain;
    opacity: 1;
    background: transparent;
    box-shadow: none;
    transition: opacity 0.16s ease;
}

.plf-lightbox.is-loading .plf-lightbox-image {
    opacity: 0.25;
}

.plf-lightbox-loader {
    position: absolute;
    display: none;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(23, 23, 20, 0.16);
    border-top-color: var(--plf-gold);
    border-radius: 50%;
    animation: plf-spin 0.7s linear infinite;
}

.plf-lightbox.is-loading .plf-lightbox-loader {
    display: block;
}

@keyframes plf-spin {
    to { transform: rotate(360deg); }
}

.plf-lightbox button {
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

.plf-lightbox-close {
    position: absolute;
    z-index: 2;
    top: max(clamp(12px, 1.1vw, 20px), env(safe-area-inset-top));
    right: max(clamp(12px, 1.1vw, 20px), env(safe-area-inset-right));
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: transparent !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    font-size: 0;
    opacity: 0.56;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.plf-lightbox-close::before,
.plf-lightbox-close::after {
    position: absolute;
    width: 20px;
    height: 1px;
    content: "";
    background: rgba(23, 23, 20, 0.64);
    box-shadow: none;
}

.plf-lightbox-close::before { transform: rotate(45deg); }
.plf-lightbox-close::after { transform: rotate(-45deg); }

.plf-lightbox-prev,
.plf-lightbox-next {
    display: grid;
    position: relative;
    width: 100%;
    height: 72px;
    align-self: center;
    justify-self: center;
    place-items: center;
    color: transparent !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    font-size: 0;
    opacity: 0.46;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.plf-lightbox-prev::before,
.plf-lightbox-next::before {
    width: clamp(11px, 0.8vw, 15px);
    height: clamp(11px, 0.8vw, 15px);
    content: "";
    border-top: 1px solid rgba(23, 23, 20, 0.68);
    border-right: 1px solid rgba(23, 23, 20, 0.68);
    filter: none;
}

.plf-lightbox-prev::before { transform: rotate(-135deg); }
.plf-lightbox-next::before { transform: rotate(45deg); }

.plf-lightbox-close:hover,
.plf-lightbox-close:focus-visible,
.plf-lightbox-prev:hover,
.plf-lightbox-prev:focus-visible,
.plf-lightbox-next:hover,
.plf-lightbox-next:focus-visible {
    opacity: 1;
    outline: none;
    transform: scale(1.08);
}

.plf-lightbox-prev { grid-area: prev; }
.plf-lightbox-next { grid-area: next; }

.plf-lightbox-actions {
    display: flex;
    min-height: 58px;
    padding: 10px max(22px, env(safe-area-inset-right)) max(13px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
    box-sizing: border-box;
    grid-area: actions;
    align-items: center;
    justify-content: center;
    gap: 24px;
    border-top: 0;
}

.plf-lightbox-actions button,
.plf-lightbox-actions a,
.plf-lightbox-position {
    color: inherit;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 9px;
    letter-spacing: 1.35px;
    text-decoration: none;
    text-transform: uppercase;
}

.plf-lightbox-favorite-icon {
    margin-right: 6px;
    color: rgba(154, 125, 69, 0.78);
    font-family: Georgia, serif;
    font-size: 12px;
}

.plf-lightbox-position {
    color: rgba(23, 23, 20, 0.36);
}

.plf-lightbox-fullscreen[hidden] {
    display: none;
}

.plf-lightbox-fullscreen-icon {
    display: inline-block;
    margin-right: 6px;
    color: rgba(23, 23, 20, 0.46);
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1;
}

.plf-lightbox-actions button,
.plf-lightbox-actions a {
    opacity: 0.72;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.plf-lightbox-download.is-preparing {
    cursor: progress;
    opacity: 0.38;
    pointer-events: none;
}

.plf-lightbox-actions button:hover,
.plf-lightbox-actions button:focus-visible,
.plf-lightbox-actions a:hover,
.plf-lightbox-actions a:focus-visible {
    color: var(--plf-gold);
    opacity: 1;
    outline: none;
}

.plf-lightbox:fullscreen,
.plf-lightbox:-webkit-full-screen,
.plf-lightbox.is-fallback-fullscreen {
    width: 100%;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
}

body.plf-lightbox-open {
    overflow: hidden;
}

/* Zamawianie odbitek */
.plf-print-add-button {
    position: absolute;
    z-index: 3;
    right: 8px;
    bottom: 8px;
    display: inline-flex;
    min-width: 32px;
    min-height: 32px;
    padding: 7px 9px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #fff;
    background: rgba(30, 27, 23, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 0;
    cursor: pointer;
    font: 500 9px/1 "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.12em;
    opacity: 0;
    text-transform: uppercase;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.plf-photo-card:hover .plf-print-add-button,
.plf-print-add-button:focus-visible {
    opacity: 1;
}

.plf-print-add-button:hover,
.plf-print-add-button:focus-visible {
    background: rgba(154, 125, 69, 0.92);
    outline: none;
}

.plf-print-cart-toggle {
    position: fixed;
    z-index: 9996;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    display: inline-flex;
    min-height: 48px;
    padding: 11px 16px;
    align-items: center;
    gap: 8px;
    color: #f9f5ed;
    background: #29251f;
    border: 1px solid rgba(196, 164, 105, 0.72);
    box-shadow: 0 10px 28px rgba(26, 23, 19, 0.2);
    cursor: pointer;
    font: 500 11px/1 "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.plf-print-cart-count {
    display: grid;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    place-items: center;
    color: #29251f;
    background: #d5bd8b;
    border-radius: 50%;
    font-size: 10px;
    letter-spacing: 0;
}

.plf-print-cart-toggle:not(.has-items) .plf-print-cart-count {
    opacity: 0.58;
}

.plf-print-drawer[hidden] {
    display: none;
}

.plf-print-drawer {
    position: fixed;
    z-index: 9998;
    inset: 0;
    display: flex;
    justify-content: flex-end;
}

.plf-print-drawer-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(24, 21, 18, 0.48);
    border: 0;
    cursor: default;
}

.plf-print-drawer-panel {
    position: relative;
    width: min(560px, 94vw);
    height: 100%;
    padding: 42px 38px calc(42px + env(safe-area-inset-bottom));
    overflow-y: auto;
    color: #302b25;
    background: #fbf8f2;
    box-shadow: -16px 0 52px rgba(24, 21, 18, 0.22);
}

.plf-print-drawer-panel > header {
    display: flex;
    margin-bottom: 34px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.plf-print-drawer-panel h2 {
    margin: 6px 0 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 1;
}

.plf-print-drawer-close {
    width: 44px;
    height: 44px;
    padding: 0;
    color: rgba(48, 43, 37, 0.65);
    background: transparent;
    border: 0;
    cursor: pointer;
    font: 300 34px/1 Arial, sans-serif;
}

.plf-print-cart-item {
    display: grid;
    padding: 18px 0;
    border-top: 1px solid rgba(154, 125, 69, 0.24);
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
}

.plf-print-cart-preview {
    width: 92px;
    aspect-ratio: 1;
    overflow: hidden;
    background: #eee8df;
}

.plf-print-cart-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plf-print-cart-details > strong {
    display: block;
    margin-bottom: 10px;
    overflow: hidden;
    font: 500 11px/1.3 "Helvetica Neue", Arial, sans-serif;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.plf-print-cart-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px auto;
    gap: 10px;
    align-items: end;
}

.plf-print-cart-controls label {
    display: grid;
    gap: 4px;
    color: rgba(48, 43, 37, 0.62);
    font: 500 8px/1 "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.plf-print-cart-controls select,
.plf-print-cart-controls input,
.plf-print-order-form input,
.plf-print-order-form textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    color: #302b25;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(97, 86, 71, 0.24);
    border-radius: 0;
    font: 400 14px/1.3 "Helvetica Neue", Arial, sans-serif;
}

.plf-print-remove-item {
    min-height: 40px;
    padding: 5px 0;
    color: rgba(48, 43, 37, 0.55);
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(97, 86, 71, 0.24);
    cursor: pointer;
    font: 500 9px/1 "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plf-print-line-total {
    display: block;
    margin-top: 10px;
    color: #8a7040;
    font: 500 13px/1 "Helvetica Neue", Arial, sans-serif;
    text-align: right;
}

.plf-print-cart-empty {
    padding: 32px 0;
    border-top: 1px solid rgba(154, 125, 69, 0.24);
    color: rgba(48, 43, 37, 0.62);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 20px;
}

.plf-print-summary {
    margin: 24px 0 36px;
    padding: 20px 0;
    border-top: 1px solid rgba(154, 125, 69, 0.36);
    border-bottom: 1px solid rgba(154, 125, 69, 0.36);
}

.plf-print-summary p {
    display: flex;
    margin: 0 0 9px;
    justify-content: space-between;
    font: 400 13px/1.4 "Helvetica Neue", Arial, sans-serif;
}

.plf-print-summary p:last-child {
    margin-bottom: 0;
}

.plf-print-summary .is-total {
    padding-top: 10px;
    color: #8a7040;
    font-size: 16px;
}

.plf-print-order-form h3,
.plf-print-success h3 {
    margin: 0 0 18px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 28px;
    font-weight: 400;
}

.plf-print-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.plf-print-form-grid label:first-child {
    grid-column: 1 / -1;
}

.plf-print-order-form > label,
.plf-print-form-grid label {
    display: grid;
    margin-bottom: 14px;
    gap: 6px;
    color: rgba(48, 43, 37, 0.68);
    font: 500 9px/1.3 "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.plf-print-order-form textarea {
    resize: vertical;
}

.plf-print-order-form fieldset {
    display: grid;
    margin: 20px 0;
    padding: 16px;
    gap: 12px;
    border: 1px solid rgba(154, 125, 69, 0.28);
}

.plf-print-order-form legend {
    padding: 0 6px;
    font: 500 9px/1 "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.plf-print-order-form fieldset label,
.plf-print-consent {
    display: flex !important;
    margin: 0 !important;
    align-items: flex-start;
    gap: 9px !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    line-height: 1.4 !important;
    text-transform: none !important;
}

.plf-print-order-form fieldset input,
.plf-print-consent input {
    width: auto;
    min-height: 0;
    margin-top: 2px;
}

.plf-print-honeypot {
    position: absolute !important;
    left: -9999px !important;
}

.plf-print-payment-note,
.plf-print-feedback {
    color: rgba(48, 43, 37, 0.6);
    font: 400 12px/1.55 "Helvetica Neue", Arial, sans-serif;
}

.plf-print-submit {
    width: 100%;
    min-height: 50px;
    margin-top: 18px;
    color: #fbf8f2;
    background: #8a7040;
    border: 1px solid #8a7040;
    cursor: pointer;
    font: 500 10px/1 "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.plf-print-submit:disabled {
    cursor: wait;
    opacity: 0.55;
}

.plf-print-success {
    padding: 54px 0;
    text-align: center;
}

.plf-print-success > span {
    display: grid;
    width: 50px;
    height: 50px;
    margin: 0 auto 22px;
    place-items: center;
    color: #8a7040;
    border: 1px solid rgba(154, 125, 69, 0.58);
    border-radius: 50%;
    font-size: 22px;
}

.plf-lightbox-print {
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
}

body.plf-print-cart-open {
    overflow: hidden;
}

@media only screen and (max-width: 1999px) {
    .plf-photo-grid {
        grid-template-columns: repeat(var(--plf-cols-desktop, 3), minmax(0, 1fr));
    }
}

@media only screen and (max-width: 1499px) {
    .plf-photo-grid {
        grid-template-columns: repeat(var(--plf-cols-tablet, 2), minmax(0, 1fr));
    }

    .plf-client-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 900px) {
    .plf-lang-switcher {
        margin-bottom: 16px;
    }
    .plf-selection-workflow {
        width: calc(100% - 36px);
        margin-top: 72px;
        padding: 42px 8px;
    }

    .plf-selection-message {
        font-size: 17px;
    }

    .plf-selection-confirm > div {
        flex-direction: column;
        align-items: center;
    }

    .plf-selection-submit,
    .plf-selection-confirm button {
        width: min(100%, 320px);
    }

    .plf-access-screen {
        min-height: calc(100vh - 68px);
        min-height: calc(100svh - 68px);
        min-height: calc(100dvh - 68px);
        padding: clamp(36px, 8svh, 72px) 16px;
        align-items: start;
    }

    .plf-access-card {
        margin: 0 auto;
    }

    .plf-access-card h1 {
        font-size: clamp(40px, 12vw, 62px);
    }

    .plf-password-row input {
        font-size: 16px;
    }

    .plf-access-screen.is-keyboard-active {
        min-height: max(560px, calc(100dvh - 68px));
        padding-top: 14px;
        padding-bottom: clamp(190px, 46svh, 380px);
    }

    .plf-access-screen.is-keyboard-active .plf-access-card {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .plf-access-screen.is-keyboard-active .plf-access-kicker {
        font-size: 8px;
        letter-spacing: 1.7px;
    }

    .plf-access-screen.is-keyboard-active .plf-access-card h1 {
        margin: 7px 0 8px;
        font-size: clamp(28px, 8vw, 40px);
        line-height: 1.04;
    }

    .plf-access-screen.is-keyboard-active .plf-access-card > p:not(.plf-access-help),
    .plf-access-screen.is-keyboard-active .plf-access-help {
        display: none;
    }

    .plf-access-screen.is-keyboard-active .plf-access-form {
        margin-top: 15px;
        scroll-margin-top: 18px;
        scroll-margin-bottom: 45svh;
    }

    .plf-client-hero {
        padding-top: 22px;
    }

    body.plf-layout-reportage .plf-client-hero {
        padding-top: 0;
    }

    body.plf-layout-reportage .plf-client-hero-image {
        left: auto;
        width: 100%;
        max-width: 100%;
        margin: 0;
        aspect-ratio: 16 / 9;
    }

    body.plf-layout-reportage .plf-client-title-wrap {
        width: min(var(--plf-title-width-mobile, 92%), calc(100% - 36px));
        max-width: var(--plf-title-width-mobile, 92%);
        margin-top: var(--plf-title-margin-mobile, 38px) !important;
        padding-bottom: var(--plf-subtitle-intro-gap-mobile, 32px) !important;
    }

    body.plf-layout-reportage .plf-client-kicker {
        margin-bottom: 12px;
        font-size: 10px;
        letter-spacing: 2px;
    }

    body.plf-layout-reportage .plf-client-title,
    body.plf-layout-reportage .plf-client-story .plf-client-title {
        margin-top: var(--plf-kicker-title-gap-mobile, 14px) !important;
        font-size: min(var(--plf-title-size-mobile, 58px), 13.5vw) !important;
        line-height: var(--plf-title-line-height-mobile, 0.96) !important;
    }

    body.plf-layout-reportage .plf-client-subtitle,
    body.plf-layout-reportage .plf-client-story .plf-client-subtitle,
    body.plf-layout-reportage .plf-client-intro .plf-gallery-prose,
    body.plf-layout-reportage .plf-client-intro .plf-gallery-prose p,
    body.plf-layout-reportage .plf-client-intro .plf-gallery-prose > * {
        font-size: var(--plf-copy-size-mobile, 18px);
        line-height: 1.68;
    }

    body.plf-layout-reportage .plf-client-subtitle,
    body.plf-layout-reportage .plf-client-story .plf-client-subtitle {
        margin-top: var(--plf-title-subtitle-gap-mobile, 16px);
        font-size: var(--plf-copy-size-mobile, 18px);
    }

    body.plf-layout-reportage .plf-client-intro {
        width: min(var(--plf-text-width-mobile, 88%), calc(100% - 36px));
        max-width: var(--plf-text-width-mobile, 88%) !important;
        padding: 0 0 var(--plf-intro-margin-mobile, 56px) !important;
    }

    body.plf-layout-reportage .has-gallery-subtitle .plf-client-intro {
        padding-top: 0 !important;
    }

    body.plf-layout-reportage .plf-client-story:not(.has-gallery-description) .plf-gallery-title-wrap {
        padding-bottom: 38px !important;
    }

    body.plf-layout-reportage .plf-gallery-toolbar,
    body.plf-layout-reportage .plf-photo-grid,
    body.plf-layout-reportage .plf-load-more-wrap {
        width: calc(100% - 28px);
        max-width: calc(100% - 28px);
    }

    .plf-client-hero-image {
        position: relative;
        left: 50%;
        width: 94vw;
        max-width: 94vw;
        margin-right: 0;
        margin-left: -47vw;
        aspect-ratio: 16 / 7;
    }

    .plf-client-title-wrap {
        width: min(var(--plf-title-width-mobile, 92%), calc(100% - 24px));
        max-width: 640px;
        margin-top: var(--plf-title-margin-mobile, 24px);
    }

    .plf-access-kicker,
    .plf-client-kicker,
    .plf-client-subtitle {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .plf-client-title {
        font-size: min(var(--plf-title-size-mobile, 68px), 16vw) !important;
        line-height: var(--plf-title-line-height-mobile, 0.96) !important;
    }

    .plf-client-story .plf-client-title {
        margin-top: var(--plf-kicker-title-gap-mobile, 14px) !important;
    }

    .plf-client-story .plf-client-subtitle {
        margin-top: var(--plf-title-subtitle-gap-mobile, 14px);
    }

    .plf-gallery-title-wrap {
        padding-bottom: var(--plf-subtitle-intro-gap-mobile, 20px);
    }

    .plf-gallery-title-wrap.no-subtitle {
        padding-bottom: calc(var(--plf-title-subtitle-gap-mobile, 14px) + var(--plf-subtitle-intro-gap-mobile, 20px));
    }

    .plf-client-intro {
        width: min(var(--plf-text-width-mobile, 88%), calc(100% - 28px));
        max-width: none !important;
        margin-top: 0 !important;
        padding: 0 0 var(--plf-intro-margin-mobile, 50px) !important;
    }

    .plf-client-intro.no-subtitle {
        margin-top: 0 !important;
    }

    .plf-story-intro {
        display: block;
        width: min(88%, calc(100% - 32px));
        margin-top: 54px;
        margin-bottom: 80px;
    }

    .plf-story-photos {
        width: 100%;
        gap: 14px;
    }

    .plf-story-photo-1 {
        width: 39%;
        transform: translateY(7%);
    }

    .plf-story-photo-2 {
        width: 56%;
    }

    .plf-story-copy {
        margin-top: 54px;
    }

    .plf-story-copy .plf-client-title-wrap {
        width: 100%;
        max-width: none;
    }

    .plf-story-copy .plf-client-title {
        font-size: min(var(--plf-title-size-mobile, 58px), 13.5vw) !important;
    }

    .plf-story-copy .plf-client-kicker,
    .plf-story-copy .plf-client-subtitle,
    .plf-story-copy .plf-gallery-prose,
    .plf-story-copy .plf-gallery-prose p,
    .plf-story-copy .plf-gallery-prose > * {
        text-align: left !important;
    }

    .plf-story-description {
        width: 100%;
        max-width: none !important;
    }

    body.plf-layout-story .plf-gallery-toolbar,
    body.plf-layout-story .plf-photo-grid {
        width: 88vw;
        max-width: 88vw;
    }

    .plf-portal-intro {
        padding-bottom: 74px;
    }

    .plf-gallery-prose,
    .plf-gallery-prose p {
        font-size: var(--plf-copy-size-mobile, 18px);
        line-height: 1.68;
    }

    .plf-gallery-toolbar {
        width: 94vw;
        margin-bottom: 32px;
    }

    .plf-photo-grid {
        position: relative;
        left: 50%;
        width: 94vw;
        max-width: 94vw;
        margin-right: 0;
        margin-left: -47vw;
        grid-template-columns: repeat(var(--plf-cols-mobile, 1), minmax(0, 1fr));
        gap: var(--plf-gallery-gap-mobile, 30px);
    }

    body.plf-layout-reportage .plf-photo-grid {
        left: auto;
        margin-right: auto;
        margin-left: auto;
    }

    .plf-load-more-wrap {
        width: 94vw;
        margin-top: 42px;
    }

    .plf-client-library {
        width: 94vw;
        padding-top: 12px;
    }

    .plf-client-library-heading {
        max-width: calc(100% - 24px);
        margin-bottom: 72px;
    }

    .plf-client-library-heading h2 {
        font-size: clamp(44px, 13vw, 68px);
    }

    .plf-client-year-nav {
        margin-top: -38px;
        margin-bottom: 64px;
        flex-wrap: wrap;
    }

    .plf-client-year-nav > span {
        width: 100%;
        margin: 0 0 3px;
        text-align: center;
    }

    .plf-client-year-heading {
        margin-bottom: 25px;
    }

    .plf-client-gallery-grid {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .plf-client-gallery-card {
        width: min(100%, 620px);
        margin: 0 auto;
    }

    .plf-client-gallery-card h4 {
        font-size: 30px;
    }

    .plf-client-gallery-state {
        font-size: 7.5px;
    }

    .plf-back-to-client-wrap {
        width: 94vw;
        margin-bottom: 24px;
    }

    .plf-photo-card {
        margin: 0;
    }

    .plf-print-add-button {
        right: 6px;
        bottom: 6px;
        min-width: 34px;
        min-height: 34px;
        padding: 7px;
        opacity: 0.88;
    }

    .plf-print-add-label {
        display: none;
    }

    .plf-print-cart-toggle {
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        min-height: 44px;
        padding: 9px 12px;
        font-size: 9px;
    }

    .plf-print-drawer {
        align-items: flex-end;
    }

    .plf-print-drawer-panel {
        width: 100%;
        height: min(92dvh, 920px);
        padding: 28px 18px calc(28px + env(safe-area-inset-bottom));
        box-shadow: 0 -12px 42px rgba(24, 21, 18, 0.22);
    }

    .plf-print-drawer-panel > header {
        margin-bottom: 24px;
    }

    .plf-print-drawer-panel h2 {
        font-size: 32px;
    }

    .plf-print-cart-item {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
    }

    .plf-print-cart-preview {
        width: 72px;
    }

    .plf-print-cart-controls {
        grid-template-columns: minmax(0, 1fr) 58px;
    }

    .plf-print-remove-item {
        grid-column: 1 / -1;
        min-height: 28px;
        text-align: left;
    }

    .plf-print-form-grid {
        grid-template-columns: 1fr;
    }

    .plf-print-form-grid label:first-child {
        grid-column: auto;
    }

    .plf-favorite-button {
        top: 6px;
        right: 6px;
        width: 24px;
        height: 24px;
        opacity: 0.72;
    }

    .plf-favorite-button span {
        font-size: 14px;
    }

    .plf-gallery-closing {
        margin-top: 86px;
        padding: 58px 0 68px;
    }

    .plf-lightbox {
        grid-template: "stage" minmax(0, 1fr) / 1fr;
    }

    .plf-lightbox-stage {
        padding: max(54px, calc(env(safe-area-inset-top) + 44px)) 8px calc(64px + env(safe-area-inset-bottom));
    }

    .plf-lightbox-image {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        padding: 0;
        align-self: start;
        justify-self: center;
        object-position: center center;
    }

    .plf-lightbox.is-landscape-photo .plf-lightbox-image {
        align-self: center;
    }

    .plf-lightbox-close {
        top: max(8px, env(safe-area-inset-top));
        right: max(8px, env(safe-area-inset-right));
        width: 34px;
        height: 34px;
    }

    .plf-lightbox-close::before,
    .plf-lightbox-close::after {
        width: 17px;
    }

    .plf-lightbox-prev,
    .plf-lightbox-next {
        position: absolute;
        z-index: 3;
        top: var(--plf-mobile-image-top, 54px);
        width: var(--plf-mobile-image-half-width, 50%);
        height: var(--plf-mobile-image-height, 50%);
        padding: 0 10px;
        transform: none;
        touch-action: manipulation;
    }

    .plf-lightbox-prev {
        left: var(--plf-mobile-image-left, 0);
        place-items: center start;
    }

    .plf-lightbox-next {
        right: auto;
        left: calc(var(--plf-mobile-image-left, 0px) + var(--plf-mobile-image-half-width, 50%));
        place-items: center end;
    }

    .plf-lightbox-prev::before,
    .plf-lightbox-next::before {
        position: absolute;
        top: 50%;
        width: 12px;
        height: 12px;
    }

    .plf-lightbox-prev::before {
        left: 12px;
        transform: translateY(-50%) rotate(-135deg);
    }

    .plf-lightbox-next::before {
        right: 12px;
        transform: translateY(-50%) rotate(45deg);
    }

    .plf-lightbox-actions {
        position: absolute;
        z-index: 4;
        top: var(--plf-mobile-actions-top, calc(100% - 54px - env(safe-area-inset-bottom)));
        right: 0;
        left: 0;
        min-height: 54px;
        flex-wrap: nowrap;
        gap: clamp(22px, 8vw, 34px);
        padding: 7px max(18px, env(safe-area-inset-right)) max(9px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
        color: rgba(23, 23, 20, 0.62);
        border-top: 0;
    }

    .plf-lightbox.is-fullscreen {
        grid-template: "stage" minmax(0, 1fr) / 1fr;
    }

    .plf-lightbox.is-fullscreen .plf-lightbox-stage {
        padding-bottom: 6px;
    }

    .plf-lightbox.is-fullscreen .plf-lightbox-actions {
        min-height: 48px;
        padding-top: 6px;
    }

    .plf-lightbox.is-fullscreen .plf-lightbox-favorite,
    .plf-lightbox.is-fullscreen .plf-lightbox-download,
    .plf-lightbox.is-fullscreen .plf-lightbox-position {
        display: none;
    }

    .plf-lightbox-actions button,
    .plf-lightbox-actions a,
    .plf-lightbox-position {
        font-size: 9px;
    }

    .plf-lightbox-favorite-label,
    .plf-lightbox-download-label,
    .plf-lightbox-fullscreen-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
        border: 0;
    }

    .plf-lightbox-actions button,
    .plf-lightbox-actions a {
        display: inline-grid;
        min-width: 36px;
        min-height: 36px;
        padding: 0;
        opacity: 1;
        place-items: center;
    }

    .plf-lightbox-favorite-icon {
        margin: 0;
        font-size: 21px;
        line-height: 1;
    }

    .plf-lightbox-download-icon {
        position: relative;
        display: block;
        width: 17px;
        height: 17px;
        overflow: hidden;
        color: transparent;
        font-size: 0;
    }

    .plf-lightbox-download-icon::before {
        position: absolute;
        top: 2px;
        right: 2px;
        width: 9px;
        height: 9px;
        content: "";
        border-top: 1px solid currentColor;
        border-right: 1px solid currentColor;
        color: rgba(23, 23, 20, 0.58);
    }

    .plf-lightbox-download-icon::after {
        position: absolute;
        top: 3px;
        right: 3px;
        width: 13px;
        height: 1px;
        content: "";
        background: rgba(23, 23, 20, 0.58);
        transform: rotate(-45deg);
        transform-origin: right center;
    }

    .plf-lightbox-fullscreen-icon {
        margin: 0;
        font-size: 18px;
    }

    .plf-lightbox-position {
        min-width: 42px;
        text-align: center;
    }

    .plf-lightbox-prev:hover,
    .plf-lightbox-prev:focus-visible,
    .plf-lightbox-next:hover,
    .plf-lightbox-next:focus-visible {
        transform: none;
    }
}

@media only screen and (max-width: 540px) {
    .plf-access-card {
        padding-right: 22px;
        padding-left: 22px;
    }

    .plf-access-screen.is-keyboard-active .plf-access-card {
        padding-right: 14px;
        padding-left: 14px;
    }

    .plf-password-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .plf-password-row input {
        min-height: 48px;
        padding-left: 0;
        border: 0;
    }

    .plf-password-row .plf-button {
        width: auto;
        min-width: 0;
        min-height: 48px;
        padding-right: 0;
        padding-left: 15px;
    }

    .plf-favorite-button {
        top: 5px;
        right: 5px;
        width: 22px;
        height: 22px;
    }

    .plf-favorite-button span {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
.plf-guest-waiting {
    width: min(760px, calc(100% - 40px));
    margin: 70px auto 110px;
    padding: 56px 48px;
    text-align: center;
    background: #faf8f5;
    border: 1px solid rgba(165, 125, 72, .28);
}

.plf-guest-waiting h2 { margin: 12px auto 22px; font-family: Georgia, serif; font-weight: 400; }
.plf-guest-waiting .plf-gallery-prose { max-width: 620px; margin: 0 auto 22px; }
.plf-guest-publish-date { margin-top: 24px; }

@media (max-width: 680px) {
    .plf-guest-waiting { margin: 42px auto 72px; padding: 38px 24px; }
}
