/* General */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Colours */
.grey_xLight {background-color: #cbcbcb;}
.grey_Light {background-color: #a1a1a1;}
.grey_Medium {background-color: #727272;}
.grey_Dark {background-color: #5d5d5d;}
.grey_xDark {background-color: #404040;}

/* Font-family */
@font-face {
    font-family: weblyUI;
    src: url(../assets/fonts/webly-sleek/weblysleekuisl.ttf);
    font-weight: 400;
}
@font-face {
    font-family: weblyUI;
    src: url(../assets/fonts/webly-sleek/weblysleekuil.ttf);
    font-weight: 300;
}
@font-face {
    font-family: weblyUI;
    src: url(../assets/fonts/webly-sleek/weblysleekuisb.ttf);
    font-weight: 600;
}

:root{
    /* Colours */
    --ez-green: #95f59a;
    --ez-black: #404040;
    --ez-grey: #5d5d5d;
    --ez-red: #bc1e1e;
    --ez-purple: #a987de;
    --ez-dark-purple: #7d4dc9;
    --ez-light-green: #d6fcd8;
    --ez-bright-green: #62de69;
    --ez-dark-green: #0d9829;
    --white: #fff;
    /* Font-sizes */
    --nav-bar-font-size: 23px;
    --subnav-bar-font-size: 20px;
    --section-title-font-size: 40px;
    --special-title-font-size: 48px;
    --card-brand-font-size: 14px;
    --card-product-font-size: 16px;
    --card-price-font-size: 16px;
    --card-description-font-size: 12px;
    --card-button-font-size: 16px;
    /* Box Shadow */
    --box-shadow: 3px 3px 6px #95f59a65;
}

body {
    /* Font family */
    font-family: "Segoe UI", weblyUI;
    font-weight: 600;
    color: var(--ez-black);
}

.grid-container {
    max-width: 1120px;
}

/* Header Texts */
h1,h2,h3,h4{
    font-family: "Segoe UI", weblyUI;
    font-weight: 600;
}
h1 {
    font-size: var(--special-title-font-size);
}
h2 {
    font-size: var(--section-title-font-size);
    margin-top: 50px;
}
h3 {
    font-size: 30px;
}

.brand {
    font-size: var(--card-brand-font-size);
}

/* Cursor Pointer */
.cart-link,
.search-link,
.departments-link, 
.login-link, 
.checkout-link, 
.createaccount-link, 
.payment-link, 
.confirm-link, 
.ordercomplete-link, 
.logo, 
#departments-list,
.cart-increase, .cart-reduce,
.take-from-cart, .add-to-cart {
    cursor: pointer;
}

/* Button */
.button {
    background-color: var(--ez-purple);
    border-color: var(--ez-purple);
    box-shadow: 2px 2px 4px var(--ez-purple);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s;
}
.button:hover {
    background-color: var(--ez-dark-purple);
    border-color: var(--ez-dark-purple);
    box-shadow: 2px 2px 4px var(--ez-dark-purple);
}
.button:focus {
    background-color: var(--ez-purple);
    border-color: var(--ez-purple);
    box-shadow: 2px 2px 4px var(--ez-purple);
}

/* Remove Mozilla Yellow Filter on Input Fields */
input:autofill {
    background: #fff;
}

/* Slick Slider */
.slick-dots {
    bottom: 10px;
}
.slick-dots li button::before {
    color: var(--ez-green);
    font-size: 16px;
    opacity: 1;
}
.slick-dots li.slick-active button::before {
    color: var(--ez-black);
    opacity: 1;
}
.slick-dotted.slick-slider {
	margin-bottom: 0;
}

/* Header */
header {
    height: 126px;
    background-color: var(--ez-green);
    background-image: url(../assets/img/header-bg2.png);
    background-repeat: none;
    background-position-x: center;
}
header .logo{
    max-width: 308px;
}
.logo-main{
    text-align: right;
    padding-top: 17px;
}

/* Main Navigation */
#main-nav-container {
    height: 52px;
    background-color: var(--ez-green);
    font-size: var(--nav-bar-font-size);
    position: sticky;
    position:-webkit-sticky;
    top: 0;
    z-index: 99;
}
#main-nav-container .top-bar {
    height: 52px;
}
.top-bar{
    background-color: inherit;
}
.top-bar-right .menu{
    background-color: inherit;
}
input[type="search"] {
    height: 32px;
    width: 140px;
    text-align: center;
    border-radius: 16px;
    border-color: var(--white);
}
input[type="search"]:focus {
    width: 400px;
}
.top-bar input {
    margin-right: 0;
    max-width: none;
}
.top-bar li {
    margin-left: 16px;
}
p.login-link {
    margin-bottom: 0;
}
#cart {
    display: grid;
}
#cart img {
    grid-column: 1/-1;
    grid-row: 1/-1;
    height: 90%;
    align-self: end;
    justify-self: center;
}
#cart p {
    grid-column: 1/-1;
    grid-row: 1/-1;
    align-self: start;
    justify-self: center;
    font-size: 20px;
    line-height: 23px;
    margin-bottom: 0;
    margin-top: -5px;
    margin-right: 3px;
}
#main-nav-container .menu li {
    align-items: center;
}
/* Small Logo in Primary Nav */
#logo-nav {
    visibility: hidden;
}
#logo-nav img {
    max-height: 42px;
}
/* Splash Page Feature Banner */
#specials-banner {
    max-height: 200px;
    text-align: center;
}

