/* =========================================================
   KALNA SPUĻĻU DĪĶI
   Kopīgais publisko lapu headeris
   ========================================================= */


/* =========================================================
   1. GALVENAIS HEADER KONTEINERS
   ========================================================= */

.ks-global-header {
    height: 65px;

    display: flex;
    align-items: center;
    gap: 34px;

    padding: 0 4.5%;

    position: sticky;
    top: 0;
    z-index: 10000;

    background: #052f27;
    color: #fff;

    font-family: "DM Sans", sans-serif;
}

.ks-global-header * {
    box-sizing: border-box;
}

.ks-global-header a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   2. LOGO UN NOSAUKUMS
   ========================================================= */

.ks-global-brand {
    min-width: 390px;

    display: flex;
    align-items: center;
    gap: 14px;
}

.ks-global-mark {
    width: 64px;
    height: 58px;
}

.ks-global-mark svg {
    width: 100%;
    height: 100%;

    fill: none;
    stroke: #f2c742;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ks-global-brandtext b {
    display: block;

    font-family: "Playfair Display", serif;
    font-size: 27px;
    letter-spacing: .01em;
}

.ks-global-brandtext small {
    display: block;

    margin-top: 4px;

    color: #c3d0cc;

    font-size: 9px;
    letter-spacing: .08em;
}


/* =========================================================
   3. GALVENĀ NAVIGĀCIJA
   ========================================================= */

.ks-global-nav {
    height: 100%;

    display: flex;
    align-items: stretch;
    justify-content: center;

    gap: 34px;

    margin-left: auto;
}

.ks-global-nav > a,
.ks-nav-drop > .ks-nav-drop-btn {
    height: 100%;

    display: flex;
    align-items: center;

    position: relative;

    padding: 0;

    border: 0;
    background: none;

    color: #fff;

    font: 700 16px "DM Sans", sans-serif;

    cursor: pointer;
}


/* Aktīvās sadaļas apakšējā līnija */
.ks-global-nav > a::after,
.ks-nav-drop > .ks-nav-drop-btn::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 4px;

    background: #f2c742;

    transform: scaleX(0);

    transition: .18s;
}


/* Hover un aktīvā navigācija */
.ks-global-nav > a:hover,
.ks-global-nav > a.active,
.ks-nav-drop:hover > .ks-nav-drop-btn,
.ks-nav-drop.active > .ks-nav-drop-btn {
    color: #f2c742;
}

.ks-global-nav > a.active::after,
.ks-nav-drop.active > .ks-nav-drop-btn::after {
    transform: scaleX(1);
}


/* =========================================================
   4. DROPDOWN PAMATI
   ========================================================= */

.ks-nav-drop,
.ks-book-drop {
    position: relative;
}

.ks-nav-drop-btn span,
.ks-book-btn > span,
.ks-lang span {
    margin-left: 5px;

    font-size: 12px;
}


/* =========================================================
   5. ATPŪTAS DROPDOWN PANELIS
   ========================================================= */

.ks-nav-panel,
.ks-book-panel {
    position: absolute;

    top: calc(100% + 12px);

    padding: 10px;

    opacity: 0;
    visibility: hidden;

    background: #073b32;

    border: 1px solid rgba(242, 199, 66, .24);
    border-radius: 14px;

    box-shadow: 0 24px 60px rgba(0, 0, 0, .3);

    transform: translateY(-8px);

    transition: .16s ease;

    z-index: 1100;
}


/* Atpūtas dropdown platums un novietojums */
.ks-nav-panel {
    left: 50%;

    width: 330px;

    transform: translate(-50%, -8px);
}


/* Dropdown atvēršana */
.ks-nav-drop.open .ks-nav-panel,
.ks-nav-drop:hover .ks-nav-panel {
    opacity: 1;
    visibility: visible;

    transform: translate(-50%, 0);
}


