:root{
    --font--roboto: font-family: "Roboto", serif;
    --color--primary: #E27523;
    --color--accent: #00AF93;
    --color--accent--dark: #007860;
    --color--secondary: #54433A;
    --color--gray: #F3F3F3;
    --font-size--xxs: 0.875rem;
    --font-size--xs: clamp(0.875rem, 0.842rem + 0.175vw, 1rem);
    --font-size--s: clamp(1rem, 0.934rem + 0.351vw, 1.25rem);
    --font-size--m: clamp(1rem, 0.868rem + 0.702vw, 1.5rem);
    --font-size--l: clamp(1.25rem, 1.053rem + 1.053vw, 2rem);
    --font-size--xl: clamp(1.75rem, 1.684rem + 0.351vw, 2rem);
}

html *{
    font-family: "Roboto", sans-serif;
    color: var(--color--secondary);
    line-height: 1;
}

*{
    box-sizing: border-box;
}

.button{
    background-color: var(--color--accent);
}

.pointer{
    cursor: pointer;
}

.pink {
    background-color: pink;
}

.paleblue {
    background-color: paleturquoise;
}

.red {
    background-color: red;
}

.blue {
    background-color: blue;
}



.callout {
	border: none;
    /* background-color: none; */
}
.hideAll {
    display: none;
}

.splash {
    display: block;
}

.gray1{
    background-color: var(--color--gray);
}

.gray2{
    background-color: #c6c6c6;
}

.gray3{
    background-color: #a6a6a6;
}

.gray4{
    background-color: #8a8a8a;
}

.gray5{
    background-color: #666666;
}

.height100{
    height:100px
}

.height150{
    height: 150px;
}

.height200{
    height: 200px;
}

.height250{
    height: 250px;
}

.height300{
    height: 300px;
}

.height400{
    height: 400px;
}

.height800{
    height: 800px;
}

main{
    margin-bottom: 200px;
}

.homeSection{
    margin-top: 80px;
}

.grid-container-small{
    margin-left: 25%;
    margin-right: 25%;
    width: 50%;
}

.justify-center{
    justify-content: center;
}

.show-login{
    background-color:rgba(0, 0, 0, 0.295);
    width: 100%;
    position: fixed;
    z-index: 999;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    /* bottom: 25%; */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-bar{
    justify-content: space-between;
}

.title-bar-right > ul{
    justify-content: flex-end;
}

.text-color-change{
    color: var(--color--primary);
}

/*********** HEADER *********/
.title-bar{
    background-color: white;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    font-weight: 800;
}

#main-nav{
    display: flex;
    align-items: center;
}

@media screen and (min-width: 64em) {
    .title-bar-right{
        display: flex;
        justify-content: flex-end;
        flex: 3;
    }
}

.logo-wrapper{
    height: 100%;
}

.logo{
    padding-left: 8px;
    object-fit: contain;
    height: 55px;
    /* width: auto; */
}

.top-bar{
    background: white;
    padding: 0 6%;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    font-weight: 800;
    min-height: 100px;
}
/* Small only */
@media screen and (max-width: 39.9375em) {
    #main-nav{
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .top-bar-hider{
        display: none;
    }

    .top-bar-right__list{
        align-items: flex-start !important;
    }

    .top-bar-right__list a{
        padding-left: 0;
    }
    
    .top-bar-right__list > ul > li > a{
        padding-left: 0 !important;
    }
}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    #main-nav{
        min-height: 80px;
    }

    .top-bar-hider{
        display: none;
    }

    .top-bar-right{
        width: 100%;
        margin-left: 0 !important;
    }

    .top-bar-right__list{
        width: 100%;
    }

    .top-bar-right__search-item{
        flex-grow: 1;
        width: auto;
    }

    .top-bar-right__search-item > input{
        width: 100%;
        max-width: none;

    }
}    


.top-bar input{
    border-radius: 40px;
    border: 2px solid var(--color--secondary);
}

.top-bar-left{
    /* display: flex; */
    align-items: center;
    height: 100%;
}

.top-bar-right{
    display: flex;
    align-items: center;
    height: 100%;
}

.top-bar-right__list{
    display: flex;
    align-items: center;
}

a:hover{
    color: var(--color--primary);
}


.header-icon{
    width: 100%;
    height: 100%;
}

#header-icon__account{
    transition: 0.3s ease;
}

#header-icon__cart{
    transition: 0.3s ease;
}

.click-login:hover #header-icon__account, .click-cart:hover #header-icon__cart{
    fill: var(--color--primary);
}



