:root {
    --inner-page-top: calc(clamp(132px, 12vw, 168px) + env(safe-area-inset-top, 0px));
    --page-section-space: clamp(28px, 6vw, 76px);
    --product-copy-gap: 12px;
    --page-gutter: clamp(16px, 4vw, 40px);
    --brand-rust: #9c4823;
    --brand-peach-surface: #fae8dc;
    --brand-honey-surface: #f7e3b7;
}

html {
    background-color: var(--tmava);
}

body {
    background-color: white;
}

.offer-panel {
    --offer-padding: clamp(16px, 4vw, 56px);
    padding-block: calc(var(--offer-padding) + env(safe-area-inset-top, 0px)) calc(var(--offer-padding) + env(safe-area-inset-bottom, 0px));
    padding-inline: max(var(--offer-padding), env(safe-area-inset-left, 0px)) max(var(--offer-padding), env(safe-area-inset-right, 0px));
}

.modal {
    width: min(92vw, 780px, calc(100% - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px) - 24px));
    max-height: min(88svh, calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 24px));
}

.page-hero {
    position: relative;
    isolation: isolate;
    padding-block: var(--inner-page-top) clamp(30px, 5vw, 60px);
    color: white;
    background: #241e0e;
}

.page-hero-image,
.page-hero::before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.page-hero-image {
    z-index: -2;
    object-fit: cover;
    object-position: center 47%;
}

.page-hero::before {
    z-index: -1;
    content: "";
    background: linear-gradient(100deg, rgba(22, 16, 9, .53) 0%, rgba(22, 16, 9, .38) 48%, rgba(22, 16, 9, .10) 90%);
}

.page-hero-inner {
    text-shadow: 0 1px 4px #241e0e, 0 0 12px rgba(22, 16, 9, .78);
}

.page-hero h1 {
    margin: 0;
    color: white;
}

.page-hero-lead {
    margin-block-start: 12px;
    max-width: 60ch;
    font-size: clamp(1rem, .94rem + .35vw, 1.2rem);
    line-height: 1.6;
}

.page-hero .catalog-breadcrumbs {
    position: static;
    display: flex;
    flex-wrap: wrap;
    width: auto;
    gap: 4px 8px;
    margin-bottom: clamp(14px, 2.4vw, 24px);
    color: white;
    font-size: .9375rem;
    line-height: 1.45;
}

.page-hero .catalog-breadcrumbs a {
    color: white !important;
    text-underline-offset: 3px;
}

@media (max-width: 767px) {
    :root {
        --page-container-gutter: max(clamp(18px, 5vw, 24px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
        --page-section-space: clamp(36px, 8vw, 48px);
        --product-copy-gap: 14px;
    }

    .page-hero::before {
        background: linear-gradient(180deg, rgba(22, 16, 9, .15), rgba(22, 16, 9, .48) 42%);
    }
}

.catalog-index,
main.catalog-detail,
.contact-page {
    background: white;
    color: var(--tmava);
}

.catalog-index {
    --catalog-index-space: clamp(38px, 6vw, 88px);
}

.catalog-intro {
    padding-block: clamp(22px, 4vw, 44px);
    min-width: 0;
}

.catalog-index > .catalog-intro {
    padding-block-start: var(--catalog-index-space);
}

.catalog-index > .catalog-intro + .catalog-grid {
    padding-block-start: 0;
}

.catalog-gallery {
    padding-block: var(--page-section-space);
}

.catalog-gallery h2 {
    margin-block-end: 18px;
}

.catalog-variant-copy .catalog-description {
    margin-block-start: 12px;
}

.catalog-brand-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: min(220px, 100%);
    max-height: 95px;
    object-fit: contain;
}

.catalog-description,
.catalog-detail .product-layout .prodText {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 1rem;
    line-height: 1.65;
}

.catalog-description {
    max-width: 76ch;
}

.home-about {
    background: var(--brand-rust);
    color: white;
    padding-block: clamp(32px, 6vw, 80px);
}

.home-about h1 {
    max-width: 24ch;
    margin-block-end: 16px;
}

.home-about p {
    max-width: 62ch;
    line-height: 1.62;
}

.home-about-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-block-start: 18px;
}