/* Sub Navigation */
#sub-nav-container {
    height: 60px;
    background-color: var(--white);
    border-top: 1px solid #40404070;
    border-bottom: 3px solid #40404070;
    font-size: var(--subnav-bar-font-size);
    position: sticky;
    position:-webkit-sticky;
    top: 52px;
    z-index: 99;
    margin-top: -1px; /*Fix for unidentified space under slider*/
}
#sub-nav-container .top-bar {
    height: 60px;
}
#sub-nav-container .top-bar-left {
    white-space: nowrap;
}
#sub-nav-container .top-bar-right {
    overflow: hidden;
    display: flex;
}
img#left-arrow {
    align-self: center;
    margin-left: 25px;
    margin-right: 15px;
    cursor: pointer;
}
img#right-arrow {
    align-self: center;
    cursor: pointer;
    margin-left: 20px;
}

ul#all-departments {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, 90%);
    grid-template-rows: repeat(auto-fill, max-content);
    row-gap: 10px;
    font-size: var(--subnav-bar-font-size);
    background-color: var(--white);
}
.dropdown-pane {
    padding-left: 0;
    padding-right: 0;
    max-width: 930px;
    max-height: 600px;
    overflow-y: scroll;
}
#departments-list {
    color: var(--ez-dark-green);
    transition: color 0.3s;
}
#departments-list:hover {
    color: var(--ez-dark-purple);
}
ul.dept-scroll-x {
    overflow: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    list-style: none;
    white-space: nowrap;
    background-color: var(--white);
    margin-bottom: 0;
    flex-wrap: nowrap;
    margin-left: 0;
}
ul.dept-scroll-x::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}
ul.dept-scroll-x li {
    display: inline-block;
    background-color:  var(--white);
    text-align: center;
}
.departments-link:hover {
    /* color: var(--ez-bright-green); */
    color: var(--ez-red);

}
.departments-link.first-dept {
    margin-left: 0;
}

