body {
    background: white!important;
}
ul {
    list-style: disc!important;
}
.available-themes {
    display: flex;
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px;
    margin-top: 5px;
    flex-direction: column;
}
.themes-list {
    list-style: none;
    margin: 0;
    padding: 0;
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   grid-template-rows: 1fr;
   grid-row-gap: 30px;
   grid-column-gap: 30px;
}


.themes-item{
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    padding: 20px;
    gap:40px;
    /*-webkit-box-shadow: 4px 4px 50px 0px rgba(34, 60, 80, 0.2);*/
    /*-moz-box-shadow: 4px 4px 50px 0px rgba(34, 60, 80, 0.2);*/
    /*box-shadow: 4px 4px 50px 0px rgba(34, 60, 80, 0.2);*/
    border-radius: 12px;
}
.recommended-themes-item.themes-item{
    display: flex;
}
.recommended-themes-item .themes-info {
    width: 50%;
    background: #d3d3d329;
    border-radius: 15px;
    padding: 20px;
}
.recommended-themes-item .themes-info h3 {
    font-size: 18px;
    margin: 0;
    margin-bottom: 10px;
}
.recommended-themes-item .themes-info p {
    margin-bottom: 10px;
}
.themes-info-subtitle {
    margin-left: 20px;
}
.themes-info-line {
    display: flex;
    align-items: center;
    gap: 10px;
}
.themes-item a, .themes-item img {
    display: flex;
    width: 100%;
    height: auto;
}
.themes-item img {
    -webkit-box-shadow: 0px 0px 7px 0px rgba(34, 60, 80, 0.51);
-moz-box-shadow: 0px 0px 7px 0px rgba(34, 60, 80, 0.51);
box-shadow: 0px 0px 7px 0px rgba(34, 60, 80, 0.51);
}
.themes-item img:hover {
    transition: 1s;
    transform: scale(1.1);
}
.pop-up-conteiner-wrap .themes-item img:hover {
    transition: 0s;
    transform: scale(1);
}

.buttons{
    display: flex;
    width: 100%;
    gap: 15px;
}

.buttons a,
.buttons button{
    display: flex;
    border: solid 1px lightgrey;
    padding: 10px;
    width: 100%;
    border-radius: 10px;
    text-align: center;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: grey;
    background: none;
}

.buttons a:hover,
.buttons button:hover{
     color: rgb(116, 86, 241);
   -webkit-box-shadow: 0px 0px 6px 0px rgba(34, 60, 80, 0.51);
   -moz-box-shadow: 0px 0px 6px 0px rgba(34, 60, 80, 0.51);
   box-shadow: 0px 0px 6px 0px rgba(34, 60, 80, 0.51);
}
#available-themes {
    display: flex;
    gap:20px;
}
.themes-filter {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    background: #d3d3d352;
    padding: 20px;
    border-radius: 10px;
}
.themes-filter select, .themes-filter input {
    background: white!important;
    border-radius: 10px!important;
}
#tag-themes, #browse-themes, #search-themes {
    width: 100%;
}
.themes-item-screenshot{
    cursor: pointer;
}
.pop-up {
    position: fixed;
    left: 0;
    top: 0;
    width:100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 111;
    backdrop-filter: blur(8px); /* Размытие фона */
    max-height: 100vh;
    overflow: scroll;
}
.pop-up.active {
    display: flex;
}
.pop-up-conteiner {
    position: relative;
    max-width: 900px;
    width: 900px;
    padding: 40px;
}
.pop-up-close {
    position: absolute;
    right: 5px;
    top: 0px;
    font-size: 30px;
    z-index: 100;
    color: white;
    cursor: pointer;
}
.pop-up-conteiner h2,
.pop-up-conteiner .buttons a,
.pop-up-conteiner .buttons button{
    color: white;
}

