/* Import Styles */
@import url('./base.css');
@import url('./typography.css');
@import url('./color.css');
@import url('./component.css');

/* Variable */
:root{

    /* Header */
    --header-height:16rem;

}
@media(width < 1200px){
    :root{

        /* Header */
        --header-height:14rem;
    
    }
}
@media(width < 992px){
    :root{

        /* Header */
        --header-height:10rem;
    
    }
}

.price {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    display: block;
    align-items: baseline;
    margin: 1rem 0;
    font-size: 2.0rem;   
    font-weight: 600;    
    line-height: 1;
}

.stock {
    display: block;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 1.7rem;    
    font-weight: 400;
}


.form-actions {
    border-top: 0.20rem solid var(--secondary);
    padding-top: 1rem;
}

/* Header - Start */
header{min-height: var(--header-height); background-color: white; padding: calc(var(--gutter) / 2) 0; position: relative; z-index: 999; display: flex; align-items: center;} 
header .container{display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--gutter) / 2);}
header .logo img{width: 300px; max-width: 30.9rem;}
header .logout-btn{position: absolute; right: var(--gutter); top: 50%; transform:translateY(-50%); min-width: 23rem;}
header .portal-btn{position: absolute; left: var(--gutter); top: 50%; transform:translateY(-50%); min-width: 23rem;}
@media(width < 1200px){
    header .logo img{max-width: 25rem;}
}
@media(width < 992px){
    header .logo img{max-width: 20rem;}
    header .logout-btn{min-width: auto;}
    header .portal-btn{min-width: auto;}
}
@media(width < 576px){
    header .logout-btn{position: static; transform: none;}
    header .portal-btn{position: static; transform: none;}
}
/* Header - End */

/* Search - Start */
.search-section{min-height: 16rem; background-color: var(--light-grey); box-shadow: var(--box-shadow); padding: var(--gutter) 0; display: flex; align-items: center;}
.search-section .row{--bs-gutter-x:calc(var(--gutter) / 2); --bs-gutter-y:calc(var(--gutter) / 2);}
.search-section select{width: 100%; background-color: var(--light-grey);}
.search-form .form-control{min-width: 35rem;}
.search-form .btn{width: 100%;}
@media(width < 1200px){
    .search-form .form-control{min-width: 25rem;}
}
/* Search - End */

/* Main - Start */
main{padding: 6rem 0;}
/* Main - End */