/* Cards */
.product-card {
    display: none;
}
.card {
    min-height: 484px;
    width: 240px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-rows: 182px 100px 1fr;
    border: 1px solid #95f59a65;
    box-shadow: var(--box-shadow);
}
.card-divider {
	display: grid;
	padding: 6px 12px;
	background-color: inherit;
}
.card-divider.card-label {
	grid-template-rows: 16px 1fr 20px;
}
.card-divider p {
    margin-bottom: 0;
}
.card-label {
    background-color: var(--ez-green);
    height: 100px;
}
.card-label .brand {
    font-size: 13px;
    line-height: 1;
    font-weight: normal;
    color: var(--ez-grey);
}
.product-name {
    line-height: 17px;
    font-size: var(--card-product-font-size);
}
.product-price {
    align-self: flex-end;
    line-height: 1.3;
}
.card-description {
    height: 50px;
    font-size: var(--card-description-font-size);
}
.card-description a {
    font-weight: 600;
    color: var(--ez-red);
    font-size: 18px;
    line-height: 1;
}
.card-quantity {
    display: flex;
    gap: 8px;
    padding-top: 25px;
}
.card-quantity input[type="number"] {
    width: 36px;
    height: 34px;
    -moz-appearance: textfield;
    text-align: center;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.card-quantity img {
    width: 90%;
    height: auto;
}
.card-quantity div {
    padding-top: 3px;
}
.card .button {
    display: block;
    width: 144px;
    height: 37px;
    border-radius: 11px;
    font-size: var(--card-button-font-size);
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
}
.original-price {
    font-size: 16px;
    color: var(--ez-red);
    text-decoration: line-through;
}
.sale-price {
    font-size: 18px;
    margin-right: 10px;
}
.stars ul {
    list-style: none;
    margin-left: 0;
}
.stars ul li {
    display: inline-block;
}

/* Accordion */
.accordion-holder{
    padding-left: 25px;
    padding-right: 25px;
}
li.accordion-item {
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}
.accordion-title {
    /* padding-top: 10px;
    padding-bottom: 11px; */
    height: 99px;
    padding-top: 0;
    padding-bottom: 0;
    color: var(--ez-black);
}
a.accordion-title:hover, a.accordion-title:focus {
    color: var(--ez-black);
}
.accordion-title:hover {
    background-color: var(--ez-light-green);
}
.accordion-title:focus {
    background-color: var(--white);
}
.accordion-title, .accordion-content {
    border: 1px solid var(--ez-green);
}
:last-child:not(.is-active) > .accordion-title {
    border-bottom: 1px solid var(--ez-green);
}
.accordion-content {
    border-top: none;
}
.accordion-title::before, .is-active > .accordion-title::before {
    content: "";
}
.accordion-title.first-deal{
    background-image: url(../assets/img/deals-produce.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}
.accordion-title.second-deal{
    background-image: url(../assets/img/deals-meats.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}
.accordion-title.third-deal{
    background-image: url(../assets/img/deals-dairy.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}
.accordion-title {
    display: grid;
    grid-template-columns: 1fr 230px;
    grid-template-rows: 1fr;
    align-items: center;
    padding-right: 0;
    padding-left: 20px;
}
.weeklies {
    grid-column: 1/-1;
    grid-row: 1/-1;
}
.value-off {
    grid-column: 2/-1;
    grid-row: 1/-1;
    background-image: url(../assets/img/deals-text-bg2.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center left;
    height: 100%;
}
.value-off p {
    margin-bottom: 0;
}
.value-line1, .value-line3 {
    font-size: 20px;
    line-height: 22px;
}
.value-line1 {
    margin-left: 100px;
    margin-top: 5px;
}
.value-line2 {
    font-size: 44px;
    line-height: 1;
    margin-left: 53px;
    margin-top: -3px;
}
.value-line3 {
    margin-left: 34px;
    margin-top: -3px;
}

/* Popular Departments */
#popular {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    row-gap: 30px;
}
.department-card {
    height: 240px;
    width: 240px;
    display: grid;
    grid-template-rows: 165px 1fr;
    cursor: pointer;
}
.department-card h3 {
    text-align: center;
}
.department-title {
    padding-top: 12px;
    background-color: #5ac260;
    color: var(--ez-black);
    transition: all 0.3s;
}
.department-card:hover > .department-title{
    background-color: var(--ez-green);
}

/* Main Page */
#main-title {
    margin-left: 40px;
}
.main-product-list.grid-x {
    row-gap: 40px;
    margin-left: 40px;
}
.main-product-list .product-price {
    font-size: 18px;
}
.main-page aside {
    background-image: linear-gradient(var(--ez-light-green), var(--white));
    padding: 15px 20px 20px;
    margin-right: 40px;
    height: 100%
}
.main-page aside h4 {
    margin-top: 20px;
}
#breadcrumb {
    margin-bottom: 20px;
}
.indent {
    margin-left: 20px;
}
.indent.double {
    margin-left: 40px;
}
p.indent img {
    margin-right: 5px;
}
.main-page aside p {
    margin-bottom: 0;
}
.main-page aside ul {
    list-style: none;
}
#filter-tag {
    cursor: pointer;
    color: var(--ez-dark-green);
    text-decoration: underline;
    transition: color 0.3s;
    margin-top: 10px;
    display: none;
}
#filter-tag:hover {
    color: var(--ez-dark-purple);
}
#close-container {
    display: none;
}
#close {
    cursor: pointer;
}
#close:hover .line {
    stroke: var(--ez-red);
}
.filter-header img {
    margin-left: 5px;
}
/* Creating a custom checkbox - https://www.w3schools.com/howto/howto_css_custom_checkbox.asp */
.filter-check {
    display: block;
    position: relative;
    cursor: pointer;
    font-weight: 400;
    padding-left: 20px;
    margin-bottom: 5px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.filter-check input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkmark {
    position: absolute;
    top: 7px;
    left: 0;
    height: 12px;
    width: 12px;
    border: 1px solid var(--ez-black);
    background-color: var(--white);
}
.checkmark.radio {
    border-radius: 6px;
}
.checkmark:hover input ~ .checkmark {
    background-color: var(--ez-green);
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.filter-check input:checked ~ .checkmark:after {
    display: block;
}
.filter-check .checkmark:after {
    left: 5px;
    top: -5px;
    width: 8px;
    height: 15px;
    border: solid var(--ez-black);
    border-width: 0 4px 4px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
/* Price Filter */
.filter-minmax {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}
.filter-minmax input {
    max-width: 42px;
    height: 20px;
    margin-bottom: 0;
    margin-left: 5px;
    margin-right: 5px;
    -moz-appearance: textfield;
    border-width: 0 0 1px 0;
    border-color: var(--ez-grey);
    text-align: center;
    font-size: 13px;
}
.load-more-container {
    display: flex;
    justify-content: center;
}
#load-more {
    min-width: 200px;
    height: 37px;
    border-radius: 11px;
    font-size: var(--card-button-font-size);
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    background-color: var(--ez-black);
    border-color: var(--ez-black);
}
#load-more:hover {
    background-color: var(--ez-dark-purple);
    border-color: var(--ez-dark-purple);
}
#load-more.no-content {
    display: none;
}


