:root {
    --ink: #231f20;
    --muted: #6c6e70;
    --accent: #c5114b;
    --accent-soft: rgba(197, 17, 75, 0.12);
    --paper: #f4f2f0;
    --paper-deep: #ebe7e3;
    --line: rgba(35, 31, 32, 0.12);
    --card: #ffffff;
    --shadow: 0 12px 40px rgba(35, 31, 32, 0.14);
    --font: Lato, "Segoe UI", sans-serif;
    --font-nav: "Exo 2", Lato, "Segoe UI", sans-serif;
    --katalog-void: #231f20;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    min-height: 100vh;
    line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

a:hover { color: var(--accent); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: visible;
    background: rgba(244, 242, 240, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    display: block;
    width: 92px;
    height: auto;
    flex-shrink: 0;
}

.site-logo img,
.site-logo svg {
    width: 100%;
    height: auto;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 4px;
    justify-content: flex-end;
}

.site-nav a,
.site-nav button {
    position: relative;
    padding: 8px 12px;
    font-family: var(--font-nav);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    background: none;
    border: 0;
    cursor: pointer;
}

.site-nav a::after,
.site-nav button::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.site-nav button:hover {
    color: var(--ink);
}

.site-nav a.is-active::after,
.site-nav a:hover::after,
.site-nav button:hover::after,
.nav-dropdown.is-active > .nav-dropdown__trigger::after {
    transform: scaleX(1);
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    align-self: center;
}

.nav-dropdown__trigger {
    display: inline-flex;
    align-items: center;
}

.nav-dropdown__panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 12rem;
    margin: 0;
    padding: 8px 0;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(35, 31, 32, 0.06);
    z-index: 200;
}

/* Mostek hoveru — panel nie znika przy zejściu myszą z triggera */
.nav-dropdown__panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.nav-dropdown__panel a {
    display: block;
    padding: 10px 16px;
    font-family: var(--font-nav);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

.nav-dropdown__panel a::after {
    display: none;
}

.nav-dropdown__panel a:hover,
.nav-dropdown__panel a.is-active {
    color: var(--ink);
    background: rgba(35, 31, 32, 0.04);
}

.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel,
.nav-dropdown.is-open .nav-dropdown__panel {
    display: block;
}

.nav-dropdown.is-active > .nav-dropdown__trigger {
    color: var(--ink);
}

.about-copy h2 {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 600;
    margin-bottom: 28px;
    max-width: 28ch;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 40px 48px;
    align-items: start;
}

.about-layout__copy {
    min-width: 0;
}

.about-copy__p {
    color: var(--muted);
    font-weight: 300;
    font-size: 1.02rem;
    max-width: 44rem;
    margin-bottom: 16px;
}

.about-copy__tagline {
    margin-top: 28px;
    font-weight: 500;
    font-size: 1.05rem;
    max-width: 36rem;
}

.about-pillars {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}

.about-pillars__item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px 18px;
    align-items: start;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.about-pillars__item:first-child {
    padding-top: 0;
}

.about-pillars__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.about-pillars__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a1830;
    margin-top: 2px;
}

.about-pillars__svg {
    display: block;
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
}

.about-pillars__title {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.3;
    color: #5a1830;
}

.about-pillars__text {
    margin: 0;
    color: var(--muted);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.collection-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 28px 24px;
    background: var(--card);
    border: 1px solid var(--line);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.collection-card:hover {
    border-color: var(--accent);
    color: var(--ink);
}

.collection-card__label {
    font-family: var(--font-nav);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.collection-card__meta {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 300;
}

.collection-card.is-wip {
    opacity: 0.78;
}

.collection-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 36px 40px;
    align-items: start;
    margin: 8px 0 36px;
}

.collection-layout--text-only {
    grid-template-columns: minmax(0, 44rem);
}

.collection-copy {
    max-width: 44rem;
    margin: 0;
}

.collection-copy__lead {
    font-size: 1.08rem;
    line-height: 1.45;
    margin: 0 0 24px;
    max-width: 40rem;
}

.collection-copy__lead strong,
.collection-copy__tagline strong {
    font-weight: 700;
}

.collection-copy__p {
    color: var(--muted);
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 1.15em;
}

.collection-copy__tagline {
    margin: 28px 0 0;
    font-size: 1.05rem;
    line-height: 1.45;
}

.collection-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0;
}

.collection-gallery__item {
    margin: 0;
    overflow: hidden;
    background: var(--paper-deep);
    border: 1px solid var(--line);
}

.collection-gallery__item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 900px) {
    .collection-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 720px) {
    .collection-grid {
        grid-template-columns: 1fr;
    }
}

