:root {
  --main-color: #bd628d;
  --sec-color: #64C4B0;
  --third-color: #4B252D;
  --myOrange: #f39d72;
  --myRed: #ed3030;
  --myGreen: #4fba6f;
  --radius: 20px;
  --titr1: 30px;
  --titr2: 24px;
  --titr1res: 24px;
  --margin: 4rem;
  --paddingPart: 8vw;
}

@font-face {
  font-family: Peyda;
  src: url('../font/Peyda-Bold.ttf') format('truetype');
}

@font-face {
  font-family: YekanBakht;
  src: url('../font/YekanBakh-Light.ttf') format('truetype');
}

/* متن عادی کل سایت */
body {
  font-family: YekanBakht;
}

a:focus-visible{
  outline: none;
}

/* همه تیترها */
h1, h2, h3, h4, h5, h6, li {
  font-family: Peyda;
}

* {
  direction: rtl;
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style-type: none;
  box-sizing: border-box;
}

body {
  background-color: #e6e7e8;
}

a {
  color: black;
}

p {
  line-height: 30px;
}

button,
input,
label,
textarea,
select,
option{
  font-family: YekanBakht;
}

/* start header */

header {
  max-width: 1400px;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background-color: #e6e7e8;
}

header>nav {
  width: 45%;
}

header>a {
  width: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
}

header>a img {
  width: 170px;
}

header>nav .cat {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: 1rem;
}

header>nav .cat>li {
  position: relative;
}

header>nav .cat>li>a {
  font-size: 14px;
  color: var(--main-color);
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 1rem 0;
  white-space: nowrap;
  transition: all ease 0.3s;
}

header>nav .cat>li a>svg {
  width: 20px;
  height: 20px;
  fill: var(--main-color);
  transform: rotate(-90deg);
  transition: all ease 0.3s;
}

header>nav .cat>li a:hover>svg {
  fill: var(--third-color);
}

header>nav .cat>li>a:hover {
  color: var(--third-color);
}

header .media {
  width: 45%;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 15px;
  padding-left: 1rem;
}

header .media a {
  display: flex;
}

header>nav .submenu {
  background-color: white;
  width: max-content;
  position: absolute;
  top: 100%;
  right: 0;
  display: none;
  flex-direction: column;
  text-align: right;
  border: 1px solid #eee;
  border-radius: 10px;
}

header>nav .cat>li:hover .submenu {
  display: flex;
}

header>nav .cat>li:hover .submenu2 {
  display: none;
}

header>nav .cat>li .submenu li:first-child {
  padding-top: 10px;
}

header>nav .cat>li .submenu li:last-child {
  padding-bottom: 10px;
}

header>nav .submenu li {
  position: relative;
}

header>nav .submenu li a {
  width: -webkit-fill-available;
  font-size: 14px;
  display: inline-flex;
  padding: 5px 20px;
  opacity: 0.7;
  transition: all ease 0.3s;
}

header>nav .submenu li a:hover {
  opacity: 1;
}

header>nav .submenu li a svg {
  width: 20px;
  height: 20px;
  transform: rotate(0deg);
}

header>nav .submenu li a svg path {
  fill: black;
  opacity: 0.7;
  transition: all ease 0.3s;
}

header>nav .submenu li a:hover svg path {
  opacity: 1;
}

header>nav .submenu li .submenu2 {
  right: 100%;
  top: 0;
}

header>nav .cat>li:hover .submenu li:hover .submenu2 {
  display: flex;
}

/* start phone-menu */

header .phone-menu {
  position: relative;
  display: none;
}

header .menu-toggle {
  display: flex;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 5px;
  background-color: unset;
  margin-right: 1rem;
}

header .menu-toggle:focus-visible {
  outline: none;
}

header .menu-toggle i {
  font-size: 28px;
}