/* Mazā bultiņa virs dropdown */
.ks-nav-panel::before,
.ks-book-panel::before {
    content: "";

    position: absolute;

    top: -7px;

    width: 13px;
    height: 13px;

    background: #073b32;

    border-left: 1px solid rgba(242, 199, 66, .24);
    border-top: 1px solid rgba(242, 199, 66, .24);

    transform: rotate(45deg);
}

.ks-nav-panel::before {
    left: 50%;

    margin-left: -7px;
}


/* Dropdown izvēlnes saites */
.ks-nav-panel a,
.ks-book-panel a {
    display: grid;

    grid-template-columns: 42px 1fr 20px;

    align-items: center;

    gap: 11px;

    padding: 12px;

    border-radius: 9px;

    transition: .15s;
}

.ks-nav-panel a:hover,
.ks-book-panel a:hover {
    background: #0d4a3d;
}

.ks-nav-panel b,
.ks-book-panel b {
    display: block;

    font-size: 14px;
}

.ks-nav-panel small,
.ks-book-panel small {
    display: block;

    margin-top: 2px;

    color: #a9c0b8;

    font-size: 11px;
}

.ks-nav-panel i,
.ks-book-panel i {
    color: #f2c742;

    font-size: 18px;
    font-style: normal;
}


/* =========================================================
   6. DROPDOWN IKONAS
   ========================================================= */

.ks-drop-icon,
.ks-book-round {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(242, 199, 66, .34);
    border-radius: 9px;

    background: rgba(242, 199, 66, .07);
}

