/* Kontakty (link_rewrite=kontakty; CZ id_cms=16 / SK id_cms=20) — redesign 2026-08.
   Hero s fotkou, serif nadpisy (Newsreader jako zbytek e-shopu), hnědé ikony,
   statická mapa, bankovní spojení s vlajkami, sekce Nevíte si rady, FAQ ve 2 sloupcích.
   Scope: .kt-page (obsah) + .cms_kontakty (kontejner v cms.tpl). */

.cms_kontakty > .breadcrumb,
.cms_kontakty > h1 { display: none !important; }
.cms_kontakty img { max-width: 100%; height: auto; }
.cms_kontakty .kt-hero__media::before,
.cms_kontakty .kt-help__media::before,
.cms_shipping .kt-hero__media::before { display: none; }

.kt-page {
    --kt-accent: #9b5515;      /* stejná kůže jako ceník dopravy / mockup */
    --kt-accent-dark: #7d3f08;
    --kt-ink: #15120f;
    --kt-muted: #5f574f;
    --kt-card: #f8f2ec;
    --kt-card-line: #ece4de;
    --kt-cream: #faf8f5;
    color: var(--kt-ink);
    font-family: 'Mulish', sans-serif;
    max-width: 1180px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.kt-page * { box-sizing: border-box; }
.kt-page p { margin: 0; }
.kt-page a { color: inherit; text-decoration: none; }
.kt-page svg { display: block; }

/* stejné písmo jako nadpisy filtru (.filter__section > strong) */
.kt-page h1, .kt-page h2, .kt-page h3, .kt-faq-title, .kt-section-title {
    font-family: 'Newsreader', serif !important;
    font-weight: 600;
    color: var(--kt-ink);
    margin: 0;
    line-height: 1.15;
}

/* vyplněný kruh (horní karty + help) */
.kt-ic {
    width: 54px; height: 54px; min-width: 54px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--kt-accent);
    color: #fff;
}
.kt-ic svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- HERO ---------- */
.kt-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    align-items: stretch;
    gap: 8px;
    background: #fff;
    overflow: hidden;
    min-height: 360px;
}
.kt-hero__copy { padding: 48px 28px 40px 8px; }
.kt-hero__kicker {
    display: block;
    margin: 0 0 14px;
    font-family: 'Mulish', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--kt-accent);
}
.kt-hero__title { font-size: 58px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 22px; }
.kt-hero__lead { font-size: 16px; line-height: 1.75; color: #5a524b; max-width: 390px; }
.kt-hero__note { margin-top: 18px; font-size: 14px; line-height: 1.65; color: var(--kt-muted); max-width: 390px; }
.kt-hero__media { position: relative; align-self: stretch; min-height: 360px; }
.kt-hero__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 70% 40%;
    display: block;
}
.kt-hero__media::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.72) 14%, rgba(255,255,255,0) 42%);
}

/* ---------- QUICK CONTACT CARDS ---------- */
.kt-quick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 10px;
}
.kt-qcard {
    display: flex; flex-direction: column;
    padding: 28px 30px;
    background: var(--kt-card);
    border-radius: 18px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.kt-qcard:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(120,70,45,.1); }
.kt-qcard__top { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; }
.kt-qcard__top h3 { font-size: 22px; }
.kt-qcard__value { font-size: 21px; font-weight: 700; color: var(--kt-accent); word-break: break-word; }
.kt-qcard__value--addr { color: var(--kt-ink); font-weight: 600; font-size: 17px; line-height: 1.55; }
.kt-qcard__note { margin-top: 12px; font-size: 14px; color: var(--kt-muted); }

/* ---------- 2-COLUMN BLOKY ---------- */
.kt-two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.kt-card {
    background: var(--kt-card);
    border-radius: 18px;
    padding: 32px 34px;
}
.kt-card__top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.kt-card__top h3 { font-size: 26px; }
/* sekční karty: ikona jako obrys v světlém zaobleném čtverci */
.kt-card__top .kt-ic { border-radius: 14px; background: #f2e7dd; color: var(--kt-accent); }
.kt-card__top .kt-ic svg { fill: none; stroke: var(--kt-accent); stroke-width: 1.8; }
.kt-org { font-size: 18px; font-weight: 700; color: var(--kt-accent); margin-bottom: 6px; }
.kt-addr { font-style: normal; font-size: 16px; line-height: 1.7; }
.kt-note { margin-top: 18px; font-size: 14px; line-height: 1.6; color: var(--kt-muted); }

/* mapa – statický klikací náhled */
.kt-map {
    display: block;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: var(--kt-card);
    min-height: 280px;
}
.kt-map img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .3s ease;
}
.kt-map:hover img { transform: scale(1.03); }

.kt-fakt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.kt-fakt__reg { font-size: 15px; line-height: 1.7; }
.kt-fakt__reg dt { color: var(--kt-muted); display: inline; }
.kt-fakt dl { margin: 0; }

.kt-bank { display: flex; flex-direction: column; gap: 22px; }
.kt-bankrow { display: flex; gap: 16px; align-items: flex-start; }
.kt-flag { width: 40px; height: 40px; min-width: 40px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.06) inset; }
.kt-flag svg { width: 40px; height: 40px; }
.kt-bankrow__country { font-size: 17px; font-weight: 700; color: var(--kt-accent); margin-bottom: 2px; }
.kt-bankrow__line { font-size: 16px; line-height: 1.6; }
.kt-bankrow__line strong { font-weight: 700; }

