/* =============================================
   Landing: Povlečení 220×200 cm (povleceni-220x200.php)
   Vlastní styly stránky, prefix .pv-. Načítá se přes $headExtra,
   sdílí proměnné z style.css (:root, --home-*), font Jost se dědí.
   ============================================= */

/* ---------- Hero ---------- */
.pv-hero {
    position: relative;
    overflow: hidden;
    padding: 2.25rem 0 4rem;
    background: #fff;
}
.pv-hero::before {
    content: '';
    position: absolute;
    right: -12%;
    top: -28%;
    width: 58%;
    padding-top: 58%;
    border-radius: 50%;
    background: radial-gradient(closest-side, #fff3e0 0%, rgba(255, 243, 224, 0.55) 45%, rgba(255, 243, 224, 0) 100%);
    pointer-events: none;
}
.pv-hero .container { position: relative; z-index: 1; }
.pv-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.5rem;
    align-items: center;
}
.pv-hero-text { min-width: 0; }
.pv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}
.pv-eyebrow::before {
    content: '';
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: var(--color-primary);
}
.pv-hero h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.3rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--home-ink);
    margin: 0 0 1.1rem;
}
.pv-hero h1 em {
    font-style: normal;
    color: var(--color-primary-dark);
}
.pv-hero-lead {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #5c5751;
    max-width: 36em;
    margin: 0 0 1.5rem;
}
.pv-proofs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    list-style: none;
    margin: 0 0 1.85rem;
    padding: 0;
}
.pv-proofs li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #fff;
    border: 1px solid rgba(32, 29, 25, 0.1);
    border-radius: 999px;
    padding: 0.45rem 0.95rem 0.45rem 0.65rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--home-ink);
    box-shadow: var(--shadow-sm);
}
.pv-proofs svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--color-primary-dark); }
.pv-hero-actions,
.pv-cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.pv-hero-actions .btn,
.pv-cta-actions .btn {
    border-radius: 999px;
    padding: 0.85rem 1.6rem;
    font-weight: 600;
    text-decoration: none;
}
.pv-hero-actions .btn svg,
.pv-cta-actions .btn svg { width: 18px; height: 18px; }
.pv-hero-actions .btn-primary,
.pv-cta-actions .btn-primary { box-shadow: 0 10px 24px rgba(232, 146, 15, 0.35); }

.pv-hero-visual { position: relative; }
.pv-hero-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 28px;
    overflow: hidden;
    background: #f3ede4;
    box-shadow: 0 30px 60px rgba(32, 29, 25, 0.16), 0 6px 16px rgba(32, 29, 25, 0.06);
}
.pv-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pv-float {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    background: #fff;
    border-radius: 16px;
    padding: 0.85rem 1.05rem;
    box-shadow: 0 14px 34px rgba(32, 29, 25, 0.16);
    animation: pvFadeUp 0.6s ease-out both;
}
.pv-float--swatches { left: -1.25rem; bottom: 1.75rem; animation-delay: 0.25s; }
.pv-float--price { right: 1.25rem; top: 1.25rem; animation-delay: 0.4s; }
.pv-float-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-light);
}
.pv-float-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--home-ink);
    white-space: nowrap;
}
.pv-float-value small { font-size: 0.8rem; font-weight: 500; color: var(--color-text-light); margin-right: 0.15rem; }
.pv-float-sub { font-size: 0.78rem; color: var(--color-text-light); }
.pv-swatch-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 0.35rem;
}
.pv-swatch-row img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(32, 29, 25, 0.08);
    background: #fff;
    flex: 0 0 42px;
}
.pv-swatch-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.55rem;
    border-radius: 10px;
    background: #fff3e0;
    color: var(--color-primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}
@keyframes pvFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .pv-float { animation: none; }
}

/* ---------- Společné hlavičky sekcí ---------- */
.pv-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: var(--home-head-gap);
}
.pv-section-head h2,
.pv-h2 {
    font-size: var(--home-h2);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--home-ink);
    margin: 0;
}
.pv-section-head p {
    margin: 0.4rem 0 0;
    color: var(--color-text-light);
    font-size: var(--home-lead);
    line-height: 1.55;
    max-width: 60ch;
}
.pv-head-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    white-space: nowrap;
    text-decoration: none;
}
.pv-head-link svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.pv-head-link:hover svg { transform: translateX(4px); }

