
:root {
    --ink: #24231f;
    --muted: #5e5a51;
    --accent: #a75132;
    --accent-dark: #854026;
    --cream: #f7f3ed;
    --paper: #fff;
    --line: #e7e0d7
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #fcfaf7;
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif;
    line-height: 1.6
}

a {
    color: inherit
}

.shell {
    width: min(1120px, calc(100% - 40px));
    margin: auto
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line)
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 82px
}

.brand {
    font-family: Manrope, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-decoration: none
}

.brand span {
    color: var(--accent)
}

nav {
    display: flex;
    gap: 27px
}

nav a {
    text-decoration: none;
    font-weight: 600;
    font-size: .93rem
}

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

.hero {
    min-height: 540px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 81% 53%, #dcbba1 0, #dcbba1 8%, transparent 35%), linear-gradient(125deg, #fbf5ec 0%, #eee2d1 100%);
    border-bottom: 1px solid var(--line)
}

.hero-content {
    padding-block: 72px;
    max-width: 1120px
}

.hero h1 {
    max-width: 760px;
    font-family: Manrope, sans-serif;
    line-height: 1.12;
    font-size: clamp(2.8rem, 5.6vw, 5.6rem);
    letter-spacing: -.055em;
    margin: .25em 0
}

.lead {
    max-width: 690px;
    font-size: 1.15rem;
    color: #4c493f
}

.lead-small {
    max-width: 760px
}

.eyebrow {
    color: var(--accent-dark);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase
}

.actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap
}

.button {
    display: inline-flex;
    padding: 13px 23px;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none
}

.button:hover {
    background: var(--accent-dark)
}

.button-secondary {
    background: #fff;
    color: var(--ink);
    border: 1px solid #d6c5b5
}

.button-secondary:hover {
    background: #faf8f4
}

.section {
    padding-block: 66px 90px
}

.section h1,
.section h2 {
    font-family: Manrope, sans-serif;
    line-height: 1.18;
    letter-spacing: -.03em
}

.section h1 {
    font-size: clamp(2.7rem, 5vw, 4.4rem);
    margin: 15px 0
}

.section h2 {
    font-size: 2rem
}

.feature-grid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 35px
}

.feature,
.product-card {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    overflow: hidden
}

.feature {
    padding: 27px
}

.feature h3 {
    margin: 14px 0 6px
}

.feature p {
    color: var(--muted);
    margin: 0
}

.feature-num {
    font-weight: 800;
    color: var(--accent)
}

.product-illustration {
    display: grid;
    place-items: center;
    min-height: 190px;
    background: linear-gradient(145deg, #91735a, #c79f7e 47%, #746459);
    color: rgba(255, 255, 255, .7);
    font: 800 6rem Manrope, sans-serif
}

.product-body {
    padding: 25px
}

.product-body h2 {
    margin: 5px 0;
    font-size: 1.5rem
}

.product-body p {
    color: var(--muted)
}

.product-body .price-pending {
    font-weight: 700;
    color: var(--accent-dark)
}

.product-body a {
    font-weight: 700;
    text-decoration: none
}

.product-body a:hover {
    text-decoration: underline
}

.notice {
    border-left: 4px solid var(--accent);
    background: #f5ebe3;
    padding: 16px 20px;
    border-radius: 4px;
    margin: 26px 0
}

.narrow {
    max-width: 850px
}

.back {
    display: inline-block;
    margin-bottom: 23px;
    text-decoration: none;
    color: var(--accent-dark);
    font-weight: 700
}

.steps {
    padding-left: 24px
}

.steps li {
    padding: 12px
}

.site-footer {
    background: #252722;
    color: #eae3d9
}

.site-footer .shell {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-block: 28px;
    font-size: .85rem
}

.site-footer span {
    color: #bcb8ae
}

@media(max-width:850px) {

    .feature-grid,
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:600px) {
    .shell {
        width: min(100% - 30px, 1120px)
    }

    .header-inner {
        min-height: 70px
    }

    .feature-grid,
    .product-grid {
        grid-template-columns: 1fr
    }

    .hero {
        min-height: 470px
    }

    .hero-content {
        padding-block: 60px
    }

    .site-footer .shell {
        flex-direction: column
    }
}


/* KREOBETON v0.3 – pracovné farebné varianty */
.variant-thumb {
    width: 80px;
    height: 65px;
    border-radius: 6px;
    object-fit: cover;
}

.variant-preview {
    display: block;
    max-width: 380px;
    width: 100%;
    border-radius: 8px;
}

.variant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
    margin: 22px 0 30px;
}

