.sunny-layout {
    padding: 0;
    overflow-x: hidden;
    background: #fff;
    color: #414042;
    font-family: Arial, Helvetica, sans-serif;
}

.sunny-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px;
}

.sunny-header {
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}

.sunny-header__inner {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sunny-header__logo-link {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
}

.sunny-header__logo {
    width: 72px;
    height: auto;
    display: block;
}

.sunny-header__participation,
.sunny-header__shop,
.sunny-header__lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}

.sunny-header__participation {
    min-width: 154px;
    padding: 0 22px;
    color: #fff;
    background: #70df72;
}

.sunny-header__participation:hover,
.sunny-header__participation:focus {
    color: #fff;
    background: #58ce5b;
}

.sunny-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.sunny-header__shop,
.sunny-header__lang {
    padding: 0 18px;
    color: #333;
    background: #fff;
    border: 1px solid #60d96e;
}

.sunny-header__shop:hover,
.sunny-header__shop:focus {
    color: #333;
}

.sunny-header__lang {
    min-width: 52px;
    padding: 0 12px;
    font-family: inherit;
    text-decoration: none;
}

.sunny-main {
    max-width: 1100px;
    min-height: 340px;
    padding-left: 18px;
    padding-right: 18px;
}

.sunny-footer {
    margin-top: 95px;
    padding: 46px 0 30px;
    background: #f4f4f5;
    color: #414042;
}

.sunny-footer__inner {
    display: grid;
    grid-template-columns: 1.18fr 0.86fr 1fr;
    gap: 34px;
    align-items: start;
}

.sunny-footer p {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.25;
}

.sunny-footer__support {
    padding-top: 16px;
}

.sunny-footer__phone {
    display: inline-block;
    color: #000;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
}

.sunny-footer__phone:hover,
.sunny-footer__phone:focus {
    color: #000;
}

.sunny-footer__company h2 {
    margin: 0 0 6px;
    color: #000;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.sunny-footer__nav {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.sunny-footer__nav a {
    color: #414042;
    font-size: 12px;
    line-height: 1.25;
}

.sunny-footer__social-title {
    margin-bottom: 10px !important;
}

