.product-content{
    margin-top: 60px;
    padding-bottom: 140px;
}

.product-content .search{
    gap: 40px;
    margin-bottom: 40px;
    grid-column: 1 / span 12;
}

.breadcrumbs {
    margin-top: 0 !important;
    margin-bottom: 40px;
}
.product-content .search .search-block{
    margin-top: 0;
}
.product-content .container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);

}

.product-content .left-part{
    grid-column: 1 / span 7;
}


.product-content .right-part{
    grid-column: 8 / span 5;
    padding: 10px 40px;
}

.product-content .image-block{
    aspect-ratio: 987/582;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    background: var(--grey-bg);
    display: flex;
    justify-content: center;
}

.product-content .image-block.vertical{

}

.product-content .image-block.vertical video{
    height: 100%;
    margin: 0 auto;
    display: block;
}

.product-content .image-block img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.product-content .image-block .date-block{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--black-60);
    padding: 17px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-content .image-block .show-full{
    cursor: pointer;
}

.product-content .image-block .date{
    color: var(--white);
    font-size: 18px;
    font-weight: 500;
}


.product-content .message-block{
    background: rgba(86, 167, 242, 0.12);
    padding: 18px 16px;
    border-radius: 10px;
    border: 1px solid rgba(86, 167, 242, 0.15);
    display: flex;
    gap: 8px;
    margin-top: 24px;
}

.product-content .message-block .main-text-semibold{
   margin-bottom: 6px;
}

.product-content .description-block{
    margin-top: 60px;
}

.product-content .description-block .title-3{
    margin-bottom: 32px;
}

.product-content .description-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--grey);
}

.product-content .description-block.expanded .description-text {
    display: block;
}