.site-main { min-height: 60vh; }

.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 72px;
    padding: 28px 24px 40px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 300;
}

.site-footer__inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    justify-content: space-between;
    align-items: baseline;
}

.site-footer a { font-weight: 400; }

.wrap {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 48px 24px 24px;
}

.page-kicker {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.page-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.page-lead {
    color: var(--muted);
    font-weight: 300;
    font-size: 1.05rem;
    max-width: 40rem;
    margin-bottom: 40px;
}

.accent-rule {
    width: 48px;
    height: 2px;
    background: var(--accent);
    border: 0;
    margin: 0 0 28px;
}

/* —— Firma / hero —— */
.hero {
    position: relative;
    aspect-ratio: 1983 / 793;
    width: 100%;
    display: grid;
    align-items: end;
    color: #fff;
    overflow: hidden;
    background: #ebe6df;
}

.hero__media {
    position: absolute;
    inset: 0;
    background: #ebe6df;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 23, 24, 0.05) 0%,
        rgba(26, 23, 24, 0.18) 55%,
        rgba(26, 23, 24, 0.52) 100%
    );
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 48px 24px 64px;
    animation: hero-rise 0.9s ease both;
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    max-width: 14ch;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero__lead {
    font-weight: 300;
    font-size: 1.1rem;
    max-width: 34rem;
    opacity: 0.88;
    margin-bottom: 28px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: #a50e3f;
    color: #fff;
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

.btn-ghost:hover {
    border-color: #fff;
    color: #fff;
}

.btn-ink {
    background: var(--ink);
    color: #fff;
}

.btn-ink:hover {
    background: var(--accent);
    color: #fff;
}

.btn-outline {
    border-color: var(--line);
    color: var(--ink);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.section {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 72px 24px 0;
}

.section h2 {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 600;
    margin-bottom: 12px;
}

.section p.lead {
    color: var(--muted);
    font-weight: 300;
    max-width: 40rem;
    margin-bottom: 28px;
}

.firma-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 36px;
    margin-top: 8px;
}

.firma-point h3 {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.firma-point p {
    color: var(--muted);
    font-weight: 300;
    font-size: 0.98rem;
}

.firma-point::before {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    background: var(--accent);
    margin-bottom: 14px;
}

.ecoro-band {
    margin-top: 72px;
    padding: 56px 24px;
    background:
        linear-gradient(120deg, rgba(35, 31, 32, 0.92), rgba(197, 17, 75, 0.78)),
        url("/img/colors/232.jpg") center / cover no-repeat;
    color: #fff;
}

.ecoro-band__inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.ecoro-band h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 12px;
}

.ecoro-band p {
    font-weight: 300;
    max-width: 36rem;
    opacity: 0.92;
}

/* —— Kolekcja —— */
.offer-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
}

.offer-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) auto;
    gap: 16px 28px;
    align-items: baseline;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    transition: background 0.2s ease;
}

.offer-row:hover {
    background: rgba(255, 255, 255, 0.55);
}

.offer-row__label {
    font-size: 1.15rem;
    font-weight: 500;
}

.offer-row__meta {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}