header .side-menu {
  position: fixed;
  right: -250px;
  top: 0;
  background-color: #fff;
  width: 220px;
  height: 100vh;
  border-left: 2px solid var(--third-color);
  transition: right 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

header .side-menu>ul {
  border-top: 2px solid #eee;
  padding-top: 10px;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-top: 10px;
}

header .side-menu>ul::-webkit-scrollbar {
  display: none;
}

header .side-menu ul li a {
  font-size: 15px;
  color: black;
  padding: 5px 10px;
  display: flex;
  align-items: center;
}

header .side-menu ul li a svg {
  fill: black;
  width: 20px;
  height: 20px;
}

header .side-menu ul.sub,
header .side-menu ul.subSub2 {
  display: none;
  flex-direction: column;
  max-height: 60vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

header .side-menu ul.sub {
  background-color: #ECD6DE;
}

header .side-menu ul.subSub2 {
  background-color: #DFB9C8;
}

header .side-menu.open {
  right: 0;
  height: 100vh;
  padding: 1rem;
  overflow: hidden;
}

header .side-menu.open .closeBtn {
  background-color: #eee;
  padding: 5px;
  border-radius: 1000px;
}

/* end header */
/* start footer */

footer {
  max-width: 1400px;
  margin: 4rem auto 0;
  padding: 1rem;
}

footer section:nth-child(1) {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer section:nth-child(1) div {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

footer section:nth-child(1) div svg {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

footer section:nth-child(1) div span {
  font-size: 20px;
}

footer section:nth-child(1) div p {
  color: #666;
  font-size: 15px;
}

footer section:nth-child(2) {
  display: flex;
  align-items: start;
  justify-content: space-between;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
  padding: 2rem 0;
  margin: 2rem 0;
}

footer section:nth-child(2)>div {
  width: -webkit-fill-available;
}

footer section:nth-child(2) div h2 {
  font-size: 20px;
}

footer section:nth-child(2) ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1rem;
}

footer section:nth-child(2) ul li a {
  color: black;
  font-size: 14px;
  display: flex;
  align-items: start;
  justify-content: start;
  transition: all ease 0.3s;
}

footer section:nth-child(2) ul li a:hover {
  color: var(--main-color);
}

footer section:nth-child(2) .instagram {
  width: -webkit-fill-available;
  border-radius: var(--radius);
  background-image: url(../img/footer.webp);
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  margin-top: 1rem;
}

footer section:nth-child(2) .instagram a {
  color: white;
  font-size: 20px;
}

footer section:nth-child(2) .instagram a svg {
  width: 40px;
  height: 40px;
}

footer section:nth-child(3) {
  display: flex;
  flex-direction: column;
}

footer section:nth-child(3)>div:nth-child(1) {
  display: flex;
  gap: 2rem;
  border-bottom: 1px solid #666;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

footer section:nth-child(3)>div:nth-child(1) div:nth-child(1) {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  text-align: right;
  gap: 10px;
}

footer section:nth-child(3)>div:nth-child(1) div:nth-child(1) img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius);
}

footer section:nth-child(3)>div:nth-child(1) div:nth-child(1) p {
  text-align: justify;
  font-size: 15px;
}

footer section:nth-child(3)>div:nth-child(1) div:nth-child(1) a {
  color: var(--main-color);
  font-size: 15px;
  transition: all ease 0.3s;
}

footer section:nth-child(3)>div:nth-child(1) div:nth-child(1) a:hover {
  color: black;
}

footer section:nth-child(3)>div:nth-child(1) div:nth-child(2) {
  display: flex;
  align-items: center;
  gap: 1rem;
}

footer section:nth-child(3)>div:nth-child(1) div:nth-child(2) img {
  width: 150px;
  padding: 1rem;
  border-radius: var(--radius);
  background-color: white;
}

footer section:nth-child(3)>div:nth-child(1) div:nth-child(2) a img {
  width: 150px;
  padding: 1rem;
  border-radius: var(--radius);
  background-color: white;
}

footer section:nth-child(3)>div:nth-child(2) {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer section:nth-child(3)>div:nth-child(2) p {
  font-size: 15px;
}

footer section:nth-child(3)>div:nth-child(2) a {
  color: var(--main-color);
  font-size: 15px;
  transition: all ease 0.3s;
}

footer section:nth-child(3)>div:nth-child(2) a:hover {
  color: black;
}

/* end footer */
/* start phone-menu-down */

main .phone-menu-down {
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #f7eeeecc;
  align-items: center;
  justify-content: space-around;
  min-height: 60px;
  height: 100px;
}

main .phone-menu-down a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: black;
  gap: 5px;
  font-size: 12px;
  transition: all ease 0.3s;
}

main .phone-menu-down a:hover {
  opacity: 0.7;
}

main .phone-menu-down a svg path {
  fill: #000;
}

/* end phone-menu-down */
/* start breadcrumb */

.breadcrumb {
  max-width: 1400px;
  margin: 4rem auto 3rem;
  padding: 1.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url(../img/breadcrumb.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.breadcrumb h1 {
  font-size: 30px;
  margin-bottom: 10px;
}

.breadcrumb ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.breadcrumb ul li a {
  display: flex;
  transition: all ease 0.3s;
}

.breadcrumb ul li a:hover {
  color: var(--main-color);
}

.breadcrumb ul li a svg {
  width: 25px;
  height: 25px;
}

.breadcrumb ul>svg {
  width: 20px;
  height: 20px;
  fill: black;
}


/* end breadcrumb */
/* start productsStyle */

.productsStyle a {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background-color: white;
  position: relative;
  width: max-content;
  box-shadow: 0 0 5px #eee;
}

.productsStyle a>div:nth-child(1) {
  
  width: 300px;
  height: 300px;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  overflow: hidden;
}

.productsStyle a>div:nth-child(1) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.productsStyle a>div:nth-child(2) {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.productsStyle a>div:nth-child(2) b {
  color: white;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 12px;
}

.productsStyle a>div:nth-child(2) b.style1 {
  background-color: var(--main-color);
}

.productsStyle a>div:nth-child(2) b.style2 {
  background-color: var(--third-color);
}

.productsStyle a>div:nth-child(2) b.style3 {
  background-color: var(--myRed);
}

.productsStyle a>div:nth-child(3) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: absolute;
  top: 1rem;
  left: -50px;
  display: none;
  transition: left 0.3s ease-in-out;
}

.productsStyle a:hover>div:nth-child(3) {
  display: flex;
  left: 1rem;
}

.productsStyle a>div:nth-child(3) span {
  width: 25px;
  height: 25px;
  border-radius: 1000px;
  cursor: pointer;
}

.productsStyle a>div:nth-child(3) span:hover {
  border: 2px solid black;
}

.productsStyle a>div:nth-child(4) {
  padding: 1rem;
}

.productsStyle a>div:nth-child(4)>p {
  color: #5b5b5b;
}

.productsStyle a>div:nth-child(4) div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  font-size: 14px;
}

.productsStyle a>div:nth-child(4) div p:nth-child(2) {
  text-decoration: line-through;
  color: var(--third-color);
}

/* end productsStyle */
/* start blogStyle */

.blogStyle>div {
  width: 300px;
  border-radius: var(--radius);
  background-color: white;
  box-shadow: 0 0 8px 5px #dddddd;
  transition: all 0.3s ease;
}

.blogStyle>div img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.blogStyle>div>div {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 5px;
}

.blogStyle>div h4 {
  height: 50px;
  overflow: hidden;
}

.blogStyle>div p {
  height: 65px;
  overflow: hidden;
}

.blogStyle>div a {
  padding: 10px;
  background-color: var(--main-color);
  color: white;
  text-align: center;
  border-radius: var(--radius);
  transition: all ease 0.3s;
}

.blogStyle>div a:hover {
  background-color: black;
}

/* end blogStyle */
/* start loginStyleLogo */

.loginStyleLogo{
  margin: 1rem;
}

.loginStyleLogo img{
  width: 125px;
}

.loginStyle{
  width: 600px;
  margin: auto;
  background-color: white;
  box-shadow: 0 0 20px 5px #d1d1d1;
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.loginStyle form{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.loginStyle h1{
  font-size: 28px;
  border-bottom: 2px solid var(--main-color);
  color: var(--main-color);
  margin-bottom: 1rem;
}

.loginStyle form > p{
  font-size: 14px;
}

.loginStyle form label{
  width: 100%;
  max-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 5px;
  font-size: 12px;
}

.loginStyle form input,
.loginStyle form select,
.loginStyle form textarea {
  border-radius: 5px;
  padding: 5px 10px;
  outline: none;
  width: 100%;
  border: 1px solid var(--third-color);
  font-size: 12px;
  transition: all ease 0.3s;
}

.loginStyle form textarea{
  resize: none;
}

.loginStyle form input:focus,
.loginStyle form select:focus{
  border: 1px solid var(--main-color);
}

.loginStyle form input::placeholder,
.loginStyle form select::placeholder{
  color: var(--third-color);
  transition: all ease 0.3s;
}

.loginStyle form input:focus::placeholder,
.loginStyle form select:focus::placeholder{
  color: var(--main-color);
}

.loginStyle form input[type="submit"]{
  max-width: 250px;
  font-size: 14px;
  padding: 8px;
  width: -webkit-fill-available;
  border: none;
  outline: none;
  border-radius: 5px;
  background-color: var(--main-color);
  color: white;
  cursor: pointer;
  transition: all ease 0.3s;
}

.loginStyle form input[type="submit"]:hover{
  background-color: #5b5b5b;
}

.loginStyle form > a:last-child{
  font-size: 12px;
  transition: all ease 0.3s;
}

.loginStyle form > a:last-child:hover{
  color: var(--main-color);
}

/* end loginStyleLogo */
/* start home */

main.home .part1 {
  max-width: 1400px;
  margin: 0 auto var(--margin) auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

main.home .part1 video {
  display: none;
  width: 100%;
  height: 600px;
  object-fit: cover;

}

main.home .part1 img {
  /* display: none; */
  width: 100%;
  height: 600px;
  object-fit: cover;
}

main.home .part2 {
  max-width: 1400px;
  margin: var(--margin) auto;
}

main.home .part2 div {
  width: -webkit-fill-available;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto;
  grid-template-areas:
    "baner1 baner1"
    "cat1 cat2"
    "cat3 cat4"
    "baner2 baner2";
  gap: 2rem;
  justify-items: center;
  justify-content: center;
}

main.home .part2 a:nth-child(1) {
  grid-area: baner1;
}

main.home .part2 a:nth-child(2) {
  grid-area: baner2;
}

main.home .part2 a:nth-child(3) {
  grid-area: cat1;
  margin-right: auto;
}

main.home .part2 a:nth-child(4) {
  grid-area: cat2;
  margin-left: auto;
}

main.home .part2 a:nth-child(5) {
  grid-area: cat3;
  margin-right: auto;
}

main.home .part2 a:nth-child(6) {
  grid-area: cat4;
  margin-left: auto;
}

main.home .part2 a {
  border-radius: var(--radius);
  position: relative;
}

main.home .part2 a img {
  object-fit: cover;
  border-radius: var(--radius);
}

main.home .part2 a:nth-child(1) img,
main.home .part2 a:nth-child(2) img {
  width: 824px;
  height: 300px;
}

main.home .part2 a:nth-child(3) img,
main.home .part2 a:nth-child(4) img,
main.home .part2 a:nth-child(5) img,
main.home .part2 a:nth-child(6) img {
  width: 400px;
  height: 400px;
}

main.home .part2 a span {
  position: absolute;
  bottom: -10px;
  left: 0;
  background: var(--main-color);
  color: white;
  padding: 5px 15px;
  transition: all ease 0.3s;
}

main.home .part2 a:hover span {
  background-color: var(--sec-color);
  color: white;
}

main.home .part3 .productsStyle,
main.home .part4 .productsStyle{
  overflow: hidden;
  scroll-behavior: smooth;
}

main.home .part3,
main.home .part4 {
  margin: 2rem var(--paddingPart);
  padding: 2rem;
  border-radius: var(--radius);
  max-width: 1400px;
  margin: var(--margin) auto;
}

main.home .part3 {
  background-color: var(--main-color);
}

main.home .part4 {
  background-color: var(--sec-color);
}

main.home .part3 .head,
main.home .part4 .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

main.home .part3 .head h2,
main.home .part4 .head h2 {
  color: white;
  font-size: var(--titr1);
}

main.home .part3 .productsStyle,
main.home .part4 .productsStyle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow-x: scroll;
}

/* end home */
/* start products-list */

main.products-list .part1 {
  max-width: 1400px;
  margin: 0 auto;
}

main.products-list .part1 .products-cat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 0 3rem;
}

main.products-list .part1 .products-cat a {
  display: flex;
  flex-direction: column;
  transition: all ease 0.3s;
}

main.products-list .part1 .products-cat a img {
  width: 270px;
  height: 270px;
  object-fit: cover;
  border-radius: var(--radius);
}

main.products-list .part1 .products-cat a span {
  width: fit-content;
  background: var(--main-color);
  color: white;
  padding: 5px 15px;
  margin-top: -18px;
  border-radius: 5px;
  transition: all ease 0.3s;
}

main.products-list .part1 .products-cat a:hover span {
  background-color: black;
}

main.products-list .part1 .productsStyle,
main.single-product .part3 .productsStyle {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  justify-items: center;
  justify-self: center;
}

main.products-list .part1 .productsStyle a>div:nth-child(1),
main.single-product .part3 .productsStyle a>div:nth-child(1) {
  width: 270px;
  height: 270px;
}

/* end products-list */
/* start single-product */

main.single-product {
  position: relative;
}

main.single-product .part1 {
  max-width: 1400px;
  margin: 0 auto;
  margin-top: -2rem;
}

main.single-product .part1>ul {
  max-width: 1120px;
  margin: 0 auto 1rem;
}

main.single-product .part1>div {
  max-width: 1120px;
  margin: auto;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

main.single-product .part1>div>div:nth-child(1) {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

main.single-product .part1>div>div:nth-child(1) img {
  width: 100px;
  max-height: 100px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 0 5px #eee;
  cursor: pointer;
}

main.single-product .part1>div>div:nth-child(1) img.active {
  filter: contrast(0.5);
}

main.single-product .part1>div>img:nth-child(2) {
  width: 350px !important;
  height: 350px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 0 5px #eee;
  cursor: pointer;
}

main.single-product .part1>div>div:nth-child(3) {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1rem;
  padding: 0 1rem;
  width: -webkit-fill-available;
}

main.single-product .part1>div>div:nth-child(3) h1 {
  font-size: var(--titr1);
}

main.single-product .part1>div>div:nth-child(3) p:nth-child(2) {
  color: black;
}

main.single-product .part1>div>div:nth-child(3) p:nth-child(2) a {
  color: var(--main-color);
}

main.single-product .part1>div>div:nth-child(3) span:nth-child(3) {
  background-color: var(--myOrange);
  color: white;
  border-radius: 5px;
  padding: 2px 6px;
}

main.single-product .part1>div>div:nth-child(3) hr {
  width: -webkit-fill-available;
  border: 1px solid #000;
}

main.single-product .part1>div>div:nth-child(3) .product-color {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 10px;
}

main.single-product .part1>div>div:nth-child(3) .product-color span {
  width: 25px;
  height: 25px;
  border-radius: 1000px;
  cursor: pointer;
}

main.single-product .part1>div>div:nth-child(3) .product-color span:hover {
  border: 2px solid black;
}

main.single-product .part1>div>div:nth-child(3) .products-range {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

main.single-product .part1>div>div:nth-child(3) .products-range div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

main.single-product .part1>div>div:nth-child(3) .products-range select {
  width: 50%;
  border: 2px solid black;
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 12px;
}

main.single-product .part1>div>div:nth-child(3) .products-range button#open svg {
  width: 20px;
  height: 20px;
}

main.single-product .part1>div>div:nth-child(3) .products-range button#open {
  width: 50%;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--main-color);
  background-color: white;
  border: 2px solid var(--main-color);
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 12px;
  justify-content: center;
  text-align: center;
}

main.single-product .part1>div>div:nth-child(3) .products-range button#open svg path {
  fill: var(--main-color);
}

main.single-product .part1>div>div:nth-child(4){
  display: flex;
  flex-direction: column;
  min-width: 250px;
  height: fit-content;
  background-color: #f0f0f1;
  border-radius: var(--radius);
  padding: 1.5rem;
}

main.single-product .part1>div>div:nth-child(4) button {
  background-color: var(--myGreen);
  color: white;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: none;
  outline: none;
  width: -webkit-fill-available;
  padding: 10px 15px;
  cursor: pointer;
  margin-top: 1rem;
  transition: all ease 0.3s;
}

main.single-product .part1 #modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 9999;
}

main.single-product .part1 #modalBox {
  width: 90%;
  /* max-width: 800px; */
  max-height: 80vh; /* حداکثر ارتفاع مودال */
  background: white;
  margin: 5rem auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 2rem;
  border-radius: var(--radius);
  overflow-y: auto; /* اسکرول داخلی */
}

main.single-product .part1 #modalBox button#close{
  outline: none;
  border: none;
  background-color: #eee;
  border-radius: 1000px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: fit-content;
  margin: -1rem -1rem 1rem 0;
  transition: all ease 0.3s;
}

main.single-product .part1 #modalBox button#close:hover {
  background-color: #ffd5d5;
}

