/* =========================================================
   KREIBICH – KAMENNÁ PRODEJNA
   ========================================================= */

@media (min-width: 1200px) {
    .content-inner {
        max-width: unset;
    }
}
header h1 {
    display: none;
}

/* ---------------------------------------------------------
   ZÁKLAD
   --------------------------------------------------------- */

.kreibich-store {
    --ks-text: #202020;
    --ks-muted: #727272;
    --ks-border: #e4e1dc;
    --ks-soft: #f5f3ef;
    --ks-softer: #faf9f7;
    --ks-white: #ffffff;

    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 30px;
    color: var(--ks-text);
}

.kreibich-store *,
.kreibich-store *::before,
.kreibich-store *::after {
    box-sizing: border-box;
}

.kreibich-store h1,
.kreibich-store h2,
.kreibich-store h3,
.kreibich-store p {
    color: inherit;
}

.kreibich-store a {
    transition: opacity .2s ease, background .2s ease;
}

.kreibich-store section[id] {
    scroll-margin-top: 120px;
}


/* ---------------------------------------------------------
   TYPOGRAFIE
   --------------------------------------------------------- */

.ks-eyebrow {
    display: block;
    margin-bottom: 11px;
    color: var(--ks-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ks-section-heading {
    max-width: 700px;
    margin-bottom: 32px;
}

.ks-section-heading h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.025em;
}

.ks-section-heading p {
    max-width: 630px;
    margin: 0;
    color: var(--ks-muted);
    font-size: 15px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.ks-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(390px, .85fr);
    min-height: 400px;
    margin-bottom: 24px;
    overflow: hidden;
    background: var(--ks-soft);
    border-radius: 16px;
}

.ks-hero-image {
    min-height: 400px;
    overflow: hidden;
}

.ks-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    object-position: center center;
}

.ks-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 46px 48px;
}

.ks-hero h1 {
    max-width: 580px;
    margin: 0 0 22px;
    font-size: clamp(31px, 3.2vw, 46px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.ks-hero p {
    max-width: 550px;
    margin: 0 0 26px;
    color: #555;
    font-size: 15px;
    line-height: 1.75;
}

.ks-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    color: var(--ks-text) !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.ks-text-link span {
    transition: transform .2s ease;
}

.ks-text-link:hover span {
    transform: translateY(3px);
}


/* ---------------------------------------------------------
   NAVIGACE V RÁMCI STRÁNKY
   --------------------------------------------------------- */

.ks-page-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 80px;
    padding: 8px;
    background: var(--ks-softer);
    border: 1px solid var(--ks-border);
    border-radius: 10px;
}

.ks-page-nav a {
    padding: 10px 18px;
    border-radius: 7px;
    color: var(--ks-text) !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}

.ks-page-nav a:hover {
    background: #fff;
}


/* ---------------------------------------------------------
   SEKCE
   --------------------------------------------------------- */

.ks-section {
    margin-bottom: 90px;
}


/* ---------------------------------------------------------
   SORTIMENT
   --------------------------------------------------------- */

.ks-assortment {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--ks-border);
    border-bottom: 1px solid var(--ks-border);
}

.ks-assortment-item {
    position: relative;
    min-height: 205px;
    padding: 30px 25px;
    border-right: 1px solid var(--ks-border);
}

.ks-assortment-item:last-child {
    border-right: 0;
}

.ks-number {
    display: block;
    margin-bottom: 30px;
    color: #aaa;
    font-size: 11px;
    font-weight: 700;
}