/* Cart Page */
.total-checkout {
    max-width: 280px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background-color: var(--ez-green);
}
.total-checkout input[type="button"] {
    align-self: center;
    margin-top: 10px;
    color: var(--ez-black);
    background-color: var(--white);
    font-size: var(--card-button-font-size);
    padding-top: 10px;
    padding-bottom: 10px;
}
.total-checkout input[type="button"]:hover {
    color: var(--white);
    background-color: var(--ez-dark-purple);
}
.total-checkout tbody {
    border: 0;
    background-color: transparent;
}
.total-checkout tbody > * {
    background-color: transparent !important;
    font-size: 18px;
}
.total-checkout tbody td:nth-child(2n) {
    text-align: right;
}
.total-checkout tbody td {
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1.2;
}
#cart-total-w-tax {
    padding-top: 25px;
    font-size: 24px;
    font-weight: 600;
}
#cart-total-w-tax td {
    padding-top: 25px;
}
.total-checkout > p {
    font-size: var(--card-brand-font-size);
    text-align: right;
    padding-right: 0.625rem;
    margin-bottom: 5px;
}
.cart-item-container {
    max-width: 670px;
    display: grid;
    grid-template-columns: 1fr max-content;
    align-items: flex-end;
}
.cart-item {
    padding: 10px 10px 15px;
    margin-bottom: 10px;
    border-left: 1px solid #707070;
    border-bottom: 1px solid #707070;
    display: grid;
    grid-template-columns: 87px 1fr 90px;
}
.cart-image{
    align-self: center;
    height: 80px;
    width: 87px;
}
.cart-info {
    padding: 0 10px;
}
.cart-info p {
    margin-bottom: 0;
}
.cart-brand {
    font-size: 13px;
    line-height: 1.2;
}
.cart-product {
    font-size: 20px;
}
.cart-quantity {
    margin-top: 2px;
    display: flex;
    gap: 8px;
}
.cart-quantity input[type="number"] {
    width: 36px;
    height: 32px;
    -moz-appearance: textfield;
    text-align: center;
    margin-bottom: 0;
}
.cart-item-price {
    font-weight: bold;
    font-size: 26px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
.promotion {
    height: 250px;
    margin-top: 50px;
}
.delete-cart-item {
    margin-bottom: 34px;
    cursor: pointer;
}
.subtotal-bottom p {
    text-align: right;
    padding-right: 90px;
    font-size: 24px;
    font-weight: 600;
}

/* Checkout Page */
.shipping-info, .payment-info, .make-payment {
    min-height: 190px;
}
.shipping-info ul {
    list-style: none;
    margin-left: 0;
}
#shipping-form, #billing-form, #guest-form {
    display: none;
    margin-top: 30px;
}
.purchase-summary {
    margin-top: 30px;
}
#back-to-cart {
    cursor: pointer;
    color: rgb(52, 97, 180);
}
.button.checkout-tab {
    background-color: var(--white);
    border-color: var(--ez-black);
    box-shadow: none;
    color: var(--ez-black);
    padding: 10px 15px;
}
.button.checkout-tab:hover {
    background-color: var(--ez-black);
    color: var(--white);
    box-shadow: 3px 3px 6px var(--ez-black);
}
a.red-link, .red-link {
    color: var(--ez-red);
}
.button.cancel {
    background-color: var(--white);
    border-color: var(--ez-red);
    color: var(--ez-red);
    box-shadow: none;
}
.button.cancel:hover {
    background-color: var(--ez-red);
    color: var(--white);
}
.checkout-item {
    display: grid;
    grid-template-columns: max-content 1fr 40px 70px;
    height: max-content;
    width: 100%;
    padding: 8px 20px 8px 0;
    border-bottom: 1px solid var(--ez-grey);
    border-left: 1px solid var(--ez-grey);
    align-items: center;
    margin-bottom: 10px;
}
.checkout-item-image img {
    max-height: 52px;
    width: auto;
}
.checkout-items p {
    margin-bottom: 0;
}
.checkout-item-brand {
    font-size: 12px;
    line-height: 1.1;
}
.checkout-item-upc {
    font-size: 10px;
    color: var(--ez-grey);
}
.checkout-item-quantity {
    font-size: 20px;
}
.checkout-item-price {
    font-size: 20px;
    font-weight: 600;
    text-align: right;
}
.checkout-shipping-cost td {
    padding: 0;
}
#back-to-cart {
    color: var(--ez-red);
    margin-bottom: 10px;
}
.make-purchase {
    background-color: var(--ez-green);
    padding: 10px 20px;
    height: max-content;
}
.make-purchase table, .make-purchase tbody {
    border-width: 0;
}
.make-purchase tbody {
    background-color: transparent;
}
.make-purchase tbody tr:nth-child(2n) {
    background-color: transparent;
}
.checkout-subtotal td {
    font-size: 18px;
    padding-bottom: 0;
}
.checkout-shipping td {
    font-size: 14px;
    padding-top: 5px;
}
.checkout-total {
    font-size: 24px;
    font-weight: 600;
}
.make-purchase tr td:nth-child(2n) {
    text-align: right;
}
.make-purchase td {
    padding-left: 0;
    padding-right: 0;
}
.make-purchase .bottom {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.guest-email-error {
    color: red;
}

/* Payment Page */
.payment-form {
    max-width: 600px;
    margin-top: 30px;
}
.payment-form fieldset {
    padding-right: 20px;
}
#payment-cvv {
    max-width: 100px;
}