.product-content .toggle-btn {
    display: none; 
    background: none;
    border: none;
    color: var(--accent-1);
    cursor: pointer;
    margin-top: 16px;
    font-weight: 600;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.product-content .description-block.expanded .toggle-btn svg{
    transform: rotate(180deg);
}

.product-content .related-items{
    margin-top: 80px;
    position: relative;
}

.product-content .title-2{
    margin-bottom: 10px;
    color: var(--black);
}

.product-content .title-block{
    padding-bottom: 24px;
    border-bottom: 1px solid var(--very-light-grey);
}

.product-content .title-block .subtitle{
    color: var(--grey);
}

.product-content .price-block{
    margin-top: 60px;
}

.product-content .price-block .labels{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-content .price-block .labels .main-text-medium{
    color: var(--grey);
}

.product-content .price-block .labels p:last-child{
    color: var(--accent-1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-content .price-block .labels p:last-child span{
    text-decoration: underline;
}

.product-content .price-block .price{
    margin-top: 36px;
}


.custom-radio input[type="radio"] {
    appearance: none; 
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}



.custom-radio input[type="radio"]:checked + .radio-label::before {
    border-color: var(--accent-1);
}

.custom-radio .radio-label {
    position: relative;
    display: flex;
    align-items: center;
    position: relative;
    gap: 19px;
    color: var(--black);
}

.custom-radio {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.custom-radio .radio-label::before {
    content: "";
    width: 27px;
    height: 27px;
    border-radius: 50%;
    border: 2px solid #636366;
    display: inline-block;
    transition: all 0.3s ease;
    background-color: #fff;
    position: relative;
    box-sizing: border-box;
    margin: 2.5px;
}

.custom-radio .radio-label::after {
    content: "";
    width: 13px;
    height: 13px;
    background-color: var(--accent-1);
    border-radius: 50%;
    position: absolute;
    left: 9.5px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    transition: transform 0.3s ease;
}

.custom-radio input[type="radio"]:checked + .radio-label::after {
    transform: translateY(-50%) scale(1);
}

.product-content .price-text{
    text-align: right;
    color: var(--black);
}

.product-content .license-description{
    margin-top: 13px;
    color: var(--grey);
    grid-column: 1 / span 2;
    max-width: 480px;
    margin-bottom: 24px;
    margin-left: 44px;
}

.product-content .buy-btns{
    display: flex;
    gap: 12px;
    margin-top: 36px;
}

.product-content .buy-btns *{

    width: 100%;
    text-align: center;
}


.product-content .buy-btns button:first-child{
    background: radial-gradient(58.07% 116.15% at 38.12% -16.15%, #EE6629 0%, #EE5B18 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
    color: var(--white);
}

.product-content .buy-btns button:first-child:hover{
    background: var(--accent-2);
}

.product-content .buy-btns button:last-child:hover{
    border-color: var(--accent-2);
    color: var(--accent-2);
}


.product-content .buy-btns button:last-child{
    border: 1px solid var(--accent-1);
    color: var(--accent-1);
}

.product-content .details-block{
    margin-top: 60px;
    border-top: 1px solid var(--very-light-grey);
}

.product-content .details{
    margin-top: 32px;
}

.product-content .detail{
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--very-light-grey);
    display: grid;
    grid-template-columns: 1fr 1fr;
}


.product-content .detail .main-text-medium {
    color: var(--grey);
}

.product-content .right-part .image-block{
    display: none;
}

.product-content .detail:last-child{
    border-bottom: 0;
}

.product-content .message-text{
    width: 100%;
    color: #014361;
    align-items: center;
    display: flex;
}

.product-content #popup-button {
    margin-top: 32px;
    margin-bottom: 8px;
}

@media (max-width: 1919px) {
    .product-content {
        margin-top: 48px;
        padding-bottom: 100px;
    }

    .product-content .image-block .date-block{
        padding: 14px 24px;
    }

    .product-content .message-block{
        margin-top: 20px;
    }

    .product-content .description-block {
        margin-top: 40px;
    }

    .product-content .description-text{
        -webkit-line-clamp: 5;
    }
    .product-content .related-items {
        margin-top: 63px;
    }

    .product-content .container {
        column-gap: 16px;
    }

    .product-content .right-part{
        padding: 10px 32px;
    }

    .product-content .price-block {
        margin-top: 48px;
    }

    .product-content .price-block .price {
        margin-top: 32px;
    }

    .custom-radio .radio-label{
        gap: 15px;
    }

    .product-content .license-description{
        margin-top: 3px;
        max-width: 400px;
    }

    .product-content .buy-btns{
        margin-top: 24px;
    }

    .product-content .details-block{
        margin-top: 48px;
    }

}

@media (max-width: 1439px) {
    .product-content {
        margin-top: 48px;
        padding-bottom: 80px;
    }
    .product-content .message-block {
        margin-top: 16px;
    }

    .product-content .description-block .title-3 {
        margin-bottom: 24px;
    }

    .product-content .right-part {
        padding: 10px 20px;
    }

    .product-content .price-block {
        margin-top: 40px;
    }

    .custom-radio .radio-label {
        gap: 12px;
    }

    .product-content .license-description{
        margin-left: 41px;
        max-width: 373px;
    }
    .product-content .details-block{
        margin-top: 40px;
    }

    .breadcrumbs {
        margin-top: 0 !important;
        margin-bottom: 32px;
    }

    .product-content .search{
        margin-bottom: 32px;
    }
}

@media (max-width: 1279px) {
    .product-content {
        margin-top: 40px;
        padding-bottom: 80px;
    }

    .product-content .container{
        display: flex;
        flex-direction: column-reverse;
        gap: 0;
    }

    .breadcrumbs {
        order: 1;
    }

    .product-content .search {
        margin-bottom: 32px;
        order: 2;
    }


    .product-content .right-part .image-block{
        display: flex;
    }

    .product-content .left-part .image-block{
        display: none;
    }

    .product-content .title-block{
        margin-bottom: 32px;
        padding-bottom: 0;
        border-bottom: none;
    }

    .product-content .image-block .date-block {
        padding: 10px 24px;
    }

    .product-content .right-part {
        padding:0;
    }

    .product-content .price-block .labels{
        padding: 9px 0;
    }

    .product-content .price-block .price {
        margin-top: 20px;
    }

    .product-content .license-description{
        max-width: 480px;
    }

    .product-content .buy-btns{
        z-index: 100;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 24px 40px;
        box-shadow: 0px -4px 12px 0px rgba(198, 198, 209, 0.36);

    }
    .product-content .details-block{
        padding-top: 0;
        margin-top: 0px;
        border-top: 0;
    }

    .product-content .message-block {
        margin-top: 0;
    }

    .product-content .message-block{
        padding: 10px 16px;
    }

    .product-content .message-text{
        padding: 8px 0;
    }

    .product-content .message-block svg{
        margin: 7px 0;
    }

    .product-content .description-block {
        margin-top: 60px;
    }

    .product-content .description-block .title-3 {
        margin-bottom: 32px;
    }

    .product-content .toggle-btn{
        padding: 8px 0;
    }

    .product-content .related-items {
        margin-top: 47px;
    }
    .product-content .toggle-btn{
        font-size: 16px;
    }

    .product-content .image-block .show-full{
        display: none;
    }

    .product-content .contact-to-buy-wr{
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0px -4px 12px 0px #C6C6D15C;
        z-index: 100;
    }

    .product-content .contact-to-buy-wr #contact-to-buy{
        display: block;
        margin: 0 auto;
        margin-top: 24px;
        margin-bottom: 32px;
    }
}

@media (max-width: 767px) {
    .product-content {
        margin-top: 24px;
        padding-bottom: 60px;
    }

    .product-content .right-part{
        display: flex;
        flex-direction: column;
    }

    .product-content .image-block{
        order: 0;
        margin: 0 -16px;
        border-radius: 0;
    }

    .product-content .title-block{
        order: 1;
        margin-top: 24px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--very-light-grey);
        margin-bottom: 24px;
    }

    .product-content .price-block{
        order: 2;
        margin-top: 0;
    }

    .product-content .details-block{
        order: 3;
    }
    .product-content .image-block .date-block{
        display: none;
    }
    .product-content .message-block {
        padding: 17px 12px;
    }


    .product-content .buy-btns{
        padding: 20px 16px;
    }

    .product-content .search {
        margin-bottom: 24px;
    }

    .breadcrumbs {
        margin-top: 0 !important;
        margin-bottom: 24px;
    }
}


/* Modal */


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--black-60);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.modal video {
    width: 100%;
}

.modal-content {
    position: relative;
    max-width: 1356px;
    height: auto;
}

.modal-content img {
    width: auto;
    max-width: 100%;
    max-height: 800px;
    display: block;
    border-radius: 10px;
}


.close {
    position: absolute;
    top: 0;
    right: -52px;
    cursor: pointer;
}


body.no-scroll {
    overflow: hidden;
}


@media (max-width: 1919px) {
    .modal-content {
        max-width: 920px;
    }
}

@media (max-width: 1439px) {
    .modal-content {
        max-width: 840px;
    }
}


/* 
Slider */




.product-content .product-item img{
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.product-content .product-item .category{
    color: var(--grey);
    margin-top: 10px;
}

.product-content .swiper .price-block{
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.product-content .price-block .main-text-medium{
    color: var(--grey);
    padding-right: 10px;
}


.product-content .swiper-button-next:after, .product-content .swiper-button-prev:after{
    display: none;
}

.product-content .nav{
    display: flex;
    gap: 10px;
}

.product-content .title-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.product-content .swiper-button-next, .product-content .swiper-button-prev{
    position: static;
    width: auto;
    height: 38px;
    display: block;
    margin: 0;
}
.swiper-wrapper{
    align-items: stretch;
}

.product-content .product-item{
    border: 1px solid var(--very-light-grey);
    border-radius: 10px;
    margin-bottom: 1px;
    overflow: hidden;
    height: initial;
}
.product-content .item-info{
    padding: 32px 24px;
    border-top: 1px solid var(--very-light-grey);
    margin-top: -5px;
}

.product-content .swiper-pagination{
    display: none;
}

.product-content {
  overflow: hidden;
}
@media (max-width: 1919px) {

    .product-content .product-item img{
        height: 16.667vw;
    }

    .product-content .item-info{
        padding: 24px 20px;
    }
}

@media (max-width: 1439px) {
    .product-content .title-wrapper{
        margin-bottom: 40px;
    }

    .product-content .product-item img{
        height: 16.5625vw;
    }

    .product-content .swiper .price-block{
        margin-top: 12px;
    }
}

@media (max-width: 1279px) {

    .product-content .title-wrapper {
        margin-bottom: 32px;
    }


  
    .product-content .product-item img{
        height: 26.04166vw;
    }

   
    .product-content .swiper-pagination-bullet-active{
        background: #FF5E32 !important;
    }
}

@media (max-width: 767px) {
    .product-content .product-item img{
        height: 53.3333vw;
    }

    .product-content .item-info {
        padding: 24px 16px;
    }

    .product-content .swiper-pagination{
        left: 16px;
    }
    .product-content .swiper-pagination{
        display: flex;
        bottom: -32px;
        left: 0;
    }
    .product-content .nav{
        display: none;
    }
}



/*toast styles*/
.cart-toast {
    position: fixed;
    top: 40px;
    border-radius: 10px;
    padding: 16px 18px;
    background-color: var(--white);
    color: var(--black);
    border:1px solid var(--light-grey);
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display:flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 420px;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    opacity: 0;
    right: -450px;
}

.cart-toast-content{
  display: flex;
  gap: 12px;
}

.cart-toast-text{
  display:inline-block;
  padding-top: 6px;
}

#cart-toast-close{
  cursor: pointer;
}

.cart-toast.active{
  opacity: 1;
  right: 20px;
}



@media screen and (max-width: 1439px) {
  .cart-toast {
      font-size: 12px;
  }
}

@media screen and (max-width: 1079px) {
  .cart-toast {
      width: 400px;
      margin-right: 5%;
  }

  .cart-toast.active{
      transform:translateX(10px);
  }
}

@media screen and (max-width: 576px) {
  .cart-toast {
      width: 90%;
      max-width: 400px;
      margin-right: 1%;
  }

}











/* BUY POPUP */

.app-demo-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #4c505a80;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
    z-index: 1000;
}

.app-demo-popup .box {
    display: grid;
    grid-template-columns: auto auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 10px;
    max-height: 90%;
    overflow-y: auto;
}

.app-demo-popup .aside {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-direction: column;
    width: 440px;
    padding: 40px;
    background: var(--black);
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
    color: var(--white);
}

.app-demo-popup form {
    width: 600px;
    padding: 40px 32px;
}

.app-demo-popup .box .close-btn {
    color: #dc3232;
    font-size: 1em;
    font-weight: normal;
    display: block;
    position: absolute;
    font-size: 12px;
    padding-top: 2px;
    right: 12px;
    top: 12px;
}

.app-demo-popup .aside .heading {
    font-weight: 700;
    font-size: 24px;
    color: var(--main-white);
}

.app-demo-popup span[data-name="use"] .wpcf7-not-valid-tip{
    bottom: -20px;
}

.app-demo-popup .aside .footer {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: column;
    row-gap: 24px;
    padding: 0;
}

.app-demo-popup .aside .footer__heading {
    font-size: 16px;
    font-weight: 600;
    color: var(--main-white);
}

ul {
    padding-left: 0;
}

.app-demo-popup .aside .footer__list .list-item:not(:last-of-type) {
    border-bottom: 1px solid var(--dark-grey);
    white-space: pre-line;
    padding-bottom: 14px;
}

.app-demo-popup .aside .footer__list {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: column;
    row-gap: 14px;
    color: var(--grey-60);
    list-style: none;
    margin: 0;
}

.app-demo-popup .aside .footer__list.list-item {
    padding-bottom: 6px;
}

.app-demo-popup .top-fields {
    display: grid;
    align-items: start;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 26px;
    margin-bottom: 26px;
}

.app-demo-popup .top-fields>p, .app-demo-popup .top-fields+p, .app-demo-popup .top-fields~p:nth-of-type(1) {
    position: relative;

}

.app-demo-popup .top-fields input, .app-demo-popup select, .app-demo-popup .other-variant input {
    border: 1px solid var(--light-grey);
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 16px;
    background: transparent;
    width: 100%;
}


.app-demo-popup .other-variant{
    margin-top: 13px;
    display: none;
}
.app-demo-popup .top-fields>p:first-child{
grid-column: 1 / span 2;
}
.app-demo-popup select{
    outline: none;
    appearance: none; /* Disable the default arrow */
    -webkit-appearance: none; /* For WebKit-based browsers */
    -moz-appearance: none; /* For Firefox */
    background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 9L12 15L18 9" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    cursor: pointer;
}

.app-demo-popup textarea{
    height: 48px;
    min-height: 48px;
    border: 1px solid rgba(166, 168, 176, 1);
    border-radius: 6px;
    padding: 11px 16px;
    font-size: 16px;
    background: transparent;
    color: var(--main-black);
    width: 100%;
    resize: vertical;
    overflow-y: hidden;
}

.app-demo-popup label {
    position: absolute;
    top: 23px;
    left: 6px;
    font-size: 16px;
    transform: translateY(-50%);
    padding: 0 14px 0 4px;
    color: var(--grey);
    transition: all 0.25s ease-in-out;
}

.app-demo-popup .message-disclaimer {

    margin-bottom: 16px;
    margin-top: 31px;
}

.app-demo-popup .message-disclaimer p{
    font-weight: 700;
}

.app-demo-popup .message-disclaimer p span{
    font-weight: 400;
    color: var(--accent-1);
    margin-left: 6px;
}

.app-demo-popup span[data-name="use"] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.app-demo-popup span[data-name="use"] label{
    position: static;
    transform: none;
    padding: 0;
    height: fit-content;
    display: block;
}

.app-demo-popup span[data-name="use"] .wpcf7-list-item{
    margin: 0;
    display: block;
    padding: 4px;
}


.use-checkboxes .wpcf7-list-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.use-checkboxes input[type="checkbox"] {
    display: none;
}

.use-checkboxes .wpcf7-list-item-label {
    position: relative;
    padding-left: 36px; 
    cursor: pointer;
    color: var(--dark-grey);
    font-weight: 500;
    display: block;
}

.use-checkboxes .wpcf7-list-item-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: 1px solid var(--light-grey); 
    border-radius: 6px; 
    background: white;
    transition: all 0.2s;
}

