@font-face {
    font-family: 'Montserrat-ExtraBold';
    src: url('/wp-content/themes/pb-theme/fonts/Montserrat/Montserrat-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}


#new-hero .container {
    display: flex;
    justify-content: space-between;
    margin: 60px auto;
    font-weight: 600;
    font-size: 14px;
    font-family: Montserrat;
    color: black;
}

#new-hero .left {
    width: 55%;
    padding-right: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

#new-hero .left .new-hero-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#new-hero .left .new-hero-list .popular {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF5252 100%);
    color: white;
    animation: pulse 2s ease-in-out infinite;
    animation-delay: 0.1s;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

#new-hero .left .new-hero-list>div {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
    padding: 5px 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 300;
    line-height: 1.3em;
}

#new-hero .left .desc {
    font-weight: 400;
    margin: 10px 0;
    font-family: 'Montserrat-Regular';
}

#new-hero .left .new-hero-list>div strong {
    font-family: Montserrat-Regular;
    font-weight: bold;
}

#new-hero .left h2 {
    font-weight: 700;
    font-size: 26px;
    line-height: 156%;
    color: black;
}

#new-hero .left h1 {
    font-weight: 800;
    font-size: 40px;
    line-height: 109%;
    text-transform: uppercase;
    color: #a0817f;
    font-family: Montserrat-ExtraBold;
}

#new-hero .left ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 40px;
    width: 80%;
}

#new-hero .left ul li {
    display: flex;
    align-items: center;
    font-family: Montserrat-Regular;
    font-weight: bold;
    width: calc(50% - 20px);
}

#new-hero .left .img-wrap {
    width: 80%;
    position: relative;
}

#new-hero .left .img-wrap img {
    border-radius: 10px;
    width: 100%;
    object-fit: cover;
    max-height: 300px;
}

#new-hero .left .img-wrap div {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 16px;
    font-family: Montserrat-regular;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 5px #656565;
}

#new-hero .left .new-hero-list2 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#new-hero .left .new-hero-list2>div {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 300;
    border-radius: 10px;
}

#new-hero .left .new-hero-list2>div p {
    font-weight: 300;
}

#new-hero .left .new-hero-list2>div strong {
    font-family: Montserrat-regular;
    font-weight: bold;
}

#new-hero .right {
    padding: 40px 40px 10px;
    width: 45%;
    border-radius: 20px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
}

#new-hero .right h2 {
    background: #816867;
    display: block;
    text-align: center;
    padding: 15px;
    border-radius: 50px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
    font-family: Montserrat-Regular;
    font-size: 20px;
    margin-bottom: 20px;
}

#new-hero .right .old-price {
    text-align: center;
    font-weight: 500;
    font-size: 20px;
    line-height: 219%;
    color: #8b8b8b;
    text-transform: uppercase;
    text-decoration: line-through;
}

#new-hero .right .new-price {
    text-align: center;
    font-weight: 800;
    font-size: 40px;
    line-height: 109%;
    text-transform: uppercase;
    font-family: Montserrat-ExtraBold;
}

#new-hero .right .dop-text {
    text-align: center;
    line-height: 312%;
    text-transform: uppercase;
}

#new-hero .right .dop-text p {
    font-weight: 300;
}

#new-hero .right .dop-text span {
    font-weight: 700;
    color: #dc2626;
    font-family: Montserrat-Regular;
}

#new-hero .right h3 {
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    font-family: Montserrat-ExtraBold;
    margin-bottom: 20px;
}

#new-hero .right h5 {
    margin: -5px 0 20px;
    text-align: center;
    font-weight: 300;
    font-size: 13px;
}

#new-hero .right .after-form {
    font-size: 13px;
    color: #626262;
    display: block;
    text-align: center;
    padding: 20px 0;
    
    font-weight: 400;
    font-family: 'Montserrat-Regular';
}

#new-hero .right ul {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
}

#new-hero .right ul li {
    width: 33%;
    width: fit-content;
    display: flex;
    font-weight: 500;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}

#new-hero .right input {
    height: 50px;
    padding-left: 15px;
    border: 1px solid #959595;
    border-radius: 10px;
    font-family: Montserrat-regular;
    width: 100%;
    margin-bottom: 20px;
}

#new-hero .right input[type="submit"] {
    background: #a0817f;
    font-weight: 600;
    font-size: 20px;
    color: #fff;
    font-family: Montserrat-Regular;
    text-align: center;
    margin: 0;
    cursor: pointer;
    margin-top: 15px;
}

#new-hero .right [data-name="acceptance-974"] {
    font-family: 'Montserrat-Regular';
}

#new-hero .right [data-name="acceptance-974"] label {
    display: flex;
    align-items: center;
    gap: 10px;
}

#new-hero .right [data-name="acceptance-974"] input {
    width: 18px;
    height: 18px;
    flex: none;
    padding: 0;
    border-radius: 5px;
    margin: 0;
    pointer-events: auto !important;
    opacity: 1 !important;
    position: static !important;
    z-index: 9999 !important;
    -webkit-appearance: checkbox;
}

#new-hero .right .wpcf7-list-item {
    margin: 0;
}

#new-hero .right .wpcf7-not-valid-tip {
    font-family: Montserrat-Regular;
}

#new-hero .right input[name="your-time"]{
    display: none;
}



@media (max-width: 1024px) {

    #new-hero .desk{
        display: none!important;
    }

    #new-hero .mobile{
        display: flex!important;
    }

    #new-hero .mobile > div{
        border-radius: 10px!important;
    }

    #new-hero .container {
        flex-direction: column;
        gap: 30px;
    }

    #new-hero .left {
        position: static !important;
    }

    #new-hero .left,
    #new-hero .right {
        width: 100%;
    }
}