.ks-drop-icon svg,
.ks-book-round svg {
    width: 22px;
    height: 22px;

    fill: none;

    stroke: #f2c742;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   7. LABĀS PUSES DARBĪBAS
   Valoda + Rezervēt
   ========================================================= */

.ks-global-actions {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-left: 8px;
}


/* =========================================================
   8. VALODAS POGA
   ========================================================= */

.ks-lang-drop {
    position: relative;
}

.ks-lang {
    min-width: 82px;
    height: 48px;

    padding: 0 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 13px;

    background: rgba(255, 255, 255, .035);

    color: #fff;

    font: 800 15px/1 "DM Sans", Arial, sans-serif;

    cursor: pointer;

    transition: .2s ease;
}

.ks-lang:hover,
.ks-lang-drop.open .ks-lang {
    background: rgba(255, 255, 255, .09);

    border-color: rgba(240, 195, 60, .55);
}


/* Mazā bultiņa pie valodas */
.ks-lang span {
    color: #e9bd39;

    font-size: 12px;

    transition: .2s;
}

.ks-lang-drop.open .ks-lang span {
    transform: rotate(180deg);
}


/* =========================================================
   9. VALODAS DROPDOWN
   ========================================================= */

.ks-lang-panel {
    width: 190px;
    min-width: 190px;

    position: absolute;

    right: 0;
    top: calc(100% + 11px);

    padding: 7px;

    display: block !important;

    opacity: 0;
    visibility: hidden;

    background: rgba(255, 255, 255, .985);

    border: 1px solid rgba(8, 63, 52, .10);
    border-radius: 14px;

    box-shadow: 0 18px 45px rgba(0, 30, 24, .18);

    transform: translateY(-6px) scale(.98);
    transform-origin: top right;

    transition: .16s ease;

    z-index: 1100;
}


/* Valodas dropdown mazā bultiņa */
.ks-lang-panel::before {
    content: "";

    position: absolute;

    right: 28px;
    top: -5px;

    width: 10px;
    height: 10px;

    background: #fff;

    border-left: 1px solid rgba(8, 63, 52, .08);
    border-top: 1px solid rgba(8, 63, 52, .08);

    transform: rotate(45deg);
}


/* Atvērts valodas dropdown */
.ks-lang-drop.open .ks-lang-panel {
    opacity: 1;
    visibility: visible;

    transform: translateY(0) scale(1);
}


/* Valodas izvēles */
.ks-lang-panel a {
    min-height: 47px;

    padding: 0 12px;

    display: grid;

    grid-template-columns: 34px 1fr 18px;

    align-items: center;

    gap: 8px;

    border-radius: 9px;

    color: #073f34;

    font-weight: 800;

    text-decoration: none;

    transition: .15s ease;
}

.ks-lang-panel a small {
    color: #71827d;

    font-size: 14px;
    font-weight: 500;
}


/* Punkts labajā pusē */
.ks-lang-panel a::after {
    content: "";

    width: 7px;
    height: 7px;

    justify-self: end;

    border-radius: 50%;

    background: transparent;
}

.ks-lang-panel a:hover {
    background: #f5f1e7;

    color: #073f34;
}

.ks-lang-panel a.active {
    background: #edf4f0;

    color: #073f34;
}

.ks-lang-panel a.active small {
    color: #45665d;
}

.ks-lang-panel a.active::after {
    background: #d9aa26;

    box-shadow:
        0 0 0 3px rgba(217, 170, 38, .13);
}


/* =========================================================
   10. REZERVĒT POGA
   ========================================================= */

.ks-book-btn {
    min-width: 200px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border: 0;
    border-radius: 10px;

    background: #f4c943;
    color: #0a352c;

    font: 800 18px "DM Sans", sans-serif;

    cursor: pointer;
}

.ks-book-btn svg {
    width: 23px;
    height: 23px;

    fill: none;

    stroke: #0a352c;
    stroke-width: 1.8;
}


/* =========================================================
   11. REZERVĀCIJAS DROPDOWN
   ========================================================= */

.ks-book-panel {
    right: 0;
    top: calc(100% + 12px);

    width: 340px;
}

.ks-book-panel::before {
    right: 42px;
}

.ks-book-drop.open .ks-book-panel {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* Makšķerēšana */
.ks-book-panel a:first-child {
    margin-bottom: 7px;

    background: #0b493b;
}

.ks-book-panel a:first-child:hover {
    background: #105746;
}


/* Atpūta */
.ks-book-panel a:last-child {
    background: #4b3d1d;
}

.ks-book-panel a:last-child:hover {
    background: #5d4b21;
}



/* =========================================================
   MOBILĀ VALODU IZVĒLE
   Desktopā paslēpta; telefonā/planšetē atrodas hamburgera izvēlnē.
   ========================================================= */

.ks-mobile-lang-row {
    display: none;
}

/* =========================================================
   12. MOBILĀS IZVĒLNES POGA
   ========================================================= */

.ks-mobile-toggle {
    display: none;

    border: 0;

    background: none;
    color: #fff;

    font-size: 28px;
}


/* =========================================================
   13. RESPONSIVE — LĪDZ 1350px
   ========================================================= */

@media (max-width: 1350px) {

    .ks-global-header {
        height: 100px;

        padding: 0 3%;

        gap: 20px;
    }

    .ks-global-brand {
        min-width: 310px;
    }

    .ks-global-brandtext b {
        font-size: 22px;
    }

    .ks-global-nav {
        gap: 21px;
    }

    .ks-global-nav > a,
    .ks-nav-drop > .ks-nav-drop-btn {
        font-size: 14px;
    }

    .ks-book-btn {
        min-width: 160px;
    }
}


/* =========================================================
   14. RESPONSIVE — LĪDZ 1050px
   Planšetes / mobilā navigācija
   ========================================================= */

@media (max-width: 1050px) {

    .ks-global-header {
        height: 82px;
    }

    .ks-global-brand {
        min-width: 0;

        margin-right: auto;
    }

    .ks-global-brandtext small {
        display: none;
    }


    /* Galvenā navigācija kļūst par mobilo izvēlni */
    .ks-global-nav {
        display: none;

        position: absolute;

        top: 82px;
        left: 0;
        right: 0;

        height: auto;

        padding: 12px 22px 22px;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        background: #052f27;
    }

    .ks-global-header.mobile-open .ks-global-nav {
        display: flex;
    }

    .ks-global-nav > a,
    .ks-nav-drop > .ks-nav-drop-btn {
        width: 100%;
        height: 48px;

        justify-content: flex-start;
    }


    .ks-mobile-lang-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;

        margin-top: 10px;
        padding: 14px 0 2px;

        border-top: 1px solid rgba(255,255,255,.12);

        color: rgba(255,255,255,.72);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .ks-mobile-lang-links {
        display: flex;
        gap: 7px;
    }

    .ks-mobile-lang-links a {
        min-width: 42px;
        height: 38px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        border: 1px solid rgba(255,255,255,.18);
        border-radius: 10px;

        color: #fff;
        background: rgba(255,255,255,.05);

        font-size: 12px;
        font-weight: 900;
    }

    .ks-mobile-lang-links a.active {
        border-color: #f2c742;
        background: #f2c742;
        color: #052f27;
    }


    /* Atpūtas dropdown mobilajā */
    .ks-nav-panel {
        width: 100%;

        position: static;

        display: none;

        margin: 0 0 8px;

        opacity: 1;
        visibility: visible;

        box-shadow: none;

        transform: none !important;
    }

    .ks-nav-drop.open .ks-nav-panel {
        display: block;
    }

    .ks-nav-panel::before {
        display: none;
    }


    /* Valodas poga mobilajā paslēpta */
    .ks-lang {
        display: none;
    }


    /* Hamburger poga */
    .ks-mobile-toggle {
        display: block;
    }


    /* Rezervēt poga */
    .ks-book-btn {
        min-width: 145px;
        height: 50px;

        font-size: 16px;
    }

    .ks-book-panel {
        top: 60px;
    }


    /* Valodas dropdown mobilajā */
    .ks-lang-panel {
        left: 0;
        right: auto;
    }

    .ks-lang-panel::before {
        left: 28px;
        right: auto;
    }
}


/* =========================================================
   15. RESPONSIVE — LĪDZ 620px
   Telefoni
   ========================================================= */

@media (max-width: 620px) {

    .ks-global-header {
        padding: 0 16px;
    }

    .ks-global-mark {
        width: 46px;
        height: 44px;
    }

    .ks-global-brandtext b {
        font-size: 17px;
    }


    /* Rezervēt poga telefonā kļūst par ikonas pogu */
    .ks-book-btn {
        width: 52px;
        min-width: 0;

        font-size: 0;
    }

    .ks-book-btn > span {
        display: none;
    }

    .ks-book-btn svg {
        width: 22px;
    }


    /* Rezervācijas izvēlne uz visa telefona platuma */
    .ks-book-panel {
        position: fixed;

        left: 12px;
        right: 12px;
        top: 90px;

        width: auto;
    }

    .ks-book-panel::before {
        display: none;
    }
}


/* =========================================================
   ATPŪTAS IZVĒLNE — FOTO KARTĪTES
   Visām četrām iespējām ir vienāds vizuālais svars.
   ========================================================= */

.ks-nav-panel {
    width: min(720px, calc(100vw - 32px));
    padding: 18px;

    border-color: rgba(242, 199, 66, .34);
    border-radius: 22px;

    background:
        radial-gradient(circle at 100% 0, rgba(242, 199, 66, .1), transparent 33%),
        #052f27;

    box-shadow:
        0 30px 80px rgba(0, 19, 15, .42),
        inset 0 1px 0 rgba(255, 255, 255, .05);
}

.ks-nav-panel::before {
    background: #063229;
}

.ks-nav-panel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;

    padding: 2px 3px 15px;
}

.ks-nav-panel-head > span {
    color: #f2c742;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
    line-height: 1.3;
    text-transform: uppercase;
}

.ks-nav-panel-head > small {
    max-width: 310px;

    color: rgba(255, 255, 255, .52);

    font-size: 11px;
    line-height: 1.4;
    text-align: right;
}

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

.ks-nav-panel .ks-nav-tile {
    position: relative;
    isolation: isolate;

    min-width: 0;
    min-height: 168px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;

    padding: 21px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 15px;

    background: #0b4539;

    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);

    transform: translateZ(0);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.ks-nav-panel .ks-nav-tile::after {
    content: "";

    position: absolute;
    z-index: -1;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(2, 31, 25, .04) 7%,
            rgba(2, 31, 25, .31) 45%,
            rgba(2, 31, 25, .93) 100%
        );
}

