:root {
    /* ===== COLORS ===== */
    --white: #fff;
    --black: #000;

    --gray-25: #f4f4f4;
    --gray-50: #f6f6f6;
    --gray-100: #f8f8f8;
    --gray-200: #f5f5f5;
    --gray-300: #eaeaea;
    --gray-350: #E7E7EA;
    --gray-400: #d1d1d8;
    --gray-500: #bdbdbd;
    --gray-600: #a2a3b1;
    --gray-700: #555;
    --gray-450: #d8d8d8;

    --overlay-white: rgba(255, 255, 255, 0.32);
    --overlay-black-soft: rgba(0, 0, 0, 0.08);

    /* ===== ACCENT ===== */
    --accent-red: #e30611;
    --accent-blue: #2F80ED;
    --accent-red-light: #ff6b6b;
    --accent-red-100: #FFB5AA;
    --accent-red-10: #FCF4F3;
    --success: #059669;

    /* ===== TEXT ===== */
    --text-main: var(--black);
    --text-secondary: var(--gray-700);

    /* ===== UI ===== */
    --bg-main: #f8f9fa;
    --card-bg: var(--gray-200);
    --filter-price-range: #535353;
    --filter-price-input: #fcfcfc;

    /* ===== SHADOWS ===== */
    --shadow-main: 2px 2px 4px rgba(0, 0, 0, 0.08),
    -2px -2px 4px rgba(255, 255, 255, 1);

    --shadow-hover: 0 12px 36px rgba(0, 0, 0, 0.25);

    /* ===== ANIMATION ===== */
    --transition-fast: 0.25s ease;
    --transition-base: 0.4s ease;
    --transition-img: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
    --border-anim-speed: 0.8s;

    --dash-array: 326;
    --fade-speed: 0.3s;
    --stroke-width: 2px;
    --btn-shadow: 2px 2px 3px 0px #00000040;

    /* ===== GRADIENT ===== */
    --border-grad: linear-gradient(92deg, #fff 1.2%, var(--overlay-white) 99.8%);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif !important;
    background: var(--gray-50) !important;
    color: var(--text-main) !important;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

.d-none {
    display: none !important;
}

/* ===== LAYOUT ===== */
.main-container {
    max-width: 1920px;
    padding: 0 100px;
    margin: 0 auto;
}

.catalog-all-content {
    width: 100%;
}

.catalog-page-content {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding-top: 60px;
    width: inherit;
}

.catalog-aside-container {
    min-width: 412px;
    font-weight: 600;
    font-size: 20px;
}

.catalog-collection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
}

.catalog-collection_sec_title {
    font-weight: 600;
    font-size: 28px;
}

.title-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
}

.close-filter-button {
    display: none;
}

.overlay {
    position: fixed;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5) !important;
    overflow: hidden;
    z-index: 999999;
    width: 100%;
    height: 100%;
}
.overlay-wrapper .overlay{
    left: auto;
    top: 30px;
    background: #fff!important;
    font-family: "Open Sans", sans-serif !important;
}

.butt_smal_bas {
    background: var(--accent-red);
    color: var(--filter-price-input);
    font-weight: 500;
    border-radius: 9999px!important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-base);
    font-size: 16px;
    line-height: 22px;
}

.butt_smal_bas:hover {
    transform: scale(1.04);
}

.small-cart-close {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-base);
    font-size: 16px;
    line-height: 22px;
    border: 1.5px solid var(--accent-red-100);
    color: var(--accent-red);
    padding: 12px 32px;
    border-radius: 9999px;
    font-weight: 400;
    width: 100%;
}
.no-scroll {
    overflow: hidden;
}

.mobile-filter {
    display: flex;
    flex-direction: row-reverse;
    gap: 12px;
    align-items: center;
}

.nc-icon-svg {
    fill: var(--accent-red);
    transition: transform 0.3s ease, fill 0.3s ease;
}

.vmw__launcher-btn.inactive {
    display: none !important;
}

.helper-text a {
    color: var(--accent-red);
    font-weight: 500;
}

.draw-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 47px;
    cursor: pointer;
    text-decoration: none;
    background: transparent;
    border-radius: 100px;
    border: var(--stroke-width) solid var(--accent-red);
    color: var(--accent-red);
    box-sizing: border-box;
    outline: none;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: visible;
    box-shadow: var(--btn-shadow);
}