main.single-product .part1 #modalBox table {
  border-collapse: collapse;
  margin: auto;
  min-width: 500px;
}

main.single-product .part1 #modalBox td {
  padding: 10px 20px;
  text-align: center;
  border: 1px solid #999;
  cursor: pointer;
  transition: background 0.2s;
}

main.single-product .part1 #modalBox .highlight{
  background: var(--main-color);
  color: white;
}

main.single-product .part1>div>div:nth-child(3)>.products-inventory {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 4px 5px 15px;
  background-color: white;
  border-radius: 10px;
  font-size: 13px;
}

main.single-product .part1>div>div:nth-child(4)>form>p {
  text-decoration: line-through;
}

main.single-product .part1>div>div:nth-child(4)>form>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

main.single-product .part1>div>div:nth-child(4)>form>div>span {
  background-color: var(--myOrange);
  color: white;
  border-radius: 5px;
  padding: 2px 6px;
}

main.single-product .part1>div>div:nth-child(4)>form>button svg {
  width: 20px;
  height: 20px;
  fill: white;
}

main.single-product .part1>div>div:nth-child(4)>form>button:hover {
  background-color: black;
}

main.single-product .part1>div>div:nth-child(4)>form>ul li {
  list-style-type: disc;
  margin-right: 1rem;
  font-size: 15px;
  color: #666;
  margin-bottom: 5px;
}