.pop-up-conteiner .buttons a:hover,
.pop-up-conteiner .buttons button:hover{
   background: rgba(0, 0, 0, 0.5);
}
.themes-item h2 {
    font-size: 20px;
}
.recommended-themes-item h2.themes-title {
    font-size: 35px;
}
.themes-form-info .themes-item-image {
    width: 350px;
    height: auto;
}
.themes-form-info {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
    margin-bottom: 20px;
}
.themes-form-info h2 {
    color: white;
    width: 50%;
    text-align: center;
}
.form-group{
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.form-field {
    display: flex;
    flex-direction: column;
    color: white;
    width: 100%;
}
.form-field label{
  margin: 0;
}
.form-field input{
  color: lightgrey!important;
}

.field-theme-name {
    display: none;
}
.themes-form fieldset.themes-form-fieldset {
    border: 1px solid grey;
}
.themes-form legend {
    color: grey;
    font-size: 18px;
}
.form-group-button {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}
.form-group-radio label {
  color: white;
}
.radio-button {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-button input[type="radio"] {
    display: none; /* Скрываем оригинальный radio */
}

.radio-circle {
    width: 20px; /* Устанавливаем желаемый размер */
    height: 20px; /* Устанавливаем желаемый размер */
    border-radius: 50%; /* Делаем круг */
    border: 2px solid #ccc; /* Цвет границы */
    background-color: white; /* Цвет фона */
    margin-right: 10px; /* Отступ между кругом и текстом */
    position: relative;
    transition: background-color 0.3s, border-color 0.3s; /* Плавный переход */
}

.radio-button input[type="radio"]:checked + .radio-circle {
    background-color: rgb(116, 86, 241);; /* Цвет точки при выборе */
    border-color: rgb(116, 86, 241); /* Цвет границы при выборе */
}

.radio-button input[type="radio"]:checked + .radio-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px; /* Размер внутренней точки */
    height: 10px; /* Размер внутренней точки */
    border-radius: 50%; /* Делаем внутреннюю точку круглой */
    background-color: white; /* Цвет внутренней точки */
    transform: translate(-50%, -50%); /* Центрируем внутреннюю точку */
}
.buttons button#submit-order {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.4);
    border: none;
}
.buttons button#submit-order:hover {
     background: rgba(0, 0, 0, 0.5);
}

.form-question svg>* {
    fill: white;
}
a.form-question{
 color: white!important;
 font-weight: 100;
     display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    border: none;
}
.checkbox-field{
    font-size: 12px;
    font-weight: 100;
    color: lightgrey;
}
.checkbox-field a{
    font-size: 12px;
    font-weight: 300;
    color: white;
}
.checkbox-field a:hover{
text-decoration: underline;
    color: white;
}
.price-wrapp {
    display:flex;
    padding: 5px 0;
    width: 100%;
    justify-content: space-between;
}
.price-wrapp p {
   margin-bottom: 0;
    font-size: 20px;
}
.price.price-discount {
     font-size: 16px;
    text-decoration: line-through;
}
.discount {
    color: rgb(116, 86, 241);
}
.question-circle {
    display: block;
    width: 13px;
    float: right;
    height: 13px;
    margin-bottom: 0px;
    border-radius: 50%;
    border: solid 1px rgb(116, 86, 241);
    color: rgb(116, 86, 241);
    text-align: center;
    line-height: 12px;
    font-size: 10px;
    cursor: pointer;
}
.price.price-discount .question-circle {
    display: none;
}
.themes-filter label {
    color: black;
      font-size: 20px;
  font-weight: 600;
}
.custom-post-content {
    margin: 0;
    width: 100% !important;
    margin-top: 150px;
}
.custom-post-conten.ct-container {
    max-width: 1240px;
}
.themes-item-image {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    flex-direction: column;
}
.recommended-themes-item .themes-item-image img {
    max-width: 100%;
    transform: scale(1);
    height: fit-content;
}
.recommended-themes-item .themes-item-image {
    width: 50%;
}
.recommended-themes-item .entry-header {
    margin-bottom: 24px;
}
@media screen and (max-width: 1064px) {
  .themes-list {
   grid-template-columns: repeat(2, 1fr);
}
}

@media screen and (max-width: 650px) {
    .themes-item-image {
    flex-direction: column;
}
.recommended-themes-item .themes-item-image img {
    max-width: 100%;
}
    .themes-form-info, .form-group {
        flex-direction: column;
    }
    .pop-up-conteiner {
    position: relative;
    max-width: 100%;
    width: 100%;
    padding: 0px;
}

    .pop-up-conteiner-wrap fieldset {
    padding: 20px;
}
.themes-form fieldset.themes-form-fieldset {
    border: none;
}
    .pop-up-conteiner-wrap .themes-form-info .themes-item-image {
    width: auto;
        
    }
        .pop-up {
    align-items: flex-start;
    }
    .pop-up-conteiner-wrap .themes-form-info h2 {
    width: 90%;
    font-size: 18px;
}
.form-group-button {
    flex-direction: column;
}
.themes-filter {
    flex-direction: column;
}
}
@media screen and (max-width: 716px) {
    .available-themes {
    margin-top: 20px;
}
  .themes-list {
   grid-template-columns: repeat(1, 1fr);
}
.recommended-themes-item.themes-item {
    flex-direction: column;
}
.recommended-themes-item .themes-item-image, .recommended-themes-item .themes-info {
    width: 100%;
}
}