/* Confirmation Page */
.confirm-pricing {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    flex-direction: column;
}
.purchase-cart p {
    margin-bottom: 0;
}
table.confirm-totals {
    min-width: 180px;
}
table.confirm-totals tbody {
    border-width: 0;
}
table.confirm-totals tbody tr {
    background-color: transparent;
}
.confirm-totals tr td:nth-child(2n) {
    text-align: right;
}
.confirm-subtotal td {
    font-size: 18px;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}
.confirm-small-total td {
    font-size: 14px;
    padding: 0;
}
.confirm-total td {
    font-size: 24px;
    font-weight: 600;
    padding-left: 0;
    padding-right: 0;
}
.confirm-pricing .button {
    height: 37px;
}
.confirm-btn {
    margin-right: 10px;
}

/* Complete Page */
.complete-msg {
    height: 120px;
}
.complete-deals{
    height: 200px;
}

/* Login Page */
.login-container {
    display: flex;
    justify-content: center;
}
.login-form {
    width: 380px;
    height: 350px;
    padding: 20px;
    border: 1px solid lightgray;
}
.login-form a.button {
    color: var(--ez-black);
}
.login-form a.button:hover {
    color: var(--ez-dark-purple);
}

/* Account Form */
.account-form-container {
    padding-top: 40px;
}
.account-info {
    padding: 30px 30px 30px 0;
}
.account-info fieldset {
    padding-right: 15px;
}
.account-form-container .account-info:first-child {
    padding-top: 0;
}
#password-error, #login-error {
    color: var(--ez-red);
    margin-bottom: 0;
    display: none;
}
#account-billing-title {
    margin-bottom: 44px;
}