.ks-assortment-item h3 {
    margin: 0 0 9px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

.ks-assortment-item p {
    margin: 0;
    color: var(--ks-muted);
    font-size: 13px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   NÁVŠTĚVA PRODEJNY
   --------------------------------------------------------- */

.ks-visit-section {
    padding: 50px;
    background: var(--ks-soft);
    border-radius: 16px;
}

.ks-visit-panel {
    display: grid;
    grid-template-columns: 1.2fr .9fr 1fr;
    background: #fff;
    border: 1px solid var(--ks-border);
    border-radius: 12px;
    overflow: hidden;
}

.ks-visit-column {
    padding: 34px;
    border-right: 1px solid var(--ks-border);
}

.ks-visit-column:last-child {
    border-right: 0;
}

.ks-small-title {
    display: block;
    margin-bottom: 25px;
    color: var(--ks-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}


/* OTEVÍRACÍ DOBA */

.ks-opening {
    background: #fff;
}

.ks-opening-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 0;
    border-bottom: 1px solid var(--ks-border);
}

.ks-opening-row span {
    font-size: 14px;
}

.ks-opening-row strong {
    font-size: 19px;
    font-weight: 600;
}

.ks-muted {
    margin: 15px 0 0;
    color: var(--ks-muted);
    font-size: 12px;
    line-height: 1.6;
}

.ks-closed {
    margin-top: 22px;
    padding: 12px 14px;
    background: var(--ks-soft);
    border-radius: 6px;
    color: #555;
    font-size: 12px;
    line-height: 1.5;
}

.ks-closed strong {
    color: var(--ks-text);
}


/* ADRESA */

.ks-address {
    margin-bottom: 21px;
}

.ks-address strong,
.ks-address span {
    display: block;
}

.ks-address strong {
    margin-bottom: 4px;
    font-size: 20px;
    font-weight: 600;
}

.ks-address span {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.ks-return-note {
    margin: 0 0 22px;
    padding-top: 18px;
    border-top: 1px solid var(--ks-border);
    color: var(--ks-muted);
    font-size: 12px;
    line-height: 1.6;
}


/* KONTAKT */

.ks-contact-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--ks-border);
}

.ks-contact-item:first-child {
    padding-top: 0;
}

.ks-contact-item:last-child {
    border-bottom: 0;
}

.ks-contact-item span {
    display: block;
    margin-bottom: 2px;
    color: var(--ks-muted);
    font-size: 11px;
}

.ks-contact-item a {
    color: var(--ks-text) !important;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
}

.ks-contact-item a:hover {
    opacity: .6;
}


/* ---------------------------------------------------------
   PROČ KREIBICH
   --------------------------------------------------------- */

.ks-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ks-why-item {
    min-height: 210px;
    padding: 29px;
    border: 1px solid var(--ks-border);
    border-radius: 10px;
}

.ks-why-number {
    display: block;
    min-height: 35px;
    margin-bottom: 25px;
    color: #999;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.ks-why-item h3 {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}

.ks-why-item p {
    margin: 0;
    color: var(--ks-muted);
    font-size: 13px;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   DOPRAVA + MAPA
   --------------------------------------------------------- */

.ks-transport-layout {
    display: grid;
    grid-template-columns: minmax(330px, .8fr) minmax(0, 1.4fr);
    min-height: 540px;
    border: 1px solid var(--ks-border);
    border-radius: 14px;
    overflow: hidden;
}

.ks-transport-info {
    padding: 32px 35px;
    background: var(--ks-softer);
}

.ks-transport-group {
    padding: 22px 0;
    border-bottom: 1px solid var(--ks-border);
}

.ks-transport-group:first-child {
    padding-top: 0;
}

.ks-transport-group:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.ks-transport-head {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 12px;
}

.ks-transport-head h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.ks-transport-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    background: var(--ks-text);
    border-radius: 50%;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.ks-route {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.5;
}

.ks-route strong {
    font-weight: 600;
}

.ks-route span {
    color: var(--ks-muted);
    text-align: right;
}

.ks-map {
    min-height: 540px;
    background: #eee;
}

.ks-map iframe {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 540px;
    border: 0 !important;
}


/* ---------------------------------------------------------
   KONTAKTNÍ FORMULÁŘ
   --------------------------------------------------------- */

.ks-contact-section {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}


/* Současný Shoptet formulář */

.in-kamenna-prodejna .form-group {
    margin-bottom: 16px;
}

.in-kamenna-prodejna .form-control,
.in-kamenna-prodejna input[type="text"],
.in-kamenna-prodejna input[type="email"],
.in-kamenna-prodejna textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid #d8d5d0;
    border-radius: 5px;
    background: #fff;
    box-shadow: none;
}

.in-kamenna-prodejna textarea {
    min-height: 160px;
}

.in-kamenna-prodejna .btn-primary {
    min-height: 46px;
    padding: 11px 24px;
    border-color: var(--ks-text, #202020);
    border-radius: 5px;
    background: var(--ks-text, #202020);
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 1100px) {

    .ks-assortment {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ks-assortment-item {
        border-bottom: 1px solid var(--ks-border);
    }

    .ks-assortment-item:nth-child(3) {
        border-right: 0;
    }

    .ks-assortment-item:nth-child(4),
    .ks-assortment-item:nth-child(5) {
        border-bottom: 0;
    }

    .ks-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 991px) {

    .kreibich-store {
        padding: 0 20px;
    }

    .ks-hero {
        grid-template-columns: 1fr 1fr;
    }

    .ks-hero-content {
        padding: 35px;
    }

    .ks-hero h1 {
        font-size: 32px;
    }

    .ks-visit-panel {
        grid-template-columns: 1fr 1fr;
    }

    .ks-opening {
        grid-column: 1 / -1;
    }

    .ks-visit-column:nth-child(2) {
        border-top: 1px solid var(--ks-border);
    }

    .ks-visit-column:nth-child(3) {
        border-top: 1px solid var(--ks-border);
    }

    .ks-transport-layout {
        grid-template-columns: 1fr;
    }

    .ks-map,
    .ks-map iframe {
        min-height: 400px;
    }

}


/* ---------------------------------------------------------
   MOBIL
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .kreibich-store {
        padding: 0 15px;
    }

    .ks-section {
        margin-bottom: 65px;
    }


    /* HERO */

    .ks-hero {
        grid-template-columns: 1fr;
        min-height: 0;
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0;
    }

    .ks-hero-image,
    .ks-hero-image img {
        min-height: 245px;
        height: 245px;
    }

    .ks-hero-content {
        padding: 29px 20px 32px;
    }

    .ks-hero h1 {
        margin-bottom: 17px;
        font-size: 30px;
    }

    .ks-hero p {
        font-size: 14px;
        line-height: 1.65;
    }


    /* NAVIGACE */

    .ks-page-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        margin-left: -15px;
        margin-right: -15px;
        margin-bottom: 60px;
        padding: 8px 15px;
        overflow-x: auto;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
        scrollbar-width: none;
    }

    .ks-page-nav::-webkit-scrollbar {
        display: none;
    }

    .ks-page-nav a {
        flex: 0 0 auto;
        white-space: nowrap;
    }


    /* NADPISY */

    .ks-section-heading {
        margin-bottom: 25px;
    }

    .ks-section-heading h2 {
        font-size: 29px;
    }


    /* SORTIMENT */

    .ks-assortment {
        grid-template-columns: 1fr;
    }

    .ks-assortment-item {
        min-height: 0;
        padding: 22px 5px;
        border-right: 0 !important;
        border-bottom: 1px solid var(--ks-border) !important;
    }

    .ks-assortment-item:last-child {
        border-bottom: 0 !important;
    }

    .ks-number {
        margin-bottom: 12px;
    }


    /* NÁVŠTĚVA */

    .ks-visit-section {
        margin-left: -15px;
        margin-right: -15px;
        padding: 38px 15px;
        border-radius: 0;
    }

    .ks-visit-panel {
        grid-template-columns: 1fr;
    }

    .ks-opening {
        grid-column: auto;
    }

    .ks-visit-column {
        padding: 26px 22px;
        border-right: 0;
        border-bottom: 1px solid var(--ks-border);
    }

    .ks-visit-column:last-child {
        border-bottom: 0;
    }

    .ks-opening-row strong {
        font-size: 17px;
    }


    /* PROČ KREIBICH */

    .ks-why-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ks-why-item {
        min-height: 0;
        padding: 23px;
    }

    .ks-why-number {
        margin-bottom: 15px;
    }


    /* DOPRAVA */

    .ks-transport-layout {
        margin-left: -15px;
        width: calc(100% + 30px);
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }

    .ks-transport-info {
        padding: 28px 20px;
    }

    .ks-map,
    .ks-map iframe {
        min-height: 330px;
    }

}


/* ---------------------------------------------------------
   MALÉ MOBILY
   --------------------------------------------------------- */

@media (max-width: 420px) {

    .ks-opening-row {
        display: block;
    }

    .ks-opening-row strong {
        display: block;
        margin-top: 3px;
    }

    .ks-route {
        display: block;
    }

    .ks-route span {
        display: block;
        margin-top: 2px;
        text-align: left;
    }

}