/* 
--- 01 TYPOGRAPHY SYSTEM

- Font sizes (px)
10 / 11/ 12 / 13/ 14 / 15/ 16 / 18 / 20 / 24 / 30 / 36 / 40/ 44 / 52 / 62 / 74 / 86 / 98

- Font weights
Default: 400
Medium: 500
Semi-bold: 600
Bold: 700

- Line heights
Default: 1
Small: 
Medium: 
Paragraph default:

- Primary Heading Color : #2E2F33,
- Secondary Heading Color : #3F4146
- List of text color : #746C6C , #2A2C32

- Letter spacing


--- 02 COLORS
- Primary: #F5DEB3
- Tints:

-  Rating-color: #f3c97d


- Shades: 
#ddc8a1
#DDC8A1;
#93856B;
#05494f;


- Arrow Backgroundcolor: #93856B


- Complementary Color : #B3CAF5, #01b7c4, #008e98;

- Accents:
- Greys

#888
#767676 (lightest grey allowed on #fff)
#6f6f6f (lightest grey allowed on #fdf2e9)



-Button Color :  #01b7c4

--- 05 SHADOWS

 -2px 2px 20px rgba(0, 0, 0, 0.075);
0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);

--- 06 BORDER-RADIUS

Default: 9px
Medium: 11px

--- 07 WHITESPACE

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

- Space between home page component : 

 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  /* font-size: 10px; */
  /* 10px / 16px = 0.625 = 62.5% */
  /* Percentage of user's browser font-size setting */
  font-size: 62.5%;
  overflow-x: hidden;
}
body {
  font-family: "Montserrat";
  line-height: 1;
  font-weight: 400;
  color: #3f4146;
  /* Only works if there is nothing absolutely positioned in relation to body */
  overflow-x: hidden;
}
/**************************/
/* GENRAL REUSABLE COMPONENTS */
/**************************/
ul {
  list-style: none;
}
a {
  text-decoration: none;
}
.container {
  max-width: 120rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}
.grid {
  display: grid;
  column-gap: 2.4rem;
}
.grid--col-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--col-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--col-4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid--col-5 {
  grid-template-columns: repeat(5, 1fr);
}
.heading-secondary {
  font-weight: 700;
  color: #3f4146;
  font-size: 2.4rem;
  margin-bottom: 1.6rem;
}
.heading-underline {
  border: none; /* Remove default border */
  height: 0.5px; /* Set height for the line */
  background-color: #b3caf5; /* Set the color of the line */
  margin-bottom: 4.8rem; /* Add space above and below the line */
  border-radius: 2px; /* Optional: Make the edges rounded */
  width: 40%; /* Adjust the width of the line */
}
.navigation-arrows {
  /* text-align: right; */
  margin-bottom: 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.8rem;
}
.arrow {
  padding: 0.5rem 1rem;
  border: none;
  background-color: #b3caf5;
  border-radius: 3px;
  text-align: center;
  color: #fff;
  display: flex;
  font-size: 1.8rem;
  font-weight: 700;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: color 0.2s;
}
.arrow:hover {
  cursor: pointer;
  background-color: #93856b;
  color: #f5deb3;
}
.f-weight-500 {
  font-weight: 500;
}
.ads-btn:link,
.ads-btn:visited {
  display: inline-block;
  margin-top: 8rem;
  font-size: 2rem;
  text-decoration: none;
  font-weight: 600;
  color: #2e2f33;
  background-color: #74a0f1;
  border-radius: 5px;
  padding: 0.8rem 1.6rem;
  transition: all 0.3s;
}
.ads-btn:hover,
.ads-btn:active {
  background-color: #01b7c4;
}
/**************************/
/* HEADER SECTION */
/**************************/
.header {
  background-color: #f5deb3;
  padding: 2rem 6rem;
  display: flex;
  /* grid-template-columns: 1fr 2fr 2fr; */
  justify-content: space-between;
  align-items: center;
  height: 9.6rem;
}

.logo {
  height: 9rem;
  margin-top: 5rem;
}
.nav-logo:hover {
  cursor: pointer;
}
.main-nav-list {
  list-style: none;
  display: flex;
  gap: 3.2rem;
  justify-content: center;
}
.main-nav-link:link,
.main-nav-link:visited {
  text-decoration: none;
  display: inline-block;
  color: #2e2f33;
  font-size: 1.8rem;
  font-weight: 600;
  transition: color 0.3s;
  cursor: pointer;
}
.main-nav-link:hover,
.main-nav-link:active {
  color: #01b7c4;
  cursor: pointer;
}
.header-icons {
  justify-self: end;
  display: flex;
  gap: 2.4rem;
}
.header-icon {
  font-size: 2.4rem;
  color: #2e2f33;
  transition: color 0.3s;
}
.header-icon:hover {
  color: #01b7c4;
}
.cart {
  position: relative;
}
.cart-items {
  position: absolute;
  top: -5px;
  right: -10px;
  background-color: #b3caf5;
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 0.4rem 0.6rem;
  border-radius: 3px;

  display: flex;
  justify-content: center;
  align-items: center;
}
/* MOBILE */
.mobile-header {
  /* To Hide Everything in desktop view */
  display: none;
}
.mobile-menu-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  padding-left: 1rem;
}
.icon-mobile-nav {
  width: 4.8rem;
  height: 4.8rem;
}
.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/**************************/
/* HERO SECTION */
/**************************/
.section-hero {
  background-color: #f5deb3;
}
.hero {
  max-width: 130rem;
  padding: 0 3.2rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  /* align-items: center; */
}
.hero-text-box {
  padding: 8rem 0 0 4rem;
}