/* Product Detail Modal */
#product-detail-container {
    background-color: var(--ez-green);
    border-color: var(--ez-green);
}
#product-detail-container > div {
    background-color: var(--white);
    padding: 10px;
}
#product-detail-container p, #product-detail-container h3 {
    margin-bottom: 0;
}
.close-modal {
    text-align: right;
    cursor: pointer;
}
#modal-brand {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.1;
}
#modal-price {
    font-size: 20px;
    color: var(--ez-dark-green);
}
#modal-upc {
    font-size: 12px;
    color: var(--ez-grey);
}
#product-detail-container .card-quantity {
    padding-top: 0;
}
p#modal-description {
    margin-bottom: 25px;
    font-weight: normal;
}
.modal-stars ul {
    text-align: center;
    padding-top: 10px;
}

/* Footer */
footer {
    min-height: 310px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--ez-black);
    color: var(--white);
}
.footer-clearance {
    padding-bottom: 60px;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 30px;
}
.footer-content p {
    margin: 0 0 0 12px;
}
.footer-content .footer-header {
    margin-bottom: 5px;
    margin-left: 0;
    font-size: 20px;
    font-weight: bold;
    /* color: var(--ez-black); */
    color: var(--ez-green);
}
.footer-content #email {
    margin-left: 0;
}
.copyright {
    font-size: 15px;
    margin-top: 20px;
    /* color: var(--ez-black); */
    color: var(--ez-green);
}
.copyright p {
    margin-bottom: 10px;
}
/* Make footer stick to bottom of screen if screen is longer than content */
html {
    height: 100%;
}
body {
    min-height: 100%;
    position: relative;
    padding-bottom: 310px;
}