.home-about-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 8px;
    background: #fff3df;
    color: #68300d;
    font-weight: 700;
    text-decoration: none;
}

.home-about-links a:hover {
    background: white;
}

.home-about-links a:focus-visible {
    outline: 2px solid white;
    outline-offset: 3px;
}

.contact-details-band {
    background: white;
    color: var(--tmava);
}

.about-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 5vw, 76px);
    padding-block: var(--page-section-space);
}

.about-intro img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.about-intro p,
.about-timeline p {
    margin-block-start: 12px;
    line-height: 1.65;
}

.about-intro a,
.about-timeline a {
    color: #68300d;
    font-weight: 700;
    text-underline-offset: 3px;
}

.about-intro a {
    display: inline-block;
    margin-block-start: 18px;
}

.about-history {
    background: var(--brand-honey-surface);
    color: var(--tmava);
    padding-block: var(--page-section-space);
}

.about-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 40px);
    list-style: none;
    margin: clamp(20px, 3vw, 36px) 0 0;
    padding: 0;
}

.about-timeline :is(time, .about-timeline-date) {
    display: inline-block;
    margin-block-end: 14px;
    padding: 4px 10px;
    border-radius: 6px;
    color: white;
    background: var(--brand-rust);
    font-weight: 700;
}

.about-direction {
    padding-block: var(--page-section-space);
    background: var(--brand-rust);
    color: white;
}

.about-direction-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 6vw, 92px);
}

.about-direction h2 {
    color: inherit;
    margin-block-end: 12px;
}

.about-direction p {
    line-height: 1.65;
}

.about-direction .about-motto {
    max-width: 19ch;
    color: #fff3df;
    font-size: clamp(1.65rem, 3vw, 2.75rem);
    line-height: 1.15;
    font-weight: 750;
}

@media (max-width: 960px) {
    .about-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .about-intro,
    .about-direction-inner,
    .about-timeline {
        grid-template-columns: minmax(0, 1fr);
    }
}

.catalog-description :is(h2, h3, h4, p, ul, ol) + :is(h2, h3, h4, p, ul, ol),
.catalog-detail .product-layout .prodText :is(h2, h3, h4, p, ul, ol) + :is(h2, h3, h4, p, ul, ol) {
    margin-block-start: var(--product-copy-gap);
}

:is(.catalog-description, .catalog-detail .prodText) :is(p, ul, ol, div) + :is(h2, h3, h4, h5, h6) {
    margin-block-start: 22px;
}

.catalog-detail .product .prodText .vedle {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    align-items: start;
    gap: 24px;
    margin-block-start: 20px;
}

.catalog-detail .product .prodText .vedle > .jedna {
    min-width: 0;
    margin: 0;
}

:is(.catalog-description, .catalog-detail .prodText) :is(ul, ol) > li + li {
    margin-block-start: 4px;
}

.catalog-description img,
.catalog-detail .product-layout img {
    max-width: 100%;
    height: auto;
}

.catalog-description div:has(> img + img) {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
}

.catalog-description div:has(> img + img) > img {
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(100%, 280px);
}

.catalog-description .prod-template-3-top-text,
.catalog-description .prod-template-3-specification {
    display: block;
}

.catalog-description :is(h2, h3, h4) + .prod-template-3-top-text {
    margin-block-start: 12px;
}

.catalog-description .prod-template-3-top-text + .prod-template-3-specification {
    margin-block-start: clamp(24px, 3vw, 36px);
}

.catalog-description .prod-template-3-specification > :is(h2, h3, h4) + div {
    margin-block-start: 10px;
}

