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

:root {
  --colorbt: #a27523;
}

.m1 {
  margin-top: 50px;
}

.hero-wrap {
  margin-top: 62px;
}

.menus .text .one-half h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 190px; /* Adjust the width as needed */
  display: block;
}

/* navigation bar */
nav {
  top: 0;
  left: 0;
  z-index: 980;
  display: flex;
  max-height: 65px;
  position: fixed;
  padding: 6px 50px;
  align-items: center;
  background: #fff;
  justify-content: space-between;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  width: 100%;

  /* navigation bar logo */
  .brand {
    font-weight: 800;
    font-size: 22px;
    color: var(--colorbt);
    letter-spacing: 1px;
  }

  /* naviagtion bar tabs */
  div {
    ul {
      padding-top: 20px;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      list-style: none;

      li {
        padding: 0 28px;
        list-style: none;
        position: relative;

        a {
          font-size: 28px;
          color: #999;
          text-decoration: none;
          transition: all 0.2s ease;
          font-size: 14px;
          font-weight: 500;
          opacity: 0.8 !important;
        }

        a:hover,
        a.active {
          color: #000;
          opacity: 0;
        }
      }
    }

    /* userbar */
    #userbar {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      position: fixed;
      top: 0;
      right: -420px;
      height: 100vh;
      width: 420px;
      background-color: #fff;
      box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
      padding: 80px 0 0 10px;
      transition: 0.3s ease;
      z-index: 999;

      #asd {
        position: absolute;
        top: 30px;
        left: 30px;
        color: var(--color8);
        font-size: 24px;
      }

      h4,
      li {
        list-style: none;
        margin: 16px 0 0 22px;
        font-size: 18px;

        a {
          font-size: 14px;
          color: #999;
          opacity: 0.7;
          font-weight: 500;
          text-decoration: none;
          transition: all 0.2s ease;
        }

        a:hover {
          color: #000;
          opacity: 1;
        }
      }

      h4 {
        font-weight: 500;
      }
    }

    #userbar.active {
      right: 0;
    }
  }
}

/* user */
.user {
  margin-left: -14px;
  margin-right: -20px;
  font-size: 25px;
  display: flex;
  align-items: center;
  position: relative;

  .circle {
    background: #c3e3e6;
    aspect-ratio: 1;
    border-radius: 50%;
    min-height: 40px;
    margin-right: -31px;
    color: black;
  }

  i[class="fa fa-user"] {
    color: #7c7588;
  }

  i[class="fa fa-exclamation-circle"] {
    font-size: 14px;
    color: #565660;
    margin: 0 0 -22px -4px;
  }
}

/*button*/
.menus button {
  background: #fff;
  color: var(--colorbt);
  z-index: 800;
  position: absolute;
  min-width: 31px;
  max-height: 30px;
  border-radius: 50%;
  right: -6px;
  bottom: 15px;
  outline: none;
  border: 1px solid var(--colorbt);
  transition: all 0.2s ease;
  font-size: 15px;
  line-height: 26px;
}

.menus:hover button {
  background: var(--colorbt);
  color: #fff;
}

/* food search bar*/
.search {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  margin-bottom: 18px;

  #search {
    height: 3rem;
    width: 14rem;
    padding: 0 1.25rem;
    border-radius: 2rem 0 0 2rem;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 2px 2px 7px #c97676;
    transition: all 0.2s ease-in-out;
  }

  #search:focus,
  #search:active {
    width: 24rem;
  }

  #search-bt {
    background: var(--colorbt);
    font-size: 29px;
    color: #fff;
    border-radius: 0 2rem 2rem 0;
    cursor: pointer;
    border: none;
    outline: none;
    padding: 0 28px;
    height: 3.1rem;
    line-height: 3rem;
    box-shadow: 2px 2px 7px #c97676;
  }
}

/*menu hide*/
.menus.ghost {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
  border: none;
}

.menu-wrap.freak {
  display: none;
}