.ks-nav-panel .ks-nav-tile > img {
    position: absolute;
    z-index: -2;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: saturate(.9) contrast(1.04);

    transform: scale(1.01);

    transition:
        transform .55s cubic-bezier(.2, .7, .2, 1),
        filter .35s ease;
}

.ks-nav-tile-copy {
    position: relative;
    z-index: 1;

    min-width: 0;
}

.ks-nav-panel .ks-nav-tile b {
    display: block;

    color: #fff;

    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.05;

    text-shadow: 0 2px 15px rgba(0, 0, 0, .38);
}

.ks-nav-panel .ks-nav-tile small {
    display: block;

    margin-top: 6px;

    color: rgba(255, 255, 255, .73);

    font-size: 11px;
    line-height: 1.35;
}

.ks-nav-panel .ks-nav-tile i {
    position: relative;
    z-index: 1;

    width: 36px;
    height: 36px;
    flex: 0 0 36px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(242, 199, 66, .58);
    border-radius: 50%;

    background: rgba(4, 42, 34, .58);
    color: #f2c742;

    font-size: 17px;

    backdrop-filter: blur(6px);

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease;
}

.ks-nav-panel .ks-nav-tile:hover {
    border-color: rgba(242, 199, 66, .68);

    background: #0b4539;

    box-shadow:
        0 14px 34px rgba(0, 18, 14, .35),
        inset 0 0 0 1px rgba(242, 199, 66, .08);

    transform: translateY(-3px);
}

