@import url("https://fonts.googleapis.com/css2?family=Manrope&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Manrope", sans-serif;
}

:root {
  /* Color Theme */
  --clr-white: #fff;
  --clr-primary: #f6f6f6;
  --clr-secondary: #1b1b1b;
  --clr-background: #d7d7d7;
  --clr-light: #8f949b;
  --clr-dark: #5c5f64;
  --clr-text: #616469;
  --clr-accent: #ff1d23;
  --clr-accent-btn: linear-gradient(
    90deg,
    #ff6315 0%,
    #ff411c 25%,
    #ff1d23 50%,
    #ff0728 75%,
    #ff002a 100%
  );
  --clr-splash: #9747ff;
  --clr-green: #7ba700;
  --clr-tint: rgba(255, 99, 21, 0.25);
  --clr-transparent: rgba(0, 0, 0, 0.1);

  /* Font Size */
  --sm-text: 12px;
  --sl-text: 14px;
  --md-text: 18px;
  --ml-text: 24px;
  --xl-text: 32px;

  /* White Space */
  --ws-1: 0.3rem; /*4px*/
  --ws-2: 0.5rem; /*8px*/
  --ws-3: 0.8rem; /*12px*/
  --ws-reg: 1rem; /*16px*/
  --ws-4: 1.5rem; /*24px*/
  --ws-5: 2rem; /*32px*/
  --ws-large: 3rem; /*40px*/
  --ws-auto: 4rem; /*64px*/

  /* Box Shadow */
  --shadow: 5px 5px 25px 0px #cdcdcd50;

  /* Z Index */
  --z-1: 999;
  --z-2: 99;
  --z-3: 9;
  --z-4: 1;
}

@media screen and (max-width: 884px) {
  :root {
    --ws-auto: 2rem;
    --ml-text: 20px;
  }
}

@media screen and (max-width: 514px) {
  :root {
    --ws-auto: 1rem;
  }
}

/*=== general styling ===*/
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--clr-primary);
}

body.mask {
  overflow: hidden;
}

main {
  overflow: hidden;
}

a {
  text-decoration: none;
  cursor: pointer;
  outline: none;
}

p {
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

ul {
  list-style: none;
}

input:focus {
  outline: none;
}

button {
  cursor: pointer;
  width: fit-content;
  border: none;
  outline: none;
  background-color: transparent;
}

svg path {
  transition: all 0.5s ease;
}

section {
  padding: 0 var(--ws-auto);
  height: auto;
}

/*=== custom classes ===*/
.curtain {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--clr-transparent);
  display: none;
}

.curtain.block {
  display: block;
  z-index: var(--z-2);
}

.light-wrapper {
  padding: var(--ws-reg);
  border-radius: 8px;
  background: #fff;
}

.dark-wrapper {
  border-radius: 8px;
  border: 1px solid #fff;
  background: #f6f6f6;
  box-shadow: 10px 10px 50px 0px #cdcdcd, -10px -10px 50px 0px #fff;
}

.wrapper {
  position: relative;
  overflow: hidden;
}

.scrollable {
  overflow-x: scroll;
  overflow-y: visible;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollable::-webkit-scrollbar {
  display: none;
}

.scroller {
  display: flex;
  gap: var(--ws-3);
  width: fit-content;
}

.container {
  width: 100%;
}

.btn {
  cursor: pointer;
}

.accent-btn {
  background: var(--clr-accent-btn);
  padding: var(--ws-3);
  border-radius: 100px;
}

.span-space,
.span-space-light {
  width: 3px;
  height: 3px;
  border-radius: 33.3px;
}

.span-space {
  background-color: var(--clr-light);
}

.span-space-light {
  background-color: var(--clr-white);
}

.rect {
  border-radius: 4px;
  width: fit-content;
  padding: var(--ws-1) var(--ws-2);
  transition: 0.3s;
  background: var(--clr-white);
}

.rect-sec {
  padding: var(--ws-2) var(--ws-3);
  width: fit-content;
  border-radius: 50px;
  border: 1px solid #fff;
  background: #f6f6f6;
  box-shadow: var(--shadow), -10px -10px 50px 0px #fff inset;
  position: relative;
  transition: 0.3s;
}

.free-stamp {
  background: var(--clr-splash);
}

.delicacy-btn {
  background: #fff;
}

.restaurant-sec {
  border-radius: 46.5px;
  border: 1px solid #fff;
  background: #f6f6f6;
  gap: var(--ws-2);
  width: 220px;
  padding: 0.1rem;
}

.restaurant-sec-img {
  width: 65px;
  height: 65px;
  border-radius: 100%;
}

.restaurant-sec-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* layout classes */
.flex {
  display: flex;
  align-items: center;
  gap: var(--ws-3);
}

.flex-start {
  display: flex;
  align-items: flex-start;
}

.flex-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.flex-sm {
  display: flex;
  align-items: center;
  gap: var(--ws-1);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--ws-3);
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ws-3);
}