@media only screen and (max-width: 1023px) {
    .cart-item-container {
        max-width: 98%;
        column-gap: 15px;
    }
    .total-checkout {
        max-width: 100%;
        padding-right: 60px;
    }
    .total-checkout table {
        width: 200px;
        align-self: flex-end;
    }
    .total-checkout input[type="button"] {
        align-self: flex-end;
        margin-right: 25px;
    }
    .confirm-pricing {
        align-items: flex-end;
        padding-right: 20px;
    }
}
@media (max-width: 1005px) {
    .main-page aside {
        margin-right: 0;
    }
}
@media only screen and (max-width: 884px) {
    .accordion-title.accordion-title.first-deal, .accordion-title.accordion-title.second-deal, .accordion-title.accordion-title.third-deal {
        background-image: none;
    }
    .main-page .grid-container {
        padding-left: 0;
        padding-right: 0;
    }
    .account-info {
        padding-right: 0;
    }
}
@media (max-width: 845px) and (min-width: 640px) {
    .hide-for-sub-medium {
        display: none;
    }
    .accordion-content .grid-x > .medium-4 {
        width: 50%;
    }
    .main-page .grid-x > .medium-5 {
        width: 50%;
    }
    .main-page .grid-x > .medium-offset-1 {
        margin-left: auto;
    }
}
@media (max-width: 749px) and (min-width: 640px) {
    .department-card.hide-dept {
        display: none;
    }

    .splash-page .footer-clearance {
        margin-bottom: 50px;
    }
}
@media only screen and (max-width: 739px) {
    .main-page .grid-x > .medium-9 {
        width: 91.67%;
    }
    .main-page .grid-x > .medium-3 {
        width: 8.33%;
    }
    #main-title {
        margin-left: 0px;
    }
    .main-product-list.grid-x {
        margin-left: 0px;
    }
    .main-page aside {
        background-image: none;
        background-color: var(--ez-light-green);
    }
    #close-container {
        display: flex;
        justify-content: flex-end;
    }
    #filter-tag {
        display: block;
    }
    #filter-bar aside {
        transform: translateX(-200px);
        min-width: 200px;
        height: max-content;
        position: relative;
        z-index: 2;
    }
    input[type="search"]:focus {
        width: 250px;
    }
}
@media only screen and (max-width: 639px) {
    /* Secondary Nav */
    img#left-arrow {
        margin-left: 0;
    }
    /* Main Page Filter */
    .main-page aside {
        padding-top: 20px;
    }
    .main-page aside h4 {
        margin-bottom: 0;
    }
    /* Cart Page */
    .total-checkout {
        margin-left: auto;
        margin-right: auto;
    }
    /* Create Account Page */
    #account-billing-title {
        margin-bottom: 0.5rem;
    }
    /* Footer */
    footer {
        position: static;
        text-align: center;
    }
    body {
        padding-bottom: 0;
    }
    .footer-content {
        justify-content: center;
    }
    .footer-section {
        width: 100%;
        margin-top: 30px;
    }
}
@media only screen and (max-width: 495px){
    .accordion-title {
        grid-template-columns: 1fr 180px;
    }
    p.login-link {
        font-size: calc(0.8 * var(--nav-bar-font-size));
    }
    input[type="search"]:focus {
        width: 140px;
    }
}
@media only screen and (max-width: 429px){
    /* Weekly Deals */
    .value-off {
        display: none;
    }
    /* Cart Page */
    .cart-item {
        padding-right: 0;
        grid-template-columns: 87px 1fr;
        grid-auto-rows: max-content;
    }
    .cart-item-price {
        align-items: center;
        justify-content: flex-end;
        grid-column: span 2;
        margin-top: 10px;
        border-top: 1px solid #70707070;
    }
    .delete-cart-item {
        align-self: center;
    }
    .total-checkout {
        padding-right: 40px;
    }
    .total-checkout input[type="button"] {
        align-self: flex-end;
    }
    /* Checkout Page */
    .shipping-info > * {
        margin-bottom: 30px;
    }
    .shipping-info ul {
        margin-bottom: 5px;
    }
    .checkout-item-product {
        line-height: 1.3;
    }
    .make-purchase {
        order: 6;
    }
    /* Single Product Detail Modal */
    .modal-summary {
        text-align: center;
    }
    #product-detail-container .card-quantity {
        justify-content: center;
    }
}