@font-face {
font-family: "Poppins";
src: url("./src/poppins-regular-webfont.woff2") format('woff2');
    font-style: normal;
    font-weight: normal;
}

:where(ul, ol):where([class]) {
    padding-left: 0;
}
body, :where(blockquote, figure):where([class]) {
    margin: 0;
}
:where(h1,h2,h3,h4,h5,h6,p,ul,ol,dl):where([class]) {
    margin-block: 0;
}
:where(dd[class]) {
    margin-left: 0;
}
:where(fieldset[class]) {
    margin-left: 0;
    padding: 0;
    border: none;
}
:where(ul[class]) {
    list-style: none;
}
p {
    --paragraphMarginBottom: 24px;
    margin-block: 0;
}
p:where(:not([class]):not(:last-child)) {
    margin-bottom: var(--paragraphMarginBottom);
}
input, textarea, select, button {
    font: inherit;
}
html {
    height: 100%;
    scroll-behavior: smooth;
}
body {
    min-height: 100%;
    line-height: 1.5;
}
svg *[fill] { fill: currentColor }
svg *[stroke] { stroke: currentColor }
svg * {
    transition-property: fill, stroke;
}

body {
    font-family: Poppins, Helvetica, sans-serif;
}

a {
    outline: none;
    text-decoration: none;
    padding: 0;
}

a:link {
    color: #000;
}

a:focus {
    border-bottom: none;
}

a:hover {
    border-bottom: none;
}

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

.categories {
    margin-top: 30px;
    padding: 0 15px;
    font-size: 18px;
    display: flex;
    width: 100%;
    justify-content: center;
}

.categories-list {
    gap: 10px;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: start;
}
.category {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px 20px;
    color: black;
    background-color: #F1F2F3;
}

.active-catalog {
    background-color: #4DAA59;
    color: white !important;
}

.catalog {
    display: flex;
    margin-top: 40px;
    width: 100%;
}

.brands-filter {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
    align-items: center;
    width: 20%;
}

.brands-title {
    font-size: 26px;
    text-align: center;
}

.divider {
    width: 90%;
    height: 1px;
    background-color: #828282;
}

.y-divider {
    width: 3px;
    height: 650px;
    margin-top: 20px;
    background-color: #828282;
}

.brands-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: start;
    gap: 10px;
    padding: 0 20px;
}

.brand-item {
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}
.brand-checkbox {
    -ms-transform: scale(1.5); /* IE */
    transform: scale(1.5);
    border-radius: 6px;
    margin: 0;
}

.brand-name {
    font-size: 1.2vw;
    user-select: none;
    cursor: pointer;
}

.catalog-container {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    padding-top: 25px;
}

.catalog-cards {
    display: flex;
    flex-wrap: wrap;
}

.card-item-container {
    width: 20%;
    padding: 1.5%;
}

.card-item {
    display: flex;
    padding: 7.5% 5% 7.5% 5%;
    border-radius: 15px;
    border: 1px solid #828282;
}

.card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
}

.card-title {
    font-size: 1vw;
    height: 6vw;
    width: 100%;
}

.relative-container {
    width: 100%;
    position: relative;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-button {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: #4DAA59;
    border-radius: 8px;
    padding: 13px 25px;
    font-weight: bold;
    border: none;
    font-size: 0.9vw;
}

.card-button:hover {
    background-color: #3a7940;
}

.catalog-line {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}

.company-logo {
    width: 6vw;
    position: absolute;
    top: 8px;
    right: 8px;
}

.catalog-main {
    display: flex;
    flex-direction: column;
    padding-bottom: 50px;
}

@media (max-width: 1440px) {
    .card-title {
        font-size: 1.17vw;
		height: 7vw;
    }
    .card-button {
        font-size: 1.23vw;
        padding: 10px 10px;
    }
}

@media (max-width: 1024px) {
    .card-item-container {
        width: 25%;
        padding: 1%;
    }
    .card-button {
        font-size: 1.2vw;
        padding: 10px 15px;
    }
    .card-title {
        font-size: 1.5vw;
        height: 9vw;
    }
    .categories {
        font-size: 15px;
    }
    .brand-name {
        font-size: 1.5vw;
    }
    .company-logo {
        width: 7vw;
    }
    .card-link {
        gap: 11px;
    }
}

@media (max-width: 768px) {
    .card-item-container {
        width: 33.3%;
        padding: 1%;
    }
    .card-button {
        font-size: 1.8vw;
        padding: 10px 12px;
    }
    .card-title {
        font-size: 2.15vw;
        height: 12vw;
    }
    .categories {
        font-size: 14px;
    }
    .brands-filter {
        width: 200px;
        padding: 10px 0;
    }
    .brand-name {
        font-size: 2.5vw;
    }
    .company-logo {
        width: 9vw;
    }
    .card-link {
        gap: 9px;
    }
}

@media (max-width: 580px) {
    .card-item-container {
        width: 33.3%;
        padding: 1%;
    }
    .card-button {
        font-size: 2.2vw;
        padding: 10px 15px;
    }
    .card-title {
        font-size: 2.8vw;
        height: 11vw;
    }
    .company-logo {
        width: 11vw;
    }
    .card-link {
        gap: 8px;
    }
    .brand-name {
        font-size: 2.9vw;
    }

    .catalog {
        display: flex;
        flex-direction: column;
    }
    .y-divider {
        display: none;
    }
    .brands-filter {
        width: 100%;
    }
    .brands-list {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
        padding: 0;
        gap: 15px;
    }
    .brand-item {
        gap: 10px;
        padding: 1.5%;
    }
    .divider {
        order: 3;
    }
}

@media (max-width: 500px) {
    .card-item-container {
        width: 50%;
        padding: 1%;
    }
    .card-button {
        font-size: 3.5vw;
        padding: 10px 15px;
    }
    .card-title {
        font-size: 4vw;
        height: 16vw;
    }
    .company-logo {
        width: 18vw;
    }
    .brand-name {
        font-size: 16px;
    }
}

ul {
    list-style: none;
}

.section-guide {
	display: flex;
	flex-direction: column;
	padding: 15px;
	border-radius: 10px;
	border: 1px solid #4DAA59;
	box-shadow: 4px 4px 8px 0px rgba(77, 170, 89, 0.2);
	gap: 10px;
	max-width: 900px;
	margin: 30px 20px 0 20px;
}

.guide-zag {
	font-weight:  bold;
	font-size: 18px;
}

.guide-text {
	font-size: 14px;
}


.ast-container {
	flex-direction: column;
	flex-wrap: nowrap;
}







/* Дополнительные стили*/