/*formi*/
.formi {
  position: relative;

  .message {
    position: absolute;
    top: -41px;
    left: 0;
    color: red;
    z-index: 99;
    min-width: 263px;
    font-weight: 500;

    i {
      font-size: 13px;
    }
  }
}

/*quick view*/
.container {
  h1 {
    margin-bottom: 45px;
    font-size: 40px;
  }

  .pad {
    border-radius: 20px;
    box-shadow: 0px -2px 16px #b4a2a2, -2px 1px 14px #d4d4e212;
    display: flex;
    flex-direction: column;

    .row {
      border-bottom: 5px solid var(--colorbt);
      width: 100%;
      margin-left: 0;
      height: 190px;
      display: flex;
      justify-content: space-between;

      .cell {
        flex: 1;
        /* Each box takes equal space */
        border-right: 5px solid var(--colorbt);
        padding-top: 45px;
        text-align: center;

        p {
          font-size: 1.6em;
          margin-bottom: 2px;
        }

        h2 {
          font-size: 2.2em;
        }
      }

      .cell:last-child {
        border-right: none;
      }
    }

    .row:last-child {
      border-bottom: none;
    }
  }
}

/* admin-table */
.admin-table {
  padding: 0 75px;
  margin: 64px auto;
  margin-top: 56px;

  h2 {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.8);
    font-family: inherit;
  }

  span {
    font-size: 18px;
    margin: 26px;
  }

  .table {
    z-index: 800;
    width: 950px;
    margin: 0 auto;
    margin-top: 36px;
    border-radius: 25px 25px 25px 25px;

    .searchAddS {
      display: flex;
      justify-content: space-between;
      width: 100%;
      top: -80px;

      button {
        background: var(--colorbt);
        font-size: 18px;
        color: #fff;
        border-radius: 2rem;
        cursor: pointer;
        border: none;
        padding: 0 22px;
        height: 3.1rem;
        line-height: 3rem;
        box-shadow: 2px 2px 7px #c97676;
        outline: none;
      }

      form,
      .tableSearch {
        justify-content: center;
        display: flex;

        .message {
          color: red;
          font-weight: 500;
          margin-right: 19px;
          margin-top: 10px;

          i {
            font-size: 13px;
          }
        }

        input,
        #search {
          height: 3rem;
          width: 10rem;
          padding: 0 1.25rem;
          border-radius: 2rem 0 0 2rem;
          border: none;
          outline: none;
          font-size: 16px;
          font-weight: 500;
          box-shadow: 2px 2px 7px #c97676;
          transition: all 0.2s ease-in-out;
        }

        input:focus,
        input:active,
        #search:focus,
        #search:active {
          width: 12rem;
        }

        button,
        #search-bt {
          background: var(--colorbt);
          font-size: 29px;
          color: #fff;
          border-radius: 0 2rem 2rem 0;
          cursor: pointer;
          border: none;
          padding: 0 28px;
          height: 3.1rem;
          line-height: 3rem;
          box-shadow: 2px 2px 7px #c97676;
        }

        button {
          font-size: 18px;
          padding: 0 16px;
        }
      }
    }

    .table-body {
      display: flex;
      flex-direction: column;
      margin-top: 36px;
      border-radius: 22px;
      box-shadow: 10px 10px 20px rgba(95, 172, 186, 0.54),
        -10px -10px 20px rgba(207, 224, 224, 0.54);

      .table-header,
      .table-data {
        display: flex;
        flex-direction: column;

        .table-row-mt,
        .table-row {
          display: flex;
          justify-content: space-between;
          border-bottom: 2px solid #ddd;

          .table-cell {
            flex: 1;
            padding: 10px 0;
            text-align: center;
            border-right: 2px solid #ddd;
            position: relative;

            a {
              color: #000;
              font-weight: 500;
              margin-left: 9px;

              i {
                color: #c3b9b9;
                font-size: 20px;
              }
              i.done {
                color: #000;
              }
            }
            a:first-child {
              margin-left: 0;
            }

            .img {
              position: absolute;
              z-index: 900;
              height: 220px;
              aspect-ratio: 1;
              box-shadow: 0 0 10px #32312f93;
              border-radius: 10px;
              right: -180px;
              visibility: hidden;
              background-size: cover;
              background-repeat: no-repeat;
              background-position: center;
            }
          }

          .table-cell:hover .img {
            visibility: visible;
          }

          .table-cell:last-child {
            border-right: none;
          }
        }

        .table-row.blow,
        .table-row-mt.freak {
          display: none;
        }
      }

      .table-header {
        .table-row {
          .table-cell {
            background: var(--colorbt);
            color: #fff;
            font-weight: 500;
            border-color: #fff;
          }

          .table-cell:last-child {
            border-radius: 0 22px 0 0;
          }

          .table-cell:nth-child(1) {
            border-radius: 22px 0 0 0;
          }
        }
      }
    }
  }
}

