:root {
  --main-color: #ff6b00;
  --text-color: #333;
  --bg-color: #f5f5f5;
  --second-color: rgba(0, 0, 0, 0.583);
}
* {
  margin: 0;
  padding: 0;
  /* font-family: "Rubik", sans-serif; */
  font-family: "Cairo", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: #cececeee;
  color: black;
}

.container {
  display: flex;
  flex-direction: column;
  min-width: 300px;
  max-width: 500px;
  background-color: white;
  padding: 0;
  /* padding-bottom: 40px; */
}
/* **** Start Page header styling **** */
/* **** Start Page header styling **** */
.header {
  height: 200px;
  overflow: hidden;
}
.header .image {
  background-size: contain;
  background-position: 50%;
  background-size: cover;
  height: 200px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo {
  background-color: var(--second-color);
  padding: 0.5rem;
  border-radius: 50%;
  height: 100px;
  width: auto;
  z-index: 2;
}

.place-headder-info {
  background-color: white;
  margin-top: -25px;
  border-radius: 20px 20px 0 0;
  padding: 1rem 0.5rem;
}
.place-title {
  font-weight: 400;
  padding: 1rem 0.5rem 0 4px;
}
.place-info {
  padding: 10px;
}
.main-info {
  color: rgba(0, 0, 0, 0.617);
}
.row {
  padding-bottom: 1rem;
}
.row i {
  padding-left: 0.5rem;
}
.main-info a {
  color: rgba(0, 0, 0, 0.617);
  text-decoration: none;
}
.page-name * {
  background-color: var(--main-color);
  width: fit-content;
  display: flex;
  justify-self: center;
  align-self: center;
  padding: 0.8rem;
  color: white;
  border-radius: 2rem;
}
.content-section {
  margin: 20px 0px;
}
.content-section h2 {
  color: white;
  width: max-content;
  margin: 10px auto;
  background: var(--main-color);
  padding: 10px 50px;
  border-radius: 1em;
  box-shadow: #0b0b0b24 0px 4px 6px 2px;
}
/* **** END Page header styling **** */
/* **** END Page header styling **** */

/* **** Start SHopping cart styling **** */
/* **** Start SHopping cart styling **** */

#shopping-cart {
  position: fixed;
  inset: 1;
  top: 0;
  height: 100%;
  z-index: 1000;
  overflow-y: auto;
  padding-bottom: 50px;
  display: flex;
  justify-content: stretch;
  padding: 10px;
}
.cart-button {
  position: fixed;
  bottom: 0;
  z-index: 9999;
  justify-self: stretch;
  width: 100px;
  /* height: fit-content; */
  margin: 20px;
}
button#show-cart {
  background-color: var(--main-color);
  color: white;
  padding: 0.5rem;
  border-radius: 1rem;
  border: none;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#show-cart i {
  /* padding-right: 15px; */
  font-size: 1.5rem;
}
.cart-badge {
  background-color: rgb(0, 0, 0);
  color: white;
  font-size: 15px;
  width: 25px;
  height: 25px;
  margin: auto;
  border-radius: 100%;
}
.item-cart-wrapper {
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 10px;
}
.cart-items {
  border-bottom: 1px solid rgb(216, 216, 216);
  margin: 0;
}
.item-cart-name {
  font-size: 1.2rem;
  font-weight: 600;
}
.item-cart-info {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.cart-number {
  color: var(--main-color);
  font-size: 1.2rem;
  font-weight: 500;
}
.cart-items button.minus {
  background: none;
  border: none;
  width: 20px;
  height: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--main-color);
  padding-left: 10px;
}
.cart-items button.plus {
  background: none;
  border: none;
  width: 20px;
  height: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--main-color);
  padding-right: 10px;
}

.item-qty {
  font-weight: 700;
  font-size: 1.5rem;
}
.cart-total {
  padding: 1rem;
}
.cart-total span {
  padding-right: 1rem;
  font-weight: 700;
  font-size: 1.7rem;
}
/* Customer information */
.customer-info .row,
.address,
.note {
  justify-content: center;
  align-items: center;
  margin: 20px;
}
.address label,
.note label {
  margin-bottom: 10px;
}
.whatsapp-button {
  width: 100%;
  display: flex;
  text-decoration: none;
  justify-content: center;
}
button.whatsapp {
  margin: 0 auto;
  border: none;
  padding: 0.5rem;
  border-radius: 1rem;
  background-color: rgb(0, 176, 68);
  color: white;
}

