@import url(inter.css);

input[type=checkbox]:checked,
input[type=checkbox]:hover {
    border-color: var(--color-primary)
}

body {
    font-family: Inter, sans-serif;
    background-color: #f9f8f4
}

details>summary {
    list-style: none
}

details>summary::-webkit-details-marker {
    display: none
}

button:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--color-gray-200);
    outline: 0
}

.scrollbar-hide::-webkit-scrollbar {
    display: none
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none
}

input[type=checkbox] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    min-width: 15px;
    height: 15px;
    border: 1px solid #d1d5db;
    border-radius: .25rem;
    background: #fff;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    transition: background .12s, border-color .12s, box-shadow .12s;
    box-sizing: border-box
}

input[type=checkbox]:checked {
    background: var(--color-primary)
}

input[type=checkbox]::after {
    content: '';
    position: absolute;
    display: none
}

input[type=checkbox]:checked::after {
    display: block;
    left: 4px;
    top: 0;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg)
}

input[type=checkbox]:disabled,
input[type=checkbox]:disabled:focus,
input[type=checkbox]:disabled:hover,
input[type=checkbox][disabled],
input[type=checkbox][disabled]:focus,
input[type=checkbox][disabled]:hover {
    border: none;
    cursor: not-allowed
}

input[type=checkbox]:focus {
    outline: 0;
    box-shadow: 0 0 0 4px rgba(201, 46, 46, .12)
}

#site-header[data-scrolled] #header-scroll-contacts {
    max-width: 240px;
    opacity: 1;
    pointer-events: auto
}

::-webkit-scrollbar {
    height: 1px;
    width: 5px
}

::-webkit-scrollbar-track {
    border-radius: 0
}

::-webkit-scrollbar-thumb {
    background: #600000;
    border-radius: 0
}

::-webkit-scrollbar-thumb:hover {
    background: #600000
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: 0 0
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--color-stone-200);
    border-radius: var(--radius-xl)
}

.table-responsive table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px
}

.table-responsive table td,
.table-responsive table th {
    padding: .75rem .5rem;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    text-align: left;
    vertical-align: middle;
    white-space: nowrap
}

@media (min-width:768px) {
    .table-responsive {
        overflow-x: visible
    }

    .table-responsive table {
        min-width: 0
    }

    .table-responsive table td,
    .table-responsive table th {
        white-space: normal
    }
}

.product-slider-thumbs,
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
}

.article-content {
    line-height: 1.8;
    color: #44403c
}

.article-content>*+* {
    margin-top: 1.1rem
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: #0c0a09;
    font-weight: 800;
    line-height: 1.25;
    margin-top: 2rem;
    margin-bottom: 1rem
}

.article-content h2 {
    font-size: 1.75rem
}

.article-content h3 {
    font-size: 1.35rem
}

.article-content h4 {
    font-size: 1.15rem
}

.article-content blockquote,
.article-content ol,
.article-content p,
.article-content table,
.article-content ul {
    margin-bottom: 1rem
}

.article-content ol,
.article-content ul {
    padding-left: 1.25rem
}

.article-content ul {
    list-style: disc
}

.article-content ol {
    list-style: decimal
}

.article-content a {
    color: #b91c1c;
    text-decoration: underline;
    text-underline-offset: 3px
}

.article-content img {
    display: block;
    width: 100%;
    max-width: 650px;
    height: 320px;
    border-radius: 1.5rem;
    margin: 1.5rem 0
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 1rem
}

.article-content table td,
.article-content table th {
    border: 1px solid #e7e5e4;
    padding: .75rem 1rem
}

.article-content blockquote {
    border-left: 4px solid #dc2626;
    padding-left: 1rem;
    color: #57534e
}

.filter-close-btn,
.filthidd {
    display: none
}

[data-catalog-dynamic].is-loading {
    position: relative;
    pointer-events: none
}

[data-catalog-dynamic].is-loading::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 45;
    background: rgba(249, 248, 244, .72);
    backdrop-filter: blur(2px);
    border-radius: 1.5rem
}

[data-catalog-dynamic].is-loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 120px;
    z-index: 46;
    width: 42px;
    height: 42px;
    margin-left: -21px;
    border-radius: 9999px;
    border: 3px solid rgba(139, 0, 0, .18);
    border-top-color: #8b0000;
    animation: .75s linear infinite catalog-filter-spin
}

@keyframes catalog-filter-spin {
    to {
        transform: rotate(360deg)
    }
}

[data-catalog-item] {
    will-change: transform, opacity
}

[data-catalog-item].catalog-item-enter {
    opacity: 0;
    transform: translateY(18px) scale(.985);
    animation: .45s cubic-bezier(.2, .8, .2, 1) forwards catalog-item-enter;
    animation-delay: var(--catalog-item-delay, 0ms)
}

@keyframes catalog-item-enter {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(.985)
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

.filtblock.filter-active .filtoption {
    display: block
}

.filtblock.filter-active .filtname-chevron {
    transform: rotate(180deg)
}

.product-slider__img img {
    width: 100%;
    height: auto;
    object-fit: contain
}

.product-slider-thumbs {
    gap: 8px;
    padding: 6px
}

@media (prefers-reduced-motion:reduce) {
    [data-catalog-item].catalog-item-enter {
        animation: none !important;
        transform: none !important;
        opacity: 1 !important
    }
}

.table-responsive {
    width: 100%
}

@media (max-width:767px) {
    .filtblock.filter-active::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .45);
        z-index: 40
    }

    .filtblock.filter-active .filtoption {
        position: fixed !important;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        z-index: 100;
        max-height: 85vh;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0
    }

    .btnaddcard,
    .scmatcard {
        min-height: 48px;
        padding-top: 12px;
        padding-bottom: 12px
    }

    .product-slider__img {
        aspect-ratio: 1/1
    }

    .rounded-xl.p-4 {
        padding: 12px
    }

    .scroll-sidebar__value {
        font-size: 20px
    }

    .scroll-sidebar__form input[type=tel] {
        min-height: 48px;
        font-size: 16px
    }

    .product-tabs__tabs .tabs__nav {
        gap: 8px
    }

    .filtname {
        padding-left: 1rem;
        padding-right: 1rem;
        display: flex;
        align-items: center
    }

    .filtoption {
        padding: 1rem;
        border-radius: 12px 12px 0 0;
        max-height: 85vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch
    }

    .filtvals label {
        padding-top: .75rem;
        padding-bottom: .75rem
    }

    .btnaddcard,
    .clefilter,
    .filtmore,
    .filtname,
    .matscard {
        min-height: 44px
    }

    .filter-close-btn {
        display: flex;
        position: absolute;
        right: 12px;
        top: 12px;
        z-index: 40;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: rgba(255, 255, 255, .9);
        font-size: 18px;
        border: none
    }

    .table-responsive table thead {
        display: none
    }

    .table-responsive table tbody tr {
        display: block;
        border-bottom: 1px solid #e5e7eb;
        margin-bottom: 12px
    }

    .table-responsive table tbody td {
        display: flex;
        justify-content: space-between;
        padding: 12px
    }

    .table-responsive table tbody td[data-label]::before {
        content: attr(data-label);
        color: #6b7280;
        margin-right: 12px;
        font-weight: 600;
        max-width: 55%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .table-responsive table tbody td span {
        text-align: right
    }
}