.flex-column {
  display: flex;
  flex-direction: column;
  gap: var(--ws-1);
}

.flex-column-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--ws-1);
}

.flex-page {
  display: flex;
  align-items: start;
  gap: var(--ws-reg);
}

.page-7 {
  width: 70%;
}

.page-3 {
  width: 30%;
}

/*=== text classes ===*/
.text-sm,
.text-sm-light,
.text-sm-dark {
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
  white-space: nowrap;
}

.text-sm-dark {
  color: #000;
}

.text-sm {
  color: var(--clr-light);
}

.text-sm-light {
  color: var(--clr-primary);
}

.text-sl,
.text-sl-light,
.text-sl-dark {
  font-size: 14px;
  width: fit-content;
  white-space: nowrap;
  font-weight: 600;
}

.text-sl {
  color: var(--clr-dark);
}

.text-sl-light {
  color: var(--clr-light);
}

.text-sl-dark {
  color: var(--clr-secondary);
}

.text-md {
  font-size: 18px;
  color: var(--clr-secondary);
  font-weight: 600;
  width: fit-content;
  white-space: nowrap;
}

.text-md-light {
  color: var(--clr-text);
  font-size: var(--md-text);
  font-weight: 700;
  width: fit-content;
  white-space: nowrap;
}

.text-ml {
  color: #1b1b1b;
  font-size: var(--ml-text);
  font-weight: 700;
  width: fit-content;
  white-space: nowrap;
}

.text-normal {
  color: var(--clr-secondary);
  font-weight: 700;
  width: fit-content;
  white-space: nowrap;
}

.text-normal-light {
  color: var(--clr-white);
  font-weight: 700;
  width: fit-content;
  white-space: nowrap;
}

.text-accent-sl {
  color: var(--clr-accent);
  font-size: var(--sl-text);
  font-weight: 600;
  width: fit-content;
  white-space: nowrap;
}

.text-accent,
.text-accent-lg {
  font-weight: 700;
  width: fit-content;
  white-space: nowrap;
}

.text-accent,
.text-accent-lg {
  background: linear-gradient(65deg, #ff6315, #ff411c, #ff1d23, #ff002a);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-accent-lg {
  font-size: var(--xl-text);
}

.text-veg {
  color: var(--clr-green);
}

.text-splash {
  color: var(--clr-splash);
}

/*=== header layout ===*/
#header {
  padding: var(--ws-3) var(--ws-auto);
  position: fixed;
  z-index: var(--z-2);
  background: var(--clr-primary);
}

.header-space {
  height: 94.6px;
}

/*=== address and list classes ===*/
.header-address-top {
  gap: var(--ws-1);
}

.header-address-container {
  position: relative;
}

.header-address-container.active .header-address-content {
  z-index: var(--z-1);
}

.header-address-container.active .address-pointer-svg {
  rotate: 90deg;
}

.header-address-content {
  display: flex;
  flex-direction: column;
  gap: var(--ws-1);
}

.address-options {
  position: absolute;
  z-index: var(--z-1);
  width: 340px;
  margin-top: var(--ws-4);
  padding: var(--ws-4) var(--ws-reg);
  background-color: var(--clr-white);
  transform: translateY(-170%);
  border-radius: 0px 0px 14px 14px;
  transition: 0.3s;
}