.offer-row__blurb {
    color: var(--muted);
    font-weight: 300;
    font-size: 0.98rem;
}

.offer-row__stats {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 300;
    white-space: nowrap;
    text-align: right;
}

.offer-cta {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.collection-also {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.collection-also__label {
    margin: 0 0 14px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
}

.collection-also__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
}

.collection-also__list a {
    font-family: var(--font-nav);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.collection-also__list a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* —— Katalog —— */
.catalog-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    margin-bottom: 56px;
}

.catalog-frame {
    aspect-ratio: 4 / 3;
    background:
        linear-gradient(145deg, var(--paper-deep), #fff 45%, var(--paper-deep)),
        repeating-linear-gradient(
            -12deg,
            transparent,
            transparent 10px,
            rgba(35, 31, 32, 0.03) 10px,
            rgba(35, 31, 32, 0.03) 11px
        );
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.catalog-frame::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px dashed rgba(35, 31, 32, 0.18);
    pointer-events: none;
}

.catalog-frame__label {
    position: relative;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

.catalog-frame__title {
    position: relative;
    font-size: 1.35rem;
    font-weight: 600;
}

.catalog-frame__note {
    position: relative;
    margin-top: 10px;
    color: var(--muted);
    font-weight: 300;
    font-size: 0.95rem;
    max-width: 22rem;
}

.catalog-aside h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.catalog-aside p {
    color: var(--muted);
    font-weight: 300;
    margin-bottom: 20px;
}

.swatch-section { margin-bottom: 40px; }

.swatch-section h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.swatch-section .meta {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 16px;
}

.colors {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.color-row {
    position: relative;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    align-items: stretch;
    background: var(--card);
    border: 1px solid var(--line);
    min-height: 64px;
}

.swatch {
    position: relative;
    background: #ddd center / cover no-repeat;
    min-height: 64px;
}

.swatch.has-image { cursor: zoom-in; }

.swatch.has-image:hover,
.swatch.has-image.is-open { z-index: 40; }

.swatch.is-empty {
    background: repeating-linear-gradient(
        -45deg,
        #e8e6e4,
        #e8e6e4 6px,
        #f4f2f0 6px,
        #f4f2f0 12px
    );
}

.zoom-preview {
    display: none;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 288px;
    height: 144px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(35, 31, 32, 0.25);
    box-shadow: 0 8px 28px rgba(35, 31, 32, 0.28);
    pointer-events: none;
    z-index: 50;
}

.zoom-preview img {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: auto;
    height: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
}

@media (hover: hover) and (pointer: fine) {
    .swatch.has-image:hover .zoom-preview { display: block; }
}

.swatch.has-image.is-open .zoom-preview { display: block; }

.info {
    padding: 12px 16px 12px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.color-name { font-weight: 500; font-size: 1rem; }

.widths {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.widths-label {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 300;
    margin-right: 2px;
}

.chip {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 3px 8px;
    border: 1px solid var(--line);
    color: var(--ink);
    background: var(--paper);
}

.chip-empty {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 300;
}

/* —— Kontakt —— */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
    align-items: start;
}

.contact-block + .contact-block { margin-top: 32px; }

.contact-block h2 {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.contact-block address {
    font-style: normal;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.6;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.contact-links a {
    font-weight: 400;
    font-size: 1.05rem;
}

.sales-card {
    padding: 28px 28px 32px;
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
}

.sales-card .note {
    color: var(--muted);
    font-weight: 300;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.sales-card strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 14px;
}

.sales-card a {
    display: block;
    margin-top: 6px;
    font-size: 1.02rem;
}

@keyframes hero-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 860px) {
    .firma-grid,
    .catalog-shell,
    .contact-layout,
    .offer-row {
        grid-template-columns: 1fr;
    }

    .offer-row__stats { text-align: left; }
}

@media (max-width: 720px) {
    .site-header__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 20px;
    }

    .site-nav {
        width: 100%;
        justify-content: flex-start;
        gap: 0;
    }

    .site-nav a,
    .site-nav button {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .colors { grid-template-columns: 1fr; }

    .zoom-preview {
        position: fixed;
        left: 50%;
        right: auto;
        top: 50%;
        bottom: auto;
        width: min(288px, calc(100vw - 32px));
        height: 144px;
        transform: translate(-50%, -50%);
        pointer-events: auto;
    }
}

@media (max-width: 560px) {
    .color-row { grid-template-columns: 1fr; }

    .swatch { min-height: 88px; }

    .info { padding: 12px 14px 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero__content { animation: none; }
    html { scroll-behavior: auto; }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.katalog-open {
    overflow: hidden;
}

.katalog-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    background: var(--katalog-void);
    color: #fff;
    padding: 16px;
}

.katalog-overlay[hidden] {
    display: none;
}

.katalog-toolbar {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 22rem) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.katalog-toolbar h2 {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    justify-self: start;
}

.katalog-toolbar-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    justify-self: end;
}

.katalog-icon-btn,
.katalog-nav-btn {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    color: #fff;
    min-width: 44px;
    min-height: 44px;
    padding: 0 14px;
    font: inherit;
    cursor: pointer;
    border-radius: 2px;
}

.katalog-icon-btn:hover,
.katalog-nav-btn:hover,
.katalog-icon-btn:focus-visible,
.katalog-nav-btn:focus-visible {
    border-color: #fff;
    outline: none;
}

.katalog-page-label {
    font-weight: 300;
    font-variant-numeric: tabular-nums;
    min-width: 5.5rem;
    text-align: center;
}

.katalog-sections {
    justify-self: center;
    width: 100%;
    max-width: 22rem;
}

.katalog-sections[hidden] {
    display: none;
}

.katalog-section-select {
    appearance: none;
    width: 100%;
    min-height: 44px;
    padding: 0 2.25rem 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 2px;
    background:
        linear-gradient(45deg, transparent 50%, #fff 50%) calc(100% - 18px) calc(50% - 3px) / 6px 6px no-repeat,
        linear-gradient(135deg, #fff 50%, transparent 50%) calc(100% - 12px) calc(50% - 3px) / 6px 6px no-repeat,
        transparent;
    color: #fff;
    font: inherit;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.katalog-section-select:hover,
.katalog-section-select:focus-visible {
    border-color: #fff;
    outline: none;
}

.katalog-section-select option {
    color: var(--ink);
    background: #fff;
}

.katalog-stage {
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.katalog-book {
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.katalog-page {
    position: relative;
    background: #fff;
    overflow: hidden;
}

.katalog-page--blank {
    background: var(--katalog-void) !important;
    box-shadow: none;
    transition: background-color 0.35s ease;
}

.katalog-overlay[data-blank-flip-trial="1"] .katalog-page--blank {
    background: transparent !important;
}

.katalog-overlay[data-blank-flip-trial="1"] .katalog-page--blank.katalog-blank-solid {
    background: #fff !important;
    transition: none;
}

.katalog-page img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
    user-select: none;
}

.katalog-hotspots {
    position: absolute;
    inset: 0;
}

.katalog-hotspot {
    position: absolute;
    display: block;
    background: transparent;
}

.katalog-hotspot:hover,
.katalog-hotspot:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
    background: rgba(197, 17, 75, 0.12);
}

.katalog-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    font-weight: 300;
    background: rgba(35, 31, 32, 0.55);
    pointer-events: none;
}

.katalog-loading[hidden] {
    display: none;
}

@media (max-width: 720px) {
    .katalog-toolbar {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "title nav"
            "sections sections";
    }

    .katalog-toolbar h2 { grid-area: title; }
    .katalog-sections { grid-area: sections; max-width: none; }
    .katalog-toolbar-nav { grid-area: nav; }
}