.catalog-description .prod-template-3-top-text p:last-child,
.catalog-description .prod-template-3-specification ul:last-child {
    padding-right: 0;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(32px, 4.5vw, 60px) clamp(20px, 3vw, 44px);
    padding-block: var(--catalog-index-space);
}

@media (min-width: 768px) {
    .catalog-grid:has(> :nth-child(2):last-child) {
        grid-template-columns: repeat(2, minmax(0, 406px));
    }
}

.catalog-card {
    display: grid;
    min-width: 0;
}

.catalog-card-target {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
}

.catalog-card-target:focus-visible {
    outline: 2px solid var(--brand-rust);
    outline-offset: 5px;
}

:where(#produktyMain .kategorieObrazek img, .catalog-card-image, .area-product-link img) {
    transition: box-shadow .18s ease, translate .18s ease;
}

:where(
    #produktyMain .produkt > a:is(:hover, :focus-visible) .kategorieObrazek img,
    .catalog-card-target:is(:hover, :focus-visible) .catalog-card-image,
    .area-product-link:is(:hover, :focus-visible) img
) {
    box-shadow: 0 12px 28px rgb(36 30 14 / 24%);
    translate: 0 -3px;
}

@media (prefers-reduced-motion: reduce) {
    :where(#produktyMain .kategorieObrazek img, .catalog-card-image, .area-product-link img) {
        transition: none;
        translate: none;
    }
}

.catalog-card p {
    line-height: 1.55;
    max-inline-size: 36ch;
}

.catalog-card h2 {
    --heading-size: var(--heading-size-3);
}

.catalog-card-image {
    display: block;
    width: 100%;
    height: clamp(120px, 13vw, 184px);
    margin-block-end: 6px;
    padding: 10px;
    border-radius: 12px;
    background: #f4eee6;
    object-fit: contain;
}

.catalog-card-photo {
    padding: 0;
    object-fit: cover;
}

.catalog-card-logo {
    display: flex;
    align-items: center;
    height: 48px;
    width: 100%;
    margin-block-end: 6px;
}

.catalog-card-logo img {
    max-width: min(100%, 160px);
    max-height: 48px;
    object-fit: contain;
}

.catalog-card-logo img,
.catalog-brand-logo {
    mix-blend-mode: multiply;
}

.catalog-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: auto;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    color: white;
    background: var(--brand-rust);
    text-decoration: none;
}

.catalog-link:hover,
.catalog-card-target:is(:hover, :focus-visible) .catalog-link {
    background: var(--tmava);
}

.catalog-detail .product:nth-child(n) {
    background: white;
    color: var(--tmava);
}

.catalog-detail .product:nth-of-type(odd) {
    background: var(--brand-peach-surface);
}

.catalog-detail .product .product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: 'copy media';
    align-items: start;
    gap: clamp(18px, 5vw, 64px);
    margin-block: 0;
    padding-block: var(--page-section-space);
}

.catalog-detail .product:nth-of-type(even) .product-layout {
    grid-template-areas: 'media copy';
}

.catalog-detail .product .product-layout:not(:has(.prodObr img)) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'copy';
}

.catalog-detail .product .prodObr:not(:has(img)) {
    display: none;
}

.catalog-detail .product .product-layout > .prodText {
    display: block;
    width: auto;
    max-width: 68ch;
    padding: 0;
    margin: 0;
    grid-area: copy;
}

