@import url('https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

:root {
    --primary-color: #056cf2;
    --secondary-color: #3c5473;
    --accent-color: #f2a005;
    --accent-alt: #209e08;
    --black-color: #242424;
    --white-color: #FFFFFF;
    --text-contrast: #282017;
}

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

html {
    font-size: 62.5%;
}

body {
    width: 100%;
    font-family: "Sarabun", serif;
    font-weight: 400;
    font-style: normal;
    background-color: #f2f2f2;
    color: var(--black-color);
}

.callout {
	border: none;
}

.hideAll, .logout-button {
    display: none;
}

.finger {
    cursor: pointer;
}

.cart-circle {
   
}

/* !COLOURS */


.colour1 {
    background-color: #7c7c7c;
}

.colour2 {
    background-color: #999;
}

.colour3 {
    background-color: #515151;
}

.colour4 {
    background-color: #1b1b1b;
}

.colour5 {
    background-color: #CCC;
}

body{
    background-color: #ededed;
}

.dept_heading {
    color: var(--text-contrast);
    font-size: 2.5rem;
    padding-left: 2rem;
}

/* !HEIGHTS */

.height1{
    height: 10vh;
}


.height2{
    height: 25vh;
}

.height3{
    height: 38.6vh;
}

.height4{
    /* height: 40vh; */
}

.font{
    color: black !important;
    font-size: 1rem;
}
.topSpace{
    /* margin-top: 8vh; */
    padding: 2%;
    
}
.topSpace2{
    margin-top: 2vh;
    color: black !important;
    font-size: 1.3em;
}
.bottomSpace2{
    margin-bottom: 8vh ;
}
.productName{
    margin: 2% 3%;
}
.bottomSpace7{
    margin-bottom: 10vh !important;
}
.bottomSpace8{
    margin-bottom: 4vh !important;
}
footer{
    margin-top: 4vh;
}

hr {
    border: none;
    height: 2px;
    background-color: black;
    width: 100vw;
    margin: 0;
}
.click-shipping{
    margin: auto;
    display: block;
    width: 100%;
}
.buttonStyle{
    width: 100%;
}
@media screen and (max-width: 640px) {
    .bottomSpace{
        margin-bottom: 0;
    }
    .mobileSpace{
        margin-top: 5vh;
        margin-bottom: 5vh;
    }
    .bottomSpace8{
        margin-bottom: 2vh !important;
    }
}

/* DYNAMIC STYLES */
li {
    list-style: none;
}

.header_bottom {
    margin-top: 2rem;
}

.header_campaign {
    background-color: var(--primary-color);
    color: var(--white-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    font-size: 1.4rem;
    line-height: 1.7rem;
    letter-spacing: 2px;
}

.header_campaign p  {
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

header .logo {
    padding: 0 2rem;
}

header .logo img {
    width: 200px;
}

/* .dropdown.menu > li.opens-right > .is-dropdown-submenu {
    background-color: var(--black-color);
    color: var(--white-color);
    padding: 1rem;
} */

.shopping_cart {
    position: relative;
    text-align: center;
    letter-spacing: 1px;
    grid-column: 8/9;
}

.shopping_cart img,
.user_icon img {
    width: 40px;
}

.shopping_cart span {
    display: inline-block;
    position: absolute;
    top: -1rem;
    right: 15%;
    background-color: var(--primary-color);
    color: var(--accent-color);
    font-size: 1.6rem;
    padding: 0.05rem 0.3rem;
    border-radius: 40%;
    transform: rotate(25deg);
}

.header_bottom {
    margin-top: 2rem;
}

header .logo p {
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 1.6rem;

}

.search_flex {
    width: 300px;
}

.search_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--white-color);
    padding: 0.5rem 1rem;
    width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    /* border: 2px solid red; */
    
}

header input[type='search'] {
    border: none;
    outline: none;
    display: inline-block;
    width: 100%;
    height: 100%;
    background-color: var(--white-color);
    margin: 0;
    box-shadow: none;
}

header input::placeholder {
    color: var(--black-color);
    letter-spacing: 1px;
    font-size: 1.2rem;
}

.search_container span {
    display: inline-block;
}

.search_container img {
    width: 20px;
}

.my_department a {
    color: var(--text-contrast);
    font-size: 2rem;
}

.my_location {
    font-size: 2rem;
}
.top-bar-left > ul{
    /* border: 2px solid red; */
    justify-content: space-around;
}

/* Slider Styles */
.my_slick-slider {
    width: 100%;
    position: relative;
    display: block;
}

.my_slick-slider .element {
    height: 100%;
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 6rem;
    color: #fff;
    border-radius: 5px;
    margin: 0px 10px;
    font-size: 20px;
}

.element-1 {
    background-color: var(--secondary-color);
}

.element-2 {
    background-color: #73413c;
}

.element-3 {
    background-color: #484031;
}

.my_slick-slider .hero_text {
    flex: 1;
    padding-right: 2rem;
}

.my_slick-slider .hero_image {
    flex: 1;
    text-align: center;
}

.my_slick-slider .hero_image img {
    max-width: 100%;
    height: 300px;
    display: inline-block;
    
}

/* Fix for Slick initialization */
.slick-slider {
    width: 100% !important;
}

.slick-list {
    width: 100% !important;
}

.slick-track {
    width: 100% !important;
    display: flex !important;
}

.slick-slide {
    width: 100% !important;
    flex: 0 0 100% !important;
}

.slick-slide {
    display: none;
    float: left;
    height: 350px;
    min-height: 1px;
    
}

.slick-slide > div {
    height: 100%;
}

.slick-arrow {
    font-size: 2rem;
    background-color: var(--primary-color);
    padding: 0.5rem 1rem;
    color: var(--white-color);
}

.slick-next {
    font-size: 0;
    right: 10px;
}

.slick-prev {
    font-size: 0;
    left: -1px;
    z-index: 2;
}

.grid-container.my_slider {
    width: 100%;
    max-width: 100%;
}


.element .button {
    width: 100px;
    font-size: 13px;
    font-weight: 700;
    margin: auto;
    height: 35px;
    border-radius: 5px;
    background-color: var(--accent-color);
    color: var(--text-contrast);
    letter-spacing: 1px;
}

.hero_text h2 {
    font-size: 3.6rem;
    letter-spacing: 2px;
}

.top-bar {
    height: 100%;
background-color: transparent;
background-color: var(--black-color);
    color: var(--white-color);
    padding: 1rem;
}

.top-bar ul {
background-color: black;

}

header #example-menu .department-menu {
    background-color: var(--black-color);
    color: var(--white-color);
    padding: 1rem;
}