.header-address-container.active .address-options {
  transform: translateY(0%);
}

.address-options-header {
  margin-bottom: var(--ws-2);
}

.address-options-item {
  border-bottom: 1px solid var(--clr-transparent);
  padding-bottom: var(--ws-4);
}

.address-options-item:last-child {
  border-bottom: none;
  padding-bottom: 0px;
}

.address-options-item.active .address-item-title .address-item-name {
  color: var(--clr-accent);
}

.address-options-item.active svg path {
  fill: var(--clr-accent);
}

.address-options-list {
  gap: var(--ws-4);
}

.address-item-details {
  white-space: wrap;
  max-width: 250px;
}

/*=== navigation classes ===*/
.nav {
  gap: var(--ws-4);
}

.nav-link.active svg path {
  fill: var(--clr-accent);
}

.nav-link.active .nav-link-p {
  color: var(--clr-accent);
}

.nav-link:hover svg path {
  fill: var(--clr-accent);
}

.nav-link:hover .nav-link-p {
  color: var(--clr-accent);
}

.search-link {
  display: none;
}

/*=== search classes ===*/
.search-bar {
  position: relative;
}

.back-home {
  display: none;
}

.search-bar.active {
  background: linear-gradient(135deg, #dfdfdf 0%, #fff 100%);
  border-radius: 24px 24px 0px 0px;
}

.search-bar.active .back-home {
  display: block;
}

.search-bar.active .search-form {
  background: transparent;
}

.search-form {
  width: 410px;
  border-radius: 100px;
  padding: var(--ws-3) var(--ws-4);
  background: linear-gradient(135deg, #dfdfdf 0%, #fff 100%);
  z-index: var(--z-1);
}

.search-input {
  border: none;
  background-color: transparent;
  padding: var(--ws-2) 0px;
  width: 350px;
}

/*=== search history classes ===*/
.search-history {
  position: absolute;
  padding: var(--ws-3) 0px;
  width: 100%;
  background: linear-gradient(85deg, #dfdfdf 0%, #fff 100%);
  border-radius: 0px 0px 24px 24px;
  border-top: 1px solid var(--clr-light);
  z-index: var(--z-1);
  display: none;
}

.search-bar.active .search-history {
  display: block;
}

.search-history-header {
  padding: 0px var(--ws-4);
}

.search-items-content {
  padding: var(--ws-3) var(--ws-4);
}

.search-nearest {
  padding: 0px var(--ws-4);
}

.search-nearest-img {
  width: 65px;
  height: 65px;
}

.search-nearest-item {
  padding: var(--ws-3) 0px;
  border-bottom: 1px solid var(--clr-light);
}

.search-nearest-item:last-child {
  border-bottom: none;
}

/*=== user profile classes ===*/
.user-profile {
  width: 48px;
  height: 48px;
  position: relative;
}

.user-profile.active .profile {
  display: block;
}

.profile {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 390px;
  height: auto;
  padding: var(--ws-3);
  border-radius: 24px;
  background: linear-gradient(135deg, #dfdfdf 0%, #fff 100%);
  display: none;
}

.profile-back {
  padding: var(--ws-3) 0px var(--ws-4);
  display: none;
}

.profile-details {
  border-radius: 52px;
  border: 1px solid #fff;
  background: #eaeaea;
  box-shadow: 10px 10px 50px 0px #cdcdcd, -10px -10px 50px 0px #fff;
  padding: var(--ws-2);
}

.profile-order-favorite {
  padding: var(--ws-3) 0px;
}

.profile-sec {
  border-radius: 36px;
  border: 1px solid #fff;
  background: #eaeaea;
  box-shadow: 10px 10px 50px 0px #cdcdcd, -10px -10px 50px 0px #fff;
  padding: var(--ws-reg);
  width: 50%;
}

.profile-address-basket {
  border-radius: 8px;
  border: 1px solid #fff;
  background: #eaeaea;
  box-shadow: 10px 10px 50px 0px #cdcdcd, -10px -10px 50px 0px #fff;
}

.profile-address-basket-link {
  border-bottom: 1px solid var(--clr-white);
}

.profile-address-basket-link,
.profile-logout-btn {
  padding: var(--ws-3) var(--ws-2);
}

.login-container {
  padding: var(--ws-reg);
}

.login-content {
  gap: var(--ws-4);
}

.login-img {
  width: 65px;
  height: 65px;
  background: var(--clr-light);
  border-radius: 50%;
  padding: var(--ws-3);
}

.login-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.login-link-container {
  gap: var(--ws-4);
}

.login-link {
  padding: var(--ws-3);
  border: 2px solid var(--clr-accent);
  border-radius: 8px;
}

/*=== footer layout ===*/

.footer-container {
  padding: var(--ws-4) var(--ws-auto);
  position: relative;
  background: var(--clr-white);
}

.footer-logo-link img {
  width: 92.265px;
  height: 120px;
}

.footer-faq {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.footer-faq p {
  text-align: center;
}

.footer-policy {
  gap: var(--ws-4);
  align-items: flex-end;
}

.footer-policy-btn {
  padding: var(--ws-3);
  border-radius: 46.5px;
  border: 1px solid #fff;
  background: #f6f6f6;
  box-shadow: 10px 10px 50px 0px #cdcdcd, -10px -10px 50px 0px #fff,
    -10px -10px 100px 0px #cdcdcd inset, 10px 10px 100px 0px #fff inset;
}

/*=== menu item ===*/
.grid-menu {
  display: none;
  padding-top: var(--ws-4);
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  grid-gap: var(--ws-4);
}

.grid-menu.active {
  display: grid;
}

.restaurant-menu-item {
  padding: var(--ws-3);
  background: var(--clr-white);
  border-radius: 8px;
}

.restaurant-food-img {
  min-width: 150px;
  height: auto;
  border-radius: 8px;
}

.add-btn {
  padding: var(--ws-2);
  background: var(--clr-accent-btn);
  border-radius: 100px;
  width: 70px;
}

.sec-add-btn {
  border: 1px solid var(--clr-accent);
  border-radius: 100px;
  padding: var(--ws-2);
  display: none;
}

.add-btn-text {
  color: var(--clr-white);
}

/*=== sidebar classes ===*/
.sidebar {
  position: relative;
}

.sidebar-fixed {
  gap: var(--ws-3);
}

.sidebar-cuisine div {
  border: 1px solid #eaeaea;
}

/* sidebar quick pay */

.quick-pay-btn {
  padding: var(--ws-2) var(--ws-3);
  background: linear-gradient(
    90deg,
    #ff6315 0%,
    #ff411c 25%,
    #ff1d23 50%,
    #ff0728 75%,
    #ff002a 100%
  );
  color: var(--clr-white);
  border-radius: 4px;
}

/* discount offer layout */
.discount-slider {
  max-width: 205px;
  overflow: hidden;
}

.discount-img {
  background: var(--clr-tint);
  border-radius: 50%;
  padding: var(--ws-1);
}

.slide {
  animation: slide 0.3s linear forwards;
  animation-delay: 5s;
}

/* standard layout */
.standards {
  padding: var(--ws-3);
}

.standards p {
  text-align: center;
}

@keyframes slide {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0%);
  }
}

/* order type */
.sidebar-order-type {
  position: relative;
}

.sidebar-order-type.active {
  border-bottom: none;
  border-radius: 8px 8px 0px 0px;
}

.sidebar-order-type.active .sidebar-order-content img {
  transform: rotate(180deg);
}

.sidebar-order-header {
  padding: var(--ws-reg);
}

.sidebar-order-category {
  position: absolute;
  width: 100.2%;
  border-radius: 0px 0px 8px 8px;
  display: none;
  z-index: var(--z-1);
  background-color: var(--clr-background);
}

.sidebar-order-type.active .sidebar-order-category {
  display: block;
}

.sidebar-order.active {
  background-color: var(--clr-light);
}

.sidebar-order {
  padding: var(--ws-reg);
  transition: 0.3s;
}

.sidebar-order img {
  opacity: 0;
  transition: 0.3s;
}

.sidebar-order.active img {
  opacity: 1;
}

.sidebar-order:hover {
  background: #8f949b60;
}

.sidebar-order:hover .active {
  background-color: var(--clr-accent);
}

.sidebar-order:hover img {
  opacity: 0.5;
}

/* payment summary */
.payment-summary {
  margin-top: var(--ws-3);
  border-radius: 8px 8px 0px 0px;
}

.summary-content {
  padding: var(--ws-3) 0px;
  gap: var(--ws-3);
}

.total-amount {
  padding: var(--ws-3) 0px;
  border-top: 1px solid var(--clr-light);
}

.basket-quantifier p {
  color: var(--clr-white);
}

.basket-content {
  padding: 0px var(--ws-3) var(--ws-3);
  background: var(--clr-white);
  border-radius: 0px 0px 8px 8px;
}

.sidebar-menu-space {
  height: 15vh;
}

/* sidebar menu */
.sidebar-menu {
  border-radius: 100px;
  border: 2px solid var(--clr-accent);
  background: var(--clr-white);
  width: 150px;
  padding: var(--ws-3);
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.3s;
}

.sidebar-menu.active {
  width: 250px;
  border-radius: 0px 0px 24px 24px;
  border: 2px solid var(--clr-accent);
  border-top: 0px;
}

.menu-list {
  position: absolute;
  display: none;
  bottom: 100%;
  width: 101.5%;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--ws-3);
  margin: 0 auto;
  gap: var(--ws-3);
  background: var(--clr-white);
  border-radius: 24px 24px 0px 0px;
  border: 2px solid var(--clr-accent);
  border-bottom: 0px;
}

.sidebar-menu.active .menu-list {
  display: flex;
}

/*====PROFILE PAGE====*/
.profile-container {
  width: 80%;
  border-radius: 14px;
  padding: var(--ws-4) 0px;
}

.profile-header {
  padding: 0px var(--ws-3);
}

.profile-content {
  gap: var(--ws-3);
  padding: var(--ws-3) var(--ws-3) 0px;
}

.profile-image {
  min-width: 140px;
  height: 140px;
  position: relative;
  border-radius: 8px;
  border: 1px solid #fff;
  background: linear-gradient(135deg, #dfdfdf 0%, #fff 100%);
  box-shadow: 10px 10px 50px 0px #cdcdcd, -10px -10px 50px 0px #fff;
}

.img-stamp {
  position: absolute;
  width: 25%;
  height: 25%;
  background: var(--clr-white);
  border-radius: 50%;
  bottom: var(--ws-2);
  right: var(--ws-2);
}

.profile-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ws-3);
}

.profile-item {
  gap: var(--ws-3);
}

.profile-input {
  padding: var(--ws-3);
  border: 0px;
  border-radius: 8px;
  border: 1px solid #fff;
  background: linear-gradient(135deg, #dfdfdf 0%, #fff 100%);
  box-shadow: 10px 10px 50px 0px #cdcdcd;
}

#profile-btn {
  width: 100%;
  background: var(--clr-accent-btn);
  color: var(--clr-white);
  padding: var(--ws-3);
  border-radius: 24px;
}

/*============== TABLET VIEW BREAKPOINT ===============*/
@media (max-width: 1115px) {
  /*=== flex layout ===*/
  .flex-page {
    flex-direction: column-reverse;
  }

  .page-7 {
    width: 100%;
  }

  .page-3 {
    width: 100%;
  }

  /*=== navigation classes ===*/
  .nav {
    padding: var(--ws-3) var(--ws-4);
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 425px;
    border-radius: 100px;
    background: linear-gradient(135deg, #dfdfdf 0%, #fff 100%);
    z-index: 1000;
    display: flex;
  }

  .nav.hide {
    display: none;
  }

  .search-link {
    display: flex;
  }

  .nav-link {
    flex-direction: column;
  }

  /*=== footer classes ===*/
  #footer {
    width: 100%;
    height: 20vh;
    background-color: transparent;
  }

  .footer-container {
    display: none;
  }

  /*==== sidebar classes ====*/
  .menu-btn-container {
    display: none;
  }

  .sidebar-order-header,
  .payment-summary,
  .payment-summary,
  .sidebar-menu-space {
    display: none;
  }

  .payment-summary,
  .sidebar-menu-space {
    position: relative;
  }

  .sidebar-menu {
    position: fixed;
    bottom: 18%;
  }

  .basket-content {
    background: transparent;
  }

  .basket {
    position: fixed;
    bottom: 5%;
    width: 425px;
    height: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-1);
    padding: var(--ws-3) var(--ws-4);
  }

  /*====PROFILE PAGE====*/
  .profile-container {
    width: 100%;
  }
}
@media (max-width: 962px) {
  /*=== header clases ===*/
  .header-logo {
    display: none;
  }
}