@media (max-width: 768px) {
    #new-hero .left .new-hero-list {
        gap: 10px;
    }

    #new-hero .mobile{
        display: none!important;
    }

    .new_frstScr-mobile{
        display: none!important;
    }

    #new-hero .left {
        padding-right: 0;
        gap: 10px;
    }

    #new-hero .left h2 {
        font-size: 18px;
        line-height: 1.3em;
    }

    #new-hero .right [data-name="acceptance-974"] label{
        gap: 13px;
    }

    #new-hero .left h1 {
        font-size: 28px;
        font-family: 'Montserrat-Medium';
    }

    #new-hero .left ul {
        width: 100%;
        gap: 15px;
    }

    #new-hero .left ul li {
        gap: 10px;
        font-weight: 400;
    }

    #new-hero .left ul li span:first-child {
        font-size: 18px;
    }

    #new-hero .left .img-wrap div{
        text-shadow: 0 0 10px #1a1a1a;
    }

    #new-hero .left .img-wrap img{
        max-height: 250px;
    }

    #new-hero .left .img-wrap {
        width: 100%;
    }

    #new-hero .container {
        margin: 30px auto;
    }

    #new-hero .left .new-hero-list2 {
        flex-wrap: wrap;
        gap: 10px;
    }

    #new-hero .right {
        padding: 20px;
    }

    #new-hero .right h2 {
        font-size: 15px;
        padding: 10px;
    }

    #new-hero .right h3 {
        font-size: 18px;
    }

    #new-hero .right .new-price{
        font-size: 36px;
    }

    #new-hero .right ul {
        gap: 10px;
        line-height: 1.2em;
        justify-content: space-between;
    }

    #new-hero .right ul li {
        gap: 10px;
        width: 33%;
    }

    #new-hero .right ul li span:first-child {
        font-size: 18px;
    }

    #new-hero .right input[type="submit"] {
        font-size: 16px;
    }
}



/* НОВОЕ: Счётчик мест */
.spots-badge {
    background: #FFF9E6;
    border: 2px solid #FFD700;
    color: #B8860B;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.spots-number {
    font-size: 20px;
    color: #FF5252;
}

.btn-whatsapp {
    width: 100%;
    background: #25D366;
    color: #FFFFFF;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* НОВОЕ: Живой таймер акции */
.timer-badge {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF5252 100%);
    color: #FFFFFF;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: 0.5px;
}

.timer-text {
    display: block;
    margin-bottom: 6px;
    font-size: 10px;
    opacity: 0.9;
}

.timer-countdown {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer-value {
    font-weight: 800;
    font-size: 24px;
    min-width: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 4px;
}

.timer-label {
    font-size: 9px;
    opacity: 0.8;
    margin-top: 2px;
}



/* === КАРУСЕЛЬ ДО/ПОСЛЕ === */
.carousel-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-bottom: 20px;
    height: 240px;
    background: #000;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
}

.before-after-container {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

.ba-image-wrapper {
    position: relative;
    overflow: hidden;
}

.ba-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95);
}

.ba-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
}

.ba-divider {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #FFFFFF;
    transform: translateX(-50%);
    z-index: 3;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.ba-divider::before {
    content: '⟷';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FFFFFF;
    color: #000;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    padding: 16px;
    color: #FFFFFF;
    z-index: 4;
}

.caption-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.caption-text {
    font-size: 11px;
    opacity: 0.9;
}

/* Навигационные кнопки */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 18px;
    color: #000;
}

.carousel-nav:hover {
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-nav.prev {
    left: 12px;
}

.carousel-nav.next {
    right: 12px;
}

/* Индикаторы */
.carousel-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #FFFFFF;
    width: 24px;
    border-radius: 4px;
}

/* Подсказка для свайпа */
.swipe-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
    animation: swipeHint 2s ease-in-out 0.5s 3;
    opacity: 0;
}

.swipe-hint-icon {
    font-size: 48px;
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

@keyframes swipeHint {

    0%,
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translateX(0);
    }

    10%,
    40% {
        opacity: 1;
    }

    50% {
        opacity: 0;
        transform: translate(-50%, -50%) translateX(-30px);
    }
}

/* Счетчик слайдов */
.slide-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    z-index: 10;
}




/* НОВОЕ: Калькулятор экономии */
.savings-calculator {
    background: #F0F8FF;
    border: 2px dashed #4A90E2;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.savings-title {
    font-size: 11px;
    color: #4A90E2;
    margin-bottom: 6px;
    font-weight: 600;
}

.savings-amount {
    font-size: 24px;
    font-weight: 800;
    color: #2ECC71;
}

.savings-text {
    font-size: 10px;
    color: #666;
    margin-top: 4px;
}



/* НОВОЕ: Всплывающие уведомления о записях */
.notification-popup {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #FFFFFF;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    max-width: 320px;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-popup.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-name {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 2px;
}

.notification-text {
    font-size: 11px;
    color: #666;
}

.notification-time {
    font-size: 10px;
    color: #999;
    margin-top: 4px;
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}


/* НОВОЕ: Выбор времени */
.time-slots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.time-slot {
    padding: 10px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Montserrat-Regular';
}

.time-slot p{
    display: inline;
}

.time-slot:hover {
    border-color: #000000;
    background: #F5F5F5;
}

.time-slot.selected {
    background: #000000;
    color: #FFFFFF;
    border-color: #000000;
}

.time-slot.unavailable {
    opacity: 0.3;
    cursor: not-allowed;
}