.variant-card {
    border: 1px solid #e5d8cb;
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
    padding-bottom: 10px;
}

.variant-card>img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
    margin-bottom: 10px;
    margin-top: 5px;
}

.variant-card>strong,
.variant-card>small {
    display: block;
    padding: 0 12px;
}

.variant-card>small {
    margin-top: 4px;
    color: #785e53;
}

.variant-placeholder {
    display: grid;
    place-items: center;
    text-align: center;
    height: 140px;
    background: #d6c5b7;
    color: #5f4536;
    font-size: .85rem;
    margin-bottom: 10px;
}


/* v0.4 – moderný, produktovo orientovaný úvod a kalkulačka */
.hero-shop {
    min-height: unset;
    background: linear-gradient(125deg, #fcf7ef 0%, #ebd8c4 100%);
}

.hero-shop-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    align-items: center;
    gap: clamp(24px, 5vw, 76px);
    padding-block: 64px;
}

.hero-shop .hero-content {
    padding: 0;
    min-width: 0;
}

.hero-shop h1 {
    font-size: clamp(2.45rem, 4.35vw, 4.7rem);
    max-width: 730px;
}

.hero-shop h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero-shop .lead {
    font-size: 1.08rem;
}

.hero-caption {
    font-size: .8rem;
    color: var(--muted);
    margin-top: 22px;
}

.hero-quick-picks {
    min-width: 0;
    background: rgba(255, 255, 255, .86);
    border: 1px solid #e1d0bf;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 18px 40px rgba(83, 49, 23, .07);
}

.hero-picks-heading {
    font-size: .73rem;
    font-weight: 800;
    color: var(--accent-dark);
    letter-spacing: .13em;
    margin: 0 0 13px;
}

.hero-pick {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 11px 5px;
    text-decoration: none;
    border-top: 1px solid var(--line);
    border-radius: 5px;
}

.hero-pick:hover .hero-pick-arrow,
.hero-pick:focus-visible .hero-pick-arrow {
    transform: translate(2px, -2px);
}

.hero-pick img,
.hero-pick-placeholder {
    width: 72px;
    height: 65px;
    border-radius: 8px;
    flex: 0 0 auto;
    object-fit: cover;
}

.hero-pick-placeholder {
    display: grid;
    place-items: center;
    background: #baa18a;
    font: bold 2rem Manrope, sans-serif;
    color: #fff;
}

.hero-pick-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.hero-pick-copy strong {
    font-size: 1rem;
}

.hero-pick-copy small {
    font-size: .86rem;
    color: var(--muted);
}

.hero-pick-arrow {
    margin-left: auto;
    transition: transform .2s ease;
    font-weight: 800;
    color: var(--accent);
    font-size: 1.3rem;
}

.hero-picks-empty {
    padding: 20px 0;
    color: var(--muted);
    font-size: .95rem;
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
}

.section-heading-row h2 {
    margin-bottom: 10px;
}

.section-heading-row .lead {
    margin: 0;
}