.ks-nav-panel .ks-nav-tile:hover > img {
    filter: saturate(1.04) contrast(1.06);
    transform: scale(1.075);
}

.ks-nav-panel .ks-nav-tile:hover i {
    background: #f2c742;
    color: #073b32;

    transform: translateX(2px);
}

.ks-nav-panel .ks-nav-tile:focus-visible {
    outline: 3px solid #f2c742;
    outline-offset: 2px;
}


@media (max-width: 1050px) {

    .ks-nav-panel {
        width: 100%;
        padding: 12px;

        display: none;

        border-radius: 16px;
    }

    .ks-nav-drop.open .ks-nav-panel {
        display: block;
    }

    .ks-nav-panel-head {
        padding: 2px 2px 12px;
    }

    .ks-nav-panel .ks-nav-tile {
        min-height: 138px;
        padding: 17px;
    }
}


@media (max-width: 620px) {

    .ks-nav-panel-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .ks-nav-panel-head > small {
        max-width: none;
        text-align: left;
    }

    .ks-nav-grid {
        gap: 8px;
    }

    .ks-nav-panel .ks-nav-tile {
        min-height: 124px;
        padding: 14px;
    }

    .ks-nav-panel .ks-nav-tile b {
        font-size: 18px;
    }

    .ks-nav-panel .ks-nav-tile small {
        font-size: 10px;
    }

    .ks-nav-panel .ks-nav-tile i {
        width: 30px;
        height: 30px;
        flex-basis: 30px;

        font-size: 14px;
    }
}