/* Footer - Start */
footer{background-color: var(--tertiary); padding: 7rem 0;}
footer .container{max-width: 100%;}
.social-media{max-width: 21rem;}
.social-media > p{color: white; font-weight: 700; font-size: var(--fs-sm); text-transform: uppercase; line-height: 1; padding-bottom: 1rem; border-bottom: .1rem solid #1CACA9;}
.social-media > p:not(:last-child){margin-bottom: 1rem;}
.social-media ul li{display: flex;}
.social-media ul li:not(:last-child){margin-bottom: 1rem;}
.social-media ul li a{display: flex; align-items: center; gap: .5rem; line-height: 1; font-size: var(--fs-sm); color: white;}
.social-media ul li a span{display: grid; place-items: center; width: 2.4rem; height: 2.4rem; background-color: white; border-radius: 100%; color: var(--text-color); font-size: var(--fs-sm);}
.footer-logo img{max-width: 37rem;}
.social-media ul li a, .social-media ul li a span{transition: all 150ms linear;}
.social-media ul li a:hover{color: var(--secondary);}
.social-media ul li a:hover span{background-color: var(--secondary); color: white;}
@media(width < 992px){
    .footer-logo img{max-width: 30rem;}
}
@media(width < 768px){
    .footer-logo img{max-width: 25rem;}
}
@media(width < 576px){
    .footer-logo img{max-width: 20rem;}
    .social-media{max-width: 100%;}
}
/* Footer - End */

/* Single Product - Start */
.single-product-block:not(:last-child){margin-bottom: 4rem;}
.single-product figure{max-width: 38rem; aspect-ratio: 1; background-color: white; padding: var(--gutter); box-shadow: var(--box-shadow); display: grid; place-items: center;}
.single-product figure img{max-width: 100%; max-height: 100%;}
.single-product article h2:not(:last-child){margin-bottom: var(--gutter);}
.download{display: inline-flex; align-items: center; gap: 1rem;}
.download img{width: 2.8rem;}
.product-detail-header{display: flex; align-items: center; padding: 1rem 2rem; color: white; font-weight: 600; background-color: var(--tertiary); min-height: 6rem;}
.product-details ul li{display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; min-height: 6rem; padding: 1rem 2rem; border-bottom: .1rem solid rgba(var(--text-color-rgb), 20%);}
.product-details ul li > :first-child{min-width: 40%;}
@media(width < 576px){
    .download{font-size: var(--fs-xs);}
    .download img{width: 2rem;}
    .product-details ul li{flex-direction: column; align-items: flex-start;}
    .product-details ul li > :first-child{min-width: auto;}
}
/* Single Product - End */

/* Products - Start */
.products{position: relative;}
.products > .row{--bs-gutter-x:calc(var(--gutter) * 2); --bs-gutter-y:calc(var(--gutter) * 2);}
.product-filter{max-width: 24rem;}
.product-filter-list li:not(:last-child){margin-bottom: 1.5rem;}
.filter-form .row{--bs-gutter-x:var(--gutter); --bs-gutter-y:calc(var(--gutter) * .5);}
.filter-form{background-color: #FAFAFA; padding: 2rem; box-shadow: var(--box-shadow);}
.filter-form-item{display: flex; align-items: center; gap: 0 1rem;}
.filter-form-item p{font-family: var(--secondary-font); font-size: var(--fs-sm);}
.product-filter-sidebar{position: relative;}
.sidebar-close{position: absolute; right: 0; top: 0; width: 30px; aspect-ratio: 1; background-color: var(--secondary); z-index: 9; color: white;}
.filter-toggle{display: inline-flex; align-items: center; gap: 1rem; background: none; color: var(--secondary);}
.filter-toggle i, .filter-toggle svg{font-size: var(--h5); display: block;}
@media(width < 992px){
    .product-filter-sidebar{position: absolute; left: 0; top: 0; background-color: white; height: 100%; overflow-y: auto; padding-top: var(--gutter); padding-bottom: var(--gutter); z-index: 99; max-width: calc(24rem + (var(--gutter) * 2)); box-shadow: var(--box-shadow); transition: all 150ms linear; transform: translateX(-150%);}
    .product-filter-sidebar.active{transform: translateX(0);}
    .product-filter .checkbox label span{font-size: var(--fs-sm);}
}

.product-list li{padding: var(--gutter) 0; border-bottom: .1rem solid rgba(var(--text-color-rgb), 20%);}
.product figure{background-color: white; box-shadow: var(--box-shadow); width: 21rem; aspect-ratio: 1; padding: calc(var(--gutter) / 2); display: grid; place-items: center;} 
.product figure img{max-width: 100%; max-height: 100%;}
.product article > :not(:last-child){margin-bottom: 1.5rem;}
.findout-more_btn{font-weight: 600; color: black; white-space: nowrap; display: inline-flex; align-items: center; gap: 1rem 1rem; min-height: 3.4rem; border-bottom: .1rem solid black;}
.findout-more_btn img{width: 4.3rem;}

.rebate-block{padding: var(--gutter) 0;}
.rebate-block:first-child{padding-top: 0;}
.rebate-block:last-child{padding-bottom: 0;}
.rebate-block:not(:last-child){border-bottom: .1rem solid #D8D8D8;}
.important-note-section{padding: calc(var(--gutter) * 2) 0; border-bottom: .2rem solid var(--primary);}
.important-note-section h6{color: white;}
.chart-icons{display: flex; align-items: center; justify-content: space-evenly; gap: 1rem;}
img.chart{max-width: 25rem; margin-inline: auto; display: block;}

.menu{position: absolute; left: var(--gutter); top: 50%; transform:translateY(-50%);}
.nav-toggle{width: 4rem; height: 4rem; background-color: var(--primary);  display: grid; place-items: center; cursor: pointer;}
.menu nav{position: absolute; left: 0; top: 100%; display: none;}

#ctl00_nav ul li {
    display: flex;
}

    #ctl00_nav ul li a {
        display: flex;
        align-items: center;
        min-width: 100%;
        gap: 1rem;
        white-space: nowrap;
        font-family: var(--secondary-font);
        font-size: var(--fs-sm);
        line-height: 1;
        padding: 1rem 1.5rem;
        background-color: var(--primary);
        color: white;
    }

        #ctl00_nav ul li a:hover {
            background-color: var(--pink);
        }


