:root {
    --text-primary: #343850;
    --text-secondary: #555379;
    --base-lineheight: 1.3;
    --base-border-radius: 10px;
}

@font-face {
    font-family: 'Roboto Slab';
    src: url('webfonts/RobotoSlab-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Slab';
    src: url('webfonts/RobotoSlab-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Slab';
    src: url('webfonts/RobotoSlab-ExtraLight.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Slab';
    src: url('webfonts/RobotoSlab-Light.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Slab';
    src: url('webfonts/RobotoSlab-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Slab';
    src: url('webfonts/RobotoSlab-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Slab';
    src: url('webfonts/RobotoSlab-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

body {
    font-family: 'Roboto Slab', sans-serif;
    line-height: var(--base-lineheight);
    color: var(--text-primary);
    background-color: #EDF0F8;
}

main {
    min-height: 600px;
}

a {
    color: inherit;
    text-decoration: none;
}

a:visited {
    color: inherit;
}

a:hover,
a:focus,
a:active {
    color: inherit;
}

header {
    position: absolute;
    background-color: rgb(0, 0, 0, 0.3);
    color: #fff;
    width: 100%;
    z-index: 10;
    backdrop-filter: blur(30px);
}

.navbar {
    font-size: 18px;
    font-weight: 500;
}

.navbar-brand {
    color: #fff;
}

.navbar ul>li {
    text-align: center;
}

.navbar a:hover {
    color: #edecec;
}

.navbar-toggler {
    border-color: #fff;
}

.navbar-toggler:focus {
    box-shadow: 0 0 5px #fff;
    border-color: #fff;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    ;
}

.navbar ul li.current-menu-item {
    text-decoration: underline;
    text-underline-offset: 0.5em;
    text-decoration-thickness: 2px;
}

.navbar-brand img {
    width: auto;
    height: 40px;
}

.site-main {
    padding-top: 90px;
}

.social-icon {
    width: 24px !important;
    max-width: 24px !important;
    height: auto !important;
}

@media (max-width: 992px) {
    .navbar .langs-and-socials {
        width: 100%;
        padding-top: 20px;
    }
}

footer {
    background-color: #6F4CD9;
    color: #fff;
}

footer .subtitle-mini {
    color: #fff;
}

ul,
ol {
    margin-left: 0;
}

a.active {
    text-decoration: underline;
    text-underline-offset: 0.5em;
    text-decoration-thickness: 2px;
}

.bg-black {
    background-color: #020205;
    color: #fff;
}

.bg-light-pink {
    background-color: #EAE4F2;
}

.btn-primary {
    background-color: #6F4CD9;
    color: #fff !important;
    font-size: 18px;
    padding: 10px 25px;
    border: 0;
    border-radius: 100px;

}

.btn-primary:hover {
    background-color: #7956e4;
}

.btn-primary:active {
    background-color: #5d3dbe !important;
}

@media (max-width: 767px) {
    .btn-primary {
        font-size: 16px;
        padding: 7px 20px;
    }
}

.btn-light {
    background-color: transparent;
    font-size: 18px;
    padding: 10px 25px;
    border: 1px solid var(--text-primary);
    border-radius: 100px;
}

.btn-light:hover {
    background-color: rgb(0, 0, 0, 0.03);
    border: 1px solid;
}

.btn.mini {
    font-size: 14px;
    text-transform: lowercase;
}

.border-bottom {
    border-bottom: 1px solid var(--text-primary) !important;
}

.border-bottom.bold {
    border-bottom-width: 2px !important;
}

img,
video {
    width: auto;
    border-radius: var(--base-border-radius);
}

iframe {
    max-width: 100%;
}

#main-block {
    background-image: url('/wp-content/uploads/pages/bg-main1.png');
    background-size: cover;
    background-position: center;
    transition: background-image 1.5s ease-in-out;
}

/* @media (max-width: 576px) {
    #main-block {
        background-image: none;
    }
} */

@media (min-width: 1300px) {
    #main-block {
        height: 100vh;
    }
}

@media (max-width: 576px) {
    .welcome-block {
        margin: 20px 0;
    }

    .welcome-block>* {
        text-align: center;
    }
}

@media (min-width: 576px) {
    .welcome-block>* {
        text-align: left;
    }
}

.welcome-block h1 {
    font-size: 48px;
    font-weight: bold;
}

h1.section-title {
    font-size: 36px;
}

.img-square {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

.img-classic-ratio {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.text-truncate-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(2em * var(--base-lineheight));
    /* min-height: calc(2em * var(--base-lineheight)); */
    word-break: break-word;
}

.subtitle-mini {
    font-size: 14px;
    color: var(--text-secondary);
}

.event-type {
    font-size: 18px;
    font-weight: 500;
}

.event-name {
    font-size: 24px;
    font-weight: 500;
}

.translucent-card {
    background-color: #FFFFFF26;
    backdrop-filter: blur(30px);
    border: 0;
    border-radius: 0;
    color: #fff;
}

.translucent-card .card-body {
    padding: 25px 34px;
}

.translucent-card .subtitle-mini {
    color: #fff;
}

ul.custom-ul {
    font-size: 18px;
    font-weight: 500;
    list-style-type: none;
}

ul.custom-ul>li {
    padding: 10px 0;
}

@media (max-width: 576px) {
    ul.custom-ul {
        display: flex;
        flex-direction: row;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
}

.event-ticket .subtitle-mini {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
}

.event-ticket .subtitle-mini span {
    font-size: 82px;
    font-weight: 600;
}

.event-ticket .event-location {
    font-size: 14px;
}

.event-info-block {
    padding: 0 20px 20px 20px;
}

.event-info-block img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.artist-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    border-radius: var(--base-border-radius);
    border: 0;
    color: #fff;
}

.artist-card .artist-name {
    font-size: 18px;
    font-weight: 500;
    background-color: var(--text-secondary);
    max-width: 100%;
}

.artist-card .artist-prof {
    font-size: 14px;
    background-color: var(--text-secondary);
}

.last-event-info-block img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.last-event-info-block .event-type::before {
    content: "— ";
    font-weight: normal;
    margin-left: -18px;
}

.email-subscription-form {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
}

.email-subscription-form>* {
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

@media (max-width: 576px) {
    .email-subscription-form>* {
        background-image: none !important;
    }
}

input.email-subscription-inp {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
    background-color: transparent;
    border: 1px solid var(--text-secondary);
    border-radius: 5px;
    padding: 5px 10px;
}

input.email-subscription-inp::placeholder {
    font-family: 'Roboto Slab', sans-serif;
    background-color: transparent;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
}

.btn-subscribe {
    background-color: transparent;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
}

.btn-subscribe:hover {
    color: var(--text-primary);
    text-decoration: underline;
    /* box-shadow: 0 0 10px rgb(0, 0, 0, 0.4); */
}

input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    min-height: 20px;
    min-width: 20px;
    border: 1px solid var(--text-secondary);
    border-radius: 5px;
    cursor: pointer;
}

input[type="checkbox"]:checked {
    background-color: #6F4CD9;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.item .header .title {
    height: calc(2em * var(--base-lineheight));
}

@media (max-width: 768px) {
    .item .header .title {
        height: auto;
    }
}

.widget_polylang {
    display: none;
}

.event-label {
    position: relative;
}

.event-label .soldout-badge {
    position: absolute;
    top: 5%;
    right: 5%;
    background-color: rgba(215, 21, 21, 0.6);
    color: #fff;
    z-index: 10;
    backdrop-filter: blur(30px);
}

.event-gallery {
    overflow-x: auto;
}

.event-gallery .gallery-item {
    height: 300px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 576px) {
    .event-gallery {
        overflow-x: hidden;
        flex-wrap: wrap;
        padding: 0 20px;
    }

    .event-gallery .gallery-item {
        height: auto;
        width: 100%;
    }
}

/* Стили для лайтбокса */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
    animation: fadeIn 0.3s;
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 0;
    max-width: 90%;
    max-height: 90%;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.lightbox-image-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 5px;
}

.lightbox-close {
    position: absolute;
    top: -20px;
    right: -20px;
    color: #f1f1f1;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.lightbox-close:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
    margin-top: 15px;
    color: white;
    font-size: 1.2em;
}

.lightbox-trigger {
    cursor: pointer;
    transition: 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    border: 5px solid #fff;
    border-top: 5px solid #888;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1000;
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 1000;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
    left: -50px;
}

.lightbox-next {
    right: -50px;
}

@media (max-width: 992px) {
    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

.card.ticket-card {
    border-radius: 25px;
    background-color: #6F4CD9;
    color: #fff;
    border: none;
}

.card.ticket-card .border-top,
.card.ticket-card .border-bottom {
    border-color: #fff !important;
}

@media (max-width: 576px) {
    .card.ticket-card .controls {
        align-items: center;
    }
}

.card.ticket-card .number-panel .minus,
.card.ticket-card .number-panel .plus,
.card.ticket-card .number-panel .value {
    border-color: #fff;
    background-color: #fff;
    color: #6F4CD9;
    font-weight: bold;
}

.cart-total-summ {
    border: none;
    margin: 0;
    padding: 0;
}

.card.ticket-card .ticketsName {
    font-size: 18px;
}

@media (max-width: 768px) {
    .event-date-info {
        text-align: center;
    }
}

.event-content>* {
    line-height: 1.2rem;
}

.event-content h1,
.event-content h2 {
    font-size: 1.1rem;
}

.event-content h3,
.event-content h4,
.event-content h5,
.event-content h6 {
    font-size: 1rem;
}

.event-content p {
    margin-bottom: .3rem;
}

.event-content a {
    text-decoration: underline;
}

figure.wp-block-embed.is-type-video {
    display: none;
}



/* Правки / доработки изначальных стиле из style.css */
.product .cart img {
    width: 100%;
    height: auto;
    display: none;
}

@media (max-width: 1200px) {
    .product .cart .images {
        position: relative;
    }

    .product .cart .images::before {
        content: "";
        width: 140%;
        height: 55%;
        top: 0;
        left: 0;
        right: 0;
        position: absolute;
        background-color: #EAE4F2;
        margin: 0 -20%;
        z-index: 1;
    }

    .product .cart img {
        display: block;
        border-radius: 20px;
        position: relative;
        z-index: 2;
    }
}

.product .description {
    padding-right: 0;
    padding-left: 5%;
}

@media (max-width: 1200px) {
    .product .description {
        padding-left: 0;
    }
}

/* .blog img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
} */

.pagination a,
.pagination span {
    margin: 0 5px;
}

.pagination .page-numbers {
    padding: 10px 15px;
    border-radius: var(--base-border-radius);
    border: 1px solid var(--text-primary);
}

.pagination .page-numbers.current {
    background-color: #6F4CD9;
    color: #fff;
    font-weight: bold;
}

.pagination .next,
.pagination .prev {
    background-color: transparent;
    border-radius: var(--base-border-radius);
    border: 1px solid var(--text-primary);
}

.order-summ-info {
    text-align: right;
}

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

.contact-form-popup,
.payment-form-popup {
    z-index: 20;
}

.events-content .content ul {
    max-width: none;
    width: 80%;
}

.breadcrumbs span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-form-popup .inputGroup input,
.contact-form-popup .inputGroup textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid;
    margin: 0;
    padding: 0;
    padding-top: 2rem;
    outline: 0;
}

.auth-form-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow-y: auto;
}

.auth-form-popup .content {
    background: white;
    max-width: 500px;
    height: max-content;
    margin: 50px auto;
    border-radius: 10px;
    position: relative;
}

.auth-form-popup .modal-body {
    padding: 30px;
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 30px;
}

.auth-tab {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    position: relative;
}

.auth-tab.active {
    color: #6F4CD9;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #6F4CD9;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form input:not([type="checkbox"]),
.auth-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.auth-form input:focus,
.auth-form textarea:focus {
    outline: none;
    border-color: #3498db;
}

.auth-form input[readonly] {
    background: #f5f5f5;
    cursor: not-allowed;
}

.auth-buttons {
    margin-top: 20px;
}

.auth-form-popup .nav {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10000;
}

.btn-auth {
    background-color: transparent;
    border: 0;
    padding: 0;
    font-size: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
}

.order-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.order-header h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
}

.order-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    text-align: center;
}

.order-status.paid {
    background: #d4edda;
    color: #155724;
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.order-meta {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.meta-item {
    font-size: 0.95em;
}

.meta-item strong {
    display: block;
    color: #666;
    margin-bottom: 3px;
}

.order-items,
.order-qr-codes {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.order-items h4,
.order-qr-codes h4 {
    margin-bottom: 15px;
    color: #333;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.order-item:last-child {
    border-bottom: none;
}

.qr-codes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.qr-code-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    background: #f9f9f9;
}

.qr-code-item.active {
    border-color: #28a745;
    background: #f8fff9;
}

.qr-code-item.inactive {
    border-color: #6c757d;
    background: #f8f9fa;
    opacity: 0.8;
}

.qr-code-item .btn {
    font-size: 0.8rem !important;
}

.qr-code-header {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.qr-status,
.ticket-status {
    font-size: 0.8em;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}

.qr-status.active {
    background: #d4edda;
    color: #155724;
}

.qr-status.inactive {
    background: #e2e3e5;
    color: #383d41;
}

.ticket-status.used {
    background: #f8d7da;
    color: #721c24;
}

.ticket-status.unused {
    background: #d4edda;
    color: #155724;
}

.qr-code-image {
    margin: 10px 0;
}

.qr-code-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    background: white;
}

.qr-code-info {
    margin-top: 10px;
    font-size: 0.8em;
    color: #666;
}

.order-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-red {
    background-color: #c33030;
    color: #fff;
    font-size: 18px;
    padding: 10px 25px;
    border: 0;
    border-radius: 100px;
}

.btn-red:hover {
    background-color: #b32d2d;
    color: #fff;
}

.btn-red:active,
.btn-red:focus {
    background-color: #a12828 !important;
    color: #fff !important;
}

.btn-contact-support {
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 0.9em;
    text-decoration: none;
    display: inline-block;
}

.btn-contact-support {
    background: #6c757d;
    color: white;
}

.btn-contact-support:hover {
    background: #545b62;
}

.qr-code-missing {
    padding: 20px;
    text-align: center;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin: 10px 0;
}

.qr-code-missing p {
    color: #721c24;
    margin-bottom: 5px;
}

.qr-code-missing small {
    color: #856404;
    font-size: 0.8em;
}

.btn.btn-sm {
    font-size: 16px;
    padding: 5px 15px;
}

.entry-title {
    margin-top: 0;
}

.woocommerce.columns-4 {
    display: flex;
    flex-direction: column;
} 

.product-card {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}

.product-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin-top: .5rem;
}

.product-card__catagory {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.product-card__name {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.category-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background-color: #fff;
}

.category-name {
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0;
}

.woocommerce div.product div.images img {
    max-height: 700px;
    object-fit: contain;
}