.sunny-footer__socials {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.sunny-footer__socials a,
.sunny-footer__social-placeholder {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c7c7c7;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
}

.sunny-footer__socials a {
    border-color: var(--social-color, #c7c7c7);
}

.sunny-footer__socials img {
    max-width: 19px;
    max-height: 19px;
    display: block;
}

.sunny-footer__socials i {
    color: var(--social-color, #414042);
    font-size: 15px;
    line-height: 1;
}

.sunny-footer__socials a:hover i,
.sunny-footer__socials a:focus i {
    color: var(--social-color, #00a651);
}

.sunny-footer__social-placeholder {
    color: #8a8a8a;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.sunny-footer__app {
    text-align: center;
}

.sunny-footer__qr {
    width: 122px;
    height: 122px;
    margin: 10px auto 14px;
    /* background-color: #fff; */
    /* background-image:
        linear-gradient(45deg, #111 25%, transparent 25%, transparent 75%, #111 75%),
        linear-gradient(45deg, #111 25%, transparent 25%, transparent 75%, #111 75%); */
    background-position: 0 0, 6px 6px;
    background-size: 12px 12px;
    /* border: 9px solid #fff; */
    box-shadow: inset 0 0 0 2px #111;
}

.sunny-footer__badges {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.sunny-footer__badges img {
    width: 96px;
    height: auto;
    display: block;
}

.sunny-page-builder {
    padding-top: 20px;
}

.sunny-page-block {
    border-radius: 14px;
}

.sunny-page-block--full-bg {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
}

.sunny-page-block__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 18px;
    padding-right: 18px;
}

.sunny-page-block__grid {
    display: grid;
    gap: 24px;
    align-items: center;
}

.sunny-page-block__grid--1 {
    grid-template-columns: 1fr;
}

.sunny-page-block__grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sunny-page-block__grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sunny-page-block__grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sunny-page-block__grid--6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.sunny-page-cell {
    min-width: 0;
    text-align: center;
}

.sunny-page-text {
    color: #111;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.15;
}

.sunny-page-text h2,
.sunny-registration h2,
.sunny-rules h2 {
    margin: 0 0 18px;
    color: #111;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.05;
    text-align: center;
}

.sunny-page-text--left {
    text-align: left;
}

.sunny-page-text--center {
    text-align: center;
}

.sunny-page-text--right {
    text-align: right;
}

.sunny-page-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 14px;
}

.sunny-page-button-wrap {
    display: flex;
    justify-content: center;
}

.sunny-page-button {
    min-width: 220px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 999px;
    border: 2px solid #00b85a;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-decoration: none;
}

.sunny-page-button--primary {
    background: #00b85a;
    color: #fff;
}

.sunny-page-button--primary:hover,
.sunny-page-button--primary:focus {
    background: #009f4d;
    color: #fff;
}

.sunny-page-button--outline {
    background: #fff;
    color: #00b85a;
}

.sunny-page-button--outline:hover,
.sunny-page-button--outline:focus {
    background: #effbf4;
    color: #00a650;
}

.sunny-image-card {
    display: block;
    color: #111;
    text-align: center;
    text-decoration: none;
}

.sunny-image-card:hover,
.sunny-image-card:focus {
    color: #111;
    text-decoration: none;
}

.sunny-image-card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 12px;
    border-radius: 28px;
}

.sunny-image-card strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
}

.sunny-feature-card {
    max-width: 620px;
    display: inline-grid;
    grid-template-columns: minmax(140px, 230px) minmax(180px, 260px);
    gap: 18px;
    align-items: center;
    color: #111;
}

.sunny-feature-card__image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.sunny-feature-card__content h3 {
    margin: 0 0 10px;
    color: #111;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    text-align: left;
}

.sunny-feature-card__content h3 span {
    color: #ffca3a;
}

.sunny-feature-card__content p {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.15;
    text-align: left;
}

.sunny-feature-card .sunny-page-button {
    min-width: 190px;
    min-height: 38px;
    font-size: 13px;
}

.sunny-timer {
    width: 320px;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 18px 12px;
    border-radius: 12px;
    background: #ffca3a;
    color: #fff;
    text-align: center;
}

.sunny-timer span {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.sunny-timer strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.sunny-registration {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.sunny-registration form {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    text-align: left;
}

.sunny-registration__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.sunny-registration .form-control {
    min-height: 44px;
    border: none;
    border-radius: 999px;
    box-shadow: none;
    background: #f4f4f4;
}

.sunny-registration label {
    font-size: 12px;
    font-weight: 700;
}

.sunny-registration__warning {
    display: block;
    margin: 12px 0;
    color: #ff2d2d;
    font-size: 13px;
}

.sunny-registration__check {
    max-width: 330px;
    margin: 10px auto 24px;
}

.sunny-registration__check img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.sunny-registration__rules {
    max-width: 560px;
    margin: 18px auto;
    font-size: 12px;
    font-weight: 700;
}

.sunny-registration__actions {
    display: flex;
    justify-content: center;
}

.sunny-rules {
    max-width: 760px;
    margin: 0 auto;
}

.sunny-rules__grid {
    display: grid;
    gap: 14px;
}

.sunny-rules__item {
    display: grid;
    grid-template-columns: 58px 1fr;
    min-height: 92px;
    border: 1px solid #00b85a;
    border-radius: 12px;
    overflow: hidden;
}

.sunny-rules__item span {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00b85a;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
}

.sunny-rules__item p {
    margin: 0;
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

@media(max-width:767px) {
    .sunny-shell,
    .sunny-main {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .sunny-header__inner {
        min-height: 48px;
        gap: 8px;
    }

    .sunny-header__logo {
        width: 46px;
    }

    .sunny-header__participation {
        min-width: 0;
        min-height: 30px;
        padding: 0 12px;
        font-size: 12px;
    }

    .sunny-header__actions {
        gap: 4px;
    }

    .sunny-header__shop {
        max-width: 116px;
        min-height: 30px;
        padding: 0 10px;
        font-size: 12px;
    }

    .sunny-header__lang {
        min-width: 32px;
        min-height: 30px;
        padding: 0 8px;
        font-size: 12px;
    }

    .sunny-footer {
        margin-top: 52px;
        padding: 28px 0 22px;
    }

    .sunny-footer__inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sunny-footer__company,
    .sunny-footer__app {
        text-align: left;
    }

    .sunny-footer p,
    .sunny-footer__nav a {
        font-size: 11px;
    }

    .sunny-footer__company h2 {
        font-size: 22px;
    }

    .sunny-footer__app {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 16px;
        align-items: center;
    }

    .sunny-footer__app p {
        grid-column: 1 / -1;
    }

    .sunny-footer__qr {
        margin: 0;
    }

    .sunny-footer__badges {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .sunny-footer__badges img {
        width: 88px;
    }

    .sunny-page-block__grid,
    .sunny-page-block__grid--2,
    .sunny-page-block__grid--3,
    .sunny-page-block__grid--4,
    .sunny-page-block__grid--6,
    .sunny-registration__row {
        grid-template-columns: 1fr;
    }

    .sunny-page-text h2,
    .sunny-registration h2,
    .sunny-rules h2 {
        font-size: 24px;
    }

    .sunny-page-button {
        width: 100%;
        min-width: 0;
    }

    .sunny-feature-card {
        display: grid;
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 14px;
        text-align: center;
    }

    .sunny-feature-card__content h3 {
        font-size: 21px;
    }

    .sunny-registration__actions {
        justify-content: stretch;
    }

    .sunny-timer strong {
        font-size: 24px;
    }
}