.use-checkboxes input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
    background: var(--accent-1); 
    border-color: var(--accent-1); 
}

.use-checkboxes input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
    content: url("/wp-content/themes/voka-shop/assets/icons/check.svg");
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: white;
    font-weight: bold;
}

.app-demo-popup label::after{
    position: absolute;
    top: -2px;
    right: 4px;
    display: block;
    content: '*';
    color: var(--accent-1);
}
.app-demo-popup span[data-name="use"] label::after{
    display: none;
}
.app-demo-popup label.focused {
    top: -9px;
    font-size: 10px;
    background: var(--white-bg);
    z-index: 2;
}

.contact-us select::placeholder {
    color: var(--secondary-black);
}

.app-demo-popup form .text {
    color: var(--secondary-black);
    margin-top: 12px;
}

.app-demo-popup form .text a {
    text-decoration: none;
}

.app-demo-popup form .cta {
    margin: 31px 0 0 0;
    border: none;
    z-index: 4;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.app-confirm-popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #4c505a80;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    display: none;
}

.app-confirm-popup .box-conf {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    position: fixed;
    top: 240px;
    left: 50%;
    transform: translate(-50%);
    background-color: var(--white);
    border-radius: 10px;
    color: var(--black);
    padding: 48px 40px 40px;
    text-align: center;
    width: 600px;
}