/* ---------- NEVÍTE SI RADY ---------- */
.kt-help {
    display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; gap: 0;
    background: var(--kt-card);
    border-radius: 18px; overflow: hidden;
    margin-top: 22px;
}
.kt-help__copy { display: grid; grid-template-columns: auto 1fr; align-items: center; align-content: center; column-gap: 18px; padding: 44px; }
.kt-help__copy .kt-ic { margin-bottom: 0; }
.kt-help__copy .kt-ic svg { fill: none; stroke: #fff; stroke-width: 1.8; }
.kt-help__copy h3 { font-size: 30px; margin: 0; }
.kt-help__copy > p { grid-column: 1 / -1; font-size: 16px; line-height: 1.65; color: #4a423c; }
.kt-help__copy > p:first-of-type { margin-top: 16px; }
.kt-help__copy > p + p { margin-top: 8px; }
.kt-help__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 16px !important;
}
.kt-help__contacts a {
    color: var(--kt-accent);
    font-weight: 700;
    font-size: 18px;
}
.kt-help__contacts a:hover { text-decoration: underline; }
.kt-help__media { position: relative; min-height: 300px; }
.kt-help__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 80% 40%;
    display: block;
}
.kt-help__media::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, var(--kt-card) 2%, rgba(248,242,236,.55) 14%, rgba(248,242,236,0) 38%);
}

.kt-page .kt-faq__a a {
    color: var(--kt-accent);
    text-decoration: underline;
}

/* ---------- FAQ ---------- */
.kt-page .kt-faq-title,
.kt-page .kt-section-title { font-size: 34px; margin: 60px 0 22px; }
.kt-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.kt-faq__item { border-bottom: 1px solid #e6ddd6; }
.kt-faq__item > summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 4px;
    font-size: 16px; font-weight: 600; color: var(--kt-ink);
}
.kt-faq__item > summary::-webkit-details-marker { display: none; }
.kt-faq__item > summary::after {
    content: ""; width: 10px; height: 10px; min-width: 10px;
    border-right: 2px solid var(--kt-accent); border-bottom: 2px solid var(--kt-accent);
    transform: rotate(45deg); transition: transform .2s ease; margin-top: -4px;
}
.kt-faq__item[open] > summary::after { transform: rotate(-135deg); margin-top: 2px; }
.kt-faq__a { padding: 0 4px 18px; font-size: 15px; line-height: 1.7; color: var(--kt-muted); }

/* ---------- USP (jako na Doprava a platba) ---------- */
.kt-usp {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    margin: 36px 0 8px;
    border-top: 1px solid #eadfd5;
    border-bottom: 1px solid #eadfd5;
    background: #fffaf6;
}
.kt-usp__item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 76px;
    padding: 12px 18px;
    border-right: 1px solid #eadfd5;
}
.kt-usp__item:last-child { border-right: 0; }
.kt-usp__ic {
    width: 42px; height: 42px; min-width: 42px;
    display: flex; align-items: center; justify-content: center;
    color: var(--kt-accent);
}
.kt-usp__ic svg {
    width: 32px; height: 32px;
    fill: none; stroke: currentColor;
    stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.kt-usp__item > span:last-child {
    font-size: 14px;
    line-height: 1.35;
    color: var(--kt-ink);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .kt-hero { grid-template-columns: 1fr; }
    .kt-hero__copy { padding: 34px 8px 18px; }
    .kt-hero__title { font-size: 44px; }
    .kt-hero__media { min-height: 240px; }
    .kt-hero__media::before { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 28%); }
    .kt-quick { grid-template-columns: 1fr; gap: 16px; }
    .kt-two { grid-template-columns: 1fr; }
    .kt-help { grid-template-columns: 1fr; }
    .kt-help__media { min-height: 240px; order: -1; }
    .kt-help__media::before { background: linear-gradient(0deg, var(--kt-card) 0%, rgba(248,242,236,0) 22%); }
    .kt-faq { grid-template-columns: 1fr; gap: 0; }
    .kt-usp { grid-template-columns: 1fr 1fr; }
    .kt-usp__item:nth-child(2) { border-right: 0; }
    .kt-usp__item:nth-child(1),
    .kt-usp__item:nth-child(2) { border-bottom: 1px solid #eadfd5; }
}
@media (max-width: 600px) {
    .kt-hero__title { font-size: 38px; }
    .kt-card, .kt-qcard, .kt-help__copy { padding-left: 24px; padding-right: 24px; }
    .kt-fakt { grid-template-columns: 1fr; }
    .kt-card__top h3, .kt-help__copy h3 { font-size: 24px; }
    .kt-page .kt-faq-title,
    .kt-page .kt-section-title { font-size: 28px; }
    .kt-usp { grid-template-columns: 1fr; }
    .kt-usp__item { border-right: 0; border-bottom: 1px solid #eadfd5; }
    .kt-usp__item:last-child { border-bottom: 0; }
    .kt-usp__item:nth-child(2) { border-bottom: 1px solid #eadfd5; }
}