.catalog-detail .product .product-layout > .prodObr {
    grid-area: media;
    width: auto;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.catalog-detail .product .prodText h2 {
    display: block;
    width: auto;
    margin: 0 0 14px;
    color: #68300d !important;
}

.catalog-detail .product .prodText :is(p,li) {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: inherit;
}

.catalog-detail .product .prodText .product-description p,
.catalog-detail .product .prodText .product-text-wrapper li {
    color: inherit;
    letter-spacing: normal;
}

.catalog-detail .product .prodText li {
    display: list-item;
    list-style: disc;
}

.catalog-description :is(ul, ol), .catalog-detail .product .prodText :is(ul, ol) {
    padding-left: 1.4em;
}

.catalog-detail .product .prodText li::before {
    content: none;
}

.catalog-description table,
.catalog-detail .product .prodText table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.catalog-detail .product .prodObr img {
    width: auto;
    max-width: 100%;
    max-height: clamp(230px, 42vw, 620px);
    height: auto;
    object-fit: contain;
}

.catalog-detail .product .otherImg {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-detail .product .otherImg img {
    max-width: min(100%, 140px);
}

.catalog-variant-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding-block: clamp(16px, 3vw, 30px);
}

.catalog-variant-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 5px 12px;
    border-radius: 8px;
    background: var(--brand-honey-surface);
    color: #68300d;
    font-weight: 700;
    text-decoration: none;
}

.catalog-variant-links a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.catalog-detail :is(.product, .catalog-variant) {
    scroll-margin-block-start: 16px;
}

.catalog-model-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin: 0 0 16px;
}

.catalog-model-facts dt {
    font-size: .875rem;
}

.catalog-model-facts dd {
    margin: 2px 0 0;
    font-weight: 750;
}

.catalog-detail .product--compact .product-layout {
    align-items: center;
}

.catalog-detail .product--compact .product-layout > .prodObr {
    justify-self: center;
}

.catalog-detail .product--compact .prodObr img {
    max-height: clamp(220px, 26vw, 344px);
}

.catalog-detail :is(.prodObr, .catalog-variant-media, .catalog-gallery, .imgInfo, .catalog-description) img {
    border-radius: 12px;
}

.product-quick-facts {
    display: grid;
    gap: 8px;
    margin-block-start: 16px;
}

.product-quick-facts > div {
    display: grid;
    grid-template-columns: minmax(90px, .7fr) minmax(0, 1.35fr);
    gap: 12px;
}

.product-quick-facts dt {
    font-weight: 750;
}

.product-quick-facts dd {
    margin: 0;
}

.catalog-detail .images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
    gap: clamp(12px, 2vw, 24px);
    margin: 0 auto var(--page-section-space) !important;
}

.catalog-gallery .images {
    margin-block: 0 !important;
}

.catalog-detail .images > :is(a,button) {
    min-width: 0;
    width: 100%;
    height: auto;
    margin: 0;
}

.catalog-detail .images img,
.catalog-detail .imgInfo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.catalog-gallery .images img {
    aspect-ratio: 4 / 3;
}

.catalog-decor-name {
    display: block;
    color: #68300d;
    margin-block-start: 6px;
    font-weight: 700;
}

.contact-locations {
    padding-block: var(--page-section-space);
}

.contact-page .obalMista {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 390px), 1fr));
    gap: clamp(32px, 6vw, 84px);
    padding: 0;
    margin: 0;
}

.contact-page .kontaktyObal {
    min-width: 0;
}

.contact-page .kontaktyObal > div {
    display: grid;
    width: 100%;
    min-width: 0;
    height: 100%;
    grid-template-rows: 1fr auto;
}

.contact-page iframe {
    display: block;
    width: 100%;
    height: clamp(180px, 28vw, 265px);
    border: 0;
    border-radius: 12px;
}

.contact-page .kontaktyObal h2 {
    text-wrap: balance;
    margin-bottom: 12px;
}

.contact-page .udaje h3 {
    margin-block-end: 4px;
    font-size: 1rem;
}

.contact-page .kontaktyObal :is(.jmeno,.udaje) {
    line-height: 1.55;
    margin-bottom: 16px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.contact-warehouse {
    padding-block: var(--page-section-space);
    background: var(--brand-peach-surface);
    scroll-margin-top: 18px;
}

.contact-warehouse-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(20px, 5vw, 72px);
}

.contact-warehouse p {
    max-width: 52ch;
    margin-block-start: 12px;
    line-height: 1.6;
}