.app-confirm-popup .box-conf .heading {
    font-weight: 600;
    font-size: 26px;
    line-height: 36px;
    width: 100%;
    margin-bottom: 16px;
    color: var(--black);
}

.app-confirm-popup .box-conf .main-text {
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    color: var(--grey);
}

.app-confirm-popup .cta {
    font-size: 20px;
    font-weight: 500;
    line-height: 27px;
    margin: 40px auto 0;
    border: none;
    color: var(--white);
    border-radius: 8px;
    padding: 14px 32px;
    outline: none;
    background: var(--accent-1);
}

.app-confirm-popup .box-conf .main-text a{
    color: var(--accent-1);

}

.wpcf7 form.sent .wpcf7-response-output{
    display: none !important;
}

#end_text {
    font-weight: 500;
    font-size: 14px;
    line-height: 19px;color: var(--grey);
    margin-top: 31px;
    width: 100%;
}

#end_text a {
    text-decoration: underline;
    color: var(--accent-1);
}

.submit-block{
    display: flex;
    gap: 16px;
}


.submit-block > p:last-child{
    width: fit-content;
}

 #footer_popup {
    display: none;
} 

#footer_popup.active {
    display: block;
}

.wpcf7-form p {
    width: 100%;
}

.app-demo-popup a:visited {
    color: #6189d7;;
}

