/* Scoped to the Oklejamy Opole shortcodes; inherits BeTheme typography. */
.oo-budget-section { padding: 24px 0; overflow: visible; }
.oo-budget {
    position: relative; z-index: 5; display: flex; align-items: center;
    justify-content: space-between; gap: 20px 32px; min-width: 0;
    color: #171717; font-family: inherit; box-sizing: border-box;
}
.oo-budget * { box-sizing: border-box; }
.oo-budget .oo-budget__heading { margin: 0; color: inherit; font-family: inherit; font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; line-height: 1.25; }
.oo-budget__dropdown { position: relative; flex: 0 0 300px; min-width: 0; max-width: 100%; }
.oo-budget .oo-budget__trigger {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 54px; padding: 14px 20px; border-radius: 8px;
    background: #ffbf1b; color: #171717; font: inherit; font-size: 17px;
    font-weight: 700; line-height: 1.5; list-style: none; cursor: pointer;
}
.oo-budget__trigger::-webkit-details-marker { display: none; }
.oo-budget__trigger::marker { content: ''; }
.oo-budget .oo-budget__trigger:hover { background: #efae00; }
.oo-budget__chevron { flex-shrink: 0; transition: transform 180ms ease-out; }
.oo-budget__dropdown[open] .oo-budget__chevron { transform: rotate(180deg); }
.oo-budget__panel { position: absolute; top: 100%; inset-inline-end: 0; width: 100%; min-width: 280px; padding-top: 8px; z-index: 10; }
.oo-budget .oo-budget__links { margin: 0; padding: 8px; list-style: none; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px #00000024; }
.oo-budget .oo-budget__links li { margin: 0; padding: 0; list-style: none; }
.oo-budget .oo-budget__links a {
    display: block; min-height: 44px; padding: 12px; border-radius: 6px;
    color: #171717; font-size: 16px; line-height: 1.45; text-decoration: none;
    overflow-wrap: anywhere;
}
.oo-budget .oo-budget__links a:hover { background: #fff3d2; }
.oo-budget .oo-budget__links a[aria-current="true"] { background: #ffbf1b; font-weight: 700; }
.oo-budget__trigger:focus-visible, .oo-budget__links a:focus-visible { outline: 3px solid #755100; outline-offset: 2px; }
.oo-budget ::selection { background: #ffdf87; color: #171717; }
.oo-breadcrumbs { font-family: inherit; font-size: 14px; line-height: 1.6; }
.oo-breadcrumbs .oo-breadcrumbs__list { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0; padding: 0; list-style: none; }
.oo-breadcrumbs .oo-breadcrumbs__item { display: flex; align-items: baseline; min-width: 0; margin: 0; padding: 0; }
.oo-breadcrumbs__separator { flex-shrink: 0; margin: 0 10px; }
.oo-breadcrumbs__label { min-width: 0; overflow-wrap: anywhere; }
.oo-breadcrumbs a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.oo-breadcrumbs a:hover { text-decoration-thickness: 2px; }
.oo-breadcrumbs a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.oo-categories, .oo-portfolio, .oo-form {
    --oo-yellow: #ffbf1b;
    --oo-ink: #171717;
    --oo-focus: #755100;
    color: var(--oo-ink);
    font-family: inherit;
    box-sizing: border-box;
}
.oo-categories *, .oo-portfolio *, .oo-form * { box-sizing: border-box; }
.oo-categories ::selection, .oo-portfolio ::selection, .oo-form ::selection { background: #ffdf87; color: #171717; }
.oo-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.oo-categories a.oo-category {
    display: flex; flex-direction: column; min-width: 0; overflow: hidden;
    border-radius: 16px; background: #fff; color: var(--oo-ink); text-decoration: none;
    box-shadow: 0 3px 5px #00000014, 0 7px 16px #00000013;
    transition: box-shadow 180ms ease-out;
}
.oo-category__image { display: grid; place-items: center; aspect-ratio: 2.1; padding: 24px 40px; }
.oo-category__image img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; max-height: 210px; }
.oo-category__title {
    display: flex; align-items: center; justify-content: center; flex: 1;
    min-height: 74px; padding: 16px 18px; background: var(--oo-yellow);
    font-size: clamp(18px, 1.8vw, 28px); font-weight: 700; line-height: 1.25;
    text-align: center; text-transform: uppercase; overflow-wrap: anywhere;
}
.oo-categories a.oo-category:hover { box-shadow: 0 5px 10px #00000020, 0 10px 22px #00000018; }
.oo-portfolio .oo-filters {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 8px; padding: 12px 20px; margin: 0 0 40px; border-radius: 36px;
    background: #fff; box-shadow: 0 3px 8px #0000001a;
}
.oo-portfolio a.oo-filter {
    flex: 1 1 22%; display: block; padding: 16px 20px; border-radius: 40px;
    color: var(--oo-ink); font-size: clamp(16px, 1.5vw, 24px); line-height: 1.4;
    text-align: center; text-decoration: none; overflow-wrap: anywhere;
}
.oo-portfolio a.oo-filter:hover { background: #fff3d2; }
.oo-portfolio a.oo-filter[aria-current="true"] { background: var(--oo-yellow); color: #171717; }
.oo-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.oo-portfolio a.oo-project {
    display: block; position: relative; min-width: 0; overflow: hidden;
    aspect-ratio: 1.7; border-radius: 16px; background: #ededeb;
    color: #fff; text-decoration: none;
}
.oo-project__image { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 240ms ease-out; }
.oo-project:hover .oo-project__image { transform: scale(1.035); }
.oo-portfolio .oo-project__title {
    position: absolute; inset: auto 0 0; margin: 0; padding: 15px 20px;
    color: #fff; background: #16160ee6; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font-family: inherit; font-size: clamp(17px, 1.3vw, 22px); line-height: 1.2;
    font-weight: 700; text-transform: uppercase; overflow-wrap: anywhere;
}
.oo-project__placeholder { display: grid; place-items: center; height: 70%; color: #52524b; }
.oo-portfolio__status { color: #575147; line-height: 1.5; }
.oo-portfolio__status:empty { display: none; }
.oo-portfolio__status:not(:empty) { margin: -16px 0 24px; }
.oo-portfolio__results[aria-busy="true"] { opacity: .65; }
.oo-pagination { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 32px; }
.oo-portfolio .oo-pagination a { padding: 10px 16px; border-radius: 8px; background: var(--oo-yellow); color: #171717; text-decoration: none; }
.oo-empty { padding: 24px 0; }
.oo-form { position: relative; width: 100%; max-width: 800px; text-align: left; }
.oo-form--telefon { max-width: 620px; }
.oo-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.oo-form--telefon .oo-form__fields { grid-template-columns: minmax(0, 1fr); }
.oo-field { min-width: 0; }
.oo-field--wide { grid-column: 1 / -1; }
.oo-form .oo-field label { display: block; margin: 0 0 8px; color: inherit; font-weight: 600; font-size: 16px; line-height: 1.5; }
.oo-form .oo-field input, .oo-form .oo-field select, .oo-form .oo-field textarea {
    display: block; width: 100%; max-width: 100%; margin: 0; min-height: 54px;
    padding: 14px 16px; border: 1px solid #87847c; border-radius: 8px;
    background: #fff; color: #171717; font: inherit; font-size: 16px; line-height: 1.5;
    box-shadow: none; caret-color: #755100;
}
.oo-form .oo-field select { appearance: auto; }
.oo-form .oo-field textarea { resize: vertical; min-height: 150px; }
.oo-form .oo-field input::placeholder, .oo-form .oo-field textarea::placeholder { color: #68645d; opacity: 1; }
.oo-form .oo-form__consent { margin: 22px 0; }
.oo-form .oo-form__consent label { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.65; font-weight: 400; cursor: pointer; }
.oo-form .oo-form__consent input { appearance: auto; flex: 0 0 20px; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #9b6800; }
.oo-form .oo-form__consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.oo-form button.oo-submit {
    display: inline-block; min-width: 160px; min-height: 52px; margin: 0; padding: 14px 30px;
    border: 0; border-radius: 8px; background: var(--oo-yellow); color: #171717;
    font: inherit; font-size: 17px; line-height: 1.4; font-weight: 700; text-transform: uppercase;
    cursor: pointer; box-shadow: none; transition: background-color 160ms ease-out;
}
.oo-form button.oo-submit::before, .oo-form button.oo-submit::after { display: none; }
.oo-form button.oo-submit:hover { background: #efae00; color: #171717; }
.oo-form button.oo-submit:disabled { opacity: .65; cursor: wait; }
.oo-form__status { margin: 16px 0 0; font-size: 16px; line-height: 1.5; }
.oo-form__status:empty, .oo-field__error:empty { display: none; }
.oo-form__status[data-state="error"], .oo-field__error { color: #a02419; }
.oo-form__status[data-state="success"] { color: #21632e; }
.oo-field__error { display: block; margin-top: 6px; font-size: 14px; line-height: 1.4; }
.oo-form [aria-invalid="true"] { border-color: #a02419 !important; }
.oo-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.oo-categories a:focus-visible, .oo-portfolio a:focus-visible, .oo-form input:focus-visible, .oo-form select:focus-visible, .oo-form textarea:focus-visible, .oo-form button:focus-visible, .oo-form a:focus-visible {
    outline: 3px solid var(--oo-focus); outline-offset: 4px;
}
.oo-form__status:focus { outline: 2px solid var(--oo-focus); outline-offset: 4px; }
@media (max-width: 959px) {
    .oo-categories, .oo-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .oo-portfolio a.oo-filter { flex-basis: 40%; }
    .oo-category__image { padding: 20px 28px; }
}
@media (max-width: 575px) {
    .oo-budget { flex-direction: column; align-items: stretch; gap: 16px; }
    .oo-budget__dropdown { flex-basis: auto; width: 100%; }
    .oo-budget__panel { position: static; min-width: 0; }
    .oo-categories, .oo-projects { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .oo-category__image { max-height: 210px; }
    .oo-category__title { font-size: 20px; min-height: 62px; }
    .oo-portfolio .oo-filters { padding: 8px; gap: 6px; border-radius: 20px; margin-bottom: 28px; }
    .oo-portfolio a.oo-filter { padding: 12px 8px; font-size: 15px; }
    .oo-form__fields { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .oo-form button.oo-submit { width: 100%; }
    .oo-portfolio .oo-project__title { padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .oo-budget__chevron { transition: none; }
    .oo-category, .oo-project__image, .oo-submit { transition: none !important; }
    .oo-project:hover .oo-project__image { transform: none; }
}