/* ---------- Produkty ---------- */
.pv-products {
    padding: var(--home-sec-pad) 0;
    border-top: 1px solid #f0ece5;
    background: #fff;
    scroll-margin-top: 90px; /* kotva #produkty pod lištou hlavičky */
}
.pv-grid {
    /* karty výlohy (showcase-cell) berou barvy z proměnných --sc-*, které style.css definuje jen uvnitř .showcase */
    --sc-line: #e9e6e0;
    --sc-ink: #201d19;
    --sc-muted: #8b857b;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}
.pv-grid .showcase-cell { border-radius: 16px; padding: 0.7rem; }
.pv-grid .showcase-cell-media { border-radius: 12px; }

/* ---------- Obsahové sekce ---------- */
.pv-story { padding: var(--home-sec-pad) 0; background: #fff; }
.pv-story--alt { background: var(--color-light); }
.pv-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3.5rem;
    align-items: center;
}
.pv-prose h2 {
    font-size: var(--home-h2);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--home-ink);
    margin: 0 0 1rem;
}
.pv-prose p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text);
    max-width: 62ch;
    margin: 0 0 1.1rem;
}
.pv-prose p:last-child { margin-bottom: 0; }
.pv-prose strong { color: var(--home-ink); }
.pv-prose a,
.pv-card a,
.pv-cta-b2b a {
    color: var(--color-primary-dark);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(232, 146, 15, 0.4);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}
.pv-prose a:hover,
.pv-card a:hover,
.pv-cta-b2b a:hover { text-decoration-color: currentColor; }

/* Nákres: francouzská postel vs. dvě přikrývky */
.pv-diagram {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    background: #fff;
    border: 1px solid rgba(32, 29, 25, 0.08);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 24px 50px -30px rgba(32, 29, 25, 0.28);
}
.pv-fig { display: flex; flex-direction: column; gap: 0.7rem; margin: 0; }
.pv-fig-title {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-light);
}
.pv-fig--accent .pv-fig-title { color: var(--color-primary-dark); }
.pv-bed {
    position: relative;
    aspect-ratio: 5 / 6;
    background: #f3ede4;
    border-radius: 16px;
    padding: 9% 9% 8%;
    display: flex;
    flex-direction: column;
    gap: 5%;
}
.pv-bed::after {
    /* čelo postele */
    content: '';
    position: absolute;
    left: 4%;
    right: 4%;
    top: 0;
    height: 4%;
    border-radius: 0 0 6px 6px;
    background: #d9cdb9;
}
.pv-bed-pillows { display: flex; gap: 5%; height: 21%; }
.pv-pillow {
    flex: 1;
    background: #fff;
    border-radius: 7px;
    border: 1px solid rgba(32, 29, 25, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.6rem, 1.4vw, 0.72rem);
    font-weight: 600;
    color: #8b857b;
    font-variant-numeric: tabular-nums;
}
.pv-pillow--ghost {
    background: transparent;
    border: 1.5px dashed rgba(32, 29, 25, 0.22);
    color: #a89f92;
}
.pv-bed-duvets { flex: 1; display: flex; gap: 5%; }
.pv-duvet {
    flex: 1;
    border-radius: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 0.55rem;
    font-size: clamp(0.62rem, 1.6vw, 0.8rem);
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    background-color: var(--color-primary);
    background-image:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.42) 0 2px, transparent 3px),
        radial-gradient(circle at 75% 70%, rgba(255, 255, 255, 0.32) 0 1.5px, transparent 2.5px);
    background-size: 22px 22px, 22px 22px;
    box-shadow: inset 0 -6px 12px rgba(0, 0, 0, 0.08);
}
.pv-duvet--muted {
    background-color: #b9ad9b;
}
.pv-fig-caption {
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--color-text);
    margin: 0;
}
.pv-fig-caption strong { color: var(--home-ink); }