.app-demo-popup .app-input{
    position: relative;
}

/* .app-demo-popup .box form .wpcf7-not-valid, .app-demo-popup .box form .wpcf7-not-valid + .select2-container {
    border: 1px solid red;
} */

.wpcf7-spinner, #footer_popup .wpcf7-not-valid-tip {
    position: absolute;
    padding-top: 2px;
    font-size: 10px;
}

.app-demo-popup .g-link:after {
    display: none;
}

.app-demo-popup .text {
    color: var(--secondary-black);
}

#footer_popup.sent .app-demo-popup {
    display: none;
}

#footer_popup.sent .app-confirm-popup {
    display: block;
}

.app-demo-popup .aside .footer__list .list-item span {
    font-size: 13px;
    font-weight: inherit;
    line-height: 1;
    color: var(--white);
    background: var(--accent-1);
    border-radius: 50px;
    height: 20px;
    min-width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-demo-popup .aside .footer__list .list-item {
    display: flex;
    gap: 10px;
}








.app-demo-popup .custom-select {
    position: relative;
    width: 100%;
}

/* Скрываем стандартный select */
.app-demo-popup .custom-select select {
    display: none;
}

/* Отображаемый кастомный блок */
.app-demo-popup .select-selected {
    background-color: white;
    border: 1px solid var(--light-grey);
    border-radius: 6px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    color: var(--grey);
}

.app-demo-popup .select-selected span{
    margin-left: 6px;
    color: var(--accent-1);
}

/* Отображаемый кастомный блок */
.app-demo-popup .select-selected.selected{
    color: inherit;
}

/* Стрелка вниз */
.app-demo-popup .select-selected::after {
    content: url("/wp-content/themes/voka-shop/assets/icons/arrow.svg");;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #007bff;
}

/* Выпадающий список */
.app-demo-popup .select-items {
    position: absolute;
    background-color: white;
    width: 100%;
    border: 1px solid var(--light-grey);
    border-radius: 6px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 99;
    top: 54px;
}

/* Стили для пунктов */
.app-demo-popup .select-items div {
    padding: 13px;
    cursor: pointer;
    transition: background 0.3s;
}

.app-demo-popup .select-items div:hover {
    background-color: #007bff;
    color: white;
}

/* Показываем список, когда он открыт */
.app-demo-popup .select-items.active {
    display: block;
}



@media screen and (max-width: 1919px) {
    .app-demo-popup .aside {
        padding: 40px;
    }



    .app-demo-popup form {
        padding: 40px;
        width: 560px;
    }

    .app-demo-popup form .app-input input {
        font-size: 14px;
        height: 48px;
    }

    .app-demo-popup .field-label {
        font-size: 16px;
    }

    .app-confirm-popup .box-conf .heading {
        font-size: 24px;
        line-height: 33px;
        margin-bottom: 14px;
    }

    .app-confirm-popup .box-conf .main-text {
        font-size: 18px;
        line-height: 25px;
    }
}

@media screen and (max-width: 1439px) {
    .app-demo-popup form .text {
        margin-top: 8px;
    }

    .app-demo-popup form .cta {
        height: 50px;
        font-size: 16px;
    }

    .app-confirm-popup .box-conf {
        padding: 40px 40px 32px;
        width: 520px;
    }

    .app-confirm-popup .box-conf .heading {
        font-size: 20px;
        line-height: 27px;
    }

    .app-confirm-popup .box-conf .main-text {
        font-size: 16px;
        line-height: 22px;
    }

    .app-confirm-popup .cta {
        margin-top: 32px;
        font-size: 16px;
        line-height: 22px;
    }
    .app-demo-popup .aside .heading{
        font-size: 20px;
    }
    .app-demo-popup .aside .heading br{
        display: none;
    }
}

@media screen and (min-width: 1080px) and (max-height: 728px) {
    .app-demo-popup .box {
        max-height: unset;
    }
}

@media screen and (max-width: 1279px) {
    .app-demo-popup .box {
        width: 560px;
        grid-template-columns: 1fr;
    }

    .app-demo-popup .aside {
        width: 100%;
        border-top-right-radius: inherit;
        border-bottom-left-radius: 0;
        padding: 40px 32px;
        background: var(--white);
        text-align: center;
        color: var(--black);
    }

    .app-demo-popup .aside .footer {
        display: none;
    }

    .app-demo-popup form {
        width: 100%;
        padding: 0 32px 40px 32px;
    }

    .app-confirm-popup .box-conf {
        width: 480px;
    }

    .app-confirm-popup .box-conf .heading {
        font-size: 18px;
        line-height: 25px;
        margin-bottom: 16px;
    }

    .app-demo-popup .box .close-btn svg path{
        stroke: var(--main-white)
    }

    .app-demo-popup form .text {
        margin-top: 0;
    }

    .app-demo-popup span[data-name="use"] {
        grid-template-columns: 1fr;
    }

    .product-content #popup-button {
        display: block;
        margin: 0 auto;
        margin-top: 24px;
        margin-bottom: 32px;
    }
}

