*, *::before, *::after {
    box-sizing: border-box;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container { max-width: 540px; }
}
@media (min-width: 768px) {
    .container { max-width: 720px; }
}
@media (min-width: 992px) {
    .container { max-width: 960px; }
}
@media (min-width: 1200px) {
    .container { max-width: 1140px; }
}
@media (min-width: 1400px) {
    .container { max-width: 1320px; }
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

[class*="col-"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

/* Default columns (xs) */
.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* SM breakpoint */
@media (min-width: 576px) {
    .col-sm-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .col-sm-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
    .col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-sm-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
    .col-sm-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-sm-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-sm-9 { flex: 0 0 75%; max-width: 75%; }
    .col-sm-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .col-sm-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

/* MD breakpoint */
@media (min-width: 768px) {
    .col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-md-9 { flex: 0 0 75%; max-width: 75%; }
    .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

/* LG breakpoint */
@media (min-width: 992px) {
    .col-lg-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
    .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

/* XL breakpoint */
@media (min-width: 1200px) {
    .col-xl-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .col-xl-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
    .col-xl-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-xl-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
    .col-xl-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-xl-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-xl-9 { flex: 0 0 75%; max-width: 75%; }
    .col-xl-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .col-xl-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .col-xl-12 { flex: 0 0 100%; max-width: 100%; }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }

.flex-wrap { flex-wrap: wrap !important; }
.flex-column { flex-direction: column !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end { justify-content: flex-end !important; }
.align-items-center { align-items: center !important; }

.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }

.text-center { text-align: center !important; }
.text-md-right { text-align: right !important; }

.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.m-bottom-30 { margin-bottom: 30px !important; }

/* Responsive display utilities */
@media (min-width: 768px) {
    .d-md-block { display: block !important; }
    .d-md-none { display: none !important; }
}
@media (min-width: 992px) {
    .d-lg-block { display: block !important; }
    .d-lg-none { display: none !important; }
}

/* ============================================
   MODAL STYLES
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.modal.show {
    display: block;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.15s linear;
}

.modal-backdrop.show {
    opacity: 1;
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translateY(-50px);
}

.modal.show .modal-dialog {
    transform: none;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    max-width: 500px;
    pointer-events: none;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #26253E;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    outline: 0;
}

.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.5rem - 1px);
    border-top-right-radius: calc(0.5rem - 1px);
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.5rem - 1px);
    border-bottom-left-radius: calc(0.5rem - 1px);
}

.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #fff;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
    cursor: pointer;
}

.btn-close:hover {
    opacity: 0.75;
}

/* ============================================
   ACCORDION STYLES
   ============================================ */

.accordion {
    --accordion-bg: transparent;
    --accordion-color: #fff;
    --accordion-border-color: transparent;
}

.accordion-item {
    color: var(--accordion-color);
    background-color: var(--accordion-bg);
    border: none;
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: var(--accordion-color);
    text-align: left;
    background-color: var(--accordion-bg);
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
    cursor: pointer;
}

.accordion-button:not(.collapsed) {
    color: var(--accordion-color);
    background-color: var(--accordion-bg);
    box-shadow: none;
}

.accordion-button::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform 0.2s ease-in-out;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.accordion-button:focus {
    z-index: 3;
    border-color: transparent;
    outline: 0;
    box-shadow: none;
}

.accordion-collapse {
    overflow: hidden;
    transition: height 0.35s ease;
}

.accordion-collapse:not(.show) {
    display: none;
}

.accordion-body {
    padding: 1rem 1.25rem;
}

/* ============================================
   SPINNER
   ============================================ */

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: -0.125em;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

/* ============================================
   FORM
   ============================================ */

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    background-color: #26253e;
    background-clip: padding-box;
    border: 1px solid #3a3960;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #fff;
    background-color: #26253e;
    border-color: #FF005C;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 92, 0.25);
}

.col-form-label {
    padding-top: calc(0.375rem + 1px);
    padding-bottom: calc(0.375rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.5;
}

.form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5em;
    margin-bottom: 0.125rem;
}

.form-check-input {
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    margin-left: -1.5em;
    vertical-align: top;
    background-color: #26253e;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid #3a3960;
    border-radius: 0.25em;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #FF005C;
    border-color: #FF005C;
    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");
}

.form-check-label {
    cursor: pointer;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.is-invalid ~ .invalid-feedback,
.is-invalid ~ .invalid-tooltip {
    display: block;
}

.mb-0 { margin-bottom: 0 !important; }

/* Breadcrumb */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 1rem;
    list-style: none;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    float: left;
    padding-right: 0.5rem;
    color: #6c757d;
    content: "/";
}

body{
    background: #070626;
    font-family: Jost;
    color: #fff;
    margin: 0;
}
header{
    background: #161533;
    padding: 10px 0;
    margin-bottom: 20px;
}
.burger-menu{
    font-size: 24px;
    display: flex;
    align-items: center;
}
.cabinet_link{
    color: #FF005C;
    font-size: 20px;
    margin-left: 20px;
    text-decoration: none;
}
.show-filter-btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #FF005C 0%, #ff3d7f 50%, #FFCF03 100%);
    background-size: 200% 100%;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 92, 0.3);
    border: none;
}
.show-filter-btn:hover{
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 92, 0.4);
}
.show-filter-btn:active{
    transform: translateY(0);
}
.show-filter-btn svg{
    transition: transform 0.3s ease;
}
.show-filter-btn:hover svg{
    transform: rotate(180deg);
}
.show-filter-btn .filter-count-badge{
    background: rgba(255,255,255,0.3);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}
.logo{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: -5px;
}
.center{
    display: flex;
    align-items: center;
}
.metro-select{
    background: #1a1932;
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    width: 100%;
    border: 1px solid #3a3960;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
}
.metro-select:hover{
    border-color: #FF005C;
}
.metro-select:focus{
    outline: none;
    border-color: #FF005C;
    box-shadow: 0 0 0 3px rgba(255, 0, 92, 0.15);
}
.filter-item .slider-item {
    flex-direction: column;
}
.slider-item .noUi-target {
    height: 4px;
    margin-bottom: 15px;
    border: none;
    background: #3a3960;
    border-radius: 4px;
    box-shadow: none;
}
button.red-btn {
    width: 100px;
    border: none;
    height: 31px;
    color: #fff;
    background: #da0bb1;
    box-shadow: none;
    font-size: 16px;
    border-radius: 5px;
}
.slider-item-text{
    font-size: 20px;
    margin-bottom: 10px;
}
.filter-wrap{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    max-width: 90%;
    z-index: 1000;
    background: linear-gradient(180deg, #1a1932 0%, #26253e 100%);
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
    overflow-y: auto;
    padding: 90px 30px 30px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.6);
}
.filter-wrap::-webkit-scrollbar{
    width: 6px;
}
.filter-wrap::-webkit-scrollbar-track{
    background: transparent;
}
.filter-wrap::-webkit-scrollbar-thumb{
    background: #3a3960;
    border-radius: 3px;
}
.filter-wrap::-webkit-scrollbar-thumb:hover{
    background: #FF005C;
}
.filter-wrap.show-filter{
    transform: translate3d(0, 0, 0);
    visibility: visible;
}

/* Filter Header */
.filter-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 22px 30px;
    background: linear-gradient(90deg, #161533 0%, #1f1e3a 100%);
    border-bottom: 1px solid rgba(255, 0, 92, 0.2);
    box-shadow: 0 2px 15px rgba(0,0,0,0.3);
}
.filter-title{
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}
.filter-close-btn{
    background: rgba(255, 0, 92, 0.1);
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.2s ease;
}
.filter-close-btn:hover{
    opacity: 1;
    background: rgba(255, 0, 92, 0.25);
    transform: rotate(90deg);
}

/* Filter Item */
.filter-item{
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.filter-item:last-of-type{
    border-bottom: none;
}

/* Filter Labels */
.filter-form .filter-label{
    display: block;
    font-size: 13px;
    color: #8a8a9e;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Filter Buttons */
.filter-buttons{
    display: flex;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.filter-reset-btn{
    background: transparent;
    border: 2px solid #3a3960;
    color: #8a8a9e;
    padding: 14px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 15px;
    font-weight: 500;
}
.filter-reset-btn:hover{
    border-color: #FF005C;
    color: #fff;
    background: rgba(255, 0, 92, 0.1);
}
.filter-submit-btn{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #FF005C 0%, #ff3d7f 100%);
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 92, 0.3);
    height: auto!important;
    width: auto!important;
}
.filter-submit-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 92, 0.4);
}
.filter-submit-btn .btn-count{
    background: rgba(255,255,255,0.25);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}
.filter-submit-btn .btn-count:empty{
    display: none;
}

/* Filter Count Badge */
.filter-count-badge{
    background: #FF005C;
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 8px;
    font-weight: 600;
    min-width: 22px;
    text-align: center;
    animation: badgePulse 0.3s ease;
}
@keyframes badgePulse{
    0%{ transform: scale(0.8); opacity: 0; }
    50%{ transform: scale(1.1); }
    100%{ transform: scale(1); opacity: 1; }
}

/* Filter Result Count */
.filter-result-count{
    font-size: 14px;
    color: #8a8a9e;
    font-weight: 500;
}
.filter-result-count:not(:empty)::before{
    content: 'Найдено: ';
}
.filter-result-count:not(:empty){
    background: rgba(255, 0, 92, 0.1);
    padding: 4px 12px;
    border-radius: 15px;
    color: #FF005C;
}

/* Filter Overlay */
.filter-overlay{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 6, 38, 0.85);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.filter-overlay.active{
    display: block;
    opacity: 1;
}
.filter-input-wrap {
    justify-content: space-between;
    gap: 15px;
}
.noUi-horizontal .noUi-handle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: -8px;
    right: -10px;
    background: #FF005C;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(255, 0, 92, 0.4);
    cursor: grab;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.noUi-horizontal .noUi-handle:hover{
    transform: scale(1.15);
    box-shadow: 0 3px 12px rgba(255, 0, 92, 0.5);
}
.noUi-horizontal .noUi-handle:active{
    cursor: grabbing;
}
.noUi-connect{
    background: linear-gradient(90deg, #FF005C, #ff3d7f);
}
.filter-item input {
    font-style: normal;
    font-size: 15px;
    line-height: 1;
    color: #fff;
    width: 70px;
    padding: 10px 8px;
    text-align: center;
    background: #1a1932;
    font-weight: 600;
    border: 1px solid #3a3960;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.filter-item input:focus{
    outline: none;
    border-color: #FF005C;
    box-shadow: 0 0 0 3px rgba(255, 0, 92, 0.15);
}
.filter-form {
    justify-content: space-between;
    align-items: center;
}
.slider-item .noUi-connects {
    width: 100%;
    border-radius: 4px;
}
.noUi-handle:after, .noUi-handle:before{
    display: none;
}
.sort-block{
    justify-content: end;
    flex-wrap: wrap;
}
.limit{
    margin-left: 15px;
}
.post-item{
    background: #26253E;
    margin-bottom: 15px;
    content-visibility: auto;
    contain-intrinsic-size: auto 450px;
}

.age-name{
    color: #FF005C;
    font-size: 20px;
}
img{
    max-width: 100%;
}
.photo img{
    width: 100%;
}
.single-price{
    display: flex;
}
.params-heading{
    font-size: 18px;
    width: 100%;
}
.params-wrap{
    margin-top: 25px;
}
.param-name{
    color: #BAB9B9;
    font-size: 18px;
}
.param-value{
    color: #FF005C;
    font-size: 18px;
}
.place-image{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ff005c;
    font-size: 18px;
    font-weight: bold;
    margin-right: 20px;
    justify-content: center;
}
.place-image img{
    max-width: 51px;
}
.info{
    padding: 20px;
}
.check-video{
    margin-left: auto;
}
.check-video-item{
    margin-left: 10px;
}
.phone , .get-message-form-btn{
    max-width: 180px;
    height: 40px;
    background: linear-gradient(45deg, #FF005C, #FFCF03);
    border-radius: 50px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
}
.get-message-form-btn{
    max-width: 220px;
}

.message-wrap{
    margin-top: 15px;
}

.metro-phone{
    margin-top: 10px;
}
.metro-link{
    color: #FFFFFF;
    font-size: 18px;
    text-decoration: none;
}
.post-item .metro{
    margin-top: 10px;
}
.price-text{
    color: #FFCF03;
    font-size: 20px;
}
.price{
    font-size: 18px;
    margin-top: 10px;
}
.price , .left-price, .right-price{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.left-price, .right-price{
    flex: 0 0 auto;
    width: 33%;
}
.price .center{
    width: 2px;
    height: 24px;
    background: #FFCF03;
}
.label-wrap{
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    margin-top: 10px;
}
.label{
    color: #FF005C;
    font-weight: 400;
    font-size: 18px;
    border: 1px solid #FF005C;
    margin-right: 10px;
    padding: 2px 4px;
    margin-bottom: 5px;
}
.body-params{
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}
.body-param{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
}
.body-param img{
    margin-bottom: 10px;
}
.age-name a{
    color: #FF005C;
    text-decoration: none;
}
.breadcrumb-link{
    color: #767676;
    font-size: 18px;
    text-decoration: none;
}
.breadcrumb-item{
    color: #fff;
}
.breadcrumb-item+.breadcrumb-item::before{
    color: #fff;
}
.breadcrumb-item{
    font-size: 18px;
}
.slick-dots li {
    height: 75px;
    margin: 0 0 10px 0;
    cursor: pointer;
    width: 30%;
    max-height: 105px;
    overflow: hidden;
    border-radius: 7px;
}
.slick-dots {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
    margin: 21px 0 0 0;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
    bottom: inherit;
    position: relative;
}
.slick-slider{
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}
.right-info-item{
    background: #161533;
    padding: 18px 27px;
    margin-bottom: 20px;
}
.property-value{
    display: flex;
    color: #fff;
    text-decoration: none;
}
.property-value img{
    margin-right: 5px;
}
.small-heading{
    color: #FF005C;
    font-weight: bold;
    font-size: 18px;
}
.single-phone-wrap{
    margin-top: 15px;
}
.metro-left{
    margin-right: 25px;
}
.single-metro-wrap{
    margin-top: 15px;
    display: flex;
}
.metro-right .metro-link{
    color: #F59C23;
}
.single-price{
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.11);
    padding: 12px 0;
    margin-left: -26px;
    margin-right: -26px;
    padding-left: 26px;
    padding-bottom: 0;
}
.single-price-item{
    display: flex;
    width: 150px;
    justify-content: space-between;
}
.pagination{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 20px 0;
    list-style: none;
    margin: 0;
}
.left-price-item{
    font-size: 18px;
    margin-bottom: 10px;
}
.right-price-item{
    color: #FFCF03;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.params-item-wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 12px;
}
.params-item{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.no-review{
    text-align: center;
    margin-bottom: 24px;
}
.review-btn{
    display: block;
    background: linear-gradient(45deg, #C811D6, #FFE600);
    max-width: 160px;
    text-align: center;
    border-radius: 5px;
    padding: 8px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    color: #fff;
    border: none;
}
#infinite-scroll-loader {
    width: 100%;
    padding: 30px 0;
}
#infinite-scroll-loader .spinner-border {
    color: #FF005C;
    width: 3rem;
    height: 3rem;
}
#infinite-scroll-sentinel {
    height: 1px;
    width: 100%;
}
.name-date-wrap{
    display: flex;
    justify-content: space-between;
}
.name{
    color: #FF005C;
    font-size: 18px;
    font-weight: bold;
}
.date{
    color: #767676;
    font-size: 14px;
}
.review-wrap{
    padding: 20px;
    background: rgba(255, 255, 255, 0.11);
    border-radius: 10px;
}
/* Modal custom styles */
.modal-content {
    background: linear-gradient(145deg, #1f1e3a 0%, #26253E 100%);
    border: 1px solid rgba(255, 0, 92, 0.2);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 24px;
    position: relative;
}

.modal-title {
    color: #FF005C;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
}

.modal-header .btn-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 0, 92, 0.1);
    display: flex;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 0, 92, 0.3);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.modal-header .btn-close:hover {
    background: rgba(255, 0, 92, 0.2);
    border-color: #FF005C;
    transform: translateY(-50%) rotate(90deg);
}

.modal-header .btn-close img {
    width: 12px;
    height: 12px;
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    justify-content: center;
}

/* Form styles for modal */
.mb-3 {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #a0a0b8;
}

.form-control {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    background-color: #1a1932;
    background-clip: padding-box;
    border: 2px solid #3a3960;
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    color: #fff;
    background-color: #1a1932;
    border-color: #FF005C;
    outline: 0;
    box-shadow: 0 0 0 4px rgba(255, 0, 92, 0.15);
}

.form-control::placeholder {
    color: #666;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #FF005C 0%, #ff3d7f 100%);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 0, 92, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e00050 0%, #ff2d6f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 92, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    color: #fff;
    background: transparent;
    border-color: #3a3960;
}

.btn-secondary:hover {
    border-color: #FF005C;
    color: #FF005C;
}
.comment-text, .text-input{
    width: 100%;
    background: #26253e;
    border: 1px solid #EEEEEE;
    border-radius: 7px;
    color: #B8B8B8;
    margin-bottom: 40px;
    padding: 5px;
}
.text-input{
    width: auto;
}
.send-btn{
    margin-bottom: 20px;
    width: 150px;
}
.more-posts-wrap{
    margin-top: 15px;
}
.more-post-name{
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    display: block;
    text-decoration: none;
}
.side-panel-content {
    height: 100%;
    padding: 2rem;
    overflow-y: auto;
    scrollbar-width: thin;
}
.side-panel{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 500px;
    z-index: 10;
    background-color: #26253e;
    transform: translate3d(-100%, 0, 0);
    visibility: hidden;
    transition: .3s;
    max-width: 79%;
}
.is-show {
    transform: translate3d(0, 0, 0);
    visibility: visible;
}
.first-menu{
    display: flex;
    flex-direction: column;
}
.first-menu svg{
    margin-right: 20px;
    width: 23px;
}
.first-menu a{
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    margin-bottom: 15px;
}
.accordion-item{
    border:none;
    background: none;
}
.accordion-button{
    background: none;
    color: #fff;
    border: none;
    font-size: 18px;
    box-shadow:none;
}
.accordion-button:not(.collapsed){
    background: none;
    color: #fff;
    border: none;
    box-shadow:none;
}
.accordion-button:focus{
    box-shadow: none;
}
.accordion-body a{
    color: #fff;
    text-decoration: none;
}
.accordion-body{
    padding-left: 30px;
}
.close-panel{
    position: absolute;
    width: 30px;
    height: 30px;
    background: #fff;
    top: 10px;
    right: 40px;
    display: flex;
    border-radius: 50%;
}
.is-show {
    transform: translate3d(0, 0, 0);
    visibility: visible;
}
.filter-btn{
    display: none;
}
.h1-sort{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
h1{
    font-size: 24px;
}
.filter-wrap .close-panel{
    display: none;
}
.login-form{
    max-width: 360px;
    margin: auto;
}
.login-form .form-group{
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}
.login-form .text-input{
    margin-bottom: 0;
}
.form-group .cabinet_link{
    margin-left: inherit;
}
/* Pagination */
li.page-item {
    margin: 0;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    background: #1a1932;
    color: #fff;
    border: 2px solid #3a3960;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.page-link:hover {
    background: #26253e;
    border-color: #FF005C;
    color: #FF005C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 92, 0.2);
}

.page-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 0, 92, 0.2);
}

