/* User-approved linen/sand surfaces with a restrained existing weave texture.
   Keep photographs, dark surfaces and both logo backgrounds clean. */
.material-theme main > .section:not(.contact):not(.collection):not(.material):not(.category-intro) { position: relative; isolation: isolate; }
.material-theme main > .section:not(.contact):not(.collection):not(.material):not(.category-intro)::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url('assets/material-weave.svg') repeat; background-size: 48px 48px; opacity: .22; }
/* One category, one approved brown surface, shared by cards and product pages. */
[data-offer-theme='vinyl'] { --offer-surface: var(--piesok); --offer-text: var(--orech); --offer-divider: var(--linka); --offer-heading-weight: 300; }
[data-offer-theme='carpet'] { --offer-surface: var(--dub-svetly); --offer-text: var(--orech); --offer-divider: var(--dub); --offer-heading-weight: 300; }
[data-offer-theme='wood'] { --offer-surface: var(--dub); --offer-text: var(--lan); --offer-divider: var(--dub-svetly); }
[data-offer-theme='doors'] { --offer-surface: var(--kora); --offer-text: var(--lan); --offer-divider: var(--dub-svetly); }
.offer-grid :is(h2, h3) { color: inherit; }
.business-path-with-photo { display: flex; flex-direction: column; padding: 0; }
.business-path-with-photo > img { height: 210px; object-fit: cover; object-position: center 68%; margin-block-start: auto; }
.home-path > img { object-position: center 50%; }
.offer-overview-page { padding-block-start: 0; }
.offer-overview-home { padding-block-end: 0; }
.local-catalog.catalog-section { margin-block-start: 0; padding-block-start: 0; }
.catalog-section > h2 { font-size: 1.5rem; line-height: 1.3; font-weight: 400; }
.offer-overview-intro { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(310px, 31vw, 420px); margin: 0 calc(-1 * var(--gutter)) 44px; padding: clamp(52px, 6vw, 86px) var(--gutter); background: var(--orech); color: var(--lan); }
.offer-overview-intro .section-heading { margin-block-end: 0; }
.offer-overview-intro :is(h1, h2) { color: inherit; }
.offer-overview-intro .accent { color: inherit; }
.offer-overview-intro h2 { font-size: clamp(40px, 5.5vw, 80px); }
.offer-overview-photos { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); }
.offer-overview-photos img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.offer-overview-photos img:last-child { object-position: center top; }
.offer-overview-photos::after { content: ''; position: absolute; inset: 0; background: rgba(54,32,21,.69); }
@media (max-width: 600px) {
  .offer-overview-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.category-intro { background: var(--offer-surface); color: var(--offer-text); --linka: var(--offer-divider); }
.category-intro :is(h2, h3) { color: inherit; }
.category-intro h2 { font-weight: var(--offer-heading-weight, 400); }
.category-intro .button.primary { background: var(--offer-text); color: var(--offer-surface); border-color: var(--offer-text); }
.supplier-section { background-color: var(--piesok); }
.supplier-section > .section-heading { align-items: start; }
.supplier-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
.supplier-groups:has(> .supplier-group:only-child) { grid-template-columns: minmax(0, 1fr); }
.supplier-group { min-width: 0; }
.supplier-group h3 { margin-block-end: 18px; }
.supplier-group > p { margin-block-end: 18px; max-width: 60ch; }
.supplier-groups:has(.supplier-catalog) { grid-template-columns: 1fr; }
.supplier-catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.supplier-catalog:has(> li:only-child) { grid-template-columns: 1fr; max-width: 460px; }
.supplier-card { display: flex; flex-direction: column; height: 100%; background: var(--lan); }
.supplier-group > .supplier-card { height: auto; }
.supplier-card img { aspect-ratio: 16 / 9; object-fit: cover; background: var(--piesok); }
.supplier-card img.product-pack { object-fit: contain; padding: 12px; }
.supplier-card-photo { position: relative; display: block; }
.supplier-card-badge { position: absolute; inset-inline-end: 10px; inset-block-end: 10px; padding: 7px 9px; background: var(--lan); }
.supplier-card-badge.inverse { background: var(--orech); }
.supplier-card-badge img { width: auto; height: 24px; max-width: 100px; aspect-ratio: auto; object-fit: contain; object-position: center; background: transparent; }
.supplier-card-info { display: grid; align-content: start; gap: 6px; padding: 18px 20px 22px; }
.supplier-card-name { text-decoration: underline; text-underline-offset: .25em; }
.supplier-card:hover .supplier-card-name { text-decoration-thickness: 2px; }
.supplier-card small { color: var(--kora); }
.catalog-pdf-meta { display: block; text-decoration: none; }
.catalog-pdf-link { margin-block: 0 24px; }
.reviews-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); align-items: start; gap: clamp(28px, 4vw, 64px); padding-block: 64px; background: var(--lan); }
.reviews-section > .section-heading { display: block; margin: 0; }
.reviews-section h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.2; }
.reviews-summary { margin-block-start: 24px; }
.reviews-summary > p { max-width: 24ch; }
.reviews-summary > p strong { display: block; margin-block-end: 4px; }
.reviews-summary .text-link { font-size: .875rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.review { display: flex; flex-direction: column; height: 100%; padding: clamp(22px, 2.5vw, 36px); background: var(--piesok); border-block-start: 4px solid var(--salvia); }
.review-stars { color: var(--kora); letter-spacing: .16em; margin-block-end: 18px; }
.review blockquote { margin: 0; font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.55; }
.review figcaption { display: flex; flex-direction: column; align-items: start; gap: 8px; padding-block-start: 28px; margin-block-start: auto; }
.review figcaption a { display: inline-block; min-height: 44px; padding-block: 8px; font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
.reviews-summary > p strong { font-size: 3rem; line-height: 1.1; font-weight: 500; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.local-catalog { margin-block-start: clamp(40px, 6vw, 76px); }
.local-catalog > p { margin-block: 10px 24px; }
.catalog-category, .catalog-tech { border-block-start: 1px solid var(--linka); }
.catalog-category:last-child { border-block-end: 1px solid var(--linka); }
.catalog-tech { margin-block-start: 24px; }
.catalog-tech img { width: min(100%, 800px); margin-block-end: 16px; }
:is(.catalog-category, .catalog-tech) > summary, .supplier-card > summary { cursor: pointer; list-style: none; }
:is(.catalog-category, .catalog-tech) > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 600; }
:is(.catalog-category, .catalog-tech, .supplier-card) > summary::-webkit-details-marker { display: none; }
:is(.catalog-category, .catalog-tech) > summary::after, details.supplier-card .supplier-card-info::after {
  content: ''; flex: none; width: 8px; height: 8px;
  border: solid currentColor; border-width: 0 1px 1px 0;
  transform: rotate(45deg); margin: 0 5px 4px 0;
}
:is(.catalog-category, .catalog-tech)[open] > summary::after,
details.supplier-card[open] .supplier-card-info::after { transform: rotate(225deg); margin-block: 4px 0; }
.catalog-content { padding-block: 0 24px; }
.catalog-material { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.catalog-material img { aspect-ratio: 16 / 9; object-fit: cover; }
details.supplier-card { display: block; height: auto; }
details.supplier-card .supplier-card-info { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; }
details.supplier-card .supplier-card-info::after { grid-column: 2; grid-row: 1; }
.supplier-card-detail { border-block-start: 1px solid var(--linka); padding: 14px 20px 18px; }
.supplier-card-detail .text-link, .catalog-material .text-link { margin-block-start: 8px; }
.catalog-swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; font-size: .875rem; }
.catalog-swatches img { margin-block-end: 5px; }
@media (max-width: 900px) { .supplier-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .supplier-groups, .supplier-catalog, .catalog-material { grid-template-columns: 1fr; }
  .supplier-groups { gap: 32px; }
  /* Keep each picture beside its brand instead of a long stack of large photos. */
  .supplier-catalog { gap: 14px; }
  a.supplier-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: stretch; min-height: 112px; }
  .supplier-card > img, .supplier-card > .supplier-card-photo { width: 104px; height: 100%; min-height: 112px; }
  .supplier-card > img, .supplier-card-photo > img { aspect-ratio: auto; height: 100%; object-fit: cover; }
  .supplier-card > img.product-pack { object-fit: contain; padding: 8px; }
  .supplier-card-info { padding: 18px 16px; gap: 7px; }
  .supplier-card-info { min-width: 0; }
  .supplier-card-name, .catalog-category > summary, .catalog-tech > summary { overflow-wrap: anywhere; }
  .supplier-card-badge { inset-inline-end: 5px; inset-block-end: 5px; padding: 5px; max-width: 94px; }
  .supplier-card-badge img { width: auto; height: 16px; max-width: 78px; }
  .catalog-material { gap: 18px; }
  .catalog-material > img { max-height: 240px; }
  /* Decorative collage repeated the same photos immediately before the carousel. */
  .offer-overview-intro .offer-overview-photos { display: none; }
  .offer-overview-intro { min-height: 0; padding-block: 40px; margin-block-end: 28px; }
  .offer-overview-intro .section-heading { gap: 20px; }
  .offer-overview-intro h2 { font-size: clamp(32px, 9vw, 42px); }
  .audience-grid { gap: 24px; }
  .audience-grid > article > img, .business-path-with-photo > img { height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
  .home-path > img { object-position: center 72%; }
  .topic-detail-photo img { max-height: none; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 75%; }
  .service-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .service-photo img { object-position: center 76%; }
  .reviews-section { grid-template-columns: minmax(0, 1fr); padding-block: 40px; gap: 28px; }
  .reviews-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .review { padding: 24px; }
}
@media (min-width: 601px) and (max-width: 1000px) {
  .reviews-section { grid-template-columns: minmax(0, 1fr); }
  .reviews-section > .section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
  .reviews-summary { margin-block-start: 0; }
}
/* One photographic carousel replaces the repeated collage and split cards. */
.offer-showcase.offer-overview-intro { display: block; min-height: 0; padding: 0; margin-block-end: 0; }
.offer-showcase .section-heading { position: absolute; z-index: 2; inset-inline: var(--gutter); top: 44px; display: block; max-width: 760px; pointer-events: none; }
.offer-showcase .section-heading > div + div { padding-block-start: 20px; max-width: 58ch; }
.offer-showcase .section-heading a { pointer-events: auto; }
.offer-showcase :is(h1, h2) { font-size: clamp(36px, 4.8vw, 68px); line-height: 1.1; }
.offer-showcase .section-heading :is(h1, h2) { margin-block-start: 16px; }
.offer-showcase .offer-carousel { margin: 0; padding: 0; gap: 0; scroll-padding-inline: 0; }
.offer-showcase .offer-carousel > a { position: relative; display: flex; flex-direction: column; align-items: start; justify-content: end; min-height: 640px; padding: 390px var(--gutter) 100px; background: var(--orech); color: var(--lan); isolation: isolate; }
.offer-showcase .offer-carousel > a::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(54,32,21,.70); }
.offer-showcase .offer-carousel > a > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.offer-showcase .offer-card-copy { padding: 0; max-width: 60ch; }
@media (min-width: 901px) {
  .offer-showcase .offer-card-copy { margin-inline-start: 0; width: 100%; max-width: 60ch; }
}
.offer-showcase .offer-card-copy :is(h2, h3) { font-size: clamp(28px, 3vw, 40px); line-height: 1.2; margin-block-end: 12px; }
.offer-showcase .offer-card-copy :is(h2, h3)::after { content: ''; display: block; width: 56px; height: 2px; background: var(--salvia); margin-block-start: 16px; }
.offer-showcase .offer-carousel-controls { position: absolute; z-index: 3; inset-inline-end: var(--gutter); bottom: 20px; margin: 0; }
.offer-showcase .offer-carousel-controls button { border-color: var(--lan); background: var(--orech); color: var(--lan); }
.offer-showcase .offer-carousel-controls button[aria-disabled='true'] { color: var(--kamen); border-color: var(--kamen); }
.offer-showcase .offer-progress { position: absolute; z-index: 3; inset-inline-start: calc(var(--gutter) - 10px); bottom: 20px; margin: 0; }
.offer-showcase .offer-progress button::after { background: var(--lan); }
.offer-showcase .offer-progress .is-active::after { background: var(--salvia); height: 5px; }
.offer-showcase .offer-carousel > a:focus-visible { outline-offset: -5px; outline-color: var(--lan); box-shadow: none; }
/* Larger step labels stay close to their own heading. */
.service-cards .step-number { display: block; font-size: 1.75rem; font-weight: 600; line-height: 1.15; letter-spacing: .02em; }
.service-cards figure { margin-block-end: 18px; }
.service-cards h3 { margin-block: 8px 10px; }
/* A warm transition connects the photograph to the craft panel. */
.service-section .service-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 65%, var(--orech)); }
.service-photo > span, .service-photo > small { z-index: 1; }
.realizations { background: var(--piesok); }
.realizations-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.realizations-grid img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.realizations-grid figcaption { padding-block-start: 14px; font-size: 1rem; }
.realizations-grid figcaption strong { display: block; font-size: 1.125rem; font-weight: 500; line-height: 1.4; }
.realizations-grid figcaption p { margin-block: 8px 0; }
/* A full-width light band and rule distinguish the footer from the inquiry. */
.footer { border-block-start: 24px solid var(--piesok); box-shadow: inset 0 1px 0 var(--linka-tmava); }
@media (max-width: 900px) {
  .service-section .service-photo::after { background: linear-gradient(180deg, transparent 65%, var(--orech)); }
}
@media (max-width: 600px) {
  .realizations-grid { grid-template-columns: 1fr; gap: 28px; }
  :is(.audience-grid, .service-copy, .topic-detail-copy) .request-cta { width: 100%; }
  .offer-showcase .section-heading { position: relative; inset: auto; display: block; padding: 32px var(--gutter) 24px; pointer-events: auto; }
  .offer-showcase .section-heading h2 { font-size: clamp(32px, 9vw, 42px); }
  .offer-showcase .section-heading :is(h1, h2) { margin-block-start: 12px; }
  .offer-showcase .section-heading > div + div { margin-block-start: 20px; padding-block-start: 0; }
  .offer-showcase .section-heading .text-link { margin-block-start: 8px; }
  .offer-showcase .offer-carousel > a { min-height: 320px; padding-block: 160px 32px; }
  .offer-showcase .offer-carousel-controls { position: relative; inset: auto; justify-content: stretch; padding: 0 var(--gutter) 24px; }
  .offer-showcase .offer-carousel-controls > div { width: 100%; }
  .offer-showcase .offer-carousel-controls button { flex: 1; font-size: .875rem; min-height: 48px; }
  .offer-showcase .offer-carousel-controls > div { gap: 10px; }
  .offer-showcase .offer-progress { position: relative; inset: auto; justify-content: center; padding: 8px var(--gutter) 12px; }
  .offer-showcase .offer-card-copy :is(h2, h3) { font-size: 1.75rem; }
}
.topic-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: start; gap: clamp(28px, 5vw, 80px); }
.topic-detail-copy > h2 { margin-block: 20px 28px; }
.topic-detail-copy > p, .topic-questions p { max-width: 68ch; }
.topic-facts { margin-block: 30px; }
.topic-facts > div { padding-block: 22px; border-top: 1px solid var(--linka); }
.topic-facts dt { font-size: 1.125rem; font-weight: 500; margin-block-end: 10px; }
.topic-detail-photo img { max-height: 640px; object-fit: cover; }
.topic-detail-photo figcaption { margin-block-start: 12px; }
.topic-questions > h2 { margin-block-end: 32px; }
.topic-questions details { padding-block: 22px; border-bottom: 1px solid var(--linka); max-width: 900px; }
.topic-questions summary { cursor: pointer; font-size: 1.125rem; font-weight: 500; min-height: 44px; padding-block: 6px; }
.topic-questions details p { margin-block-start: 16px; }
.material { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8%; align-items: center; background: var(--orech); color: var(--lan); }
.material-image { position: relative; }
.material-image img { aspect-ratio: 1 / .98; object-fit: cover; }
.material-image figcaption { padding-block: 16px; }
.material-copy h2 { margin-block: 24px; }
.material-copy p { max-width: 60ch; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; margin-block: 32px; }
.specs > div { padding-block-start: 16px; border-top: 1px solid var(--linka-tmava); }
.specs dd { margin-block-start: 6px; }
@media (max-width: 900px) { .topic-detail, .material { grid-template-columns: minmax(0, 1fr); gap: 40px; } .topic-detail > *, .material > * { min-width: 0; } .topic-detail-photo img { max-height: 500px; } }

/* Supplied manual-derived icons retained alongside the restored Netlify surfaces. */
.brand-icon, .offer-grid .brand-icon { display: block; width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.offer-grid .brand-icon { margin-block-end: 24px; }
.offer-grid a.offer-category-link > .brand-icon { margin-inline: 24px; }
.service-step { display: flex; flex-direction: column; align-items: start; gap: 10px; }
/* Use only the photographic parts of supplied manual-page crops. Source JPGs stay unchanged. */
.manual-photo-frame, .offer-grid > a { overflow: hidden; }
.manual-photo-frame { position: relative; }
.manual-photo-frame > .manual-parkety, .offer-grid > a > .manual-parkety { width: 119.75%; max-width: none; object-position: left 65%; }
.manual-photo-frame > .manual-obyvacia { position: absolute; inset-inline: 0; top: auto; bottom: 0; width: 100%; max-width: none; height: 125%; object-position: center bottom; }
.service-cards figure.manual-photo-frame { height: 230px; }
.local-banner .manual-vzorky { position: absolute; inset: 0; }