@media (max-width: 828px) {
  /*=== address classes ===*/
  .address-options {
    position: fixed;
    bottom: -100%;
    left: 0%;
    width: 100%;
    border-radius: 14px 14px 0px 0px;
    opacity: 0;
    pointer-events: none;
  }

  .header-address-container.active .address-options {
    bottom: 0%;
    opacity: 1;
    pointer-events: all;
  }

  /*=== search classes ===*/
  .search-bar {
    position: absolute;
    padding: var(--ws-3) var(--ws-auto);
    top: 100%;
    width: 100%;
    left: 50%;
    transition: o.3;
    transform: translate(-50%, 0%);
  }

  .search-bar.hide {
    transform: translate(-50%, -100%);
    opacity: 0;
    pointer-events: none;
  }

  .search-form {
    width: 100%;
    box-shadow: 10px 10px 50px 0px #cdcdcd, -10px -10px 50px 0px #fff;
  }
  .search-input {
    width: 95%;
  }

  .search-bar.active {
    top: 0;
    bottom: 0;
    position: fixed;
    background: var(--clr-primary);
    border-radius: 0;
    padding: var(--ws-reg) var(--ws-auto);
    z-index: var(--z-1);
  }

  .search-bar.active .search-history {
    position: relative;
    border-top: none;
    background: transparent;
  }

  .search-bar.active .search-history * {
    padding-left: 0px;
    padding-right: 0px;
  }

  /*==== user profile classes==== */
  .profile {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0px;
    right: 0px;
    left: 0px;
    right: 0px;
    border-radius: 0px;
    padding: var(--ws-3) var(--ws-auto);
  }

  .profile-back {
    display: flex;
  }

  .login-container {
    border-radius: 8px;
    border: 1px solid #fff;
    background: #eaeaea;
    box-shadow: 10px 10px 50px 0px #cdcdcd, -10px -10px 50px 0px #fff;
  }

  .footer-container.nav-active {
    display: flex;
    align-items: last baseline;
    z-index: 100000;
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: 100%;
  }

  .footer-container.nav-active .footer-logo {
    display: none;
  }

  .footer-container.nav-active .footer-faq {
    position: relative;
    top: 0px;
    left: 0px;
    transform: translate(0%);
    display: grid;
  }

  .footer-container.nav-active .footer-faq p {
    text-align: justify;
  }

  .footer-container.nav-active .footer-faq .footer-p,
  .footer-container.nav-active .footer-policy-conditions {
    font-size: 12px;
  }

  .footer-container.nav-active .footer-policy {
    align-items: flex-start;
  }

  .footer-container.nav-active .footer-policy .footer-policy-btn {
    display: none;
  }

  /*=== header space ===*/
  .header-space {
    height: 160px;
  }

  /*=== menu classes=== */
  .grid-menu {
    grid-template-columns: repeat(1, minmax(300px, 1fr));
  }

  /*====PROFILE PAGE====*/
  .profile-content {
    flex-direction: column;
  }

  .profile-form {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 610px) {
  .footer-container.nav-active {
    display: grid;
  }
}

@media (max-width: 480px) {
  /*=== address classes ===*/
  .address-options {
    width: 100%;
  }

  /*=== navigation classes ===*/
  .nav,
  .basket {
    width: 90%;
  }
}
