/* Custom home page template */

div#content .col-full {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.hs-home-template {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

h2.hs-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    width: fit-content;
    max-width: fit-content;
    margin-bottom: 1rem !important;
}

a.hs-section-title-link{
    display: block;
    text-decoration: none;
    width: fit-content;
    max-width: fit-content;
}

a.hs-section-link {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--main-color);
    color: #fff;
    padding: 0 1rem;
    border-radius: 4px;
    transform: ease-in-out 0.2s;
}

.hs-section-link:hover {
    background: #0a457e;
    color: #fff;
}

/* Product Categories Section - Start */

.hs-product-categories .hs-product-categories__wrap {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    justify-content: center;
}

.hs-product-categories a.hs-cat-item img.hs-cat-image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    width: 100%;
}

.hs-product-categories a.hs-cat-item h3.hs-title {
    font-size: 12px;
  	font-weight: 700;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.3em;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media screen and (max-width: 990px) {
    .hs-product-categories .hs-product-categories__wrap {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
		overflow: auto;
		justify-content: start;
		
		a.hs-cat-item {
			min-width: 80px;
			margin-bottom: 5px;
		}
		
		a.hs-cat-item h3.hs-title {
			font-size: 11px;
			font-weight: 600;
		}
		
		.hs-cat-image{
			border: solid 1px #f2f2f2;
			margin-bottom: 10px;
		}
    }
}

/* Product Categories Section - End */

/* Small Banner Section - Start */

.hs-small-banners__wrap {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

@media screen and (max-width: 990px) {
    .hs-small-banners__wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }
}

img.hs-small-banners__image {
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  	border-radius: 0.5rem;
}
/* Small Banner Section - End */

/* Banner with products list - Start */

.hs-banners-products-list-banners__wrap {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media screen and (max-width: 990px) {
    .hs-banners-products-list-banners__wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }
}

img.hs-banners-products-list__image {
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  	border-radius: 0.5rem;
}

/* Banner with products list - End */

/* Single Banner - Start */

div.hs-single-banner__item img {
    border-radius: 0.5rem;
  	width: 100%;
}

/* Single Banner - End */


/* Product Brands Section - Start */

.hs-product-brands .hs-product-brands__wrap {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
    justify-content: center;
}

.hs-product-brands a.hs-cat-item {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: solid 1px #f2f2f2;
    border-radius: 0.5rem;
    padding: 5px;
  	background: #ffffff;
}


.hs-product-brands a.hs-cat-item:hover {

  	border: solid 1px #DF7A00;
}

.hs-product-brands a.hs-cat-item img.hs-cat-image {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    width: 100%;
}

.hs-product-brands a.hs-cat-item h3.hs-title {
    font-size: 12px;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.3em;
}

.hs-product-brands a.hs-cat-item.view-more {
    background: #F7941C;
}

.hs-product-brands a.hs-cat-item.view-more:hover {
    background: #DF7A00;
}

a.hs-cat-item.view-more h3 {
    color: #000;
}


@media screen and (max-width: 990px) {
    .hs-product-brands .hs-product-brands__wrap {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
		overflow: auto;
		justify-content: start;
		
		a.hs-cat-item {
			min-width: 100px;
            border: solid 1px #ddd;
			border-radius: 0.5rem;
			margin-bottom: 5px;
		}
		
		a.hs-cat-item h3.hs-title {
			font-size: 11px;
			font-weight: 600;
		}
    }
}

/* Product brands Section - End */