.text-link {
    white-space: nowrap;
    font-weight: 700;
    color: var(--accent-dark);
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.product-cover-link {
    display: block;
    text-decoration: none;
}

.product-cover-photo {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.product-body .price-pending {
    display: flex;
    align-items: baseline;
    gap: 9px;
    flex-wrap: wrap;
}

.price-pending s {
    color: #776b60;
    font-weight: 400;
}

.product-detail-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.section-measure {
    padding-top: 10px;
}

.measure-banner {
    background: #f3ebe1;
    border-radius: 14px;
    padding: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.measure-banner h2 {
    margin: 6px 0;
}

.measure-banner p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.estimator {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: clamp(22px, 3vw, 34px);
    margin-block: 36px 22px;
}

.estimator h2 {
    font-family: Manrope, sans-serif;
    font-size: clamp(1.6rem, 2.7vw, 2.2rem);
    line-height: 1.2;
    margin: .4em 0;
}

.estimator p {
    color: var(--muted);
}

.estimate-input-row {
    display: flex;
    gap: 22px;
    align-items: center;
    justify-content: space-between;
    margin: 24px 0;
}

.estimate-field {
    flex: 1;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.estimate-field label {
    font-weight: 700;
}

.estimate-field input {
    width: 100%;
    padding: 13px 15px;
    font: inherit;
    font-size: 1.15rem;
    background: #fff;
    border: 1px solid #b5a79b;
    border-radius: 7px;
}

.estimate-field input:focus-visible {
    outline: 3px solid #a7513270;
    outline-offset: 2px;
}

.estimate-field small {
    color: var(--muted);
    font-size: .78rem;
}

.estimate-error {
    padding: 10px 13px;
    background: #fff0eb;
    color: #933719 !important;
    border-radius: 7px;
}

.estimate-result {
    background: #f9f3ed;
    padding: 20px 22px;
    border-radius: 9px;
}

.estimate-result-row,
.estimate-result-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 8px 0;
}

.estimate-result-row {
    color: #4f473e;
}

.estimate-result-total {
    border-top: 1px solid #ddc9b8;
    margin-top: 10px;
    padding-top: 16px;
    font-weight: 800;
}

.estimate-result-total strong {
    font-family: Manrope, sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--accent-dark);
}

.estimate-note {
    font-size: .82rem;
    line-height: 1.5;
    margin-bottom: 0;
}

@media(max-width:920px) {
    .hero-shop-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-block: 46px
    }

    .hero-quick-picks {
        max-width: none
    }

    .hero-shop h1 {
        max-width: 740px
    }
}

@media(max-width:650px) {
    .hero-shop-grid {
        padding-block: 32px
    }

    .hero-shop h1 {
        font-size: clamp(2.2rem, 11vw, 3.2rem)
    }

    .section-heading-row,
    .measure-banner,
    .estimate-input-row {
        align-items: stretch;
        flex-direction: column
    }

    .measure-banner {
        padding: 24px
    }

    .estimate-field {
        max-width: 100%
    }

    .hero-quick-picks {
        padding: 15px
    }

    .hero-pick img,
    .hero-pick-placeholder {
        width: 60px;
        height: 60px
    }

    .estimator {
        padding: 20px
    }

    .estimate-result-total strong {
        white-space: nowrap
    }
}

/* v0.6.2 – logo výrobcu a rovnaký súhrn pre priamo zadané m² */
.site-header {
    background: #f0ebe5
}

.header-inner {
    min-height: 92px
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    border-radius: 9px;
    overflow: hidden;
    text-decoration: none;
}

.brand-logo img {
    display: block;
    width: clamp(178px, 22vw, 270px);
    height: auto;
    max-width: 100%
}

.brand-logo:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px
}

.estimate-plan-add {
    border-top: 1px solid var(--line);
    margin-top: 22px;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px
}

.estimate-plan-add h3 {
    font-family: Manrope, sans-serif;
    font-size: 1.25rem;
    line-height: 1.3;
    margin: 0
}

.estimate-plan-add p {
    margin: 0
}

.estimate-plan-add label {
    font-weight: 700
}

.estimate-plan-add select {
    width: min(100%, 430px);
    padding: 12px;
    border: 1px solid #b5a79b;
    border-radius: 7px;
    background: white;
    font: inherit
}

.estimate-plan-add button {
    border: 0;
    font: inherit;
    cursor: pointer;
    margin-top: 4px
}

.estimate-plan-add button:disabled {
    opacity: .55;
    cursor: not-allowed
}

.estimate-plan-add .estimate-plan-info {
    font-size: .83rem;
    line-height: 1.5
}

@media(max-width:600px) {
    .header-inner {
        min-height: 76px;
        gap: 10px
    }

    .brand-logo img {
        width: clamp(150px, 44vw, 210px)
    }

    nav {
        gap: 13px
    }

    nav a {
        font-size: .82rem
    }
}
/* PATCH 19 – prístupné odkazy na informácie v pätičke. */
.site-footer .footer-links { display:flex; gap:10px 22px; flex-wrap:wrap; align-items:center; }
.site-footer .footer-links a { color:#f7efe5; text-decoration:underline; text-underline-offset:4px; font-size:.87rem; }
.site-footer .footer-links a:hover { color:#f5b894; }
.site-footer .footer-links a:focus-visible { outline:2px solid #f5b894; outline-offset:4px; }
@media (max-width:600px) { .site-footer .footer-links { gap:8px 19px; } }