@media screen and (max-width: 577px) {
    .app-demo-popup .box {
        width: 100%;
        top: 0;
        left: 0;
        right: 0;
        min-height: 100vh;
        border-radius: 0;
        transform: translate(0);
        display: flex;
        flex-direction: column;
    }

    .app-demo-popup .aside {
        border-radius: 0;
        padding: 48px 16px 0px;
    }

    .app-demo-popup .aside .heading {
        font-size: 20px;
        text-align: center;
    }

    .app-demo-popup form {
        padding: 24px 16px;
    }

    .app-demo-popup .top-fields p {
        grid-column: 1 / span 2;
    }

    .app-demo-popup form .app-input input {
        font-size: 16px;
        height: 52px;
    }

    .app-demo-popup form .cta {
        width: 100% !important;
        margin-top: 16px;
    }

    .app-confirm-popup .box-conf {
        width: calc(100% - 32px);
    }

    .app-confirm-popup .box-conf .heading {
        font-size: 20px;
        line-height: 27px;
    }

    #end_text {
        font-weight: 400;
        font-size: 12px;
        line-height: 16px;
    }

    .app-demo-popup .text {
        width: 100%;
    }

    .submit-block{
        flex-direction: column;
    }

    .submit-block > p:last-child {
        width: 100%;
    }

    .product-content #popup-button {
        display: block;
        margin: 0 16px;
        margin-top: 20px;
        margin-bottom: 24px;
        width: calc(100% - 32px);
    }
 
}

.newsletter-input.red {
    border: 1px solid #ff9292;
}

#end_text br {
    display: none;
}

/* -------------------------- */