.btn-label {
    position: relative;
    z-index: 3;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: var(--accent-red);
    pointer-events: none;
    transition: opacity var(--fade-speed) ease;
}

.draw-text-mask {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    color: var(--accent-red);
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    pointer-events: none;
    clip-path: inset(0 0 0 100%);
    opacity: 0;
    will-change: clip-path, opacity;
}
.border-svg {
    position: absolute;
    top: calc(var(--stroke-width) * -1);
    left: calc(var(--stroke-width) * -1);
    pointer-events: none;
    z-index: 2;
    overflow: visible;
}

.border-path {
    fill: none;
    stroke: var(--accent-red);
    stroke-width: var(--stroke-width);
    stroke-linecap: round;
    stroke-dasharray: var(--length);
    stroke-dashoffset: var(--length);
    opacity: 0;
}

.draw-btn:hover {
    border-color: transparent;
    box-shadow: none;
    transition: border-color 0s;
}

.draw-btn:hover .btn-label {
    opacity: 0;
}

.draw-btn:hover .border-path {
    opacity: 1;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset var(--dynamic-duration, 1.2s) ease-in-out, opacity var(--fade-speed) ease;
}

.draw-btn:hover .draw-text-mask {
    opacity: 1;
    clip-path: inset(0 0 0 0%);
    transition: clip-path var(--dynamic-duration, 1.2s) ease-in-out,
    opacity var(--fade-speed) ease;
}

.notetext {
    display: flex;
    align-content: center;
    justify-content: center;
    font-size: 16px;
    padding: 20px;
    text-align: center;
    color: var(--accent-red) !important;
}
@keyframes float {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.animate-float {
    animation: float 2.5s ease-in-out infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1600px) {
    .main-container {
        padding: 0 100px
    }

    .catalog-page-content {
        gap: 42px;
        padding-top: 20px;
    }

    .catalog-aside-container {
        min-width: 350px;
    }

    .catalog-collection_sec_title {
        font-size: 24px;
    }

    .catalog-collection-header {
        padding-bottom: 32px;
    }
}

@media (max-width: 1279px) {
    .main-container {
        padding: 0 60px
    }

    .catalog-page-content {
        gap: 42px;
        padding-top: 20px;
    }

    .catalog-aside-container {
        min-width: 440px;
        max-width: 440px;
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        z-index: 1000000;
        background: var(--filter-price-input);
        margin: 0 auto;
        padding: 40px 60px 70px;
        overflow-y: auto;
        height: 100vh;
        border-bottom-left-radius: 20px;
        border-top-left-radius: 20px;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .catalog-aside-container.open {
        right: 0;
        opacity: 1;
        visibility: visible;
    }

    .catalog-collection_sec_title {
        font-size: 24px;
    }

    .close-filter-button {
        display: block;
    }

    .catalog-collection-header {
        padding-bottom: 32px;
    }
}

@media (max-width: 1279px) {
    .main-container {
        padding: 0 60px
    }

    .catalog-page-content {
        padding-top: 40px;
    }

    .notetext {
        font-size: 18px;
    }
}

@media (max-width: 1023px) {
    .main-container {
        padding: 0 40px
    }

    .catalog-page-content {
        padding-top: 40px;
    }

    .catalog-aside-container {
        min-width: 368px;
        max-width: 368px;
        padding: 20px 40px 70px;
    }
}

@media (max-width: 767px) {
    .draw-btn {
        padding: 3px 18px;
    }

    .btn-label ,.draw-text-mask{
        font-size: 12px;
    }

    .main-container {
        padding: 0 8px
    }

    .catalog-page-content {
        padding-top: 24px;
    }

    .catalog-aside-container {
        min-width: 100%;
        max-width: 100%;
        padding: 16px 10px 70px;
        border-bottom-left-radius: 16px;
        border-top-left-radius: 16px;
    }

    .catalog-collection_sec_title {
        font-size: 20px;
    }
}

@media (max-width: 374px) {
    .catalog-collection_sec_title {
        font-size: 20px;
    }
    .draw-btn {
        padding: 3px 10px;
    }
}