main.single-product .part2 {
  max-width: 1400px;
  margin: var(--margin) auto;
}

main.single-product .part2 div {
  max-width: 1120px;
  margin: auto;
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  background-color: white;
  border-radius: var(--radius);
  padding: 2rem;
}

main.single-product .part2 h2 {
  font-size: var(--titr2);
  margin-bottom: 1rem;
}

main.single-product .part2 ul li {
  font-weight: bold;
  margin-bottom: 5px;
}

main.single-product .part2 ul li span {
  font-weight: normal;
  color: #666;
}

main.single-product .part3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 var(--paddingPart);
  max-width: 1400px;
  margin: 0 auto 2rem;
}

main.single-product .part3 h2 {
  font-size: var(--titr1);
  margin-bottom: 1.5rem;
  text-align: center;
}

main.single-product .phone {
  width: -webkit-fill-available;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  padding: 1rem 3rem;
  box-shadow: 0 -5px 20px -3px #eee;
  background-color: white;
}

main.single-product .phone button {
  width: 50%;
  color: white;
  background-color: var(--sec-color);
  padding: 10px 15px;
  border-radius: 3px;
  font-size: 13px;
  text-align: center;
  border: none;
  outline: none;
  cursor: pointer;
  transition: all ease 0.3s;
}

main.single-product .phone button:hover {
  background-color: black;
}