/* Karta parametrů (tmavá, jako u přikrývky TENCEL) */
.pv-spec-card {
    background: #2b2723;
    color: #fff;
    border-radius: 24px;
    padding: 1.9rem 1.9rem 1.5rem;
    box-shadow: 0 24px 50px rgba(32, 29, 25, 0.22);
}
.pv-spec-card h3 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f0a53c;
    margin: 0 0 0.8rem;
}
.pv-spec-row {
    padding: 0.95rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.pv-spec-row:first-of-type { border-top: 0; padding-top: 0.2rem; }
.pv-spec-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}
.pv-spec-value {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
}
.pv-spec-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.1rem;
}
.pv-spec-chips span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.35rem 0.75rem 0.35rem 0.55rem;
}
.pv-spec-chips svg { width: 15px; height: 15px; color: #f0a53c; }

/* Karty s ikonou (zip, prostěradlo, údržba) */
.pv-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
.pv-card {
    background: #fff;
    border: 1px solid rgba(32, 29, 25, 0.08);
    border-radius: 20px;
    padding: 1.6rem 1.5rem;
    display: flex;
    flex-direction: column;
}
.pv-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff3e0, #ffe2b8);
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.05rem;
}
.pv-card-icon svg { width: 24px; height: 24px; }
.pv-card h2 {
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--home-ink);
    margin: 0 0 0.6rem;
}
.pv-card p {
    font-size: 0.97rem;
    line-height: 1.65;
    color: var(--color-text);
    margin: 0 0 0.8rem;
}
.pv-card p:last-child { margin-bottom: 0; }
.pv-card strong { color: var(--home-ink); }

/* ---------- Tabulka vzorů ---------- */
.pv-table { padding: var(--home-sec-pad) 0; background: #fff; }
.pv-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(32, 29, 25, 0.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(32, 29, 25, 0.03), 0 12px 32px -24px rgba(32, 29, 25, 0.18);
}
.pv-patterns {
    width: 100%;
    min-width: 520px; /* užší displej posouvá tabulku uvnitř .pv-table-wrap, stránka se nerozšíří */
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
}
.pv-patterns thead th {
    text-align: left;
    padding: 0.9rem 1.1rem;
    background: #faf7f2;
    color: var(--color-text-light);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(32, 29, 25, 0.08);
}
.pv-patterns tbody th,
.pv-patterns tbody td {
    text-align: left;
    padding: 0.75rem 1.1rem;
    border-bottom: 1px solid #f0ece5;
    vertical-align: middle;
    color: var(--color-text);
    font-weight: 400;
}
.pv-patterns tbody tr:nth-child(even) { background: #fcfbf9; }
.pv-patterns tbody tr:hover { background: #fff8ec; }
.pv-patterns tbody tr:last-child th,
.pv-patterns tbody tr:last-child td { border-bottom: 0; }
.pv-patterns tbody td:first-letter { text-transform: uppercase; }
.pv-pattern {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: inherit;
    text-decoration: none;
}
.pv-pattern img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(32, 29, 25, 0.08);
    background: #fff;
    flex: 0 0 48px;
}
.pv-code {
    display: block;
    font-weight: 700;
    color: var(--home-ink);
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.pv-pattern-link {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    white-space: nowrap;
}
a.pv-pattern:hover .pv-code { color: var(--color-primary-dark); }
.pv-base { display: inline-flex; align-items: center; gap: 0.55rem; white-space: nowrap; }
.pv-base-text { display: block; }
.pv-base-text::first-letter { text-transform: uppercase; }
.pv-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(32, 29, 25, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    flex: 0 0 16px;
}
.pv-table-note {
    margin: 0.9rem 0 0;
    font-size: 0.88rem;
    color: var(--color-text-light);
}

/* ---------- FAQ ---------- */
.pv-faq { padding: var(--home-sec-pad) 0; background: var(--color-light); }
.pv-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    align-items: start;
}
.pv-faq-item {
    background: #fff;
    border: 1px solid rgba(32, 29, 25, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.pv-faq-item[open] {
    border-color: rgba(254, 161, 36, 0.45);
    box-shadow: 0 14px 32px -22px rgba(32, 29, 25, 0.3);
}
.pv-faq-q {
    cursor: pointer;
    list-style: none;
    position: relative;
    padding: 1.05rem 3rem 1.05rem 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--home-ink);
    transition: background 0.15s ease;
}
.pv-faq-q::-webkit-details-marker { display: none; }
.pv-faq-q:hover { background: #fffaf2; }
.pv-faq-q::after {
    content: '';
    position: absolute;
    right: 1.2rem;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--color-primary-dark);
    border-bottom: 2px solid var(--color-primary-dark);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.25s ease;
}
.pv-faq-item[open] .pv-faq-q::after { transform: translateY(-30%) rotate(225deg); }
.pv-faq-a {
    padding: 0.2rem 1.25rem 1.15rem;
    color: var(--color-text);
    font-size: 0.97rem;
    line-height: 1.65;
}
.pv-faq-a p { margin: 0; }

/* ---------- Závěrečná výzva ---------- */
.pv-cta { padding: var(--home-sec-pad) 0; background: var(--color-primary-light); }
.pv-cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 2.5rem;
    align-items: center;
}
.pv-cta-title {
    font-size: var(--home-h2);
    line-height: 1.15;
    letter-spacing: -0.01em;
    font-weight: 600;
    color: var(--home-ink);
    margin: 0 0 0.7rem;
}
.pv-cta-note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0 0 1.25rem;
    color: #6b5a3e;
    line-height: 1.55;
    max-width: 60ch;
}
.pv-cta-note svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--color-primary-dark); margin-top: 0.15rem; }
.pv-cta-b2b {
    background: #fff;
    border-radius: 18px;
    padding: 1.4rem 1.5rem;
    box-shadow: 0 18px 40px -28px rgba(32, 29, 25, 0.3);
    margin: 0;
    line-height: 1.6;
    color: var(--color-text);
}
.pv-cta-b2b strong { display: block; color: var(--home-ink); margin-bottom: 0.2rem; }