.contact-warehouse-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    margin-block-start: 18px;
}

@media (max-width: 720px) {
    .contact-warehouse-inner {
        grid-template-columns: minmax(0, 1fr);
    }
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    align-items: start;
    gap: clamp(30px, 5vw, 68px);
    padding-block: var(--page-section-space);
    line-height: 1.6;
}

.contact-details h2 {
    margin-block-end: 10px;
}

.contact-locations a {
    color: #6c3410;
    overflow-wrap: anywhere;
    text-underline-offset: 3px;
}

.contact-details a {
    color: inherit;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-underline-offset: 3px;
}

.contact-manager-methods {
    display: grid;
    gap: 12px;
    margin-block-start: 20px;
    list-style: none;
}

.contact-manager-methods li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.contact-manager-methods img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0);
}

.privacy-page .osobniudaje {
    padding-block: var(--page-section-space);
}

.privacy-page .osobniudaje p {
    max-width: 76ch;
    margin-top: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.privacy-page .osobniudaje p + h2 {
    margin-block-start: clamp(24px, 4vw, 40px);
}

footer .fgrid {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, auto);
    grid-template-rows: auto;
    gap: clamp(18px, 3vw, 48px);
    padding-block: clamp(22px, 4vw, 54px);
}

footer .fgrid :is(.prvniFgrid,.footer-contact,.tretiFgrid) {
    min-width: 0;
    width: auto;
    grid-column: auto;
    overflow-wrap: anywhere;
}

.footer-contact {
    display: grid;
    align-content: start;
    gap: 14px;
    color: white;
    font-style: normal;
    line-height: 1.5;
}

.footer-contact-row {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.footer-contact-row img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-contact-row a {
    color: inherit;
    text-underline-offset: 3px;
}

footer .fgrid .footText p {
    max-width: 52ch;
    line-height: 1.6;
}


footer .footer-legal {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 24px;
    font-size: .9375rem;
    line-height: 1.5;
    color: white;
}

footer .footer-legal a {
    color: inherit;
    text-underline-offset: 3px;
}

.service-area-text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #68300d;
    text-underline-offset: 3px;
    font-weight: 650;
}

@media (max-width: 768px) {
    .catalog-detail .product .product-layout,
    .catalog-detail .product:nth-of-type(even) .product-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: 'copy' 'media';
    }

    footer .fgrid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    footer .fgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    footer .fgrid .tretiFgrid {
        grid-column: 1 / -1;
    }
}

.catalog-detail .images > button {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    text-align: start;
}

.catalog-detail .imgInfo {
    margin-block: clamp(16px, 3vw, 32px);
}

.catalog-more {
    padding-block: var(--page-section-space);
    background: #f9f2e8;
}

.catalog-more p {
    margin-top: 12px;
    line-height: 1.55;
}

.home-identity {
    padding-block: var(--page-section-space);
}

.home-assortment + .home-identity {
    background: var(--brand-peach-surface);
}

.home-identity h2 {
    margin-block-end: clamp(20px, 3vw, 36px);
}

.home-identity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 4vw, 44px);
}

.home-identity-item {
    --identity-icon-size: clamp(40px, 4vw, 56px);
    display: grid;
    grid-template-columns: var(--identity-icon-size) minmax(0, 1fr);
    align-items: start;
    gap: clamp(12px, 2vw, 20px);
}

.home-identity-item svg {
    width: 100%;
    height: var(--identity-icon-size);
}

.home-identity-item h3 {
    margin-block-end: 8px;
    overflow-wrap: normal;
}

.home-identity-item p {
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .home-identity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .home-identity-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

body > footer {
    padding-block-end: max(var(--cookie-consent-space, 0px), env(safe-area-inset-bottom, 0px));
}

html:has(.cookie-consent:not([hidden])) {
    background-color: #1e180c;
}

body:has(> .cookie-consent:not([hidden]))::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 159;
    background: rgb(24 17 10 / 48%);
    pointer-events: none;
}