/*** FOOTER ***/
.footer{
    background-color: var(--color--secondary);
    padding: 40px 0;
}

.footer *{
    color: white;
}

.footer__title{
    font-size: 1.15rem;
    font-weight: 700;
}

.footer__list{
    list-style-type: none;
    margin: 0;
}

.footer__item{
    margin-bottom: 8px;
}

.footer__hr{
    margin: 40px 0;
    border-top: 2px solid white;
}

.footer__copyright{
    text-align: center;
}

/** SLIDER **/
.main-slider{
    background-image: url(../images/grocery.jpg);
    background-size: cover;
    display: flex;
    align-items: center;
}

.main-slider__wrapper{
    width: 100%;
}

.main-slider__wrapper > *{
    font-family: "Paytone One", serif;
    font-weight: 400;
    font-style: normal;
    color: white;
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.5);
    line-height: 1;
}

.main-slider__title{
    font-size: clamp(3rem, 2.737rem + 1.404vw, 4rem);
    margin-bottom: 0;
}

.main-slider__description{
    font-size: clamp(1.75rem, 1.618rem + 0.702vw, 2.25rem);
}

.main-slider__button{
    font-size: 2rem;
    background-color: var(--color--accent--dark);
    /* line-height: ; */
    padding: 16px;
    vertical-align: middle;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.5);
}

/********************************************* DEPARTMENT ****************************/
.home-section__title{
    font-size: clamp(1.75rem, 1.684rem + 0.351vw, 2rem);
    font-weight: 800;
    padding-bottom: 24px;
}


/** Department Card **/
.department-card{
    box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.25);
    padding-bottom: 1.75rem;
    height: fit-content !important; 
}

.department-card__image-wrapper{
    max-height: 182px;
    padding: 8px;
}

.department-card__image{
    object-fit: contain;
}

.department-card__title{
    margin-top: 4%;
    font-size: var(--font-size--m);
    text-wrap: nowrap;
    font-weight: 600;
    text-align: center;
}


/** Product Card **/

.product-card__wrapper > .callout{
    padding-bottom: 3%;
}

.product-card{
    background-color: white;
    min-height: clamp(25rem, 24.178rem + 4.386vw, 28.125rem) !important;
    padding: 1.5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card__image-wrapper{
    width: 100%;
    max-height: 160px;
    display: flex;
}

.product-card__image{
    aspect-ratio: 3 / 2;
    object-fit: contain;
    max-height: 100%;
    width: 100%;
}

.product-card__info{
    margin-top: 8%;
    margin-bottom: 12%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-card__info > *{
    margin: 0;
}

.product-card__brand{
    font-size: var(--font-size--xxs);
}

.product-card__name{
    font-size: var(--font-size--s);
    font-weight: 800;
}

.product-card__description{
    /* max-height: 52px; */
    overflow: hidden;
    font-size: var(--font-size--xxs);
}

.product-card__info2{
    height: auto;
    position: relative;
    margin-bottom: 12%;
    bottom: 0;
    font-size: var(--font-size--xxs);
}

.product-card__price{
    font-size: var(--font-size--m);
    font-weight: 800;
    color: var(--color--primary);
}

.product-card__info2 > p{
    margin-bottom: 0;
}

.product-card__quantity-wrapper{
    background-color: var(--color--accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 1.25rem;
    width: 100%;
    height: 34px;
    margin-bottom: 16px;
}

.product-card__quantity-wrapper > input{
    margin-bottom: 0;
    border: 0;
    padding: 0;
    width: 34px;
    height: 34px;
    aspect-ratio: 1;
}

.product-card__value-mod{
    background-color: var(--color--accent--dark);
    font-size: var(--font-size--m);
}

.product-card__value-mod:hover{
    background-color: var(--color--primary);
}

.product-card__quantity{
    color: white;
    font-weight: 700;
    margin-bottom: 0;
    aspect-ratio: 1;
}

.product-card__controls > input{
    height: 50px;
    margin-bottom: 0;
}

.product-card__add-to-cart{
    font-size: var(--font-size--s);
    font-weight: 800;
    width: 100%;
    margin-bottom: 0;
    /* align-self: flex-end; */
    padding: clamp(10px, 6%, 20px) 2%;
}

.product-card__add-to-cart:hover{
    background-color: var(--color--primary);
}

.product-card__add-to-cart--large{
    font-size: var(--font-size--m);
    /* padding: 16px 2%; */
}

/*******  BREADCRUMB   ****/


/*** SMALL **/
@media screen and (max-width: 39.9375em) {
    .breadcrumb-navigation{
        margin-top: 32px;
    }
}

/** MEDIUM **/
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .breadcrumb-navigation{
        margin-top: 32px;
    }
}

/** LARGE **/
@media screen and (min-width: 64em) {
    .breadcrumb-navigation{
        margin-top: 60px;
    }
}


/** Department Page  **/
.department-title{
    font-size: clamp(2rem, 1.737rem + 1.404vw, 3rem);
    color: var(--color--primary);
    font-weight: 800;
}

/*** SMALL **/


@media screen and (max-width: 39.9375em) {
    .department-title{
        margin-top: 24px;
    }
}

/*** MEDIUm **/

@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .department-title{
        margin-top: 24px;
    }
}

/*** LARGE **/
@media screen and (min-width: 64em) {
    .department-title{
        margin-top: 32px;
    }
}


.departments-organization-section{
    display: flex;
    height: fit-content;
}

.departments-sort-group{
    display: flex;
    width: clamp(200px, 20%, 600px);
    gap: 10px;
}

.departments-sort-group > *{
    margin-bottom: 0;
}

#department-sort{
    width: 60%;
    height: 24px;
    border-radius: 10px;
}