/* Popup form */
.hide {
  display: none;
}

.popup {
  background: rgba(128, 128, 128, 0.85);
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 999;
  margin-top: -50px;

  form {
    background: #fff;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    padding: 28px 20px;
    min-width: 550px;
    width: 625px;

    .xmark {
      position: absolute;
      top: 1px;
      right: 14px;
      font-size: 25px;
    }

    span {
      font-family: Poppins;
      font-size: 31px;
      margin-bottom: 7px;
      color: var(--colorbt);
      font-weight: 600;
    }

    h2 {
      margin-top: -10px;
      font-size: 28px;
      font-weight: 700;
    }

    .form-body {
      margin-top: 20px;
      display: flex;
      align-items: center;
      gap: 20px;

      button {
        color: #fff;
        background: var(--colorbt);
        width: 200px;
        padding: 5px 0;
        font-size: 18px;
        outline: none;
        border: none;
        margin-top: 8px;
        display: block;
        border-radius: 3px;
      }

      .message {
        color: red;
        z-index: 99;
        min-width: 263px;
        font-weight: 500;
        margin-bottom: 8px;

        i {
          font-size: 13px;
        }
      }

      .pop {
        visibility: hidden;
      }

      .fields {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;

        .inputs {
          width: 290px;
          overflow: hidden;
          margin-bottom: -18px;

          label {
            color: #000;
            font-weight: 500;
            display: block;
          }

          select,
          input {
            height: 50px !important;
            background: #fff !important;
            color: #000000 !important;
            font-size: 16px;
            border-radius: 2px;
            -webkit-box-shadow: none !important;
            box-shadow: none !important;
            border: 1px solid rgba(0, 0, 0, 0.1);
            width: 247px;
            margin-bottom: 2rem;
            padding: 6px 0 0 6px;
            outline: none;
          }

          textarea {
            background: #fff !important;
            color: #000000 !important;
            font-size: 16px;
            border-radius: 2px;
            -webkit-box-shadow: none !important;
            box-shadow: none !important;
            border: 1px solid rgba(0, 0, 0, 0.1);
            margin-bottom: 2rem;
            padding: 6px 0 0 6px;
            outline: none;
            resize: none;
          }
        }
      }

      .image {
        height: 300px;
        aspect-ratio: 1;
        box-shadow: inset 0 0 10px #32312f93;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;

        img {
          max-height: 220px;
          max-width: 220px;
        }
      }
    }
  }
}

/* container add to cart or favourite */
.hide {
  display: none;
}