.heading-primary {
  font-size: 4.8rem;
  color: #2e2f33;
  margin-bottom: 1.6rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.hero-description {
  font-size: 2.4rem;
  color: #746c6c;
  line-height: 1.5;
  margin-bottom: 9.6rem;
  letter-spacing: -1px;
  word-spacing: -0.3px;
}
.hero-img-box {
  /* bottom: -5px !important; */
  align-self: start;
}

.hero-img {
  width: 90%;
  /* align-self: start; */
}
.hero-btn:link,
.hero-btn:visited {
  font-size: 2.8rem;
  text-decoration: none;
  font-weight: 600;
  color: #2e2f33;

  background-color: #b3caf5;
  border-radius: 5px;
  padding: 1.2rem 2.4rem;
  transition: all 0.3s;
}
.hero-btn:hover,
.hero-btn:active {
  background-color: #01b7c4;
}
/**************************/
/* CATEGORY SECTION */
/**************************/
.section-category {
  padding: 9.6rem 0;
}
/* .heading-line {
  width: 40%;
} */

.cat-img-container {
  background-color: #ddc8a1;
  border-radius: 5px;
  box-shadow: -2px 2px 20px rgba(0, 0, 0, 0.075);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  object-fit: cover;
  transition: 0.3s ease;
}
.cat-img-container:hover {
  filter: brightness(70%);
  cursor: pointer;
}
.category-img {
  width: 100%;
}
.category-name {
  position: absolute;
  top: 70%;
  color: #05494f;
  font-size: 1.6rem;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s;
}
.cat-img-container:hover .category-name {
  opacity: 1;
}
/**************************/
/* BEST SELLER SECTION */
/**************************/
.section-best-seller {
  padding: 8rem 0;
}

.product-item {
  position: relative;
  box-shadow: -2px 2px 20px rgba(0, 0, 0, 0.075);
  border-radius: 5px;
  overflow: hidden;
}
.product-item:hover .product-overlay {
  right: 1rem;
  /* هنگام هاور، آیکون‌ها از سمت راست ظاهر می‌شوند */
}
.product-img {
  background-color: #f8e8ca;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;

  width: 100%;
  margin-bottom: 1.6rem;
  transition: transform 1s, filter 0.5s;
}
.product-img:hover {
  transform: scale(1.05);
  filter: brightness(0.9); /* تیره شدن محصول هنگام هاور */
}

.product-overlay {
  position: absolute;
  top: 30%;
  right: -5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: right 0.3s ease-in-out;
}
.product-icon {
  font-size: 2.4rem;
  color: #01b7c4;
}

.product-info {
  padding: 0 1.6rem 1.8rem;
}
.product-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2a2c32;
  margin-bottom: 1rem;
}
.rating {
  color: #f3c97d;
  font-size: 1.8rem;
  margin-bottom: 2.4rem;
}
.price {
  font-size: 1.2rem;
  color: #746c6c;
}

/**************************/
/* FEATURED PRODUCTS SECTION */
/**************************/
.section-featured-banner {
  padding: 8rem 0;
}
.banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1.6rem;
  row-gap: 1.6rem;
}
.banner-item {
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  height: 30rem;
}
.wheat {
  background-color: #f5deb3;
  border-top-left-radius: 5px;
  border-top-right-radius: 60px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 60px;
  display: flex;
  justify-content: space-around;
}
.blue {
  background-color: #b3caf5;
  border-top-left-radius: 60px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 60px;
  border-bottom-left-radius: 5px;
  display: flex;
  justify-content: space-around;
}
.banner-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}
.f-product-text-box{
  padding-top: 3rem;
  padding-right: 3rem;
}
.f-product-title{
  font-size: 2.4rem;
  font-weight: 600;
  color: #2a2c32;
}
.ads-sentence{
  font-size: 1.8rem;
  font-weight: 500;
  color : #2e2f33;
  margin-top: 2.4rem;
}
/**************************/
/* ON SALE SECTION */
/**************************/
/* product-img  padding: 8rem 0;
} */

/**************************/
/* NEW PRODUCTS SECTION */
/**************************/
.section-new-products {
  padding: 8rem 0;
}
/**************************/
/* FOOTER SECTION */
/**************************/
.footer {
  margin-top: 8rem;
  padding: 8rem 0;
  background-color: #f5deb3;
}
.footer-grid {
  grid-template-columns: repeat(5, 1fr);
}
.logo.footer-logo {
  margin-bottom: 3.2rem;
}
.footer-about-description {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4.8rem;
}
.address {
  font-size: 1.6rem;
  margin-bottom: 3.2rem;
}
.footer-social-links {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  gap: 1.6rem;
  margin-top: auto;
}
.footer-social-link {
  font-size: 3rem;
  color: #01b7c4;
  transition: color 0.3s;
}
.footer-social-link:hover {
  color: #008e98;
}
.footer-heading {
  margin-bottom: 4rem;
  font-size: 2rem;
  font-weight: 700;
}
.tel,
.mail,
.working-hour {
  color: currentColor;
  font-size: 1.6rem;

  line-height: 2;
}
/* .working-hour {
  /* margin-top: auto; 
} */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.footer-link:link,
.footer-link:visited {
  color: #3f4146;
  font-size: 1.6rem;
}

/* .footer-link:hover,
.footer-link:active {
} */
/* 2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128 */
/* 10 / 11/ 12 / 13/ 14 / 15/ 16 / 18 / 20 / 24 / 30 / 36 / 40/ 44 / 52 / 62 / 74 / 86 / 98 */