.department-section-product-group-container{
    margin-top: 3%;
    box-sizing: border-box;
}


/************************************  PRODUCT PAGE ***************************************/




.product-row-2{
    margin-top: 80px;
    padding: 24px;
    border-top: 2px solid var(--color--secondary);
}

.product-banner{
    display: flex;
    box-sizing: border-box;
    margin: 32px 15% 48px 15%;
    min-height: 500px;
}

.product__title{
    font-size: clamp(2rem, 1.868rem + 0.702vw, 2.5rem);
    font-weight: 800;
}

.product__price{
    font-size: clamp(2rem, 1.868rem + 0.702vw, 2.5rem);
    font-weight: 800;
    color: var(--color--primary);
    margin-bottom: 24px;
}

.product__image-container{
    height: 100%;
}

.product__image{
    height: 100%;
    object-position: center;
    object-fit: contain;
}

.product-info{
    display: flex;
    flex-direction: column;
    gap: 32px;

}


.product-info__section{
    /* width: 50%; */
    margin-right: 40px;
    background-color: white;
    padding: 16px;
}

.product-info__title{
    font-size: clamp(1.5rem, 1.368rem + 0.702vw, 2rem);
    font-weight: 800;
    margin-bottom: 24px;
    /* border-top: 2px solid rgba(0, 0, 0, 0.093); */

    /* padding-top: 24px; */
}

.product-info__description{
    line-height: 1.5;
}


.product-suggestion-section{
    background-color: white;
    padding: 16px;
}

.product-suggestion-section__title{
    font-size: clamp(1.5rem, 1.368rem + 0.702vw, 2rem);
    font-weight: 800;
    margin-bottom: 0;
}

.product-suggestion-wrapper{
    background-color: #F3F3F3;
    margin-top: 12px;
}

.product-suggestion{
    background-color: white;
    padding: clamp(8px, 4%, 16px);
    min-height: 350px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* .product-suggestion > *{
    margin-bottom: 0;
} */

.product-suggestion__image-wrapper{
    /* max-height: 160px; */
}

.product-suggestion__image{
    aspect-ratio: 3 / 2;
    object-fit: contain;
    max-height: 100%;
    width: 100%;
}

.product-suggestion__brand{
    margin: 12px 0 6px 0;
}

.product-suggestion__info-wrapper{
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-suggestion__brand{
    font-size: var(--font-size--xxs);
}

.product-suggestion__title{
    font-size: var(--font-size--s);
    font-weight: 800;
}

.product-suggestion__price{
    margin: 12px 0 16px 0;
    font-size: var(--font-size--l);
    color: var(--color--primary);
    font-weight: 800;
}


/*** SMALL **/


@media screen and (max-width: 39.9375em) {
    .product-banner{
        margin-left: 0;
        margin-right: 0;
    }

    .product-info{
        gap: 12px;
    }


}

/*** MEDIUm **/

@media screen and (min-width: 40em) and (max-width: 63.9375em) {

    .product-description-section{
        margin: 0 5%
    }

    .product-weight-section{
        margin: 0 5%
    }

    .product-row-2{
        flex-direction: column;
    }
}

/*** LARGE **/
@media screen and (min-width: 64em) {
}



.product-info-container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5%;
}

.product-btn-container{
    display: flex;
    justify-content: space-between;
}


.product-weight-section{

}