.page-item.active .page-link,
.active > .page-link,
.page-link.active {
    background: linear-gradient(135deg, #FF005C 0%, #ff3d7f 100%);
    border-color: #FF005C;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 0, 92, 0.4);
}

.page-item.disabled .page-link,
.disabled > .page-link,
.page-link.disabled {
    background: #161533;
    border-color: #2a2949;
    color: #555;
    cursor: not-allowed;
    opacity: 0.6;
}

.page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
}

/* Prev/Next arrows */
.page-item:first-child .page-link,
.page-item:last-child .page-link {
    border-radius: 10px;
    font-size: 18px;
}

/* Responsive pagination */
@media (max-width: 576px) {
    .pagination {
        gap: 5px;
    }

    .page-link {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 14px;
        border-radius: 8px;
    }
}
.g-recaptcha{
    margin-bottom: 15px;
    margin-top: 23px;
}
.filter-label-wrap{
    margin-bottom: 15px;
}
.filter-label{
    color: #FF005C;
    font-size: 20px;
    margin-right: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.image-wrap{
    aspect-ratio: 3/4;
    background: #1a1932;
    overflow: hidden;
    position: relative;
}
.image-wrap::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: #FF005C;
    border-radius: 50%;
    animation: spinner 0.8s linear infinite;
    z-index: 1;
}
.image-wrap.loaded::before{
    display: none;
}
@keyframes spinner{
    to { transform: rotate(360deg); }
}
.image-wrap img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 2;
}
.image-wrap img.loaded{
    opacity: 1;
}
.filter-label img{
    margin-right: 3px;
}
.tarif{
    position: absolute;
    top: 15px;
    left: 15px;
    width: 60px;
    z-index: 10;
    height: 60px;
}