@media(width < 576px){
    .menu{left: 0; top: 0; transform: none;}
}

/* Defining variables as CSS custom properties */
:root {
    --gray-500: #979797;
    --teal: #1caca9;
    --indigo-ct: #081537;
    --font-family-sans-serif: 'Open Sans', sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --white: #ffffff;
}

/* All selectors scoped to be within footer tag */
footer .footer {
    background-color: var(--indigo-ct);
    padding-top: 58px;
}

    footer .footer a {
        text-decoration: none;
    }

footer .footer__upper {
    font-size: 14px;
    padding-bottom: 50px;
}

/* Media query for small devices */
@media (min-width: 576px) and (max-width: 767.98px) {
    footer .footer__upper {
        font-size: 11.5px;
    }
}

footer .footer__upper,
footer .footer__upper a,
footer .footer__upper a:hover,
footer .footer__upper a:focus {
    color: var(--white);
}

    footer .footer__upper a:hover,
    footer .footer__upper a:focus {
        text-decoration: underline;
    }

    footer .footer__upper h6 {
        font-family: var(--font-family-sans-serif);
        font-size: 14px;
        font-weight: bold;
        position: relative;
        padding-bottom: 6px;
        margin-bottom: 14px;
    }

        footer .footer__upper h6:after {
            content: ' ';
            position: absolute;
            display: block;
            background-color: var(--teal);
            height: 1px;
            left: 0;
            right: 0;
            bottom: 0;
        }

footer .footer__upper__logo-accreditations {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

footer .footer__upper__logo {
    width: 217px;
    max-width: 100%;
}

/* Media query for small devices and down */
@media (max-width: 767.98px) {
    footer .footer__upper__logo {
        margin-bottom: 27px;
    }
}

footer .footer__upper__accreditations .h2,
footer .footer__upper__accreditations h2 {
    font-size: 24px;
}

footer .footer__upper__accreditations .h4,
footer .footer__upper__accreditations h4 {
    font-size: 20px;
}

.footer__upper__social p a {
    line-height: 2; /* or whatever value you want */
}

footer .footer__upper__social img {
    width: 19px;
    margin-right: 8px;
}


footer .footer__upper__social p {
    font-size: 14px !important;
}

@media (max-width: 767.98px) {
    footer .footer__upper__social {
        margin-bottom: 27px;
    }
}

@media (max-width: 767.98px) {
    footer .footer__upper__nav {
        margin-bottom: 27px;
    }
}

footer .footer__upper__nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

    footer .footer__upper__nav ul li {
        display: block;
    }

        footer .footer__upper__nav ul li a {
            display: block;
            color: var(--white);
        }

        footer .footer__upper__nav ul li + li {
            margin-top: 10px;
        }

footer .footer__upper__actions * + h6,
footer .footer__upper__actions * + .h6 {
    margin-top: 40px;
}

@media (max-width: 575.98px) {
    footer .footer__upper__actions {
        margin-bottom: 40px;
    }
}

footer .footer__lower {
    border-top: var(--gray-500) solid 1px;
    padding-top: 14px;
    padding-bottom: 14px;
}

footer .footer__lower__content {
    font-size: 12px !important;
}

    footer .footer__lower__content p {
        margin-bottom: .5rem;
        font-size: 12px !important;
    }

        footer .footer__lower__content p:last-child {
            margin-bottom: 0;
        }

    footer .footer__lower__content,
    footer .footer__lower__content a,
    footer .footer__lower__content a:hover,
    footer .footer__lower__content a:focus {
        color: var(--white);
    }

        footer .footer__lower__content a:hover,
        footer .footer__lower__content a:focus {
            text-decoration: underline;
        }