.contrt {
  width: 100%;
  z-index: 999;
  height: 100vh;
  position: fixed;
  background: rgba(128, 128, 128, 0.85);

  .menu-box {
    top: 50%;
    left: 50%;
    width: 800px;
    display: flex;
    padding: 30px;
    min-height: 300px;
    background: #fff;
    position: absolute;
    border-radius: 20px;
    align-items: center;
    transform: translate(-50%, -50%);
    box-shadow: 2px 3px 11px #a59b9b, -2px -3px 11px #b38484;

    .xmark {
      position: absolute;
      top: 10px;
      right: 24px;
      font-size: 25px;
    }

    .image {
      min-height: 250px;
      border-radius: 4px;
      margin-right: 30px;
      aspect-ratio: 5 / 5.2;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
    }

    .text {
      width: 100%;
      height: 245px;
      font-size: 18px;
      margin-right: 20px;
      position: relative;

      h1 {
        font-size: 28px;
        font-weight: 500;
        text-transform: capitalize;
      }

      h3 {
        margin-top: -17px;
        font-size: 20px;
        color: #999;
      }

      .rating {
        margin-top: -8px;
      }

      .bar {
        position: fixed;
        bottom: 30px;
        display: flex;
        justify-content: space-between;
        width: 60%;

        .cart {
          display: flex;
          position: relative;
          justify-content: center;
          box-shadow: 3px 3px 8px rgba(50, 58, 60, 0.182);
          border-radius: 10px;
          margin-top: 10px;

          input {
            outline: none;
            border: none;
            background: #e4dfdf;
            text-align: center;
            width: 40px;
            height: 40px;
          }

          button {
            outline: none;
            border: none;
            background: var(--colorbt);
            height: 40px;
            line-height: 40px;
            aspect-ratio: 1;

            i {
              color: #fff;
            }
          }
          button:first-child {
            border-radius: 10px 0 0 10px;
          }

          button:last-child {
            border-radius: 0 10px 10px 0;
          }
        }
        form {
          button {
            outline: none;
            border: 0;
            color: #999;
            background: transparent;
            margin: 4px 1px 1px -6px;
            font-size: 15px;
            transition: all 0.1s ease;
            margin-right: 5px;
            font-size: 20px;
            transition: all 0.1s ease-in;

            i {
              font-size: 18px;
            }
          }
          button:hover {
            color: #000;
          }
        }
      }
    }
  }
}

/* order intel */
.order-intel {
  padding: 0 75px;
  margin: 64px auto;
  margin-top: 56px;

  h1 {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.8);
    font-family: inherit;
    margin-top: 30px;
  }

  .forum {
    z-index: 800;
    width: 950px;
    margin: 0 auto;
    margin-top: 36px;
    border-radius: 25px 25px 25px 25px;

    .line {
      display: flex;
      margin-bottom: 3px;

      .name {
        padding: 12px 0;
        width: 40%;
        color: #000;
        font-weight: 500;
        text-align: center;
        padding-right: 10px;
        background: linear-gradient(90deg, rgb(247 247 247), white);
      }
      .value {
        width: 60%;
        padding: 12px 0;
        padding-left: 30px;
        background: linear-gradient(270deg, rgb(225, 234, 233), white);
      }
    }
    .line:first-child {
      .name {
        border-radius: 12px 0 0 0;
      }
      .value {
        border-radius: 0 12px 0 0;
      }
    }
    .line:last-child {
      .name {
        border-radius: 0 0 0 12px;
      }
      .value {
        border-radius: 0 0 12px 0;
      }
    }
  }

  .menu-items {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 150px;
    padding-top: 60px;

    .room {
      width: 200px;
      aspect-ratio: 1;
      border-radius: 10px;
      margin: 20px 20px;
      background: rgb(203 237 34);
      box-shadow: 3px 3px 3px #d1bbbb67, -6px -5px 15px 0px #d8d8e3;
      padding: 20px;
      color: #000;
      position: relative;

      .name {
        font-size: 20px;
      }
    }

    .item {
      display: flex;
      width: 400px;
      aspect-ratio: 16 / 9;
      border-radius: 10px;
      margin: 20px 20px;
      box-shadow: 3px 3px 3px #d1bbbb67, -6px -5px 15px 0px #d8d8e3;
      gap: 20px;
      padding: 20px;
      background: 3e6f1f1;

      .text {
        .name {
          color: #000;
          font-weight: 500;
        }
      }

      .img {
        height: 185px;
        border-radius: 10px;
        aspect-ratio: 1;
      }
    }
  }
}