/* DEPARTMENT SECTION */
.dept_home_heading,
.deals_home_heading {
    padding-left: 2rem;
    color: var(--text-contrast);
}

.dept_home_heading h2,
.deals_home_heading h2 {
    margin-top: 5rem;
}

.departments_home {
    /* margin-top: 1rem; */
}

.departments_home .department_card {
    border: 2px solid var(--primary-color);
    width: 100%;
    margin: 2rem auto;
    border-radius: 10px;
    min-width: 240px;
    max-width: 250px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 2rem 0 0;
}

.department_card .image{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    
}

.department_card img{
    width: 80%;
    display: inline-block;
    margin: auto;
}

.department_card .text {
    background-color: var(--accent-color);
    height: 95px;
    padding: 1rem;
    border-radius: 0 0 7px 7px;
}

.department_card .text p {
    font-size: 1.4rem;
    margin-bottom: 0;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
}

.department_card .text p:first-child {
    font-size: 2rem;
    font-weight: 700;
}

/* DEALS SECTION */
.deals_home, .dept_dept {
    justify-content: space-around;
}
.deals_home .product_card,
.dept_dept .product_card {
    border: 1px solid rgba(10, 10, 10, 0.25);
    margin: 0 0 1rem 0;
    width: 24%;
    background-color: var(--white-color);
    /* padding-top: 2rem; */
}