main.single-product .phone p {
  width: 50%;
  font-size: 15px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* end single-product */
/* start products-cat */

main.products-cat .part1 {
  max-width: 1400px;
  margin: 0 auto 3rem;
  width: 100%;
}

main.products-cat .part1>div {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 0 1rem;
}

main.products-cat .part1>div a {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all ease 0.3s;
}

main.products-cat .part1 a:hover {
  opacity: 0.7;
}

main.products-cat .part1 a img {
  width: 270px;
  height: 270px;
  object-fit: cover;
  border-radius: var(--radius);
}

main.products-cat .part1 a h3 {
  font-size: 16px;
  width: fit-content;
  background: var(--main-color);
  color: white;
  padding: 5px 15px;
  margin-top: -18px;
  border-radius: 5px;
  transition: all ease 0.3s;
}

main.products-cat .part1 a:hover h3 {
  background-color: black;
}

/* end products-cat */
/* start about */

main.about .part1 {
  max-width: 1400px;
  margin: 0 auto 3rem;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 3rem;
  padding: 0 2rem;
}

main.about .part1>div {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  text-align: justify;
  gap: 1rem;
}

main.about .part1>div h1 {
  font-size: var(--titr1);
  color: var(--sec-color);
}

main.about .part1>img {
  width: 500px;
  height: 500px;
  border-radius: var(--radius);
  object-fit: cover;
}

/* end about */
/* start contact */

main.contact .part1 {
  max-width: 1400px;
  margin: 0 auto 3rem;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 3rem;
  padding: 0 2rem;
}

main.contact .loginStyle{
  width: unset;
  background-color: unset;
  box-shadow: unset;
  flex-direction: row;
}

main.contact .part1 form{
  background-color: white;
  height: -webkit-fill-available;
  padding: 1rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px 5px #eee;
}

main.contact .part1 form label{
  max-width: 350px;
  font-size: 15px;
}

main.contact .part1>img {
  width: 500px;
  height: 500px;
  border-radius: var(--radius);
  object-fit: cover;
}

/* end contact */
/* start blog */

main.blog .part1 {
  max-width: 1400px;
  margin: 0 auto;
}

main.blog .part1 .blogStyle {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  justify-self: center;
  gap: 2rem;
}

/* end blog */
/* start login */

main.login,
main.password{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  margin: auto auto 3rem;
  min-height: 100vh;
}

/* end login */
/* start signup */

main.signup{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  margin: auto auto 3rem;
  min-height: 100vh;
}

main.signup form{
  gap: 1rem;
}

main.signup form section{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  justify-items: center;
}

/* end signup */
/* start cart */

header.cart>nav {
  width: 100%;
}

main.cart .part1{
  display: flex;
  align-items: start;
  gap: 2rem;
  max-width: 1400px;
  margin: 3rem auto 0;
  padding: 1rem 2rem;
}

main.cart .part1 > .alignment,
main.cart .part1 .cart-info{
  box-shadow: 0 0 15px 5px #eee;
  background-color: white;
  border-radius: var(--radius);
  padding: 1rem;
}

main.cart .part1 > .alignment{
  width: 70%;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

main.cart .part1 .cart-header{
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: start;
  border-bottom: 2px solid var(--main-color);
  padding-bottom: 15px;
}

main.cart .part1 .cart-header .submit{
  background-color: var(--main-color);
  color: white;
  padding: 8px 30px;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  border: none;
  cursor: pointer;
  transition: all ease 0.3s;
}

main.cart .part1 .cart-header .submit:hover{
  background-color: var(--sec-color);
}

main.cart .part1 .cart-header .content{
  display: grid;
  grid-template-columns: repeat(2 , 1fr);
  gap: 10px;
  width: 100%;
}

main.cart .part1 .cart-header label{
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: bold;
  white-space: nowrap;
  font-size: 12px;
  color: var(--main-color);
}

main.cart .part1 .cart-header label input,
main.cart .part1 .cart-header label select{
  width: stretch;
  border: 2px solid #eee;
  padding: 5px 10px;
  border-radius: 5px;
  outline: none;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: all ease 0.1s;
}

main.cart .part1 .cart-header label input:focus,
main.cart .part1 .cart-header label select:focus{
  border: 2px solid var(--main-color);
}

main.cart .part1 .cart-info{
  width: 30%;
}

main.cart .part1 .cart-content .content{
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
  padding: 10px;
  border-bottom: 2px solid #eee;
}

main.cart .part1 .cart-content .controls-content{
  border-bottom: unset;
  margin: 10px 0;
  display: flex;
  gap: 5px;
  align-items: center;
}

main.cart .part1 .cart-content .content .product-image{
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
}

main.cart .part1 .cart-content .content .product-info{
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 5px;
  height: -webkit-fill-available;
  margin-left: auto;
}

main.cart .part1 .cart-content .content .product-price{
  display: flex;
  flex-direction: column-reverse;
  align-items: start;
  justify-content: center;
  gap: 5px;
  height: -webkit-fill-available;
  font-size: 14px;
}

main.cart .part1 .cart-content .content .product-price span:nth-child(2){
  color: var(--myGreen);
}

main.cart .part1 .cart-content .content .product-price span:nth-child(3){
  text-decoration: line-through;
  color: var(--myRed);
}

main.cart .part1 .cart-content .content>span:nth-child(4){
  margin: 1rem;
  padding: 10px;
  border-radius: 5px;
  background-color: #eee;
}

main.cart .part1 .cart-content .content .remove-btn{
  outline: none;
  border: none;
  background-color: #eee;
  border-radius: 1000px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: fit-content;
  transition: all ease 0.3s;
}

main.cart .part1 .cart-content .content .remove-btn:hover{
  background-color: #ffd5d5;
}

main.cart .part1 .cart-info .cart-info-header{
  padding: 1rem 1rem 2rem;
  border-bottom: 2px solid #eee;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas: 
  "txt1 txt2"
  "txt3 txt4"
  "box5 box5";
  gap: 5px;
}

main.cart .part1 .cart-info .cart-info-header p:nth-child(1){
  grid-area: txt1;
}

main.cart .part1 .cart-info .cart-info-header p:nth-child(2){
  grid-area: txt2;
  margin-right: auto;
}

main.cart .part1 .cart-info .cart-info-header p:nth-child(3){
  grid-area: txt3;
}

main.cart .part1 .cart-info .cart-info-header p:nth-child(4){
  grid-area: txt4;
  margin-right: auto;
}

main.cart .part1 .cart-info .cart-info-header div:nth-child(5){
  grid-area: box5;
}

main.cart .part1 .cart-info .cart-info-header > p{
  font-size: 14px;
}

main.cart .part1 .cart-info .cart-info-header > div{
  background-color: #d9edf7;
  color: #31708f;
  border: 1px solid #31708f;
  border-radius: 10px;
  padding: 5px 10px;
  text-align: right;
  font-size: 12px;
  margin-top: 10px;
}

main.cart .part1 .cart-info .cart-info-content{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  font-size: 14px;
}

main.cart .part1 .cart-info .cart-info-content p:last-child{
  color: var(--myRed);
}

main.cart .part1 .cart-info form{
  padding: 1rem;
}

main.cart .part1 .cart-info form button{
  background-color: var(--myGreen);
  color: white;
  padding: 10px;
  border-radius: 10px;
  font-size: 15px;
  width: 100%;
  outline: none;
  border: none;
  cursor: pointer;
  transition: all ease 0.3s;
}

main.cart .part1 .cart-info form button:hover{
  background-color: black;
}

/* end cart */
/* start single-blog */

main.single-blog .part1{
  max-width: 1400px;
  margin: -1rem auto 0;
}

main.single-blog .part1 > div:nth-child(1){
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

main.single-blog .part1 > div:nth-child(1) a{
  background-color: var(--main-color);
  color: white;
  padding: 5px 15px;
  border-radius: 10px;
  transition: all ease 0.3s;
}

main.single-blog .part1 > div:nth-child(1) a:hover{
  background-color: black;
}

main.single-blog .part1 > div:nth-child(1) h2{
  font-size: 30px;
}

main.single-blog .part1 > div:nth-child(1) span{
  font-size: 14px;
  color: var(--third-color);
}

main.single-blog .part1 > div:nth-child(2){
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  text-align: right;
}

main.single-blog .part1 > div:nth-child(2) > img:first-child{
  width: 700px;
  height: 400px;
  margin: auto;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
}

main.single-blog .part1 > div:nth-child(2) p{
  line-height: 38px;
}

/* end single-blog */

@media only screen and (max-width: 1350px) {
  .blogStyle>div {
    width: 270px;
  }

  .blogStyle>div img {
    height: 270px;
  }
}

@media only screen and (max-width: 1200px) {

  :root {
    --paddingPart: 5vw;
  }

  .blogStyle>div {
    width: 210px;
  }

  .blogStyle>div img {
    height: 210px;
  }

  .blogStyle>div h4 {
    font-size: 15px;
  }

  .blogStyle>div p {
    height: 60px;
    font-size: 14px;
  }

  .blogStyle>div a {
    padding: 5px;
    font-size: 14px;
  }

  /* start header 1200px */

  header {
    padding: 1rem 0;
  }

  header .phone-menu {
    display: unset;
  }

  header>nav>ul:nth-child(1) {
    display: none;
  }

  /* end header 1200px */
  /* start home 1200px */

  main.home .part1 img,
  main.home .part1 video {
    height: 500px;
  }

  /* end home 1200px */
  /* start products-list 1200px */

  main.products-list .part1 .products-cat a img,
  main.products-list .part1 .productsStyle a>div:nth-child(1),
  main.single-product .part3 .productsStyle a>div:nth-child(1) {
    width: 200px;
    height: 200px;
  }

  main.products-list .part1 .products-cat a span {
    font-size: 13px;
  }

  .productsStyle a>div:nth-child(4)>p {
    text-align: center;
  }

  .productsStyle a>div:nth-child(4) div {
    flex-direction: column;
  }

  /* end products-list 1200px */
  /* start about 1200px */

  main.about .part1 {
    gap: 1.5rem;
  }

  main.about .part1>img,
  main.contact .part1>img {
    width: 350px;
    height: 350px;
  }

  /* end about 1200px */
  /* start products-cat 1200px */

  main.products-cat .part1>div {
    gap: 1rem;
  }

  main.products-cat .part1 a img {
    width: 200px;
    height: 200px;
  }

  /* end products-cat 1200px */
  /* start single-product 1200px */

  main.single-product .part1 {
    padding: 1rem;
  }

  main.single-product .part1>div>img:nth-child(2) {
    width: 300px;
    height: 350px !important;
  }

  main.single-product .part1>div>div:nth-child(1) img {
    width: 80px;
    max-height: 80px;
  }

  main.single-product .part2 div,
  main.single-product .part1>ul,
  main.single-product .part1>div {
    max-width: 845px;
  }

  main.single-product .part1>div {
    display: grid;
    grid-template-columns: auto auto 1fr;
    grid-template-rows: 1fr auto;
    grid-template-areas:
      "box1 box2 box4"
      "box3 box3 box3";
    justify-items: center;
    justify-content: center;
  }

  main.single-product .part1>div>div:nth-child(1) {
    grid-area: box1;
  }

  main.single-product .part1>div>img:nth-child(2) {
    grid-area: box2;
  }

  main.single-product .part1>div>div:nth-child(3) {
    grid-area: box3;
  }

  main.single-product .part1>div>div:nth-child(4) {
    grid-area: box4;
    width: 100%;
  }

  main.single-product .part1>div>img:nth-child(2) {
    width: 400px;
    height: 400px;
  }

  /* end single-product 1200px */
  /* start blog 1200px */

  main.blog .part1 .blogStyle {
    gap: 1rem;
  }

  /* end blog 1200px */
  /* start cart 1200px */

  main.cart .part1{
    flex-direction: column;
    max-width: 800px;
  }

  main.cart .part1> section:nth-child(1),
  main.cart .part1> section:nth-child(2){
    width: 100%;
  }

  /* end cart 1200px */

}

@media only screen and (max-width: 900px) {

  :root {
    --paddingPart: 1rem;
  }

  /* start header 900px */
  header .media li:nth-child(2),
  header .media li:nth-child(3),
  header .media li:nth-child(4) {
    display: none;
  }

  header {
    justify-content: space-between;
  }

  header>nav,
  header .media {
    width: unset;
  }

  header>a {
    width: 80px;
  }

  main .phone-menu-down {
    display: flex;
  }

  /* end header 900px */
  /* start home 900px */

  main.home .part2 a:nth-child(3) img,
  main.home .part2 a:nth-child(4) img,
  main.home .part2 a:nth-child(5) img,
  main.home .part2 a:nth-child(6) img {
    width: 250px;
    height: 250px;
  }

  main.home .part2 a:nth-child(1) img,
  main.home .part2 a:nth-child(2) img {
    width: 530px;
    height: 230px;
  }

  main.home .part3 .head h2,
  main.home .part4 .head h2 {
    font-size: var(--titr1res);
  }

  /* end home 900px */
  /* start footer 900px */

  footer section:nth-child(1) {
    flex-direction: column;
    gap: 3rem;
  }

  footer section:nth-child(2)>div:nth-child(1) {
    display: none;
  }

  footer section:nth-child(2) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    grid-template-areas:
      "box3 box3"
      "box1 box2";
    gap: 1rem;
  }

  footer section:nth-child(2)>div:nth-child(2) {
    grid-area: box1;
  }

  footer section:nth-child(2)>div:nth-child(3) {
    grid-area: box2;
  }

  footer section:nth-child(2)>div:nth-child(4) {
    grid-area: box3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  footer section:nth-child(3)>div:nth-child(1) {
    flex-direction: column;
  }

  footer section:nth-child(1) div {
    gap: 0px;
  }

  footer section:nth-child(1) div svg {
    width: 50px;
    height: 50px;
  }

  footer section:nth-child(1) div span {
    font-size: 18px;
  }

  footer section:nth-child(3)>div:nth-child(2) {
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
  }

  footer section:nth-child(3)>div:nth-child(1) div:nth-child(1) img {
    width: 80px;
    height: 80px;
  }

  footer section:nth-child(3)>div:nth-child(1) div:nth-child(1) p,
  footer section:nth-child(3)>div:nth-child(1) div:nth-child(1) a,
  footer section:nth-child(3)>div:nth-child(2) p,
  footer section:nth-child(3)>div:nth-child(2) a,
  footer section:nth-child(1) div p {
    font-size: 13px;
  }

  footer section:nth-child(3)>div:nth-child(1) div:nth-child(2) {
    justify-content: center;
  }

  footer section:nth-child(3)>div:nth-child(1) div:nth-child(2) img {
    width: 30%;
  }

  /* end footer 900px */
  /* start products-list 900px */

  main.products-list .part1 .products-cat{
    gap: 1rem;
  }

  main.products-list .part1 .productsStyle,
  main.single-product .part3 .productsStyle {
    grid-template-columns: repeat(3, 1fr);
  }

  main.products-list .part1 .products-cat a img {
    width: 154px;
    height: 154px;
  }

  main.products-list .part1 .productsStyle a>div:nth-child(1) {
    width: 210px;
    height: 210px;
  }

  /* end products-list 900px */
  /* start single-product 900px */

  main.single-product .part1>div>img:nth-child(2) {
    width: 250px;
    height: 250px;
  }

  main.single-product .phone {
    display: flex;
    position: fixed;
    position: fixed;
    bottom: 100px;
  }

  /* end single-product 900px */
  /* start products-cat 900px */

  main.products-cat .part1 div {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  main.products-cat .part1 a img {
    width: 210px;
    height: 210px;
  }

  main.products-cat .part1 a h3 {
    font-size: 13px;
  }

  /* end products-cat 900px */
  /* start about 900px */

  main.about .part1,
  main.contact .part1 {
    flex-direction: column-reverse;
  }

  main.about .part1>img,
  main.contact .part1>img {
    margin: 0 auto;
  }

  /* end about 900px */
  /* start contact 900px */

  main.contact .part1 form {
    height: unset;
  }

  /* end contact 900px */
  /* start single-product 900px */

  main.single-product .part2 div,
  main.single-product .part1>ul,
  main.single-product .part1>div {
    max-width: 655px;
  }

  main.single-product .part1>div>img:nth-child(2) {
    width: 300px;
    height: 300px;
  }

  #modalBox{
    width: fit-content;
    max-width: unset;
  }

  /* end single-product 900px */
  /* start blog 900px */

  main.blog .part1 .blogStyle {
    grid-template-columns: repeat(3, 1fr);
  }

  /* end blog 900px */
  /* start single-blog 900px */

  main.single-blog .part1 > div:nth-child(2) > img:first-child {
    width: 600px;
    height: 350px;
  }

  /* end single-blog 900px */
  
}

@media only screen and (max-width: 700px) {

  .loginStyle {
    width: 90%;
    padding: 2rem;
  }

  .loginStyle form{
    font-size: 14px;
    width: 100%;
  }

  .loginStyle h1 {
    font-size: 25px;
  }

  .loginStyle form > a:last-child {
    margin-top: 2rem;
  }

  /* start productsStyle 700px */

  .productsStyle a>div:nth-child(1) {
    width: 250px;
    height: 250px;
  }

  /* end productsStyle 700px */
  /* start phone-menu-down 700px */

  main .phone-menu-down {
    height: unset;
  }

  main .phone-menu-down a {
    gap: 2px;
    font-size: 10px;
  }

  main .phone-menu-down a svg {
    width: 15px;
    height: 15px;
  }

  /* end phone-menu-down 700px */
  /* start products-list 700px */

  main.products-list .part1 .productsStyle,
  main.single-product .part3 .productsStyle {
    grid-template-columns: repeat(2, 1fr);
  }

  main.products-list .part1 .products-cat a img {
    width: 118px;
    height: 118px;
  }

  main.products-list .part1 .productsStyle a>div:nth-child(1) {
    width: 250px;
    height: 250px;
  }

  /* end products-list 700px */
  /* start single-product 700px */

  main.single-product .phone {
    bottom: 60px;
    padding: 10px 2rem;
  }

  main.single-product .phone button {
    padding: 8px 15px;
    font-size: 12px;
  }

  main.single-product .phone p {
    padding: 8px 15px;
    font-size: 13px;
  }

  main.single-product .part1>div {
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr auto auto auto;
    grid-template-areas:
      "box2 box2"
      "box1 box1"
      "box3 box3"
      "box4 box4";
    justify-items: center;
    justify-content: center;
  }

  main.single-product .part1>div>div:nth-child(1) {
    flex-direction: row;
    width: -webkit-fill-available;
  }

  main.single-product .part1>div>img:nth-child(2) {
    width: 430px;
    height: 430px;
  }

  main.single-product .part2 {
    margin: 1rem auto;
  }

  main.single-product .part2 div {
    padding: 1rem;
    line-height: 30px;
  }

  main.single-product .part2 div,
  main.single-product .part1>ul,
  main.single-product .part1>div {
    max-width: 430px;
  }

  /* end single-product 700px */
  /* start products-cat 700px */

  main.products-cat .part1 div {
    grid-template-columns: repeat(2, 1fr);
  }

  main.products-cat .part1 a img {
    width: 250px;
    height: 250px;
  }

  /* end products-cat 700px */
  /* start blog 700px */

  main.blog .part1 .blogStyle {
    grid-template-columns: repeat(2, 1fr);
  }

  /* end blog 700px */
  /* start cart 700px */

  main.cart .part1 .cart-content, 
  main.cart .part1 .cart-info{
    padding: 0px;
  }

  main.cart .part1 .cart-content .content{
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas: 
    "img1 box2 btn5"
    "img1 box3 txt4";
    column-gap: 10px;
    row-gap: 0;
    justify-items: baseline;
  }

  main.cart .part1 .cart-content .content img:nth-child(1){
    grid-area: img1;
    align-self: start;
  }

  main.cart .part1 .cart-content .content div:nth-child(2){
    grid-area: box2;
    font-size: 12px;
  }

  main.cart .part1 .cart-content .content div:nth-child(3){
    grid-area: box3;
    font-size: 12px;
  }

  main.cart .part1 .cart-content .content span:nth-child(4){
    grid-area: txt4;
    font-size: 14px;
  }

  main.cart .part1 .cart-content .content span:nth-child(5){
    grid-area: btn5;
  }

  /* end cart 700px */
  /* start about 700px */

  main.about .part1,
  main.contact .part1 {
    padding: 0 1rem;
  }

  /* end about 700px */
  /* start signup 700px */

  main.signup form{
    display: flex;
  }

  main.signup form label:nth-child(4),
  main.signup form label:nth-child(6),
  main.signup form label:nth-child(8),
  main.signup form label:nth-child(10){
    margin-right: unset;
  }

  /* end signup 700px */
  /* start single-blog 700px */

  main.single-blog .part1 > div:nth-child(2) > img:first-child {
    width: 100%;
    height: 320px;
  }

  /* end single-blog 700px */




  main.cart .part1 .cart-header .content {
    display: flex;
    flex-direction: column;
  }

  main.cart .part1 .cart-header .submit{
    width: 100%;
  }

}

@media only screen and (max-width: 570px) {

  /* start productsStyle 570px */

  .productsStyle a>div:nth-child(1) {
    width: 200px;
    height: 200px;
  }

  .productsStyle a>div:nth-child(4)>p {
    font-size: 15px;
  }

  .productsStyle a>div:nth-child(4) div {
    font-size: 15px;
  }

  /* end productsStyle 570px */
  /* start home 570px */

  main.home .part2 div {
    gap: 1rem;
  }

  main.home .part2 a:nth-child(3) img,
  main.home .part2 a:nth-child(4) img,
  main.home .part2 a:nth-child(5) img,
  main.home .part2 a:nth-child(6) img {
    width: 200px;
    height: 200px;
  }

  main.home .part2 a:nth-child(1) img,
  main.home .part2 a:nth-child(2) img {
    width: 430px;
    height: 200px;
  }

  main.home .part2 a span {
    font-size: 12px;
  }

  /* end home 570px */
  /* start products-list 570px */

  main.products-list .part1 .productsStyle a>div:nth-child(1),
  main.single-product .part3 .productsStyle a>div:nth-child(1) {
    width: 200px;
    height: 200px;
  }

  main.products-list .part1 .products-cat a img {
    width: 93px;
    height: 93px;
  }

  main.products-list .part1 .products-cat a span {
    padding: 4px 8px;
  }

  main.products-list .part1 .products-cat a span {
    font-size: 9px;
  }

  /* end products-list 570px */
  /* start products-cat 570px */

  main.products-cat .part1 a img {
    width: 200px;
    height: 200px;
  }

  /* end products-cat 570px */
  /* start cart 570px */

  main.cart .part1 .cart-content .content {
    padding: 15px;
  }

  main.cart .part1 .cart-content .content>.remove-btn {
    align-self: start;
    justify-self: end;
  }

  main.cart .part1 .cart-content .content>span:nth-child(4) {
    margin: 0;
    align-self: end;
  }

  /* end cart 570px */
  /* start single-blog 570px */

  main.single-blog .part1 > div:nth-child(2) {
    padding: 1rem;
    gap: 0;
  }

  main.single-blog .part1 > div:nth-child(1) {
    gap: 12px;
  }

  main.single-blog .part1 > div:nth-child(1) a,
  main.single-blog .part1 > div:nth-child(1) span {
    font-size: 12px;
  }

  main.single-blog .part1 > div:nth-child(1) h2 {
    font-size: 22px;
  }

  main.single-blog .part1 > div:nth-child(2) > img:first-child {
    height: 270px;
  }

  main.single-blog .part1 > div:nth-child(2) p {
    line-height: 34px;
    font-size: 15px;
  }

  main.single-product .part1 #modalBox {
    padding: 1rem;
  }

  main.single-product .part1 #modalBox button#close{
    margin: 0 0 0.5rem;
  }

  main.single-product .part1 #modalBox td {
    padding: 5px 10px;
    font-size: 14px;
  }

  /* end single-blog 570px */

}

