@font-face {
  font-family: "farang";
  src: url("./fonts/Farang.woff2");
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  font-size: 10px;
}
html {
  direction: rtl;
    scroll-behavior: smooth;
}
body {
  font-family: "farang";
  font-size: 1.6rem;
  background-image: linear-gradient(90deg, #1a1a1a 0%, #333333 100%);
  color: #ffffff;
}
header {
  position: relative;
  height: 70rem;
  margin-bottom: 7rem;
}
.logo {
  width: 10rem;
  margin: 1rem auto;
  display: block;
}
.header-img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: -1rem;
  left: 0;
  opacity: 0.2;
  overflow: hidden;
  background-image: url(./images/header.jpg);
background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
}
.header-img img {
  width: 100%;
}
.header-text {
  width: 90%;
  margin: 6rem 10rem 0 0;
  /* opacity: 0.3; */
  padding-left: 8rem;
}
.header-text h1 {
  font-size: 12rem;
}
.header-text span {
  font-size: 4rem;
}
.header-img-png {
    width: 44rem;
    position: absolute;
    top: 18rem;
    left: 15rem;
}
main {
  margin-bottom: 10rem;
}
.cats-section{
	position: sticky;
	top: -1px;
	z-index: 9999;
}
.bg-cats{
	background-color: #626262;
	box-shadow: 0 0.5rem 0.5rem 0 #1e1e1eb8;
}
section {
  position: relative;
  padding: 10rem 8% 0 8%;
}
.section-title {
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 3rem;
}
.hot-offers {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1rem;
    margin: 6rem 0 3rem 0;
}
.offers-bg {
  position: absolute;
  width: 100%;
  bottom: 0;
  right: 0;
}
.offer {
  width: 25%;
  border-radius: 2rem;
  text-align: center;
  /*padding-top: 1rem;*/
  /*background-color: #a60b0b;*/
  box-shadow: 0 50px 50px -40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.offer1, .offer2, .offer3, .offer4 {
    background-color: #626262;
}
/*.offer1 {*/
/*  background-color: transparent;*/
/*  background-image: linear-gradient(45deg, #a77443 0%, #c39868 100%);*/
/*  box-shadow: 0px 50px 50px -40px rgba(0, 0, 0, 0.5);*/
/*}*/
/*.offer2 {*/
/*  background-color: transparent;*/
/*  background-image: linear-gradient(45deg, #4c8d81 0%, #c39868 100%);*/
/*  box-shadow: 0px 50px 50px -40px rgba(0, 0, 0, 0.5);*/
  
/*}*/
/*.offer3 {*/
/*  background-color: transparent;*/
/*  background-image: linear-gradient(45deg, #3c3533 0%, #568e7f 100%);*/
/*  box-shadow: 0px 50px 50px -40px rgba(0, 0, 0, 0.5);*/
/*}*/
/*.offer4 {*/
/*  background-color: transparent;*/
/*  background-image: linear-gradient(45deg, #211b1a 0%, #3f3735 100%);*/
/*  box-shadow: 0px 50px 50px -40px rgba(0, 0, 0, 0.5);*/
/*}*/
.offer img {
  /*width: 7rem;*/
  /*margin: 0 auto;*/
  width: 100%;
}
/*.offer3 img{*/
/*    width: 14rem;*/
/*    padding: 3rem 0;*/
/*}*/
.offer h4 {
  font-size: 2rem;
}
span.description {
  color: rgba(255, 255, 255, 0.65);
}
.items span.description {
    flex-grow: 1;
    text-align: center;
    padding: 0 1rem;
    font-size: 1.3rem;
}
.offer span.price {
  display: inline-block;
  font-size: 2rem;
}
.offer span.description {
    font-size: 1.2rem;
}
.bakery {
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}
.bakery-text {
  width: 40%;
  padding-left: 10rem;
}
.bakery-bg {
  position: absolute;
  width: 100%;
  top: 0;
  right: 0;
}
.menu {
}
.menu-bg {
  position: absolute;
  width: 100%;
  top: 0;
  right: 0;
}
.category {
  text-align: center;
  margin-top: 3rem;
  width: 100%;
  text-decoration: none;
  padding: 1rem 2rem;
  color: #ffffff;
  border-radius: 1rem;
  background-color: #a60b0b;
  box-shadow: 0 1rem 0.5rem 0 #1e1e1e;
}

.category-desc {
text-align: center;
    width: 100%;
    text-decoration: none;
    padding: 0 2rem 1rem 2rem;
    color: #ffffff;
    /*border-radius: 1rem;*/
    background-color: #a50b0b;
    /* background-image: linear-gradient(45deg, #8a592b 0%, #b47f44 100%); */
    box-shadow: 0 1rem 0.5rem 0 #1e1e1e;
    font-size: 1.2rem;
    margin-top: -1.3rem;
    border-radius: 0 0 1rem 1rem;
}
#es-bar{
    border-radius: 1rem 1rem 0 0;
}
.items {
  display: flex;
  flex-direction: row;
  width: 100%;
  /*align-items: center;*/
  margin: 2rem auto;
  gap: 1.2rem;
  flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
}
.item {
  max-width: 30%;
  /*height: 15rem;*/
  /*justify-content: space-between;*/
  align-items: center;
  background-color: #626262;
  /*background-image: linear-gradient(45deg, #8a592b 0%, #b47f44 100%);*/
  box-shadow: 0px 80px 80px -60px rgba(0, 0, 0, 0.6);
  z-index: 999;
  padding: 2rem 4rem;
  gap: 6rem;
  border-radius: 1rem;
  overflow: hidden;
}
items:hover {
  background-color: transparent;
  background-image: linear-gradient(45deg, #a77443 0%, #c9a276 100%);
  box-shadow: 0px 90px 90px -60px rgba(0, 0, 0, 0.5);
}
.item img {
  width: 100%;
  aspect-ratio: 1;
}
.price-discounted-price{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.price {
  white-space: nowrap;
  direction: ltr;
  word-spacing: 0.3rem;
  font-size: 1.5rem;
}
.oldprice{
    text-decoration: line-through;
}

.discountedprice {
  white-space: nowrap;
  direction: ltr;
  word-spacing: 0.3rem;
  font-size: 1.7rem;
  color: #FF9800;
}
.categories{
padding: 1rem 1rem 1.5rem 1rem;
    display: flex;
    /* flex-wrap: wrap; */
    overflow-x: scroll;
    white-space: nowrap;
    gap: 1rem;
    justify-content: center;
    scroll-snap-type: x proximity;
    overflow-x: auto !important;
}
.categories .cat{
  text-decoration: none;
  padding: 0.8rem 1rem;
  color: #ffffff;
  border-radius: 1rem;
  background-color: #a60b0b;
  box-shadow: 0 0.5rem 0.5rem 0 #1e1e1eb8;
  font-size: 1.4rem;
}
.item-name-price{
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  margin-bottom: 1rem;
  text-align: right;
}
.hot-offers .item-name-price{
    align-items: center;
}
/*.lock-screen{*/
/*    width: 100%;*/
/*    height: 1000vh;*/
/*    overflow: hidden;*/
/*}*/
.lightbox{
    background-color: #626262;
    /*width: 100%;*/
    /*height: 10000vh;*/
    position: fixed;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    top: 0;
    bottom: 0;
    right: 0;
    left :0;
    gap: 2rem;
}
.big-image{
    width: 100%;
    border-radius: 1rem;
    border: 2px solid #fff;
    /* aspect-ratio: 1 / 1; */
    max-width: 40rem; 
}
.det-exit{
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 2rem;
    width: 100%;
    align-items: center;
}
.lb-name-price-desc{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.lb-name-price{
    display: flex;
    justify-content: space-between;
}
.lb-desc{
    color: rgb(168, 162, 158);
    font-size: 1.3rem;
    line-height: 1.55;
}
.hidden {
  display: none !important;
}
.exit-icon{
    width: 3rem;
    height: 3rem;
    background-color: #a60b0b;
    border-radius: 1rem;
    padding: .6rem;
    display: grid;
    place-items: center;
  }
  .exit-icon img{
    width: 100%;
  }
@media screen and (max-width: 1260px) {
  header {
    height: 70vh;
  }
  .header-img img {
    width: 300%;
  }
.items{
    width: 100%;
}
 .item img {
    width: 100%;
}
  .header-text {
    width: 90%;
    margin: 2rem auto 0 auto;
    padding-left: unset;
    text-align: center;
  }
  .header-text h1 {
    font-size: 6rem;
    text-align: center;
  }
  .header-text span {
    font-size: 2rem;
  }
  .header-img-png {
    width: 20rem;
    position: absolute;
    margin-top: 6rem;
    top: unset;
    left: calc(50% - 10rem);
    right: calc(50% - 10rem);
  }
  .bakery {
    flex-direction: column;
  }
  .bakery-croissant {
    width: 90%;
  }
  .hot-offers {
    flex-wrap: wrap;
  }
  .offer {
    width: 48%;
  }
  .bakery-text {
    padding-left: unset;
    width: unset;
  }
  .item {
    gap: 0.7rem;
    flex-direction: column;
    text-align: center;
    padding: 0;
    flex-grow: 1;
    max-width: 48%;
  }
  section {
    padding: 7rem 2% 0 2%;
}
.categories{
    overflow-x: scroll;
    overflow-y: hidden;
    width: 100%;
    align-items: baseline;
    white-space: nowrap;
    flex-wrap: nowrap;
    justify-content: unset;
}
.offer .offer-title{
    word-spacing: 2rem;
}
.categories::-webkit-scrollbar {
  display: none;
}

/* Track */
.categories::-webkit-scrollbar-track {
  display: none;
}

/* Handle */
.categories::-webkit-scrollbar-thumb {
  display: none;
}

/* Handle on hover */
.categories::-webkit-scrollbar-thumb:hover {
  display: none;
}
}