.hide-button {
  position: absolute;
  top: 10px;
  left: 10px;
}
.hide-button button {
  color: var(--main-color);
  font-weight: 900;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border: none;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hide-button button i {
  margin: 0;
  padding: 0;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
}
.cart-item-header button {
  border: none;
  font-weight: 700;
  color: red;
  background: none;
  padding: 5px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
}

/* **** END SHopping cart styling **** */
/* **** END SHopping cart styling **** */

/* **** Start Footer styling **** */
/* **** Start Footer styling **** */
.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.footer .social-media {
  display: flex;

  justify-content: center;

  gap: 20px;
}
.footer .social-media a {
  text-decoration: none;
  display: block;
  font-size: 5rem;
  color: white;
  width: 100px;
  height: 100px;
  display: grid;
  place-content: center;
  padding: 1rem;
  border-radius: 100%;
  background-color: #333;
}

.footer .social-media a.facebook {
  position: relative;
  background-color: blue;
  margin-bottom: 20px;
}
.footer .social-media a.facebook::before {
  content: attr(data-name);
  position: absolute;
  text-align: center;
  font-size: 20px;
  color: var(--text-color);
  bottom: -28px;
  margin: auto;
  left: 10px;
}

.footer .social-media a.instagram {
  position: relative;
  background: linear-gradient(to right, #833ab4, #fd1d1d, #fcb045);
}
.footer .social-media a.instagram::before {
  content: attr(data-name);
  position: absolute;
  text-align: center;
  font-size: 20px;
  color: var(--text-color);
  bottom: -28px;
  margin: auto;
  left: 10px;
}

.menukhana-info {
  padding-top: 20px;
  background-color: var(--bg-color);
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.menukhana-info .mb-2 a {
  text-decoration: none;
  font-size: 1.5rem;
}
/* **** END Footer styling **** */
/* **** END Footer styling **** */

/* **** Start Speical-Offers styling **** */
/* **** Start Speical-Offers styling **** */
.special-offers button {
  border: none;
  font-size: 2rem;
  color: var(--main-color);
  background: none;
}
.special-offers {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.item-name h2 {
  font-size: 20px;
}
.item-name p {
  color: var(--text-color);
}
.item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.166);
  transition: transform 0.2s;
  width: 90%;
}

.item:hover {
  transform: translateY(-2px);
}

.item-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 10px;
  flex-shrink: 0;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-content {
  flex-grow: 1;
  padding-right: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 90%;
  margin-top: 5px;
}

.item-name h2 {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
}

.item-name p {
  font-size: 0.9rem;
  color: #666;
  margin: 4px 0 0;
}

.item-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--main-color);
}

.item-price i {
  cursor: pointer;
  font-size: 1.5rem;
  background-color: var(--main-color);
  padding: 4px;
  color: white;
  border-radius: 50%;
}
.special-offers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.item {
  flex: 0 0 auto;
  width: 350px; /* fixed width for proper scrolling */
}

.scroll-left,
.scroll-right {
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--main-color);
  cursor: pointer;
  z-index: 2;
}

.dividor {
  margin-bottom: 10px;
  width: 100%;
  height: 3px;
  background: black;
  opacity: 0.1;
}

/* user feedback popups */
/* user feedback popups */
.user-feedback {
  padding: 1em;
  position: fixed;
  width: 400px;
  width: max-content;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  background-color: white;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: rgba(255, 139, 94, 0.68);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  box-shadow: 1px 1px 15px 15px rgba(0, 0, 0, 0.25);
}
.user-feedback button {
  background-color: var(--main-color);
  margin: 20px;
  color: white;
}
.user-feedback #send-feedback:hover {
  background-color: white;
}
.user-feedback form {
  margin: auto;
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
  justify-self: center;
}
.close-feedback {
  position: absolute;
  left: -30px;
  top: -30px;
  background: var(--main-color);
  border: none;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 100%;
}
#show-feedback {
  background-color: var(--main-color);
  border: none;
  margin: 20px;
}

.feedback-success {
  display: none;
  position: fixed;
  top: 20px;

  justify-self: center;
  align-self: center;
  z-index: 101230;
  background-color: #d4edda;
  color: #155724;
  padding: 12px 20px;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  margin-top: 15px;
  font-size: 16px;
  text-align: center;
  animation: fadeInOut 4s forwards;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  10% {
    opacity: 1;
    transform: translateY(0);
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
    display: none;
  }
}
