main,
section,
main.category-view section>div>div {
    display: flex;
    width: 100%;
    align-content: center;
    height: min-content;
    overflow: hidden;
    justify-content: space-between;
    align-items: flex-start;
}

main.landing-view,
section {
    flex-flow: column;
}

main.landing-view section {
    border-bottom: 1px solid rgb(231, 231, 231);
}

main.landing-view section {
    position: relative;
    overflow: hidden;
}

main.landing-view section>div {
    width: 100%;
    display: flex;
    gap: calc(100% * (24/1440));
    overflow: hidden;
    padding-bottom: 11px;
    flex-flow: row;
    margin: 0 20px;
    position: relative;
}

main.landing-view section>div:after {
    content: "";
    flex: auto;
}

main.landing-view img {
    aspect-ratio: 259/344;
    object-fit: contain;
    object-position: center;
}

main.landing-view h2 {
    text-transform: uppercase;
}

main.landing-view h4 {
    text-transform: uppercase;
}

.scroll-and-products {
    margin: 0;
    padding: .5em 0;
}

.scroll-and-products>div {
    margin: 0 !important;
}

.scroll-button {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    font-size: 20px;
    background-color: rgba(175, 173, 171, 0.5);;
    border: none;
    cursor: pointer;
    z-index: 2;
    margin: 0;
}

.scroll-button:hover {
    background-color: var(--color-gray-2);
}

.scroll-button.left {
    left: 0;
}

.scroll-button.right {
    right: 0;
}

#hero-block {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
    height: 500px;
    border: none;
    padding: 0 inherit !important;
}

#hero-block * {
    background-color: white !important;
    border: none;
}

.slides {
    position: relative;
    overflow-y: hidden;
    width: 100%;
    height: 500px;
    border: none;
    box-shadow: none;
    outline: none;
}

.slide {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: left 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.slide.show {
    left: 0;
    opacity: 1;
}

.slide.prev {
    left: -100%;
    opacity: 0;
}

.slide.show {
    display: block;
}

#hero-block img {
    object-fit: contain;
    object-position: center;
    width: 100%;
}

@media only screen and (max-width: 1050px) {
    .product-block {
        min-width: 30%;
    }
}

/* Start mobile specific rules */
@media only screen and (max-width: 800px) {

    #hero-block {
        height: 300px;
        padding: 20px;
    }

    main.landing-view section>div {
        margin: 20px 0;
        position: relative;
       
    }

    .scroll-button.left {
        left: 0;
    }

    .scroll-button.right {
        right: 0;
    }

    .product-block {
        min-width: 45%;
    }
    
}

@media only screen and (max-width: 500px) {
     #hero-block img {
        object-fit: cover;
    }
    
    .product-block {
        min-width: 100%;
    }
}


#main-products-block {
    margin-left: 40px;
    width: 90%;
}

#product-display {
    display: flex;
    flex-flow: row wrap;
    gap: 17px;
}

main.category-view section>div>div {
    gap: 15px;
    flex-flow: row wrap;
    width: 100%;
}

main.category-view section>div>div:after {
    content: "";
    flex: auto;
}

main.category-view section h1 {
    text-transform: capitalize;
}

.products-page {
	display: flex;
	flex-direction: row
}

main.landing-view section div:first-child {
	justify-content: space-between
}

main.landing-view h4 {
	text-transform: uppercase
}

@media only screen and (max-width: 1050px) {
	.product-block {
		min-width: 30%;
	}
}

@media only screen and (max-width: 905px) {
	#top-menu>div>a {
		position: relative;
		left: 0%;
		transform: translate(0%, 0%);
	}

	#footer-content {
		display: flex;
		flex-flow: row wrap;
	}
}

/* Start mobile specific rules */
@media only screen and (max-width: 800px) {
	#categories-block div a {
		aspect-ratio: 171/320;
	}
	
		.heading-filter-btn h2 {
			display: inline-block;
		}
	
		.heading-filter-btn #filter-open-button {
			display: inline-block;
			fill: var(--color-primary-blue);
			border: none;
		}
}

@media only screen and (max-width: 650px) {
    main.landing-view section>div {
        overflow-x: auto;
    }

        .slides {
            overflow-x: hidden !important;
        }
}


@media only screen and (max-width: 480px) {

    .product-block,
    .brand-block {
        min-width: 80%;
        margin-left: 2.5em;
    }

    .product-block picture,
    .brand-block picture {
        min-height: 70vw;
    }
}
