/*============================================================================================
   Start All Brands CSS
==============================================================================================*/
.all-brands-banner img {
    width: 100%;
    border-radius: 0;
}
.all-brands-inner {
    padding: 56px 0px;
}
.all-brands-content {
    margin-top: 24px;
}
.all-brands-wrapper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}
.all-brands-wrapper a {
	display: block;
	border: 1px solid #ddd;
	padding: 12px;
	border-radius: 8px;
	box-shadow: 0px 2px 2px 0px rgba(44, 44, 84, 0.08);
	background: var(--white-color);
}
.all-brands-wrapper a img {
    width: 100%;
    height: 48px;
    object-fit: contain;
}
.all-brands-content p {
    font-size: 16px;
    color: var(--title-color);
    margin: 0;
}
.all-brands-title {
    position: relative;
    padding-bottom: 8px;
    text-align: center;
    font-size: 24px;
}

.all-brands-title::before {
    position: absolute;
    content: "";
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    border-radius: 16px;
}
.brand-single-page .brand-logo {
    background: var(--white-color);
    border: 1px solid #ddd;
    padding: 24px;
    border-radius: 12px;
}
.brand-single-page .brand-logo img {
    width: 100%;
    height: 80px;
    object-fit: contain;
}
.brand-page-description{
    display: -webkit-box;
     overflow: hidden;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
}
.brand-page-description.show {
	display: block;
}

.brand-page-description h1,
.brand-page-description h2,
.brand-page-description h3,
.brand-page-description h4 {
    font-size: 28px;
    margin-bottom: 16px;
}
.brand-page-description-wrapper {
    margin: 0px 40px;
}

.brand-single-page .product-wrapper.category-product-all {
    margin: 0;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .brand-single-page .brand-logo {
        width: 50%;
        margin: auto;
        margin-bottom: 40px;
    }
}

@media only screen and (max-width: 767px) {
    .all-brands-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    .all-brands-content p {
        font-size: 14px;
    }
    .all-brands-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .all-brands-wrapper a img {
        height: 40px;
    }
    .all-brands-inner {
        padding: 40px 0px;
    }
    .all-brands-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    .all-brands-content p {
        font-size: 14px;
    }
    .all-brands-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .all-brands-wrapper a img {
        height: 40px;
    }
    .all-brands-inner {
        padding: 40px 0px;
    }

    .brand-logo.brand-page-logo {
        max-height: 130px;
        width: auto;
        margin-bottom: 30px;
    }
    .brand-single-page .brand-logo img {
        height: 40px;
    }
    .brand-single-page .brand-logo {
        padding: 16px;
    }
    .brand-page-description-wrapper {
        margin: 0;
        margin-top: 24px;
    }
    .brand-page-description h1,
    .brand-page-description h2,
    .brand-page-description h3,
    .brand-page-description h4 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    .page-content.brand-single-page {
        padding-top: 40px;
    }
    .brand-single-page .brand-logo {
        width: 50%;
        margin: auto;
    }
}

/*============================================================================================
   End All Brands CSS
==============================================================================================*/