@media (max-width: 460px) {

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

    .ks-nav-panel .ks-nav-tile {
        min-height: 112px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .ks-nav-panel .ks-nav-tile,
    .ks-nav-panel .ks-nav-tile > img,
    .ks-nav-panel .ks-nav-tile i {
        transition: none;
    }
}


/* =========================================================
   REZERVĀCIJAS IZVĒLNE — FOTO KARTĪTES
   Abām rezervācijas iespējām ir vienāds vizuālais svars.
   ========================================================= */

.ks-book-panel {
    width: min(570px, calc(100vw - 32px));
    padding: 16px;

    border-color: rgba(242, 199, 66, .32);
    border-radius: 20px;

    background:
        radial-gradient(circle at 100% 0, rgba(242, 199, 66, .1), transparent 35%),
        #052f27;

    box-shadow:
        0 28px 72px rgba(0, 20, 16, .4),
        inset 0 1px 0 rgba(255, 255, 255, .05);
}

.ks-book-panel::before {
    background: #063229;
}

.ks-book-panel-head {
    padding: 2px 3px 14px;
}

.ks-book-panel-head > span,
.ks-book-panel-head > small {
    display: block;
}

.ks-book-panel-head > span {
    color: #f2c742;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    line-height: 1.35;
    text-transform: uppercase;
}

.ks-book-panel-head > small {
    margin-top: 4px;

    color: rgba(255, 255, 255, .54);

    font-size: 11px;
    line-height: 1.4;
}

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

.ks-book-panel .ks-book-tile,
.ks-book-panel .ks-book-tile:first-child,
.ks-book-panel .ks-book-tile:last-child {
    position: relative;
    isolation: isolate;

    min-width: 0;
    min-height: 155px;
    margin: 0;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 13px;

    padding: 17px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;

    background: #0b493b;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}

.ks-book-panel .ks-book-tile::after {
    content: "";

    position: absolute;
    z-index: -1;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(2, 29, 23, .05) 5%,
            rgba(2, 29, 23, .31) 45%,
            rgba(2, 29, 23, .94) 100%
        );
}

.ks-book-panel .ks-book-tile > img {
    position: absolute;
    z-index: -2;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: saturate(.9) contrast(1.04);

    transform: scale(1.01);

    transition:
        filter .35s ease,
        transform .55s cubic-bezier(.2, .7, .2, 1);
}

.ks-book-tile-copy {
    position: relative;
    z-index: 1;

    min-width: 0;
}

.ks-book-panel .ks-book-tile b {
    display: block;

    color: #fff;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.08;

    text-shadow: 0 2px 14px rgba(0, 0, 0, .38);
}

.ks-book-panel .ks-book-tile small {
    display: block;

    margin-top: 5px;

    color: rgba(255, 255, 255, .72);

    font-size: 10px;
    line-height: 1.35;
}

.ks-book-panel .ks-book-tile i {
    position: relative;
    z-index: 1;

    width: 33px;
    height: 33px;
    flex: 0 0 33px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(242, 199, 66, .58);
    border-radius: 50%;

    background: rgba(4, 42, 34, .58);
    color: #f2c742;

    font-size: 16px;

    backdrop-filter: blur(6px);

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.ks-book-panel .ks-book-tile:hover,
.ks-book-panel .ks-book-tile:first-child:hover,
.ks-book-panel .ks-book-tile:last-child:hover {
    border-color: rgba(242, 199, 66, .68);

    background: #0b493b;

    box-shadow: 0 14px 32px rgba(0, 18, 14, .32);

    transform: translateY(-3px);
}

.ks-book-panel .ks-book-tile:hover > img {
    filter: saturate(1.04) contrast(1.06);
    transform: scale(1.075);
}

.ks-book-panel .ks-book-tile:hover i {
    background: #f2c742;
    color: #073b32;

    transform: translateX(2px);
}

.ks-book-panel .ks-book-tile:focus-visible {
    outline: 3px solid #f2c742;
    outline-offset: 2px;
}


@media (max-width: 620px) {

    .ks-book-panel {
        padding: 12px;
    }

    .ks-book-panel-head {
        padding: 2px 2px 12px;
    }

    .ks-book-panel .ks-book-tile,
    .ks-book-panel .ks-book-tile:first-child,
    .ks-book-panel .ks-book-tile:last-child {
        min-height: 135px;
        padding: 14px;
    }

    .ks-book-panel .ks-book-tile b {
        font-size: 18px;
    }
}


@media (max-width: 460px) {

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

    .ks-book-panel .ks-book-tile,
    .ks-book-panel .ks-book-tile:first-child,
    .ks-book-panel .ks-book-tile:last-child {
        min-height: 112px;
    }
}


/* =========================================================
   REZERVĒT — kompakts 2 kartīšu dropdown
   ========================================================= */
.ks-book-panel {
    right: 0;
    left: auto;
    width: min(540px, calc(100vw - 28px));
    padding: 14px;
    transform: translateY(-8px);
    transform-origin: top right;
    border-radius: 18px;
}

.ks-book-panel::before {
    right: 34px;
    left: auto;
}

.ks-book-drop.open .ks-book-panel,
.ks-book-drop:hover .ks-book-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ks-book-panel-head {
    padding: 1px 3px 11px;
}

.ks-book-panel-head > span {
    font-size: 11px;
}

.ks-book-panel-head > small {
    margin-top: 3px;
    font-size: 10px;
}

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

.ks-book-panel .ks-book-tile,
.ks-book-panel .ks-book-tile:first-child,
.ks-book-panel .ks-book-tile:last-child {
    min-height: 145px;
    padding: 15px;
    border-radius: 13px;
}

.ks-book-panel .ks-book-tile b {
    font-size: 20px;
}

.ks-book-panel .ks-book-tile small {
    margin-top: 4px;
    font-size: 10px;
}

.ks-book-panel .ks-book-tile i {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    font-size: 16px;
}

@media (max-width: 760px) {
    .ks-book-panel {
        position: fixed;
        top: 74px;
        right: 10px;
        left: 10px;
        width: auto;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .ks-book-panel::before {
        display: none;
    }
}

@media (max-width: 460px) {
    .ks-book-grid {
        grid-template-columns: 1fr;
    }

    .ks-book-panel .ks-book-tile,
    .ks-book-panel .ks-book-tile:first-child,
    .ks-book-panel .ks-book-tile:last-child {
        min-height: 112px;
    }
}

/* Sektora QR ieeja rezervācijas izvēlnē */
.ks-book-panel .ks-qr-entry{display:block;margin:12px 15px;padding:13px 16px;border-radius:12px;background:#e9c85e;color:#163c30!important;font-weight:750;text-align:center;text-decoration:none}.ks-book-panel .ks-qr-entry:hover{background:#f4d877}
.ks-book-btn{border-radius:12px!important;min-width:max-content!important;width:auto!important;height:auto!important;padding:12px 18px!important;white-space:nowrap!important}

/* 2026-10: Mobilā galvene — redzama, salasāma rezervācijas poga */
@media (max-width: 620px) {
  .ks-global-header { gap: 8px !important; padding-left: 10px !important; padding-right: 10px !important; }
  .ks-global-brand { min-width: 0 !important; flex: 1 1 auto !important; gap: 7px !important; }
  .ks-global-mark { width: 38px !important; height: 40px !important; flex-shrink: 0; }
  .ks-global-brandtext { min-width: 0; }
  .ks-global-brandtext b { font-size: clamp(12px, 3.1vw, 16px) !important; line-height: 1.16; }
  .ks-book-drop { flex: 0 0 auto !important; }
  .ks-book-btn { display: inline-flex !important; align-items: center; justify-content: center; gap: 4px; width: auto !important; min-width: 0 !important; height: 40px !important; padding: 0 10px !important; font-size: 12px !important; font-weight: 800 !important; border-radius: 10px !important; white-space: nowrap; }
  .ks-book-btn > span { display: inline !important; font-size: 15px !important; }
  .ks-mobile-toggle { flex: 0 0 auto; margin-left: 0 !important; }
}
@media (max-width: 370px) {
  .ks-global-brandtext b { font-size: 11px !important; }
  .ks-global-mark { width: 32px !important; }
  .ks-book-btn { padding: 0 7px !important; font-size: 11px !important; }
}