@media only screen and (max-width: 480px) {

  /* start blogStyle 480px */

  .blogStyle>div>div {
    padding: 0 10px 10px;
  }

  .blogStyle>div {
    width: 180px;
  }

  .blogStyle>div img {
    height: 180px;
  }

  /* end blogStyle 480px */
  /* start breadcrumb 480px */

  .breadcrumb {
    margin: 4rem auto 2rem;
    padding: 1rem;
  }

  .breadcrumb h1 {
    font-size: 24px;
    margin-bottom: unset;
    ;
  }

  .breadcrumb ul li a {
    font-size: 14px;
  }

  .breadcrumb ul li a svg {
    width: 20px;
    height: 20px;
  }

  /* end breadcrumb 480px */
  /* start home 480px */

  main.home .part2 a:nth-child(1) img,
  main.home .part2 a:nth-child(2) img {
    width: 315px;
    height: 130px;
  }

  main.home .part2 a:nth-child(3) img,
  main.home .part2 a:nth-child(4) img,
  main.home .part2 a:nth-child(5) img,
  main.home .part2 a:nth-child(6) img {
    width: 150px;
    height: 150px;
  }

  /* end home 480px */
  /* start products-cat 480px */
  /* start products-list 480px */

  main.products-list .part1 .productsStyle, 
  main.single-product .part3 .productsStyle {
    gap: 1rem;
  }

  main.products-list .part1 .products-cat {
    margin-bottom: 2rem;
  }

  main.products-cat .part1 a img,
  main.products-list .part1 .productsStyle a>div:nth-child(1),
  main.single-product .part3 .productsStyle a>div:nth-child(1) {
    width: 160px;
    height: 160px;
  }

  main.products-list .part1 .products-cat a img {
    width: 75px;
    height: 75px;
  }

  /* end products-cat 480px */
  /* end products-list 480px */
  /* start cart 480px */

  main.cart .part1 {
    gap: 1rem;
    padding: 1rem;
  }

  main.cart .part1 .cart-content .content img:nth-child(1){
    width: 100px;
    height: 100px;
  }

  /* end cart 480px */
  /* start single-blog 480px */

  main.single-blog .part1 > div:nth-child(2) > img:first-child {
    height: 200px;
  }

  /* end single-blog 480px */
  /* start single-product 480px */

  main.single-product .part1>div>img:nth-child(2) {
    width: 350px;
    height: 350px;
  }

  main.single-product .part2 div,
  main.single-product .part1>ul,
  main.single-product .part1>div {
    max-width: 350px;
  }

  main.single-product .part1>div>div:nth-child(3) {
    gap: 10px;
  }

  main.single-product .part3 h2,
  main.single-product .part1>div>div:nth-child(3) h1 {
    font-size: 24px;
  }

  /* end single-product 480px */

}