.tarif_2 {
    background: url("../images/vip.svg");
    background-size: cover;
}
.tarif_3{
    background: url("../images/premium.svg");
    background-size: cover;
}
.tarif_4{
    background: url("../images/premium_plus.svg");
    background-size: cover;
}
.tarif_5{
    background: url("../images/elit.svg");
    background-size: cover;
}


.presence {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #0000004a;
    color: #fff;
    padding-left: 15px;
    z-index: 10;
}

.m-bottom-30{
    margin-bottom: 30px;
}

.presence .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* сейчас */
.presence.p-now .indicator {
    background: #2ecc71;
}

/* сегодня / вчера */
.presence.p-today .indicator,
.presence.p-yesterday .indicator {
    background: #f1c40f;
}

/* на неделе */
.presence.p-week .indicator {
    background: #3498db;
}

/* в этом месяце */
.presence.p-month .indicator {
    background: #95a5a6;
}

/* давно — не показываем */
.presence.p-hidden {
    display: none;
}

/* онлайн прямо сейчас */
.presence.p-online .indicator {
    background: #2ecc71;
    box-shadow: 0 0 6px rgba(46, 204, 113, 0.8);
}

@media (max-width: 1199px) {
    .favorites-link{
        display: none;
    }
    .show-filter-btn{
        max-width: none;
        width: 100%;
        height: auto;
        padding: 14px 20px;
        background: linear-gradient(135deg, #FF005C 0%, #ff3d7f 50%, #FFCF03 100%);
        background-size: 200% 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        font-weight: 600;
        font-size: 16px;
        margin-bottom: 15px;
        margin-top: 10px;
        gap: 10px;
    }
    .filter-wrap .close-panel{
        display: flex;
    }
    .cabinet_link{
        margin-left: inherit;
    }
    .filter-wrap {
        width: 100%;
        max-width: 100%;
        padding: 80px 20px 20px;
        background: linear-gradient(180deg, #1a1932 0%, #26253e 100%);
    }
    .filter-header{
        padding: 18px 20px;
    }
    .filter-form{
        flex-direction: column;
        margin-bottom: 0;
    }
    .filter-item {
        margin-bottom: 22px;
        padding-bottom: 22px;
        width: 100%;
    }
    .filter-item .metro-select{
        width: 100%;
        padding: 14px 15px;
        font-size: 16px;
    }
    .filter-buttons{
        flex-direction: column;
        bottom: 0;
        background: linear-gradient(180deg, transparent, #26253e 20%);
        padding: 25px 20px 20px;
        margin: 0 -20px;
        gap: 12px;
        border-top: none;
    }
    .filter-reset-btn,
    .filter-submit-btn{
        width: 100%;
        padding: 16px;
        font-size: 16px;
    }
    .show-filter{
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }
    .slider-item .noUi-connects{
        width: 100%;
    }
    .slider-item{
        flex-direction: column;
        gap: 15px;
    }
    .filter-btn{
        display: flex;
        margin-right: 15px;
    }
    .filter-cabinet{
        justify-content: right;
    }
    .burger-menu-text{
        display: none;
    }
}
@media (max-width: 992px) {
    .params-item{
        flex-direction:column-reverse;
    }
}
@media (max-width: 500px) {
    .logo svg{
        max-width: 150px;
    }
    .side-panel-content{
        padding: 21px 10px;
    }
}
@media (max-width: 380px) {
    .order-block{
        margin-bottom: 15px;
    }
}

/* Favorites */
.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
    z-index: 5;
}
.favorite-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}
.favorite-btn.active {
    color: #FF005C;
}
.favorite-btn svg {
    width: 18px;
    height: 16px;
}
.favorites-link {
    color: #FF005C;
    font-size: 20px;
    text-decoration: none;
    margin-left: auto;
    transition: color 0.3s ease;
}
.favorites-link:hover {
    color: #FF005C;
}
.empty-favorites {
    text-align: center;
    padding: 60px 20px;
}
.empty-favorites-icon {
    margin-bottom: 20px;
}
.empty-favorites-icon svg {
    width: 60px;
    height: 54px;
}
.empty-favorites-text {
    font-size: 24px;
    margin-bottom: 10px;
}
.empty-favorites-hint {
    color: #888;
    margin-bottom: 30px;
}

/* ============================================
   NATIVE GALLERY STYLES
   ============================================ */

.native-gallery {
    position: relative;
}

.gallery-main {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.gallery-main-img {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.gallery-main:hover .gallery-main-img {
    transform: scale(1.02);
}

/* Zoom icon overlay */
.gallery-main::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3Cline x1='11' y1='8' x2='11' y2='14'%3E%3C/line%3E%3Cline x1='8' y1='11' x2='14' y2='11'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px;
}

.gallery-main:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
}

.gallery-main:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.gallery-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

.gallery-counter {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding: 8px 4px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.gallery-thumbs::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbs::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #FF005C 0%, #ff3d7f 100%);
    border-radius: 3px;
}

.gallery-thumb {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.gallery-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
    z-index: 1;
}

.gallery-thumb:hover {
    opacity: 0.85;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.gallery-thumb:hover::before {
    background: transparent;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: #FF005C;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 92, 0.4);
}

.gallery-thumb.active::before {
    background: transparent;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-thumb:hover img {
    transform: scale(1.1);
}

/* Fullscreen Gallery */
.gallery-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-fullscreen.active {
    display: flex;
    animation: galleryFadeIn 0.3s ease forwards;
}

@keyframes galleryFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gallery-fullscreen-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    padding: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.gallery-fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-fullscreen-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.gallery-fullscreen-prev {
    left: 25px;
}

.gallery-fullscreen-next {
    right: 25px;
}

.gallery-fullscreen-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-fullscreen-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    animation: galleryZoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes galleryZoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-fullscreen-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .gallery-nav {
        width: 38px;
        height: 38px;
        font-size: 16px;
        opacity: 1;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }

    .gallery-main::after {
        display: none;
    }

    .gallery-thumb {
        flex: 0 0 56px;
        width: 56px;
        height: 56px;
        border-radius: 8px;
    }

    .gallery-fullscreen-nav {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .gallery-fullscreen-prev {
        left: 10px;
    }

    .gallery-fullscreen-next {
        right: 10px;
    }

    .gallery-fullscreen-close {
        top: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
        font-size: 28px;
    }
}

/* ============================================
   POST ITEM SLIDER STYLES
   ============================================ */

.post-item-slider {
    position: relative;
}

.post-item-slider .image-wrap {
    position: relative;
    overflow: hidden;
}

.post-item-slider .slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.post-item-slider .slide.active {
    display: block;
    position: relative;
}

.post-item-slider .slide picture,
.post-item-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-item-slider .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.post-item-slider:hover .slider-nav {
    opacity: 1;
}

.post-item-slider .slider-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.post-item-slider .slider-prev {
    left: 8px;
}

.post-item-slider .slider-next {
    right: 8px;
}

.post-item-slider .slider-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 10;
}

.post-item-slider .slider-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.post-item-slider .slider-dots .dot.active {
    background: #fff;
    transform: scale(1.2);
}

.post-item-slider .slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .post-item-slider .slider-nav {
        opacity: 1;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .post-item-slider .slider-prev {
        left: 5px;
    }

    .post-item-slider .slider-next {
        right: 5px;
    }
}