.product_description {
    height: 200px;
}

.product_description .name {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.upc {
    letter-spacing: 1px;
}

.product_description .brand {
    color: var(--accent-alt);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 1.2rem;
    text-shadow: 0.5px 0.5px 1px var(--text-contrast);
}

.product_description .unit_price {
    font-size: 2.5rem;
    font-weight: 500;
}

.product_description .category {
    font-weight: 400;
    letter-spacing: 2px;
    font-size: 1.2rem;
    text-shadow: 0.5px 0.5px 1px var(--text-contrast);
}

.plus,
.minus {
    background-color: var(--accent-color);
    font-size: 2rem;
    padding: 0.5rem 1rem 1rem;
    line-height: 1.5rem;
    border-radius: 5px;
    font-weight: 500;
}

.item_quantity {
    margin: 0.5rem;
    font-size: 2rem;
}

.product-control {
    position: relative;
}

.deals_home .add_to_cart,
.dept_dept .add_to_cart,
.product_product .add_to_cart {
    background-color: var(--primary-color);
    font-size: 1.5rem;
    letter-spacing: 1px;
    font-weight: 500;
    border-radius: 5px;
    padding: 1rem 0.8rem;
}

.deals_home .add_to_cart,
.dept_dept .add_to_cart {
    right: 1px;
    position: absolute;
}

.product_product .add_to_cart {
    margin-left: 2rem;
}

/* PRODUCT PAGE */
.product_product {
    background-color: var(--white-color);
    display: flex;
    align-items: center;
}
/* FOOTER */
footer {
    width: 100%;
    /* height: 200px; */
    /* color: #fff; */
    display: flex;
    align-items: center;
    justify-content: center;
}
footer {
    margin-top: 4rem;
    color: var(--text-contrast);
}

footer .container {
    width: 100%;
}

footer .top {
    background-color: var(--primary-color);
    width: 100%;
    padding: 2rem;
    justify-content: space-around;
}

.links_category h2 {
    font-weight: bold;
    font-size: 2rem;
    letter-spacing: 1px;
}

.subscribe {
    font-size: 1.5rem;
    color: #fff;

}

.subscribe p {
    font-weight: bold;
}

.subscribe p:first-child {
    color: #f2f2f2;
    letter-spacing: 1px;
}

.subscribe p:nth-child(2) {
    font-size: 3rem;
    letter-spacing: 2px;
}

footer .input {
    background-color: #f2f2f2;
    display: flex;
    height: 50px;
    padding: 5px;
    width: 400px;
    border-radius: 10px;
}

.input input {
    display: inline-block;
    height: 100%;
    outline: none;
    border: none;
    background-color: #f2f2f2;
    box-shadow: none;
}

footer .button_subscribe {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 2px 1rem;
    font-size: 1.5rem;
    border-radius: 5px;
}

.subscribe label {
    color: #f2f2f2;
    font-size: 2rem;
    letter-spacing: 1px;
}

footer .subscribe img {
    width: 200px;
    transform: rotate(45deg);
}

footer .mid {
    margin-top: 2rem;
    
    background-color: #c4c4c4;
    padding-top: 2rem;
}

footer ul {
    margin-left: 0;
}

.footer-links {
    width: 100%;
}

.footer-links > .container {
    /* display: flex;
    justify-content: space-between; */
    width: 100%;
}

footer .mid {
    width: 100%;
}

footer li {
    font-size: 1.6rem;
}

.links_category {
    margin-bottom: 2.5rem;
    min-width: 250px;
}

footer .lower {
    color: var(--text-contrast);
    flex-direction: column-reverse;
    align-items: center;
    /* justify-content: space-between; */
}

footer .lower p {
    font-size: 1.4rem;
}

footer .social img {
    width: 30px;
}

footer .lower > div {
    margin-bottom: 1rem;
}