:root {
    --kc-red: #d9342b;
    --kc-red-dark: #b62720;
    --kc-ink: #151515;
    --kc-muted: #8a8582;
    --kc-line: #eadfdd;
    --kc-soft: #f8eceb;
    --kc-paper: #fffdfc;
}

* {
    box-sizing: border-box;
}

html {
    background: #fff;
}

body {
    background: #fff;
    color: var(--kc-ink);
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

a {
    color: inherit;
}

.kc-shell {
    background: #fff;
    margin: 0 auto;
    max-width: 430px;
    min-height: 100vh;
}

.kc-header {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-end;
    min-height: calc(106px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 16px 8px;
}

.kc-header__top {
    align-items: flex-end;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
}

.kc-brand {
    align-items: center;
    display: inline-flex;
    flex: 0 0 172px;
    gap: 10px;
    height: 54px;
    margin-left: 0;
    margin-right: 0;
    min-width: 0;
    text-decoration: none;
    width: 172px;
}

.kc-brand__logo {
    display: block;
    height: auto;
    max-height: 54px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    width: 100%;
}

.kc-brand__text {
    height: 1px;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.kc-brand__text {
    display: grid;
    gap: 1px;
    line-height: 1;
    text-transform: uppercase;
}

.kc-brand__text strong {
    font-size: 15px;
    letter-spacing: 0.12em;
}

.kc-brand__text small {
    color: var(--kc-muted);
    font-size: 8px;
    letter-spacing: 0.38em;
}

.kc-market {
    align-items: flex-end;
    align-self: flex-end;
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    justify-content: flex-end;
    margin-top: auto;
    min-width: 0;
}

.kc-market > a,
.kc-market > span {
    align-items: center;
    background: #fff;
    border: 1px solid #efd1ce;
    border-radius: 16px;
    color: var(--kc-red);
    display: inline-flex;
    flex: 0 0 54px;
    font-size: 0;
    font-weight: 800;
    justify-content: center;
    line-height: 1;
    height: 54px;
    min-width: 0;
    padding: 0;
    text-align: center;
    text-decoration: none;
}

.kc-market > span {
    color: #b9aaa6;
}

.kc-market__shop {
    background-color: #fff;
    border-color: #efd1ce;
    flex: 0 0 54px;
    overflow: hidden;
    padding: 0;
    position: relative;
}

.kc-market__shop::before {
    align-items: center;
    background: linear-gradient(135deg, #7a248e, #3459f1 55%, #d6289f);
    color: #fff;
    content: attr(data-label);
    display: flex;
    font-size: 19px;
    font-weight: 900;
    inset: 0;
    justify-content: center;
    line-height: 1;
    position: absolute;
    text-transform: uppercase;
}

.kc-market__shop img {
    display: block;
    height: 100%;
    object-fit: cover;
    position: relative;
    width: 100%;
    z-index: 1;
}

.kc-market__shop .kc-market__label {
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.kc-actions {
    background: transparent;
    border-radius: 0;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 0;
}

.kc-action {
    align-items: center;
    background: var(--kc-soft);
    border: 1px solid #e5bcb7;
    border-radius: 14px;
    color: var(--kc-red-dark);
    display: inline-flex;
    font-size: 18px;
    font-weight: 900;
    gap: 12px;
    justify-content: center;
    line-height: 1;
    min-height: 36px;
    padding: 6px 10px;
    text-decoration: none;
}

.kc-action--date {
    background: var(--kc-soft);
    box-shadow: none;
    color: var(--kc-red-dark);
}

.kc-action--search {
    background: var(--kc-soft);
}

.kc-action__icon {
    display: inline-block;
    flex: 0 0 auto;
    position: relative;
}

.kc-action__icon--date {
    border: 2px solid currentColor;
    border-radius: 5px;
    height: 16px;
    width: 18px;
}

.kc-action__icon--date::before {
    border-top: 2px solid currentColor;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 5px;
}

.kc-action__icon--date::after {
    background:
        linear-gradient(currentColor, currentColor) 5px 0 / 2px 5px no-repeat,
        linear-gradient(currentColor, currentColor) 11px 0 / 2px 5px no-repeat;
    content: "";
    height: 7px;
    left: 0;
    position: absolute;
    right: 0;
    top: -6px;
}

.kc-action__icon--search {
    border: 2px solid currentColor;
    border-radius: 50%;
    height: 17px;
    width: 17px;
}

.kc-action__icon--search::after {
    background: currentColor;
    border-radius: 999px;
    content: "";
    height: 3px;
    position: absolute;
    right: -9px;
    top: 14px;
    transform: rotate(45deg);
    transform-origin: left center;
    width: 11px;
}

.kc-calendar {
    background: var(--kc-red);
    margin-top: 0;
    padding: 14px 12px 22px;
    position: relative;
}

@media (max-width: 380px) {
    .kc-header {
        gap: 7px;
        min-height: calc(96px + env(safe-area-inset-top));
        padding: env(safe-area-inset-top) 12px 7px;
    }

    .kc-header__top {
        gap: 8px;
    }

    .kc-brand {
        flex-basis: 140px;
        height: 48px;
        min-width: 0;
        width: 140px;
    }

    .kc-brand__logo {
        max-height: 48px;
    }

    .kc-market {
        gap: 8px;
    }

    .kc-market > a,
    .kc-market > span,
    .kc-market__shop {
        flex-basis: 48px;
        height: 48px;
    }

    .kc-actions {
        gap: 12px;
        padding: 0;
    }

    .kc-action {
        font-size: 17px;
        gap: 9px;
        min-height: 34px;
        padding: 5px 9px;
    }
}

@media (max-width: 340px) {
    .kc-brand {
        flex-basis: 126px;
        width: 126px;
    }

    .kc-market {
        gap: 6px;
    }

    .kc-market > a,
    .kc-market > span,
    .kc-market__shop {
        flex-basis: 44px;
        height: 44px;
    }
}

.kc-calendar__rings {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(8, 1fr);
    left: 38px;
    position: absolute;
    right: 38px;
    top: 16px;
    z-index: 2;
}

.kc-calendar__rings span {
    background: linear-gradient(90deg, #a7a7a7, #f6f6f6 45%, #9b9b9b);
    border-radius: 99px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.24);
    height: 25px;
    margin: 0 auto;
    width: 6px;
}

.kc-calendar__sheet {
    background: var(--kc-paper);
    border-radius: 18px;
    box-shadow: 0 8px 0 rgba(255, 255, 255, 0.55), 0 14px 18px rgba(116, 26, 20, 0.35);
    margin-top: 15px;
    padding: 27px 14px 18px;
}

.kc-calendar--home {
    background: #fff;
    padding: 0 12px;
}

.kc-calendar--home .kc-calendar__rings {
    display: none;
}

.kc-calendar--home .kc-calendar__sheet {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
    padding: 0;
}

.kc-calendar__sheet .kelins-today-tomorrow {
    gap: 12px;
    margin: 0;
}

.kc-calendar--home .kelins-today-tomorrow {
    background: #fff;
    gap: 4px;
}

.kc-calendar__sheet .kelins-today-tomorrow__card {
    background: #fff;
    border-color: #e2c5c1;
    border-left: 4px solid var(--kc-red);
    border-radius: 13px;
    box-shadow: 0 7px 18px rgba(91, 28, 24, 0.06);
    padding: 13px 13px 14px;
}

.kc-calendar--home .kelins-today-tomorrow__card {
    background: var(--kc-red);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    padding: 56px 34px 26px;
    position: relative;
}

.kc-calendar--home .kelins-today-tomorrow__card::before {
    background: repeating-linear-gradient(
        90deg,
        transparent 0,
        transparent calc(12.5% - 4px),
        #9f9f9f calc(12.5% - 4px),
        #f5f5f5 calc(12.5% - 1px),
        #9b9b9b calc(12.5% + 2px),
        transparent calc(12.5% + 2px),
        transparent 12.5%
    );
    content: "";
    height: 28px;
    left: 30px;
    position: absolute;
    right: 30px;
    top: 11px;
    z-index: 2;
}

.kc-calendar--home .kelins-today-tomorrow__card::after {
    background: var(--kc-paper);
    border-radius: 18px 18px 14px 14px;
    bottom: 13px;
    box-shadow: 0 6px 0 rgba(255, 255, 255, 0.62), 0 11px 15px rgba(116, 26, 20, 0.22);
    content: "";
    left: 12px;
    position: absolute;
    right: 12px;
    top: 25px;
    z-index: 0;
}

.kc-calendar--home .kelins-today-tomorrow__card > * {
    position: relative;
    z-index: 1;
}

.kc-calendar--home .kelins-date-holidays__list {
    padding-left: 18px;
}

.kc-calendar__sheet .kelins-today-tomorrow__label {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
    text-align: right;
    text-transform: none;
}

.kc-calendar__sheet .kelins-today-tomorrow__title {
    color: var(--kc-red);
    font-size: 23px;
    line-height: 1.08;
    margin-bottom: 9px;
}

.kc-calendar__sheet .kelins-date-holidays__link {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
}

.kc-calendar--home .kelins-date-holidays__link {
    font-weight: 700;
}

.kc-calendar__sheet .kelins-date-holidays__item {
    padding: 8px 0;
}

.kc-calendar__sheet .kelins-date-holidays__meta {
    font-size: 13px;
    line-height: 1.25;
    margin-top: 3px;
}

.kc-calendar__sheet .kelins-date-holidays__empty {
    font-size: 15px;
    line-height: 1.35;
}

.kc-calendar__sheet .kelins-today-tomorrow__more {
    margin-top: 10px;
}

.kc-calendar__sheet .kelins-today-tomorrow__more a {
    font-size: 14px;
    min-height: 38px;
    padding: 9px 12px;
}

.kc-folk-card {
    background: #fff3f2;
    border: 1px solid #efd1ce;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(91, 28, 24, 0.06);
    margin-top: 12px;
    padding: 13px 12px;
}

.kc-calendar--home .kc-folk-card {
    margin-top: 10px;
    padding: 9px 10px;
}

.kc-calendar--home .kc-folk-card h2 {
    font-size: 16px;
    margin-bottom: 4px;
}

.kc-calendar--home .kc-folk-card__text {
    font-size: 13px;
    line-height: 1.28;
}

.kc-folk-card h2 {
    color: var(--kc-red);
    font-size: 17px;
    line-height: 1.15;
    margin: 0 0 6px;
}

.kc-folk-card__text {
    color: #5f5652;
    font-size: 14px;
    line-height: 1.36;
}

.kc-folk-card__text p {
    margin: 0 0 7px;
}

.kc-folk-card__text p:last-child {
    margin-bottom: 0;
}

.kc-shell--holiday {
    background: #fffdfc;
}

.kc-page-header {
    align-items: center;
    border-bottom: 1px solid var(--kc-line);
    display: grid;
    gap: 10px;
    grid-template-columns: 38px auto minmax(0, 1fr);
    min-height: 64px;
    padding: 10px 14px;
}

.kc-back {
    align-items: center;
    background: var(--kc-soft);
    border: 1px solid #efd1ce;
    border-radius: 12px;
    color: var(--kc-ink);
    display: inline-flex;
    font-size: 24px;
    height: 38px;
    justify-content: center;
    line-height: 1;
    position: relative;
    text-decoration: none;
    width: 38px;
}

.kc-back--close {
    color: transparent;
    font-size: 0;
}

.kc-back--arrow {
    color: transparent;
    font-size: 0;
}

.kc-back--arrow::before {
    background: var(--kc-red-dark);
    border-radius: 999px;
    content: "";
    height: 2px;
    left: 11px;
    position: absolute;
    top: 18px;
    width: 18px;
}

.kc-back--arrow::after {
    border-bottom: 2px solid var(--kc-red-dark);
    border-left: 2px solid var(--kc-red-dark);
    content: "";
    height: 9px;
    left: 11px;
    position: absolute;
    top: 14px;
    transform: rotate(45deg);
    width: 9px;
}

.kc-back--close::before,
.kc-back--close::after {
    background: var(--kc-red-dark);
    border-radius: 999px;
    content: "";
    height: 2px;
    left: 50%;
    position: absolute;
    top: 50%;
    width: 18px;
}

.kc-back--close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.kc-back--close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.kc-page-brand {
    background: url("../images/kelins-logo-header.png") center / contain no-repeat;
    display: block;
    height: 38px;
    justify-self: start;
    overflow: hidden;
    text-decoration: none;
    text-indent: 100%;
    white-space: nowrap;
    width: 136px;
}

.kc-holiday__hero {
    padding: 18px 16px 16px;
}

.kc-holiday__date-row {
    align-items: flex-end;
    color: var(--kc-red);
    display: flex;
    font-size: 15px;
    font-weight: 700;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 12px;
}

.kc-holiday__date-row--day-off {
    color: var(--kc-red);
}

.kc-holiday__title {
    color: var(--kc-ink);
    font-size: clamp(30px, 8.8vw, 44px);
    line-height: 1.02;
    margin: 0 0 10px;
}

.kc-holiday__intro {
    color: #363230;
    font-size: 17px;
    line-height: 1.38;
    margin: 0 0 14px;
}

.kc-holiday__facts {
    border: 1px solid var(--kc-line);
    border-radius: 14px;
    margin: 0 0 12px;
    overflow: hidden;
}

.kc-holiday__facts div {
    align-items: baseline;
    border-top: 1px solid var(--kc-line);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 8px 12px;
}

.kc-holiday__facts div:first-child {
    border-top: 0;
}

.kc-holiday__facts dt {
    color: #7a7472;
    font-size: 14px;
    font-weight: 700;
}

.kc-holiday__facts dd {
    color: var(--kc-ink);
    font-size: 15px;
    font-weight: 800;
    margin: 0;
    text-align: right;
}

.kc-holiday__facts--day-off div:last-child dt,
.kc-holiday__facts--day-off div:last-child dd {
    color: var(--kc-red);
}

.kc-holiday__date-note {
    color: #7a7472;
    font-size: 13px;
    line-height: 1.4;
    margin: -2px 0 12px;
}

.kc-holiday__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.kc-holiday__tags span {
    background: var(--kc-soft);
    border: 1px solid #efd1ce;
    border-radius: 999px;
    color: #5d3834;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 8px 11px;
}

.kc-holiday__actions {
    display: flex;
    margin-top: 10px;
}

.kc-holiday__share {
    appearance: none;
    background: #fff;
    border: 1px solid #e6cbc8;
    border-radius: 999px;
    color: var(--kc-red);
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    min-height: 38px;
    padding: 9px 14px;
}

.kc-holiday__share:focus-visible {
    outline: 3px solid rgba(207, 48, 40, .22);
    outline-offset: 2px;
}

.kc-ad-card {
    background: #123c36;
    border: 2px solid #123c36;
    color: #fff;
    padding: 18px 16px;
}

.kc-ad-card--season {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}

.kc-ad-card--offseason {
    background: #fffaf9;
    border-color: #efd1ce;
    color: #241b1a;
    margin: 4px 16px 16px;
}

.kc-ad-card--offseason h2 {
    color: var(--kc-red);
}

.kc-ad-card--offseason p {
    color: #4e4745;
}

.kc-ad-card--offseason .kc-ad-card__links a,
.kc-ad-card--offseason .kc-ad-card__links span {
    background: var(--kc-red);
    color: #fff;
}

.kc-ad-card h2 {
    font-size: 19px;
    line-height: 1.1;
    margin: 0 0 8px;
}

.kc-ad-card p {
    font-size: 15px;
    line-height: 1.4;
    margin: 0;
}

.kc-ad-card strong,
.kc-promo-accent {
    color: var(--kc-red);
    font-weight: 900;
}

.kc-ad-card--season strong,
.kc-ad-card--season .kc-promo-accent {
    color: #ffdfd8;
}

.kc-ad-card__links {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    margin-top: 12px;
}

.kc-ad-card__links a,
.kc-ad-card__links span {
    background: #fff;
    border-radius: 8px;
    color: #123c36;
    display: block;
    font-size: 14px;
    font-weight: 800;
    padding: 9px 10px;
    text-align: center;
    text-decoration: none;
}

.kc-holiday__content {
    padding: 12px 16px 14px;
}

.kc-holiday__content + .kc-holiday__content {
    padding-top: 2px;
}

.kc-holiday__content h2 {
    color: var(--kc-red);
    font-size: 19px;
    line-height: 1.15;
    margin: 0 0 7px;
}

.kc-holiday__content p {
    color: #34302e;
    font-size: 16px;
    line-height: 1.38;
    margin: 0 0 8px;
}

.kc-holiday__content p:empty {
    display: none;
}

.kc-holiday__content p:last-child {
    margin-bottom: 0;
}

.kc-calendar-word {
    color: var(--kc-red);
    font-weight: 900;
}

.kc-holiday__sources {
    border-top: 1px solid #eadfdd;
    padding-top: 12px;
}

.kc-source-item {
    background: #faf8f7;
    border: 1px solid #eadfdd;
    border-radius: 12px;
    margin-top: 10px;
    padding: 12px;
}

.kc-source-item h3 {
    color: var(--kc-red);
    font-size: 14px;
    line-height: 1.2;
    margin: 0 0 7px;
}

.kc-source-item p {
    font-size: 16px;
    margin-bottom: 7px;
}

.kc-source-item p:last-child {
    margin-bottom: 0;
}

.kc-source-item a {
    color: var(--kc-red);
    font-weight: 700;
}

.kc-shell--date {
    background: #fff;
}

.kc-date-page {
    margin-top: 0;
}

.kc-date-page__sheet {
    padding-left: 16px;
    padding-right: 16px;
}

.kc-date-page__heading {
    align-items: end;
    border-bottom: 1px solid var(--kc-line);
    display: grid;
    gap: 6px 12px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 14px 0 16px;
}

.kc-date-page__day {
    color: var(--kc-red);
    font-size: 72px;
    font-weight: 800;
    line-height: 0.85;
}

.kc-date-page__heading > div:not(.kc-date-page__day):not(.kc-date-page__weekday) {
    min-width: 0;
}

.kc-date-page__year {
    color: #b94d48;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.kc-date-page__title {
    color: #b94d48;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 34px;
    line-height: 1;
    margin: 4px 0 0;
}

.kc-date-page__weekday {
    align-self: start;
    color: var(--kc-red);
    font-size: 17px;
    font-weight: 800;
    justify-self: end;
    letter-spacing: 0.06em;
    line-height: 1;
    max-width: 100%;
    text-transform: uppercase;
    white-space: nowrap;
}

.kc-date-page__nav {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
    margin: 16px 0 6px;
}

.kc-date-page__nav a {
    border: 1px solid var(--kc-line);
    border-radius: 999px;
    color: #4d4744;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 8px;
    text-align: center;
    text-decoration: none;
}

.kc-date-page__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kc-date-page__item {
    border-top: 1px solid var(--kc-line);
    padding: 15px 0;
}

.kc-date-page__item:first-child {
    border-top: 0;
}

.kc-date-page__link {
    color: var(--kc-ink);
    display: block;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.18;
    text-decoration: none;
}

.kc-date-page__meta {
    color: #999491;
    font-size: 15px;
    line-height: 1.25;
    margin-top: 7px;
}

.kc-date-page__expand {
    appearance: none;
    background: #fff;
    border: 1px solid #efd1ce;
    border-radius: 999px;
    color: var(--kc-red);
    cursor: pointer;
    display: block;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    margin: 10px auto 0;
    min-height: 38px;
    padding: 9px 14px;
}

.kc-date-page__empty {
    color: #5c5653;
    font-size: 18px;
    line-height: 1.35;
    margin: 18px 0 0;
}

.kc-date-page__empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.kc-date-page__empty-actions a {
    border: 1px solid #efd1ce;
    border-radius: 999px;
    color: var(--kc-red);
    font-size: 15px;
    font-weight: 700;
    padding: 9px 13px;
    text-decoration: none;
}

.kc-shell--search {
    background: #fffdfc;
}

.kc-search {
    padding: 10px 12px 16px;
}

.kc-search__form {
    display: grid;
    gap: 6px;
    grid-template-columns: 1fr auto;
}

.kc-search__form input {
    appearance: none;
    background: #fff;
    border: 2px solid #efd1ce;
    border-radius: 12px;
    color: var(--kc-ink);
    font: inherit;
    font-size: 16px;
    line-height: 1.2;
    min-width: 0;
    min-height: 42px;
    padding: 9px 11px;
}

.kc-search__form input:focus {
    border-color: var(--kc-red);
    outline: 3px solid rgba(207, 48, 40, .14);
    outline-offset: 0;
}

.kc-search__form button {
    background: var(--kc-red);
    border: 0;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    min-height: 42px;
    padding: 0 13px;
}

.kc-search__filters,
.kc-search__results {
    border-top: 1px solid var(--kc-line);
    margin-top: 8px;
    padding-top: 7px;
}

.kc-search__filters h2,
.kc-search__results h2 {
    color: var(--kc-red);
    font-size: 13px;
    letter-spacing: 0;
    margin: 0 0 4px;
    text-transform: none;
}

.kc-search__filters div {
    display: grid;
    gap: 4px;
    grid-auto-columns: max-content;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    margin-left: -12px;
    margin-right: -12px;
    overflow-x: auto;
    padding: 0 12px 2px;
    scrollbar-width: thin;
}

.kc-search__filters a {
    background: var(--kc-soft);
    border: 1px solid #efd1ce;
    border-radius: 999px;
    color: #6d403a;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.18;
    padding: 6px 8px;
    text-decoration: none;
    white-space: nowrap;
}

.kc-search__filters a {
    background: #fff;
    border-radius: 999px;
}

.kc-search__filters a.is-active {
    background: var(--kc-red);
    border-color: var(--kc-red);
    color: #fff;
}

.kc-search__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kc-search__item {
    border-top: 1px solid var(--kc-line);
    padding: 8px 0;
}

.kc-search__item:first-child {
    border-top: 0;
}

.kc-search__link {
    color: var(--kc-ink);
    display: block;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.24;
    text-decoration: none;
}

.kc-search__meta {
    color: #999491;
    font-size: 12px;
    line-height: 1.25;
    margin-top: 3px;
}

.kc-search__also {
    color: #8a5049;
    font-size: 12px;
    font-weight: 600;
    margin-top: 3px;
}

.kc-search__mark {
    background: #fff0ed;
    border-radius: 5px;
    color: inherit;
    padding: 0 2px;
}

.kc-search__empty {
    color: #5c5653;
    font-size: 15px;
    line-height: 1.35;
    margin: 0;
}

.kc-search__reset {
    margin: 10px 0 0;
}

.kc-search__reset a {
    border: 1px solid #efd1ce;
    border-radius: 999px;
    color: var(--kc-red);
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 12px;
    text-decoration: none;
}

.kc-shell--calendar {
    background: #fffdfc;
}

.kc-picker {
    padding: 18px;
    touch-action: pan-y;
}

.kc-picker__nav {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 44px 1fr 44px;
    margin-bottom: 18px;
}

.kc-picker__nav h1 {
    color: var(--kc-ink);
    font-size: 30px;
    line-height: 1;
    margin: 0;
    text-align: center;
}

.kc-picker__title {
    min-width: 0;
}

.kc-picker__month-name {
    color: var(--kc-ink);
    display: block;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    min-width: 0;
    text-align: center;
}

.kc-picker__nav a {
    align-items: center;
    background: var(--kc-soft);
    border: 1px solid #efd1ce;
    border-radius: 12px;
    color: var(--kc-red);
    display: inline-flex;
    font-size: 24px;
    font-weight: 800;
    height: 44px;
    justify-content: center;
    text-decoration: none;
}

.kc-picker__year-jump {
    align-items: center;
    display: grid;
    gap: 6px;
    grid-template-columns: 1fr;
    justify-content: center;
    line-height: 1;
    min-width: 0;
}

.kc-picker__year-jump input,
.kc-picker__year-jump button {
    border: 1px solid var(--kc-line);
    border-radius: 10px;
    font: inherit;
    min-height: 36px;
}

.kc-picker__year-jump input {
    appearance: textfield;
    background: #fff;
    color: #b94d48;
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 24px;
    font-weight: 700;
    justify-self: center;
    min-width: 156px;
    padding: 5px 18px;
    text-align: center;
    touch-action: none;
    width: 156px;
}

.kc-picker__year-jump button {
    background: var(--kc-soft);
    color: var(--kc-red);
    font-size: 12px;
    font-weight: 800;
    justify-self: center;
    margin-top: 0;
    max-width: 160px;
    padding: 6px 8px;
    white-space: nowrap;
    width: 100%;
}

.kc-picker__button-short {
    display: none;
}

.kc-picker__button-full {
    display: inline;
}

@media (max-width: 380px) {
    .kc-picker__month-name {
        font-size: 23px;
    }

    .kc-picker__year-jump input {
        font-size: 20px;
        min-width: 136px;
        width: 136px;
    }

}

.kc-picker__weekdays,
.kc-picker__grid {
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.kc-picker__weekdays {
    color: #9b6b66;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    text-align: center;
    text-transform: uppercase;
}

.kc-picker__weekdays span:nth-child(n+6) {
    color: var(--kc-red);
}

.kc-picker__empty,
.kc-picker__day {
    aspect-ratio: 1;
    border-radius: 12px;
}

.kc-picker__day {
    align-items: center;
    background: #fff;
    border: 1px solid var(--kc-line);
    color: var(--kc-ink);
    display: flex;
    flex-direction: column;
    font-size: 19px;
    font-weight: 800;
    justify-content: center;
    min-width: 0;
    position: relative;
    text-decoration: none;
}

.kc-picker__day.is-weekend {
    color: var(--kc-red);
}

.kc-picker__day.is-today {
    border-color: var(--kc-red);
    box-shadow: inset 0 0 0 2px var(--kc-red);
}

.kc-picker__day.is-selected {
    background: var(--kc-red);
    border-color: var(--kc-red);
    color: #fff;
}

.kc-picker__day.is-selected small {
    background: #fff;
    color: var(--kc-red);
}

.kc-picker__day.has-holidays {
    background: #fff8f7;
}

.kc-picker__day.has-holidays.is-selected {
    background: var(--kc-red);
}

.kc-picker__day small {
    background: var(--kc-red);
    border-radius: 999px;
    bottom: 5px;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    min-width: 14px;
    padding: 2px 4px;
    position: absolute;
    right: 5px;
}

@media (min-width: 720px) {
    body {
        background: #efefed;
    }

    .kc-shell {
        margin-top: 28px;
        min-height: auto;
    }
}

.kc-shell--error {
    background: #fffdfc;
}

.kc-error {
    background: var(--kc-red);
    padding: 28px 16px 34px;
}

.kc-error__sheet {
    background: var(--kc-paper);
    border-radius: 18px;
    box-shadow: 0 8px 0 rgba(255, 255, 255, 0.55), 0 14px 18px rgba(116, 26, 20, 0.32);
    padding: 28px 20px 22px;
}

.kc-error__code {
    color: var(--kc-red);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 62px;
    font-weight: 800;
    line-height: 0.9;
    margin: 0 0 14px;
}

.kc-error h1 {
    color: var(--kc-ink);
    font-size: 34px;
    line-height: 1;
    margin: 0 0 14px;
}

.kc-error p {
    color: #403936;
    font-size: 18px;
    line-height: 1.35;
    margin: 0;
}

.kc-error__actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.kc-error__actions a {
    border: 1px solid #efd1ce;
    border-radius: 999px;
    color: var(--kc-red);
    font-size: 17px;
    font-weight: 800;
    padding: 12px 14px;
    text-align: center;
    text-decoration: none;
}

.kc-cookie {
    align-items: center;
    background: #fffdfc;
    border: 1px solid #efd1ce;
    border-radius: 16px;
    bottom: 12px;
    box-shadow: 0 12px 30px rgba(75, 33, 28, 0.18);
    display: grid;
    gap: 12px;
    left: 50%;
    max-width: min(398px, calc(100vw - 24px));
    padding: 14px;
    position: fixed;
    transform: translateX(-50%);
    width: 100%;
    z-index: 50;
}

.kc-cookie[hidden] {
    display: none;
}

.kc-cookie p {
    color: #403936;
    font-size: 14px;
    line-height: 1.35;
    margin: 0;
}

.kc-cookie button {
    background: var(--kc-red);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    min-height: 42px;
    padding: 10px 16px;
}

@media (min-width: 390px) {
    .kc-cookie {
        grid-template-columns: 1fr auto;
    }
}