@media only screen and (max-width: 400px) {

  /* start products-cat 400px */

  main.products-cat .part1 a h3 {
    font-size: 10px;
  }

  /* end products-cat 400px */
  /* start about 400px */

  main.about .part1>img,
  main.contact .part1 img{
    width: 330px;
    height: 330px;
  }

  /* end about 400px */

}

@media only screen and (max-width: 375px) {

  .blogStyle>div {
    width: 150px;
  }

  .blogStyle>div img {
    height: 150px;
  }

  main.single-product .part1>div>img:nth-child(2) {
    width: 270px !important;
    height: 270px !important;
  }

  /* start about 375px */

  main.about .part1>img,
  main.contact .part1>img {
    width: 290px;
    height: 290px;
  }

  /* end about 375px */

  main.single-product .part2 div,
  main.single-product .part1>ul,
  main.single-product .part1>div {
    max-width: 330px;
  }

  main.single-product .part1>div>img:nth-child(2) {
    width: 290px;
    height: 290px;
  }

}

@media only screen and (max-width: 325px) {

  .blogStyle>div {
    width: 130px;
  }

  .blogStyle>div img {
    height: 130px;
  }

  /* start home 300px */

  main.home .part1 img,
  main.home .part1 video {
    height: 350px;
  }

  /* end home 300px */
  /* start products-cat 300px */

  main.single-product .part2 div,
  main.single-product .part1>ul,
  main.single-product .part1>div {
    max-width: 275px;
  }

  main.products-cat .part1 a img,
  main.products-list .part1 .productsStyle a>div:nth-child(1),
  main.single-product .part3 .productsStyle a>div:nth-child(1) {
    width: 130px;
    height: 130px;
  }

  main.products-list .part1 .products-cat a img {
    width: 58px;
    height: 58px;
  }

  main.products-list .part1 .products-cat a span {
    display: none;
  }

  /* end products-cat 300px */

}

.pagination {
  display: flex;
  justify-content: center;
  padding: 0px;
  margin: 2rem 0;
  gap: 8px;
}

.pagination li a {
  display: flex;
  padding: 8px 12px;
  background-color: white;
  border-radius: 5px;
  transition: all ease 0.3s;
}

.pagination li a:hover,
.pagination li a.active,
.pagination li a:hover,
.pagination li a.active{
  background-color: var(--main-color);
  color: white;
}