/* Код для подключения шрифта в /css/stylename.css */
@font-face {
    font-family: "CeraProThin";
    src: url("../fonts/CeraPro/CeraPro-Thin.eot");
    src: url("../fonts/CeraPro/CeraPro-Thin.eot?#iefix") format("embedded-opentype"),
    url("../fonts/CeraPro/CeraPro-Thin.woff") format("woff"),
    url("../fonts/CeraPro/CeraPro-Thin.ttf") format("truetype");
    font-style: normal;
    font-weight: 100;
}

@font-face {
    font-family: "CeraProLight";
    src: url("../fonts/CeraPro/CeraPro-Light.eot");
    src: url("../fonts/CeraPro/CeraPro-Light.eot?#iefix") format("embedded-opentype"),
    url("../fonts/CeraPro/CeraPro-Light.woff") format("woff"),
    url("../fonts/CeraPro/CeraPro-Light.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: "CeraProRegular";
    src: url("../fonts/CeraPro/CeraPro-Regular.eot");
    src: url("../fonts/CeraPro/CeraPro-Regular.eot?#iefix") format("embedded-opentype"),
    url("../fonts/CeraPro/CeraPro-Regular.woff") format("woff"),
    url("../fonts/CeraPro/CeraPro-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "CeraProMedium";
    src: url("../fonts/CeraPro/CeraPro-Medium.eot");
    src: url("../fonts/CeraPro/CeraPro-Medium.eot?#iefix") format("embedded-opentype"),
    url("../fonts/CeraPro/CeraPro-Medium.woff") format("woff"),
    url("../fonts/CeraPro/CeraPro-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: "CeraProBold";
    src: url("../fonts/CeraPro/CeraPro-Bold.eot");
    src: url("../fonts/CeraPro/CeraPro-Bold.eot?#iefix") format("embedded-opentype"),
    url("../fonts/CeraPro/CeraPro-Bold.woff") format("woff"),
    url("../fonts/CeraPro/CeraPro-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: "CeraProBlack";
    src: url("../fonts/CeraPro/CeraPro-Black.eot");
    src: url("../fonts/CeraPro/CeraPro-Black.eot?#iefix") format("embedded-opentype"),
    url("../fonts/CeraPro/CeraPro-Black.woff") format("woff"),
    url("../fonts/CeraPro/CeraPro-Black.ttf") format("truetype");
    font-style: normal;
    font-weight: 900;
}


body {
    background: #f7f9fa;
    font-family: 'Cera Pro', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #232137;
    font-weight: 400;
}

.container {
    max-width: 420px;
    margin: 0 auto;
    padding: 0 14px 36px 14px;
}

/* ----------- Заголовки ----------- */
.section-title {
    font-size: 1.32rem;
    font-family: 'Cera Pro', Arial, sans-serif;
    font-weight: 700;
    margin: 0 0 13px 0;
    color: #232137;
    letter-spacing: 0.01em;
    line-height: 1.15;
}

/* ----------- Общая карточка ----------- */
.card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 16px 0 rgba(36,41,57,0.07);
    padding: 18px 12px 22px 12px;
    margin-bottom: 22px;
}




/* ----------- Расписание мастеров ----------- */
.timetable-card {
    padding: 12px 2px 4px 2px;
    min-height: 160px;
    overflow-x: auto;
}

.timetable-month {
    text-align: center;
    font-size: 1.07rem;
    font-weight: 600;
    color: #232137;
    border-radius: 4px;
    padding: 2px 14px 2px 8px;
    margin: 0 auto 10px;
}

.timetable-wrapper {
    overflow-x: auto;
}

.timetable {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
    font-size: 0.98rem;
    font-family: 'Cera Pro', Arial, sans-serif;
}

.timetable th,
.timetable td {
    border: 1px solid #f1f1f1;
    text-align: center;
    padding: 6px 2px;
    min-width: 46px;
    position: relative;
}

.timetable th:first-child,
.timetable td:first-child {
    background: none;
    text-align: left;
    padding-left: 4px;
    min-width: 66px;
    color: #232137;
    font-weight: 600;
    border-left: none;
}

.timetable th {
    background: #fafbfc;
    color: #bcbcbc;
    font-weight: 500;
    font-size: 0.96rem;
    border-top: none;
    border-bottom: 2px solid #f1f1f1;
    vertical-align: bottom;
    padding-bottom: 2px;
}

.timetable th div {
    font-size: 1.01rem;
    font-weight: 700;
    color: #232137;
}
.timetable th span {
    display: block;
    font-size: 0.92em;
    color: #bcbcbc;
    margin-top: 1px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.timetable-weekend div,
.timetable-weekend span {
    color: #e72f44 !important;
    font-weight: 700;
}

.cell-time {
    display: inline-block;
    font-size: 0.91rem;
    font-weight: 500;
    line-height: 1.25;
    color: #e72f44;
    background: rgba(231,47,68,0.07);
    border-radius: 4px;
    padding: 2px 7px 2px 7px;
    margin: 2px 0 0 0;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 6px 0 rgba(36,41,57,0.06);
}

.timetable tbody tr td:not(:first-child) {
    background: none;
    border-left: none;
    border-right: none;
}

.timetable tbody tr td:first-child {
    font-weight: 700;
    color: #232137;
}

.timetable tbody tr:last-child td {
    border-bottom: none;
}

/* Скрываем горизонтальный скролл для wrapper на мобильных */
.timetable-wrapper::-webkit-scrollbar {
    display: none;
}
.timetable-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ----------- Акции (промо) ----------- */
.promo-scroll {
    display: flex;
    flex-direction: row;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
    margin-bottom: 5px;
    scroll-snap-type: x mandatory;
}
.promo-scroll::-webkit-scrollbar {
    display: none;
}

.promo-card {
    flex: 0 0 220px;
    min-width: 190px;
    max-width: 240px;
    height: 285px;
    border-radius: 19px;
    background: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px 0 rgba(36,41,57,0.07);
    padding: 13px 11px 45px 11px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    scroll-snap-align: start;
}
.promo-card--yellow .promo-mock-bg {
    background: linear-gradient(135deg, #ffcc56 65%, #f7b24a 100%);
}
.promo-card--pink .promo-mock-bg {
    background: linear-gradient(135deg, #ff7d9c 65%, #f5597a 100%);
}
.promo-mock-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    background-size: cover;
    opacity: 0.88;
}
.promo-card .promo-title {
    position: relative;
    z-index: 1;
    margin-bottom: 7px;
    margin-top: 7px;
}
.promo-card .promo-title span {
    display: block;
    font-size: 1.09rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.01em;
    line-height: 1.1;
    font-family: 'Cera Pro', Arial, sans-serif;
}
.promo-card .promo-title .combo {
    font-size: 1.07rem;
    color: #232137;
    margin-top: -5px;
}

.promo-list {
    position: relative;
    z-index: 1;
    list-style: disc inside;
    padding: 0;
    margin: 4px 0 0 0;
    font-size: 0.93rem;
    color: #232137;
    font-weight: 500;
    opacity: 0.9;
    font-family: 'Cera Pro', Arial, sans-serif;
}
.promo-list li {
    margin-bottom: 1.5px;
    font-size: 0.93rem;
}

.promo-price {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 6px 13px 6px 12px;
    background: #e72f44;
    color: #fff;
    font-size: 1.13rem;
    font-weight: 600;
    border-radius: 0 0 0 12px;
    z-index: 2;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 10px rgba(231,47,68,0.09);
    font-family: 'Cera Pro', Arial, sans-serif;
}

/* Кнопка заказать макет */
.make-layout-btn {
    width: 100%;
    border: none;
    background: #232137;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 600;
    border-radius: 42px;
    margin: 18px 0 0 0;
    padding: 14px 0 10px 0;
    cursor: pointer;
    box-shadow: 0 2px 10px 0 rgba(36,41,57,0.12);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cera Pro', Arial, sans-serif;
    transition: background 0.17s;
}
.make-layout-btn:active { background: #1a1a29; }
.make-layout-btn span {
    color: #fff;
    border-radius: 4px;
    padding: 2px 13px 2px 8px;
    font-size: 1.07rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* ----------- Поддержка ----------- */
.support-block {
    /*background: #fff;*/
    border-radius: 19px;
    /*box-shadow: 0 4px 16px 0 rgba(36,41,57,0.07);*/
    padding: 18px 12px 18px 12px;
    margin: 10px 0 18px 0;
    position: relative;
}
/*.support-block::before {*/
/*    content: "";*/
/*    display: block;*/
/*    position: absolute;*/
/*    top: 0; left: 14px; right: 14px;*/
/*    height: 3px;*/
/*    border-radius: 6px;*/
/*    background: linear-gradient(90deg, #e7e9ed 0%, #fff 100%);*/
/*}*/
.support-info {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 15px 0 22px 0;
    justify-content: center;
}

.support-icon {
    width: 24px;
    min-width: 24px;
    margin-top: 3px;
}
.support-text {
    font-size: 0.99rem;
    color: #67687a;
    font-weight: 500;
    line-height: 1.32;
    letter-spacing: 0.01em;
    max-width: 220px;
    font-family: 'Cera Pro', Arial, sans-serif;
}

/* Кнопка */
.support-btn {
    width: 100%;
    background: #232137;
    color: #fff;
    border: none;
    border-radius: 36px;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 12px 0 9px 0;
    margin: 0 auto 12px auto;
    cursor: pointer;
    display: block;
    box-shadow: 0 2px 10px 0 rgba(36,41,57,0.08);
    font-family: 'Cera Pro', Arial, sans-serif;
    transition: background 0.14s;
}
.support-btn:active { background: #1a1a29; }

/* Мелкий подпункт */
.support-version {
    text-align: center;
    color: #b4bbcc;
    font-size: 0.92rem;
    margin-top: 10px;
    letter-spacing: 0.01em;
    font-family: 'Cera Pro', Arial, sans-serif;
}

@media (max-width: 500px) {
    .container {
        padding: 0 4vw 30px 4vw;
    }
    .card, .support-block {
        padding: 13px 7px 13px 7px;
    }
    .section-title {
        font-size: 1.09rem;
    }
}
* { box-sizing: border-box; }
img, svg { display: block; max-width: 100%; height: auto; }
.app-header {
    display: flex;
    align-items: center;
    padding: 0 14px 0 14px;
    min-height: 60px;
    background: #fff;
    border-radius: 0 0 22px 22px;
    box-shadow: 0 6px 24px 0 rgba(36,41,57,0.09);
    margin: 0 0 20px 0;
    position: relative;
    z-index: 20;
}

.header-menu {
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
    cursor: pointer;
    padding: 0;
    outline: none;
}
.header-menu span {
    display: block;
    width: 28px;
    height: 2.4px;
    background: #232137;
    border-radius: 2px;
    margin: 0 0 6px 0;
}
.header-menu span:last-child {
    margin-bottom: 0;
}

.header-logo-group {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
}
.logo-img {
    display: flex;
    align-items: center;
    gap: 4px;
}
.logo-img svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 1px;
}
.logo-text {
    font-family: 'Cera Pro', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #232137;
    letter-spacing: -0.04em;
    margin-left: -3px;
}

.header-address {
    font-family: 'Cera Pro', Arial, sans-serif;
    font-size: 1.05rem;
    color: #232137;
    font-weight: 500;
    margin-left: 10px;
    margin-right: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}
.header-arrow {
    color: #232137;
    font-size: 1.15rem;
    font-weight: 600;
    margin-left: 4px;
    margin-right: 0;
    line-height: 1;
}

/* mobile-friendly */
@media (max-width: 430px) {
    .app-header { padding: 0 6px 0 6px; min-height: 53px; }
    .header-menu { width: 33px; height: 33px; }
    .header-menu span { width: 23px; height: 2px; }
    .header-address {  font-size: 0.95rem; }
    .logo-text { font-size: 0.99rem; }
}