/* ---------- Související odkazy ---------- */
.pv-related { padding: 2rem 0 3rem; background: #fff; }
.pv-related-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
}
.pv-related-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin: 0;
}
.pv-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(32, 29, 25, 0.12);
    border-radius: 999px;
    background: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--home-ink);
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.pv-pill:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    transform: translateY(-1px);
}
.pv-pill svg { width: 15px; height: 15px; }

/* ---------- Responzivita ---------- */
@media (max-width: 1100px) {
    .pv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 992px) {
    .pv-hero-grid { grid-template-columns: 1fr; gap: 2.25rem; }
    .pv-hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
    .pv-split { grid-template-columns: 1fr; gap: 2.25rem; }
    .pv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pv-cta-inner { grid-template-columns: 1fr; gap: 1.75rem; }
}
@media (max-width: 768px) {
    .pv-hero { padding: 1.25rem 0 2.5rem; }
    .pv-hero-lead { font-size: 1.05rem; }
    .pv-float { padding: 0.6rem 0.8rem; border-radius: 12px; }
    /* Na mobilu je fotka malá: štítek se vzory jde pod ni jako pruh, přes fotku zůstává jen cena */
    .pv-float--swatches {
        position: static;
        margin-top: 0.75rem;
        border: 1px solid rgba(32, 29, 25, 0.08);
        box-shadow: var(--shadow-sm);
        animation: none;
    }
    .pv-float--price { right: 0.75rem; top: 0.75rem; }
    .pv-float-value { font-size: 0.98rem; }
    .pv-swatch-row img,
    .pv-swatch-more { width: 38px; height: 38px; min-width: 38px; border-radius: 9px; flex-basis: 38px; }
    .pv-swatch-more { padding: 0 0.45rem; font-size: 0.74rem; }
    .pv-cards { grid-template-columns: 1fr; }
    .pv-faq-grid { grid-template-columns: 1fr; }
    .pv-diagram { padding: 1.1rem; gap: 0.9rem; border-radius: 18px; }
    .pv-spec-card { padding: 1.5rem 1.4rem 1.2rem; }
    .pv-products, .pv-story, .pv-table, .pv-faq, .pv-cta { padding: 2.5rem 0; }
    .pv-section-head { margin-bottom: 1.4rem; }
    .pv-patterns tbody th, .pv-patterns tbody td { padding: 0.65rem 0.85rem; }
}
@media (max-width: 640px) {
    .pv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
    .pv-grid .showcase-cell { padding: 0.55rem; border-radius: 12px; }
}
@media (max-width: 480px) {
    .pv-hero-actions .btn,
    .pv-cta-actions .btn { width: 100%; }
    .pv-proofs li { font-size: 0.84rem; }
    .pv-fig-caption { font-size: 0.82rem; }
    .pv-eyebrow { font-size: 0.7rem; letter-spacing: 0.1em; }
}
