.fbps{--fb-ink:#27322f;--fb-accent:#496b62;--fb-paper:#f8f6f1;--fb-line:#dedfd7;box-sizing:border-box;background:var(--fb-paper);color:var(--fb-ink);font-family:inherit;font-size:18px;line-height:1.6;max-width:1240px;margin:0 auto;padding:48px 40px;border-radius:24px}.fbps *{box-sizing:border-box}.fbps [hidden]{display:none!important}.fbps h2,.fbps h3,.fbps h4,.fbps p{margin:0 0 18px;color:inherit}.fbps h2{font-size:clamp(36px,5vw,64px);line-height:1.12;font-weight:500;letter-spacing:-.04em}.fbps h2 span{color:var(--fb-accent)}.fbps h3{font-size:30px;line-height:1.25;letter-spacing:-.02em}.fbps h4{font-size:22px;line-height:1.35;font-weight:600}.fbps a{color:var(--fb-accent);text-decoration:none}.fbps a:hover{text-decoration:underline}.fbps button,.fbps input,.fbps select,.fbps textarea{font:inherit;line-height:1.4}.fbps button,.fbps a,.fbps input,.fbps select,.fbps summary{outline-offset:4px}.fbps :focus-visible{outline:3px solid #47675e}.fbps .fbps-eyebrow{font-size:16px;font-weight:600;letter-spacing:.09em;margin-bottom:22px}.fbps-hero{padding:12px 0 40px;border-bottom:1px solid var(--fb-line)}.fbps-hero>p:not(.fbps-eyebrow){font-size:20px;max-width:740px}.fbps-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:26px}.fbps .fbps-button{background:var(--fb-accent);color:#fff;border:1px solid var(--fb-accent);border-radius:10px;padding:13px 22px;min-height:48px;font-weight:600;cursor:pointer;text-decoration:none}.fbps .fbps-button:hover{background:#36574f}.fbps .fbps-button:disabled{opacity:.5;cursor:not-allowed}.fbps-link{font-weight:600}.fbps-tools{display:grid;grid-template-columns:1.3fr 1fr auto;gap:18px;align-items:end;padding-top:32px}.fbps label{display:flex;flex-direction:column;gap:8px;font-size:17px;font-weight:600}.fbps input,.fbps select,.fbps textarea{width:100%;max-width:100%;min-height:50px;padding:11px 12px;color:var(--fb-ink);background:#fff;border:1px solid #aab7b0;border-radius:8px;font-size:18px;box-shadow:none}.fbps .fbps-reset{background:transparent;border:1px solid #aab7b0;padding:11px 16px;border-radius:8px;min-height:50px;color:var(--fb-ink);cursor:pointer}.fbps .fbps-count{font-size:16px;margin-top:12px}.fbps-nav{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 32px}.fbps-nav a{border:1px solid var(--fb-line);background:#fff;border-radius:24px;padding:8px 15px;font-size:16px;min-height:44px}.fbps-section{scroll-margin-top:100px;margin:46px 0}.fbps-section-head{display:flex;justify-content:space-between;align-items:baseline;gap:18px;margin-bottom:18px}.fbps-section-head h3{margin:0}.fbps-section-head a{font-size:16px;white-space:nowrap}.fbps-card{background:#fff;border:1px solid var(--fb-line);border-radius:14px;overflow:hidden;margin-bottom:20px}.fbps-card h4{padding:22px 24px 0}.fbps table{border-collapse:collapse;width:100%;font-size:18px;line-height:1.45;margin:0;border:0;table-layout:auto}.fbps th,.fbps td{padding:14px 20px;border:0;border-top:1px solid #e7e9e3;text-align:right;vertical-align:top;overflow-wrap:anywhere}.fbps th:first-child{width:42%;text-align:left;font-weight:500}.fbps thead th{font-size:16px;font-weight:600;background:#eff2ed;vertical-align:bottom}.fbps tbody tr:hover{background:#fafbf8}.fbps .fbps-note{font-size:16px;line-height:1.6;color:#525e57;white-space:pre-line}.fbps-card .fbps-note{padding:18px 24px;margin:0;background:#f2f3ef;border-top:1px solid var(--fb-line)}.fbps-empty{padding:24px;background:#fff;border-radius:10px}.fbps-calculator{scroll-margin-top:100px;background:#eaf0e9;border:1px solid #d7e1d6;padding:32px;border-radius:18px;margin:48px 0}.fbps-calc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0 12px}.fbps-result{padding:22px 0;border-top:1px solid #cbd6cb;margin-top:22px}.fbps-result>span{display:block;font-size:16px}.fbps-total{display:block;font-size:38px;line-height:1.2;margin:8px 0}.fbps-breakdown{margin:10px 0 0!important}.fbps-copy-status{font-size:16px;margin:16px 0 0!important}.fbps-copy-fallback{margin-top:16px;min-height:150px!important}.fbps-faq{margin:40px 0}.fbps details{border-bottom:1px solid var(--fb-line);padding:16px 0}.fbps summary{font-size:20px;font-weight:600;cursor:pointer;min-height:32px}.fbps details p{margin:14px 0 4px}.fbps-footer{border-top:1px solid var(--fb-line);padding-top:28px;display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}.fbps-contact>a{font-size:24px;font-weight:600}.fbps-contact>div{display:flex;gap:24px;margin-top:10px}.fbps-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:900px){.fbps{padding:30px 24px}.fbps-tools{grid-template-columns:1fr 1fr}.fbps-reset{justify-self:start}.fbps-calc-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.fbps{padding:24px 16px;border-radius:12px;font-size:18px}.fbps h2{font-size:38px}.fbps h3{font-size:26px}.fbps h4{font-size:22px}.fbps-tools{grid-template-columns:1fr;gap:14px}.fbps-nav{gap:8px}.fbps-section-head{display:block}.fbps-section-head a{display:inline-block;margin-top:12px}.fbps-section{margin:32px 0}.fbps table,.fbps tbody{display:block;width:100%}.fbps thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.fbps tbody tr{display:block;padding:16px 18px;border-top:1px solid var(--fb-line)}.fbps tbody th:first-child{display:block;width:100%;border:0;padding:0 0 8px;font-size:19px;font-weight:600}.fbps tbody td{display:flex;justify-content:space-between;gap:16px;border:0;padding:7px 0;text-align:right;font-size:18px;font-weight:600}.fbps tbody td:before{content:attr(data-label);font-size:16px;font-weight:400;text-align:left;max-width:65%}.fbps-card h4{padding:20px 18px 0}.fbps-card .fbps-note{padding:16px 18px}.fbps-calculator{padding:24px 18px}.fbps-calc-grid{grid-template-columns:1fr}.fbps-actions{gap:18px}.fbps-footer{display:block}.fbps-contact{margin-bottom:24px}.fbps-total{font-size:32px}.fbps-hero>p:not(.fbps-eyebrow){font-size:18px}}
@media print{.fbps{padding:0;max-width:none;background:#fff;font-size:12pt}.fbps-tools,.fbps-nav,.fbps-count,.fbps-calculator,.fbps-actions,.fbps-section-head a,.fbps-empty,.fbps-faq{display:none!important}.fbps-sections [hidden]{display:revert!important}.fbps-card{break-inside:avoid}.fbps h2{font-size:28pt}.fbps table{font-size:11pt}.fbps th,.fbps td{padding:6px}.fbps-note{font-size:10pt!important}}

.fbps-photo-lines{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}.fbps-photo-line{padding:18px;background:#f8faf6;border:1px solid #cbd6cb;border-radius:12px}.fbps-photo-line>p{font-weight:600;margin-bottom:14px}.fbps-photo-line label+label{margin-top:14px}.fbps-calc-grid:has(.fbps-type option[value="photo"]:checked){grid-template-columns:1fr}
@media(max-width:760px){.fbps-photo-lines{grid-template-columns:1fr}.fbps-photo-line{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fbps-photo-line>p{grid-column:1/-1;margin:0}.fbps-photo-line label+label{margin-top:0}}

/* Compact price header and mobile price rows, version 2.2 */
.fbps{padding-top:28px}.fbps-hero{padding:0 0 24px}.fbps h2{font-size:clamp(30px,3.6vw,44px)}.fbps .fbps-eyebrow{font-size:16px;margin-bottom:14px}.fbps-hero>p:not(.fbps-eyebrow){font-size:18px}.fbps-send{padding:28px;border:1px solid var(--fb-line);border-radius:14px;margin:36px 0;scroll-margin-top:90px}.fbps-send [id]{scroll-margin-top:90px}.fbps-send .fb-order-form{display:grid;gap:14px;margin-top:18px}.fbps-send .fb-order-form label{font-size:17px}.fbps-send .fb-order-form small{font-size:16px}.fbps-send .fb-consent{display:flex;align-items:flex-start;gap:10px}.fbps-send .fb-consent input{width:20px;min-height:20px;flex-shrink:0}.fbps-send .fb-honeypot{position:absolute;left:-10000px;width:1px;overflow:hidden}.fbps-send button[type=submit]{font:inherit;color:#fff;background:#496b62;border:0;border-radius:8px;padding:14px 20px;cursor:pointer}.fbps-send .fb-message{padding:16px;background:#eaf0e9}.fbps-send .fb-message-error{border:1px solid #9b3939}
/* Shared header of the FotoBelka theme, all pages */
.fb-header{padding-block:10px!important;gap:18px!important}.fb-header .fb-logo{width:138px!important}.fb-header .fb-logo img{width:138px!important;height:auto!important}.fb-header .wp-block-navigation,.fb-header .wp-block-navigation a,.fb-header nav a{color:#515958!important;font-size:16px!important;font-weight:600!important}.fb-header .wp-block-buttons{gap:10px}.fb-top{padding-block:8px!important}
@media(max-width:760px){.fbps tbody tr{padding:12px 16px}.fbps tbody th:first-child{padding-bottom:5px}.fbps tbody td{padding:4px 0}.fbps table{line-height:1.35}.fbps-card{margin-bottom:14px}.fbps-card h4{padding-top:16px}.fbps-card .fbps-note{padding:12px 16px}.fbps h2{font-size:32px}.fbps-hero .fbps-actions{margin-top:18px}.fbps-send{padding:18px}.fb-header .fb-logo,.fb-header .fb-logo img{width:125px!important}.fb-header .wp-block-navigation a{font-size:15px!important}}
.fb-header .wp-block-button__link:not([href$="#order"]){color:#515958!important;font-weight:600!important;font-size:16px!important}

/* ФотоБелка 2.3.2 — компактная форма на главной и в прайсе */
.fb-order{max-width:720px}
.fb-order-form,.fbps-send .fb-order-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;width:100%;max-width:680px;margin-inline:auto;align-items:start}
.fb-order-form>label,.fbps-send .fb-order-form>label{display:flex;flex-direction:column;grid-column:1/-1;gap:5px;margin:0;font-size:16px;font-weight:500;line-height:1.4;min-width:0}
.fb-order-form>.fb-field-short,.fbps-send .fb-order-form>.fb-field-short{grid-column:auto}
.fb-order-form input:not([type=checkbox]):not([type=hidden]),.fb-order-form select,.fb-order-form textarea,.fbps-send .fb-order-form input:not([type=checkbox]):not([type=hidden]),.fbps-send .fb-order-form select,.fbps-send .fb-order-form textarea{font-family:inherit;font-size:17px;line-height:1.35;width:100%;min-width:0;min-height:44px;padding:9px 11px;border:1px solid #bac5bd;border-radius:7px;background:#fff;box-sizing:border-box}
.fb-order-form textarea,.fbps-send .fb-order-form textarea{height:82px;min-height:82px;resize:vertical}
.fb-order-form input[type=file],.fbps-send .fb-order-form input[type=file]{font-size:16px;padding:9px;background:#f8faf6;border-style:dashed;min-height:48px;overflow:hidden}
.fb-order-form input[type=file]::file-selector-button{font:inherit;padding:7px 10px;margin-right:10px;border:1px solid #bac5bd;border-radius:5px;background:#edf1eb;color:#35483e;cursor:pointer}
.fb-order-form>.fb-consent,.fbps-send .fb-order-form>.fb-consent{display:flex;flex-direction:row;gap:9px;align-items:flex-start;font-size:16px;line-height:1.4}
.fb-order-form .fb-consent input,.fbps-send .fb-order-form .fb-consent input{flex:0 0 19px;width:19px;height:19px;min-height:19px;margin:2px 0 0;padding:0;accent-color:#496b62}
.fb-order-form>button[type=submit],.fbps-send .fb-order-form>button[type=submit]{grid-column:1/-1;justify-self:start;width:auto;min-height:44px;padding:10px 20px;font-size:17px;line-height:1.4}
.fb-order-form small,.fbps-send .fb-order-form small{font-size:16px;line-height:1.4;color:#5a645f;font-weight:400}
.fb-order-form>small,.fbps-send .fb-order-form>small{grid-column:1/-1;margin:0}
.fb-order-form .fb-honeypot,.fbps-send .fb-order-form .fb-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:600px){.fb-order-form,.fbps-send .fb-order-form{grid-template-columns:minmax(0,1fr);gap:12px}.fb-order-form>.fb-field-short,.fbps-send .fb-order-form>.fb-field-short{grid-column:1/-1}.fb-order-form input:not([type=checkbox]):not([type=hidden]),.fb-order-form select,.fbps-send .fb-order-form input:not([type=checkbox]):not([type=hidden]),.fbps-send .fb-order-form select{min-height:48px}.fb-order-form>button[type=submit],.fbps-send .fb-order-form>button[type=submit]{min-height:48px}.fb-order-form textarea,.fbps-send .fb-order-form textarea{height:88px;min-height:88px}}

/* Прайс 2.4: пояснения плотности и компактный первый экран */
.fbps .fbps-density{display:block;font-size:12px;line-height:1.3;font-weight:400;color:#5a645f;margin-bottom:4px}
.fbps .fbps-hero{padding-bottom:20px}.fbps .fbps-hero h2{font-size:clamp(28px,3vw,36px);line-height:1.14;margin-bottom:14px}
.fbps .fbps-hero>.fbps-eyebrow{font-size:14px;letter-spacing:.05em;margin-bottom:12px}
.fbps .fbps-hero>p:not(.fbps-eyebrow){font-size:17px;line-height:1.5;margin-bottom:14px}
.fbps .fbps-hero .fbps-actions{margin-top:18px;gap:20px}.fbps .fbps-hero .fbps-button{font-size:17px;padding:11px 18px}
@media(max-width:760px){.fbps .fbps-hero h2{font-size:29px}.fbps .fbps-hero>.fbps-eyebrow{font-size:14px;line-height:1.5}.fbps .fbps-hero>p:not(.fbps-eyebrow){font-size:17px}.fbps tbody td:before{font-size:16px}}

/* Photobooks: compact rows and intact column headings. */
.fbps-section[data-category="books"] th,.fbps-section[data-category="books"] td{padding:10px 14px;overflow-wrap:normal;word-break:normal}
.fbps-section[data-category="books"] th:first-child{width:22%}
.fbps-section[data-category="books"] thead th{line-height:1.3}
.fbps-section[data-category="books"] thead th:nth-child(2){white-space:nowrap}
@media(max-width:760px){.fbps-section[data-category="books"] tbody tr{padding:10px 14px}.fbps-section[data-category="books"] tbody th:first-child{width:100%;padding:0 0 4px}.fbps-section[data-category="books"] tbody td{padding:3px 0;line-height:1.35}}

.fbps .fbps-hero>.fbps-eyebrow{font-size:13px;font-weight:400;letter-spacing:.09em;line-height:1.5;color:#65706a}

:is(#photo-print-prices, .fbps-section[data-category="photos"]) .fbps-card > :is(h3,h4) {
    padding: 18px 22px 0;
    margin-bottom: 16px;
}
:is(#photo-print-prices, .fbps-section[data-category="photos"]) .fbps-card thead th {
    padding: 14px 20px;
    line-height: 1.4;
}
@media (max-width: 760px) {
    :is(#photo-print-prices, .fbps-section[data-category="photos"]) .fbps-card > :is(h3,h4) {
        padding-inline: 16px;
    }
}

.fbps .fbps-card .fbps-photo-highlight {
    margin: 14px 16px 8px;
    padding: 9px 12px;
    border-radius: 8px;
    background: #edf4ef;
    color: #345b50;
}

@media(max-width:760px){.fb-header{padding-block:12px!important}}

@media (min-width: 761px) {
    .fb-header.fb-header { padding-block: 9px !important; }
    .fb-header.fb-header .fb-logo,
    .fb-header.fb-header .fb-logo img {
        width: 142px !important;
        max-width: 142px !important;
    }
}

.fbps-section[data-category="clothes"] tbody th{white-space:pre-line}