.cookie-consent:not([hidden]) {
    display: grid;
}

.cookie-consent {
    position: fixed;
    z-index: 160;
    inset-inline: max(clamp(12px, 3vw, 32px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    inset-block-end: calc(12px + env(safe-area-inset-bottom, 0px));
    max-width: 1024px;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px 24px;
    margin-inline: auto;
    padding: clamp(16px, 2.5vw, 26px);
    border-radius: 18px;
    background: #fffaf4;
    color: var(--tmava);
    box-shadow: 0 8px 34px rgb(36 30 14 / 24%);
    max-height: calc(100dvh - 24px - env(safe-area-inset-bottom, 0px) - env(safe-area-inset-top, 0px));
    overflow-y: auto;
}

.cookie-consent h2 {
    margin: 0 0 6px;
    font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem);
    line-height: 1.25;
}

.cookie-consent p {
    font-size: .9375rem;
    line-height: 1.5;
}

.cookie-consent a {
    color: #68300d;
    text-underline-offset: 2px;
}

.cookie-consent-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.cookie-consent-actions button {
    min-height: 44px;
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: var(--brand-rust);
    color: white;
    font: inherit;
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
}

.cookie-consent-actions button:is(:hover, :focus-visible) {
    background: #68300d;
}

.cookie-consent button:focus-visible {
    outline: 2px solid var(--tmava);
    outline-offset: 2px;
}

.footer-cookie-settings:not([hidden]) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.privacy-page #analytics {
    scroll-margin-block-start: var(--inner-page-top);
}

@media (max-width: 767px) {
    .cookie-consent {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
}

.error-page {
    min-height: 100svh;
    box-sizing: border-box;
    padding: var(--page-section-space) var(--page-gutter);
    justify-content: center;
    color: var(--tmava);
    background: #f8f1e8;
}

.error-logo {
    display: inline-block;
    margin-bottom: 24px;
    padding: 12px;
    border-radius: 10px;
    background: var(--tmava);
}

.error-logo img {
    display: block;
    width: 150px;
    max-width: 100%;
}

.error-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 18px;
}

.error-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: #6c3410;
}

.catalog-detail .images .eko-description {
    display: grid;
    gap: 8px;
    color: #63300d;
    font-weight: 700;
    text-decoration: none;
}

.catalog-detail .images .eko-description:hover {
    text-decoration: underline;
}

.contact-strip,
main .contact-strip#kontakt {
    display: block;
    width: 100%;
    padding-block: clamp(22px, 4vw, 48px);
    background: var(--zlut);
    color: var(--tmava);
}

.contact-strip-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px 28px;
}

.contact-strip p {
    font-size: clamp(1.125rem, 1rem + .8vw, 1.6rem);
    font-weight: 750;
    line-height: 1.3;
}

.contact-strip a,
#produktyMain .contact-strip a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--tmava);
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.contact-strip a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .home-about {
        padding-block: var(--page-section-space);
    }

    .home-about-links {
        gap: 12px;
        margin-block-start: 22px;
    }

    .home-identity-grid,
    .about-timeline,
    .reference-projects {
        row-gap: 28px;
    }

    .catalog-detail .product .product-layout {
        row-gap: 26px;
    }

    :is(.catalog-description, .catalog-detail .prodText) :is(ul, ol) > li + li {
        margin-block-start: 6px;
    }

    .area-products,
    .area-installation-steps,
    .area-visit-row,
    .area-visit-list--two {
        row-gap: 30px;
    }

    #produktyMain .produkty {
        row-gap: 34px;
    }

    #produktyMain:not(.home-assortment) .produkty {
        padding-block: var(--page-section-space);
    }

    .contact-strip,
    main .contact-strip#kontakt {
        padding-block: 30px;
    }

    footer .fgrid {
        padding-block: 32px;
        row-gap: 28px;
    }
}
