@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sen:wght@400..800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Sen", serif;
  scroll-behavior: smooth;
  transition: all 0.3s ease;
  line-height: 1.8;
  /* border: 1px solid red; */
}

html.light-theme {
  background-color: #f8f8f8;
}
html.dark-theme {
  background-color: #3f4041;
}
html.dark-theme .home-section .sidebar ul:first-of-type li:nth-of-type(1) {
  color: black;

  a {
    color: black;
  }
}
.home-section .sidebar ul:first-of-type li:nth-of-type(1) {
  background-color: #9bf7ea;
}
.home-section .sidebar ul:first-of-type li:nth-of-type(1)::before {
  height: 100%;
}
.home-section .bottom-navbar ul li:nth-of-type(1) a {
  color: #9bf7ea;
}
.home-section .bottom-navbar ul li:nth-of-type(1) a::before {
  height: 20px;
}
.categories-section .bottom-navbar ul li:nth-of-type(2) a {
  color: #9bf7ea;
}
.categories-section .bottom-navbar ul li:nth-of-type(2) a::before {
  height: 20px;
}
.orders-section .bottom-navbar ul li:nth-of-type(3) a {
  color: #9bf7ea;
}
html.dark-theme .orders-section .sidebar ul:first-of-type li:nth-of-type(3) {
  color: black;

  a {
    color: black;
  }
}
.orders-section .bottom-navbar ul li:nth-of-type(3) a::before {
  height: 20px;
}
.p2p-section .bottom-navbar ul li:nth-of-type(4) a {
  color: #9bf7ea;
}
.p2p-section .bottom-navbar ul li:nth-of-type(4) a::before {
  height: 20px;
}
.settings-section .bottom-navbar ul li:nth-of-type(5) a {
  color: #9bf7ea;
}
.settings-section .bottom-navbar ul li:nth-of-type(5) a::before {
  height: 20px;
}

html.dark-theme header {
  background-color: #28292a;

  .logo {
    background-image: url("../images/Prefix-footer-logo.png");
  }
  form input {
    background-color: #404142;
    color: white;
  }
  i {
    color: white;
  }
}
.rv-top-header {
  display: none;
}
header {
  position: fixed;
  z-index: 100;
  width: 100%;
  background-color: #fff;
  display: flex;
  padding: 10px;
  justify-content: space-between;
  align-items: center;
  contain: content;
  top: -2px;
  border-bottom: 2px solid #9bf7ea;

  .logo {
    width: 75px;
    height: 45px;
    background-image: url("../images/Prefix\ logo.png");
    background-size: 75px;
    background-repeat: no-repeat;
  }

  form {
    width: 1000px;
    /* border: 1px solid red; */
    position: relative;
    /* opacity:0; */
    margin-left: 10px;

    input {
      padding: 10px 20px 10px 40px;
      background-color: #f8f8f8;
      border-radius: 10px;
      width: 100%;
      outline: none;
      border: none;
    }
    input::placeholder {
      font-size: 14px;
    }
    i {
      position: absolute;
      left: 12px;
      top: 12px;
    }
  }

  .cart-container {
    display: flex;
    align-items: center;
    gap: 20px;

    .cart {
      position: relative;

      span {
        background-color: #9bf7ea;
        border-radius: 50%;
        font-size: 11px;
        color: black;
        display: inline-block;
        width: 17px;
        height: 17.5px;
        place-content: center;
        text-align: center;
        position: absolute;
        top: -2px;
        right: -2px;
        cursor: pointer;
      }
      a {
        color: black;
        text-decoration: none;
      }
      i {
        /* border: 1px solid rgba(0, 0, 0, 0.315); */
        font-size: 13px;
        width: 35px;
        height: 35px;
        /* border-radius: 50%; */
        place-content: center;
        padding-top: 2px;
        text-align: center;
        cursor: pointer;
      }
    }

    .user-dp {
      width: 35px;
      height: 35px;
      cursor: pointer;
      position: relative;

      i {
        font-size: 12px;
        width: 18px;
        height: 18px;
        padding-top: 3px;
        place-content: center;
        text-align: center;
        position: absolute;
        background-color: #f8f8f8;
        color: #7c7c7c;
        border-radius: 50%;
        bottom: -5px;
        right: -2px;
        cursor: pointer;
      }
    }

    img {
      border-radius: 50%;
      width: 100%;
      height: 100%;
      object-fit: cover;
      background: #e9ecef;
      /* object-position: 0px 1px; */
    }
  }
}
html.dark-theme .sidebar {
  background-color: #28292a;
  color: white;

  ul li a {
    color: white;
  }
}
html.dark-theme .sidebar ul li:hover {
  color: black;

  a {
    color: black;
  }
}
.sidebar {
  contain: content;
  position: fixed;
  background-color: #fff;
  z-index: 101;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: clip;
  padding: 15px 10px 100px 0;
  top: 79px;
  border-top-right-radius: 5px;
  justify-content: space-between;

  ul li {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 0 0 0 9px;
    margin-left: 13px;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    position: relative;
    margin-bottom: 5px;

    a {
      padding: 5px 9px;
      text-decoration: none;
      color: black;
      width: 100px;
      text-align: left;
    }
  }
  ul:nth-of-type(1) {
    height: 430px;
  }
}
.sidebar-collapse {
  width: 58.6px;
}
.sidebar-expand {
  width: 200px;
}
.sidebar ul li:hover {
  background-color: #9bf7ea;
}
.sidebar ul li::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 0;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  background-color: #9bf7ea;
  top: 0;
  left: -13px;
  transition: all 0.1s ease;
}

.sidebar ul li:hover::before {
  height: 100%;
}
.bottom-navbar {
  display: none;
}
main {
  border-radius: 5px;
  margin: 80px 4px 30px 65px;
}
.main-collapse {
  margin-left: 205px;
}
html.dark-theme .user-hero-section {
  background-color: #28292a;
  color: white;
}
.user-hero-section {
  border-radius: 5px;
  padding: 0 0 30px;
  min-height: 100%;
  background-color: white;
  width: 95%;
  margin: 20px auto 0;
}
.user-hero-section .uhs-heading {
  padding: 30px 20px;

  h1 {
    font-size: 40px;
    line-height: 1.2;
    overflow: hidden;
    display: -webkit-box;
    box-orient: vertical;
    -webkit-box-orient: vertical;
    line-clamp: 1;
    -webkit-line-clamp: 1;
  }
}
.user-hero-section .uhs-subcontainer {
  display: flex;
  justify-content: space-evenly;
  gap: 50px;
  padding: 0 20px;

  div {
    width: 50%;
    border-radius: 5px;
    background-color: #28454e;
    contain: content;
  }
  div > p {
    padding: 10px;
    border-bottom: 1px solid rgb(0, 0, 0);
    color: white;
  }
  div a {
    display: flex;
    padding: 10px 15px;
    justify-content: space-between;
    text-decoration: none;
    color: white;
    background-color: #223941;
  }
  div a:hover {
    background-color: #0c1518;
  }
  div:first-of-type {
    background-color: #84e6d7;

    a {
      background-color: #6fc0b4;
    }
    a:hover {
      background-color: #4d867e;
    }
  }
}

html.dark-theme .flash-sale-section {
  background-color: #28292a;

  .fss-heading h2 {
    color: white;
  }
  .fss-item-container {
    .fss-item {
      background-color: #404142;

      a {
        text-decoration: none;
        color: rgb(255, 255, 255);
      }
      h3 {
        color: #ffffff;
      }
      p {
        color: #ffffff;
      }
      .discount-price {
        color: rgb(255, 255, 255);
      }
      .addToCart-container .inc-cart-count span {
        color: #ffffff;
      }
    }
    .fss-item:hover {
      background-color: #1e3238;
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.112);
    }
  }
}
.flash-sale-section {
  background-color: #fff;
  border-radius: 5px;
  width: 95%;
  margin: 30px auto 0;
  contain: content;
  border: 2px solid red;

  .fss-heading {
    background-color: red;
    display: flex;
    justify-content: space-between;
    padding: 5px 15px;
    align-items: center;
    h2 {
      color: white;
    }
    h2 .fa-tag {
      margin-right: 5px;
      color: #ffae00;
      transform: rotate(65deg);
    }
    p {
      color: white;
      span {
        font-size: 18px;
        font-weight: bold;
      }
    }
    p a {
      text-decoration: none;
      color: white;
    }
  }
  .fss-item-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    padding: 10px;

    .fss-item {
      background-color: #f8f8f8;
      border-radius: 5px;
      padding: 5px;
      position: relative;

      a {
        text-decoration: none;
        color: black;
      }
      .fss-item-sale {
        position: relative;
        height: 200px;
        contain: content;
        border-radius: 5px;

        img {
          width: 100%;
          object-fit: cover;
          height: 100%;
          object-position: center;
        }
        .fss-discount {
          position: absolute;
          top: 7px;
          right: 7px;
          background-color: #caf3eef1;
          color: #28454e;
          padding: 2px 4px;
          border-radius: 5px;

          .discount {
            font-size: 14px;
            font-weight: 400;
          }
        }
      }
      h3 {
        font-size: 16px;
        margin: 5px 0;
        font-weight: 400;
        color: #2c2e2e;
        overflow: hidden;
        display: -webkit-box;
        box-orient: vertical;
        -webkit-box-orient: vertical;
        line-clamp: 1;
        -webkit-line-clamp: 1;
      }
      p {
        color: #000000;
      }
      .discount-price {
        color: black;
        font-weight: 600;
        line-height: 1;
      }
      .addToCart-container {
        margin-top: 10px;

        .addToCart {
          background-color: #9bf7ea;
          color: black;
          border: none;
          padding: 8px 15px;
          border-radius: 5px;
          cursor: pointer;
          width: 100%;
        }
        .inc-cart-count {
          gap: 5px;
          justify-content: space-between;
          align-items: center;
          display: none;

          button {
            background-color: #9bf7ea;
            border: none;
            padding: 6px 15px;
            font-size: 15px;
            cursor: pointer;
            border-radius: 5px;
            color: black;
            box-shadow: 0px;
          }
          span {
            font-size: 15px;
            color: #505050;
          }
        }
      }
    }
    .fss-item:hover {
      background-color: #eef7f5;
      transform: scale(1.02);
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.055);
      .fss-item-sale img {
        transform: scale(1.05);
      }
      .fss-item-sale .fss-discount {
        transform: translateY(-5px);
      }
    }
  }
}
html.dark-theme .tds-section {
  background-color: #28292a;

  .tds-heading h2 {
    color: rgb(0, 0, 0);
  }
  .tds-heading p a {
    color: rgb(0, 0, 0);
  }
  .tds-item-container {
    .tds-item {
      background-color: #404142;

      a {
        text-decoration: none;
        color: rgb(255, 255, 255);
      }
      h3 {
        color: #ffffff;
      }
      p {
        color: #ffffff;
      }
      .discount-price {
        color: rgb(255, 255, 255);
      }
      .addToCart-container .inc-cart-count span {
        color: #ffffff;
      }
    }
    .tds-item:hover {
      background-color: #1e3238;
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.112);
    }
  }
}
.tds-section {
  background-color: #fff;
  border-radius: 5px;
  width: 95%;
  margin: 30px auto 0;
  contain: content;

  .tds-heading {
    background-color: #9bf7ea;
    display: flex;
    justify-content: space-between;
    padding: 5px 15px;
    align-items: center;
    h2 {
      color: rgb(0, 0, 0);
    }
    p a {
      text-decoration: none;
      color: white;
    }
  }
  .tds-item-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    padding: 10px;

    .tds-item {
      background-color: #f8f8f8;
      border-radius: 5px;
      padding: 5px;
      position: relative;

      a {
        text-decoration: none;
        color: black;
      }
      .tds-item-sale {
        position: relative;
        height: 200px;
        contain: content;
        border-radius: 5px;

        img {
          width: 100%;
          object-fit: cover;
          height: 100%;
          object-position: center;
        }
        .tds-discount {
          position: absolute;
          top: 7px;
          right: 7px;
          background-color: #caf3eef1;
          color: #28454e;
          padding: 2px 4px;
          border-radius: 5px;

          .discount {
            font-size: 14px;
            font-weight: 400;
          }
        }
      }
      h3 {
        font-size: 16px;
        margin: 5px 0;
        font-weight: 400;
        color: #2c2e2e;
        overflow: hidden;
        display: -webkit-box;
        box-orient: vertical;
        -webkit-box-orient: vertical;
        line-clamp: 1;
        -webkit-line-clamp: 1;
      }
      p {
        color: #000000;
      }
      .discount-price {
        color: black;
        font-weight: 600;
        line-height: 1;
      }
      .addToCart-container {
        margin-top: 10px;

        .addToCart {
          background-color: #9bf7ea;
          color: black;
          border: none;
          padding: 8px 15px;
          border-radius: 5px;
          cursor: pointer;
          width: 100%;
        }
        .inc-cart-count {
          gap: 5px;
          justify-content: space-between;
          align-items: center;
          display: none;

          button {
            background-color: #9bf7ea;
            border: none;
            padding: 6px 15px;
            font-size: 15px;
            cursor: pointer;
            border-radius: 5px;
            color: black;
            box-shadow: 0px;
          }
          span {
            font-size: 15px;
            color: #505050;
          }
        }
      }
    }
    .tds-item:hover {
      background-color: #eef7f5;
      transform: scale(1.02);
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.055);
      .tds-item-sale img {
        transform: scale(1.05);
      }
      .tds-item-sale .tds-discount {
        transform: translateY(-5px);
      }
    }
  }
}
html.dark-theme .latest-search-section {
  background-color: #28292a;

  .lss-heading {
    background-color: #28292a;
    border-color: #4c4d4e;
  }
  .lss-heading h2 {
    color: white;
  }
  .lss-item-container {
    .lss-item {
      background-color: #404142;

      a {
        text-decoration: none;
        color: rgb(255, 255, 255);
      }
      h3 {
        color: #ffffff;
      }
      p {
        color: #ffffff;
      }
      .discount-price {
        color: rgb(255, 255, 255);
      }
      .addToCart-container .inc-cart-count span {
        color: #ffffff;
      }
    }
    .lss-item:hover {
      background-color: #1e3238;
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.112);
    }
  }
}
.latest-search-section {
  background-color: #fff;
  border-radius: 5px;
  width: 95%;
  margin: 30px auto 0;
  contain: content;

  .lss-heading {
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 5px 15px;
    align-items: center;
    border-bottom: 1px solid #f8f8f8;

    h2 {
      color: rgb(0, 0, 0);
    }
    p a {
      text-decoration: none;
      color: #9bf7ea;
    }
  }
  .lss-item-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    padding: 10px;

    .lss-item {
      background-color: #f8f8f8;
      border-radius: 5px;
      padding: 5px;
      position: relative;

      a {
        text-decoration: none;
        color: black;
      }

      .lss-item-sale {
        position: relative;
        height: 200px;
        contain: content;
        border-radius: 5px;

        img {
          width: 100%;
          object-fit: cover;
          height: 100%;
          object-position: center;
        }
        .lss-discount {
          position: absolute;
          top: 7px;
          right: 7px;
          background-color: #caf3eef1;
          color: #28454e;
          padding: 2px 4px;
          border-radius: 5px;

          .discount {
            font-size: 14px;
            font-weight: 400;
          }
        }
      }
      h3 {
        font-size: 16px;
        margin: 5px 0;
        font-weight: 400;
        color: #2c2e2e;
        overflow: hidden;
        display: -webkit-box;
        box-orient: vertical;
        -webkit-box-orient: vertical;
        line-clamp: 1;
        -webkit-line-clamp: 1;
      }
      p {
        color: #000000;
      }
      .discount-price {
        color: black;
        font-weight: 600;
        line-height: 1;
      }
    }
    .lss-item:hover {
      background-color: #eef7f5;
      transform: scale(1.02);
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.055);
      .lss-item-sale img {
        transform: scale(1.05);
      }
      .lss-item-sale .lss-discount {
        transform: translateY(-5px);
      }
    }
  }
}
html.dark-theme .av-cat-section {
  background-color: #28292a;

  .acs-item-container {
    .acs-item {
      background-color: #404142;

      a {
        text-decoration: none;
        color: rgb(255, 255, 255);
      }
      p {
        color: #ffffff;
      }
    }
    .acs-item:hover {
      background-color: #1e3238;
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.112);
    }
  }
}
.av-cat-section {
  background-color: #fff;
  border-radius: 5px;
  width: 95%;
  margin: 30px auto 0;
  contain: content;

  .acs-item-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    padding: 10px;

    a {
      text-decoration: none;
    }

    .acs-item {
      background-color: #f8f8f8;
      border-radius: 5px;
      padding: 5px;
      position: relative;

      .acs-item-sale {
        position: relative;
        height: 200px;
        contain: content;
        border-radius: 5px;

        img {
          width: 100%;
          object-fit: cover;
          height: 100%;
          object-position: center;
        }
      }
      p {
        font-size: 14px;
        color: #505050;
        text-align: center;
      }
    }
    .acs-item:hover {
      background-color: #eef7f5;
      transform: scale(1.02);
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.055);

      .acs-item-sale img {
        transform: scale(1.05);
      }
    }
  }
}
html.dark-theme
  .categories-section
  .sidebar
  > ul:first-of-type
  li:nth-of-type(2) {
  color: #000000;

  a {
    color: #000000;
  }
}
.categories-section .sidebar > ul:first-of-type li:nth-of-type(2) {
  background-color: #9bf7ea;
}
.categories-section .sidebar > ul:first-of-type li:nth-of-type(2)::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 100%;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  top: 0;
  left: -13px;
  transition: all 0.3s ease;
  background-color: #9bf7ea;
}

.fa-angle-right {
  padding: 5px 0 0;
}
html.dark-theme .r-nav {
  a {
    color: white;
  }
  span {
    color: white;
  }
}
.r-nav {
  width: 95%;
  margin: 10px auto 0;
  contain: content;
  padding: 10px;
  font-size: 14px;

  a {
    text-decoration: none;
    color: rgb(70, 70, 70);
  }
  a:hover {
    color: #84e6d7;
  }
  span {
    font-size: 15px;
    font-weight: 500;
  }
}
html.dark-theme .category-heading {
  background-color: #28292a;

  h1 {
    color: white;
  }
}
.category-heading {
  text-align: center;
  background-color: #fff;
  width: 95%;
  margin: 20px auto 0;
  contain: content;
  padding: 10px;

  h1 {
    font-size: 30px;
  }
}
html.dark-theme .all-categories-section {
  background-color: #28292a;

  .heading h2 {
    color: rgb(0, 0, 0);
  }
  .heading p a {
    color: rgb(0, 0, 0);
  }
  .item-container {
    .item {
      background-color: #404142;

      a {
        text-decoration: none;
        color: rgb(255, 255, 255);
      }
      h3 {
        color: #ffffff;
      }
      p {
        color: #ffffff;
      }
      .addToCart-container .inc-cart-count span {
        color: #ffffff;
      }
    }
    .item:hover {
      background-color: #1e3238;
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.112);
    }
  }
}
.all-categories-section {
  background-color: #fff;
  border-radius: 5px;
  width: 95%;
  margin: 30px auto 0;
  contain: content;

  .heading {
    background-color: #9bf7ea;
    display: flex;
    justify-content: space-between;
    padding: 5px 15px;
    align-items: center;
    h2 {
      color: rgb(0, 0, 0);
    }
    h2 .fa-tag {
      margin-right: 5px;
      color: #ffae00;
      transform: rotate(65deg);
    }
    p a {
      text-decoration: none;
      color: white;
    }
  }
  .item-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    padding: 10px;
    position: relative;

    .item {
      background-color: #f8f8f8;
      border-radius: 5px;
      padding: 5px;
      position: relative;
      a {
        text-decoration: none;
        color: black;
      }
      .item-sale {
        position: relative;
        height: 200px;
        contain: content;
        border-radius: 5px;

        img {
          width: 100%;
          object-fit: cover;
          height: 100%;
          object-position: center;
        }
        .cat-discounts {
          position: absolute;
          top: 7px;
          right: 7px;
          background-color: #caf3eef1;
          color: #28454e;
          padding: 2px 4px;
          border-radius: 5px;

          .discount {
            font-size: 14px;
            font-weight: 400;
          }
        }
      }
      h3 {
        font-size: 16px;
        margin: 5px 0;
        font-weight: 400;
        color: #2c2e2e;
        overflow: hidden;
        display: -webkit-box;
        box-orient: vertical;
        -webkit-box-orient: vertical;
        line-clamp: 1;
        -webkit-line-clamp: 1;
      }
      p {
        color: #000000;
      }
      .discount-price {
        color: black;
        font-weight: 600;
        line-height: 1;
      }
    }
    .item:hover {
      background-color: #eef7f5;
      transform: scale(1.02);
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.055);
      .item-sale img {
        transform: scale(1.05);
      }
      .item-sale .discount {
        transform: translateY(-5px);
      }
    }
  }
  .addToCart-container {
    margin-top: 10px;

    .addToCart {
      background-color: #9bf7ea;
      color: black;
      border: none;
      padding: 8px 15px;
      border-radius: 5px;
      cursor: pointer;
      width: 100%;
    }
    .inc-cart-count {
      gap: 5px;
      justify-content: space-between;
      align-items: center;
      display: none;

      button {
        background-color: #9bf7ea;
        border: none;
        padding: 6px 15px;
        font-size: 15px;
        cursor: pointer;
        border-radius: 5px;
        color: black;
        box-shadow: 0px;
      }
      span {
        font-size: 15px;
        color: #505050;
      }
    }
  }
}
/* --- Start of Product Details Styles --- */
html.dark-theme .product-details-container {
  background-color: #28292a;
  color: white;

  .product-info {
    div .discount-price {
      color: white;
    }
    div .product-discount {
      background-color: #404142;
      color: white;
    }
    .fss-heading {
      h2 {
        font-size: 14px;
        color: white;
      }
      p a {
        text-decoration: none;
        color: white;
      }
    }
    .fss-price span {
      color: white;
    }
  }
}

html.dark-theme .product-desc-wrapper {
  background-color: #28292a;

  .product-desc-header {
    border-bottom: 1px solid #bbbbbb;
    color: white;
  }
}
.product-details-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  width: 95%;
  margin: 30px auto;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  /* align-items: center; */
}
.product-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image img {
  max-width: 430px;
  max-height: 500px;
  border-radius: 8px;
}
.product-info {
  flex: 2;

  div .discount-price {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    margin-right: 10px;
  }
  div .product-discount {
    top: 7px;
    right: 7px;
    background-color: #caf3eef1;
    color: #28454e;
    padding: 2px 4px;
    border-radius: 5px;
    margin-left: 10px;

    .discount {
      font-size: 14px;
      font-weight: 400;
    }
  }
  .fss-container {
    border: 2px solid red;
    border-radius: 5px;
  }
  .fss-heading {
    background-color: red;
    display: flex;
    justify-content: space-between;
    padding: 2px 15px;
    align-items: center;
    h2 {
      font-size: 15px;
      color: white;
    }
    h2 .fa-tag {
      margin-right: 5px;
      color: #ffae00;
      transform: rotate(65deg);
      font-size: 15px;
    }
    p {
      color: white;
      font-size: 15px;

      span {
        font-weight: bold;
      }
    }
    p a {
      text-decoration: none;
      color: white;
    }
  }
  .fss-price {
    padding: 4px 10px;
  }
}
html.dark-theme .product-title {
  color: white;
}
.product-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.product-desc-wrapper {
  width: 95%;
  margin: 30px auto 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);

  .product-desc-header {
    padding: 5px 15px;
    font-weight: 500;
    border-bottom: 1px solid #bbbbbb;
  }
}

html.dark-theme .product-desc {
  color: white;
}
.product-desc {
  color: #333;
  padding: 15px;
}
html.dark-theme .addToCart-container .inc-cart-count span {
  color: white;
}
.addToCart-container {
  margin-top: 70px;
  margin-bottom: 10px;

  .addToCart {
    background-color: #9bf7ea;
    color: black;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
  }
  .inc-cart-count {
    gap: 5px;
    justify-content: space-between;
    align-items: center;
    display: none;

    button {
      background-color: #9bf7ea;
      border: none;
      padding: 6px 15px;
      font-size: 15px;
      cursor: pointer;
      border-radius: 5px;
      color: black;
      box-shadow: 0px;
    }
    span {
      font-size: 15px;
      color: #505050;
    }
  }
}
html.dark-theme .pd-promotions-wrapper ul li {
  color: white;

  .pd-bullet {
    background: url("../images/dark-mode-pc\ logo.png");
    width: 30px;
    height: 30px;
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
  }
  a {
    color: white;
  }
}

.pd-promotions-wrapper ul li {
  /* border: 1px solid red; */
  list-style-type: none;
  display: flex;

  .pd-bullet {
    background: url("../images/pc\ logo.png");
    width: 30px;
    height: 30px;
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
  }
  a {
    text-decoration: none;
    color: #3a3a4d;
  }
  a:hover {
    text-decoration: underline;
  }
}

.orders-section .sidebar ul:first-of-type li:nth-of-type(3) {
  background-color: #9bf7ea;
}
.orders-section .sidebar ul:first-of-type li:nth-of-type(3)::before {
  height: 100%;
}

.orders-main {
  margin-bottom: 0;
}
html.dark-theme .orders-container {
  background: #28292a;

  .orders-heading {
    color: white;
    border-bottom: 1px solid #4c4d4e;
  }
  .no-order {
    i {
      background: #3f4041;
    }
    p {
      color: white;
    }
  }
  .ordered-item {
    border: 1px solid #4c4d4e;

    .order-info .order-name {
      color: white;
    }
    .order-info .order-qty{
      color: #bbbbbb;
    }
    .order-info .order-date{
      color: #bbbbbb;
    }
  }
}
.orders-container {
  width: 95%;
  margin: auto;
  min-height: 86vh;
  background-color: #fff;
  overflow: hidden;
  display: grid;
  

  .orders-heading {
    padding: 10px 15px;
    font-size: 25px;
    font-weight: 600;
    height: fit-content;
    border-bottom: 1px solid #f8f8f8;
  }
  .ordered-items{
    padding: 0 15px ;
  }
  .ordered-item {
    border: 1px solid #d7d6d6;
    border-radius: 5px;
    display: flex;
    gap: 20px;
    margin: 20px 0;
    padding: 10px;

    .order-product-img {
      width: 80px;
      height: 80px;
      border-radius: 5px;
      object-fit: cover;
    }
    .order-info .order-name {
      width: 100%;
      overflow: hidden;
      display: -webkit-box;
      box-orient: vertical;
      -webkit-box-orient: vertical;
      line-clamp: 1;
      -webkit-line-clamp: 1;
    }
    .order-info .order-qty{
      color: #939191;
      font-size: 13px;
      font-weight: lighter;
    }
    .order-info .order-status{
      font-size: 12px;
      color: white;
      padding: 0 3px;
      width: min-content;
      text-transform: uppercase;
    }

    .order-status.pending {
      background-color: #505050;
    }

    .order-status.processing {
      background-color: #b8d8fa;
    }

    .order-status.completed {
      background-color: #9ae6ab;
    }

    /* Cancelled = Red */
    .order-status.cancelled {
      background-color: #f0989f;
    }

    .order-info .order-date{
      color: #555;
    }
  }
  .no-order {
    /* display: none; */
    place-self: center;
    text-align: center;
    height: 63vh;

    i {
      font-size: 60px;
      padding: 10px 0 0;
      width: 120px;
      border-radius: 50%;
      background: #f8f8f8;
      height: 120px;
      text-align: center;
      place-content: center;
      color: #9bf7ea;
    }
    p {
      font-size: 14px;
      margin: 14px 0;
    }
    p:first-of-type {
      font-weight: 600;
      font-size: 16px;
    }
    button {
      border-radius: 5px;
      padding: 9px 0;
      border: none;
      background-color: #9bf7ea;
      margin-top: 18px;
    }
    button:hover {
      background-color: #84e6d7;
    }
    button a {
      text-decoration: none;
      padding: 11px 10px;
      color: #000;
    }
  }
}

/* --- P2P Marketplace Styles --- */
html.dark-theme .p2p-section .sidebar > ul:first-of-type li:nth-of-type(4) {
  color: black;

  a {
    color: black;
  }
}
.p2p-section .sidebar > ul:first-of-type li:nth-of-type(4) {
  background-color: #9bf7ea;
}
.p2p-section .sidebar > ul:first-of-type li:nth-of-type(4)::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 100%;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  top: 0;
  left: -13px;
  transition: all 0.3s ease;
  background-color: #9bf7ea;
}
html.dark-theme .p2p-container {
  background-color: #28292a;
  color: white;

  h1 {
    color: #9bf7ea;
  }
  .p2p-create-form {
    background: #404142;
    box-shadow: 0 2px 8px rgba(108, 108, 138, 0.05);

    h2 {
      color: #9bf7ea;
    }
  }
  .p2p-create-form input[type="text"],
  .p2p-create-form input[type="number"],
  .p2p-create-form textarea {
    border: 1px solid black;
    background: #28292a;
    color: white;
  }
  .p2p-table {
    background: #404142;
    box-shadow: 0px;
  }

  .p2p-table td {
    border-bottom: 1px solid #28292a;
  }

  .p2p-create-btn {
    display: inline-block;
    background: #9bf7ea;
    color: #28454e;
    font-weight: 500;
    font-size: 1rem;
    padding: 4px 8px;
    border-radius: 5px;
    border: none;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    margin-bottom: 5px;
    cursor: pointer;
  }

  .p2p-create-btn:hover {
    background: #84e6d7;
    color: #1a2c33;
    box-shadow: 0 4px 16px rgba(60, 60, 120, 0.15);
  }
}
html.dark-theme .p2p-modal {
  .p2p-modal-content {
    background: #28292a !important;
    box-shadow: 0 8px 32px rgba(90, 90, 130, 0.18);
  }

  .p2p-modal-content p {
    color: white;
  }

  .p2p-modal-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
  }

  .p2p-modal-btn {
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    outline: none;
    text-decoration: none;
    display: inline-block;
  }

  .p2p-cancel-btn {
    background: #84e6d7;
    color: #28454e;
  }

  .p2p-cancel-btn:hover {
    background: #9bf7ea;
  }

  .p2p-ok-btn {
    background: #e07c24;
    color: #fff;
  }

  .p2p-ok-btn:hover {
    background: #c96a1c;
  }
}
.p2p-container {
  width: 95%;
  margin: 40px auto 0;
  background: #fff;
  border-radius: 5px;
  padding: 32px 24px;
}

.p2p-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.p2p-container h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #28454e;
  margin-bottom: 24px;
  /* text-align: center; */
}

.p2p-create-form {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(60, 60, 120, 0.05);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.p2p-create-form input[type="text"],
.p2p-create-form input[type="number"],
.p2p-create-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 7px;
  border: 1px solid #e0e3eb;
  font-size: 1rem;
  background: #fff;
  outline: none;
  transition: border 0.2s;
}

.p2p-create-form input[type="file"] {
  margin-bottom: 14px;
}

.p2p-create-form button {
  width: 100%;
  background: #9bf7ea;
  color: #28454e;
  border: none;
  border-radius: 7px;
  padding: 12px 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(60, 60, 120, 0.1);
  transition: background 0.2s;
}

.p2p-create-form button:hover {
  background: #84e6d7;
}

.p2p-list-table {
  width: 100%;
  margin: 0 auto 32px;
  overflow-x: auto;
}

.p2p-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.p2p-table th,
.p2p-table td {
  padding: 8px 10px;
  text-align: center;
  font-size: 1rem;
}

.p2p-table th {
  background: #9bf7ea;
  color: #28454e;
  font-weight: 700;
  border-bottom: 1px solid #5c5c5c;
}
.p2p-table td {
  border-bottom: 1px solid #eaeaea;
}
.p2p-table td p {
  width: 300px;
  overflow: hidden;
  display: -webkit-box;
  box-orient: vertical;
  -webkit-box-orient: vertical;
  line-clamp: 1;
  -webkit-line-clamp: 1;
}

.p2p-btn {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 6px;
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  margin: 0 3px;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.p2p-edit {
  background: #84e6d7;
  color: #28454e;
}

.p2p-edit:hover {
  background: #9bf7ea;
}
.p2p-delete {
  background: #e07c24;
  color: #fff;
}

.p2p-delete:hover {
  background: #c96a1c;
}

.p2p-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(40, 69, 78, 0.25);
  justify-content: center;
  align-items: center;
}

.p2p-modal.show {
  display: flex;
}

.p2p-modal-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(60, 60, 120, 0.18);
  padding: 32px 28px;
  text-align: center;
  min-width: 320px;
  max-width: 90vw;
}

.p2p-modal-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #e07c24;
  margin-bottom: 12px;
}

.p2p-modal-content p {
  color: #28454e;
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.p2p-modal-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.p2p-modal-btn {
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  outline: none;
  text-decoration: none;
  display: inline-block;
}

.p2p-cancel-btn {
  background: #84e6d7;
  color: #28454e;
}

.p2p-cancel-btn:hover {
  background: #9bf7ea;
}

.p2p-ok-btn {
  background: #e07c24;
  color: #fff;
}

.p2p-ok-btn:hover {
  background: #c96a1c;
}

.p2p-create-btn {
  display: inline-block;
  background: #9bf7ea;
  color: #28454e;
  font-weight: 500;
  font-size: 1rem;
  padding: 4px 8px;
  border-radius: 5px;
  border: none;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-bottom: 5px;
  cursor: pointer;
}

.p2p-create-btn:hover {
  background: #84e6d7;
  color: #1a2c33;
  box-shadow: 0 4px 16px rgba(60, 60, 120, 0.15);
}

/* --- End of P2P Marketplace Styles --- */
/* --- Start of Settings Styles --- */

.main-settings {
  margin-top: 80px;
  margin-left: 470px;
  width: calc(100% - 490px);
  margin-bottom: 0;
}
.main-collapse-settings {
  margin-top: 80px;
  width: calc(100% - 620px);
  margin-left: 610px;
}
.main-wrapper {
  min-height: 100vh;
}
html.dark-theme .settings-sidebar {
  background-color: #28292a;
  color: white;

  ul li a {
    color: #ffffff;
  }
  h4 {
    border-bottom: 1px solid #4c4d4e;
  }
  .sidebar-nav-container .nested-nav .nested-sidebar-nav li:hover a {
    color: #000;
  }
}
.plf-logout {
  display: none !important;
}
.settings-sidebar {
  contain: content;
  margin-left: 10px;
  background-color: #fff;
  width: 28%;
  min-height: 100vh;
  overflow-y: auto;
  border-radius: 5px;
  position: fixed;
  top: 80px;
  left: 75px;

  ul li {
    padding: 5px 9px;
    margin-top: 10px;
    margin-left: 13px;
    margin-right: 9px;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    margin-bottom: 5px;
    list-style-type: none;

    a {
      text-decoration: none;
      color: black;
      text-decoration: none;
      display: flex;
      gap: 15px;
      align-items: center;
    }
  }
  h4 {
    padding: 10px;
    border-bottom: 1px solid #f8f8f8;
  }
  .settings-profile {
    display: none;
  }
}
.settings-sidebar-move {
  margin-left: 150px;
}
.settings-sidebar .sidebar-nav-container .nested-nav {
  contain: content;
  position: relative;
  cursor: pointer;

  .nested-sidebar-nav li {
    padding: 7px 9px;
    border-radius: 4px;
    cursor: pointer;
  }
  .nested-sidebar-nav li:hover {
    background-color: #c6fff7;
  }
}
.settings-section .sidebar-nav-container .nested-nav .fa-angle-down {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.settings-section .sidebar-nav-container .nested-nav .active {
  transform: rotate(180deg);
}
.edit-profile-section .settings-sidebar .sidebar-nav-container .nsn-2 ul li {
  background-color: #9bf7ea;
  a {
    color: #000;
  }
}
.theme-section .settings-sidebar .sidebar-nav-container .nsn-1 ul li {
  background-color: #9bf7ea;
  a {
    color: #000;
  }
}
.auth-section
  .settings-sidebar
  .sidebar-nav-container
  .nsn-3
  ul
  li:first-of-type {
  background-color: #9bf7ea;
  a {
    color: #000;
  }
}
.password-management-section
  .settings-sidebar
  .sidebar-nav-container
  .nsn-3
  ul
  li:last-of-type {
  background-color: #9bf7ea;
  a {
    color: #000;
  }
}

.settings-sidebar .sidebar-nav-container .close-nested-nav {
  height: 40px;
}
.settings-sidebar .sidebar-nav-container .open-nested-nav {
  height: 87px;
}
.settings-sidebar .sidebar-nav-container .open-nested-nav2 {
  height: 200px;
}
.settings-section .sidebar > ul:nth-of-type(2) li:first-of-type {
  background-color: #9bf7ea;
}
html.dark-theme
  .settings-section
  .sidebar
  > ul:nth-of-type(2)
  li:first-of-type {
  i {
    color: black;
  }
  a {
    color: black;
  }
}
.settings-section .sidebar > ul:nth-of-type(2) li:first-of-type::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 100%;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  top: 0;
  left: -13px;
  transition: all 0.3s ease;
  background-color: #9bf7ea;
}
.settings-section header form {
  opacity: 0;
}
.msg-error {
  border-left: 4px solid red;
  font-style: oblique;
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  padding: 15px 10px;
  font-size: 14px;
  background-color: rgb(255, 255, 255);
  color: rgb(255, 0, 0);
  position: fixed;
  z-index: 1000;
  top: 80px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.121);
  animation: slide 0.5s linear forwards;
}
.msg-success {
  font-style: oblique;
  border-left: 4px solid rgb(38, 255, 0);
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  padding: 15px 10px;
  font-size: 14px;
  color: green;
  position: fixed;
  z-index: 1000;
  top: 80px;
  background-color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  gap: 15px;
  animation: slide 0.5s linear forwards;
}
@keyframes slide {
  from {
    right: -700px;
  }
  to {
    right: 50px;
  }
}
html.dark-theme #default-settings {
  background-color: #28292a;
  color: white;
}
#default-settings {
  width: 100%;
  height: 100%;
  contain: content;
  background-color: #fff;
  place-content: center;
  overflow-y: auto;
  padding: 15px 10px 0px 0;
  border-top-right-radius: 5px;
  text-align: center;

  i {
    font-size: 40px;
    color: #9bf7eb9c;
  }
  p {
    width: 50%;
    margin: auto;
    text-align: center;
  }
}
html.dark-theme #themes-container {
  background-color: #28292a;

  h4 {
    color: white;
    border-bottom: 1px solid #404142;
  }
  .theme-options {
    color: white;
  }
  .theme-options #theme {
    border: 1px solid #4c4d4e;
    color: white;
  }
  .theme-options select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'><path d='M169.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 306.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.5rem;
  }
  .theme-options select option {
    background-color: #28292a;
    color: #ffffff;
  }
}
#themes-container {
  width: 100%;
  height: 100%;
  background-color: #fff;

  h4 {
    padding: 10px;
    border-bottom: 1px solid #f8f8f8;
  }
  h4 + p {
    padding: 10px;
    font-size: 13px;
    color: #7c7c7c;
  }
  .theme-options {
    display: flex;
    justify-content: space-between;
    padding: 20px;
  }
  .theme-options #theme {
    padding: 1px 30px 1px 10px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid rgb(198, 198, 198);
    border-radius: 5px;
    background-color: transparent;
  }
  .theme-options select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'><path d='M169.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 306.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.5rem;
  }
  .theme-options select option {
    background-color: #ffffff;
    color: #333;
  }
}
html.dark-theme #profile-container {
  background-color: #28292a;

  h4 {
    color: white;
    border-bottom: 2px solid #4c4d4e;
  }
  form .form-box2 div input {
    color: white;
    border: 1px solid #4c4d4e;
  }
  form .form-box2 div label {
    color: white;
  }
  form .form-box2 div textarea {
    color: white;
    border: 1px solid #4c4d4e;
  }
}
#profile-container {
  width: 100%;
  background-color: #fff;

  h4 {
    padding: 10px;
    border-bottom: 2px solid #f8f8f8;
  }

  form .form-box2 {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;

    div {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 5px;
    }
  }
  form .form-box2 div label {
    display: block;
    line-height: 1;
  }
  form .form-box2 div input,
  form .form-box2 div select {
    width: 100%;
    padding: 10px;
    display: block;
    border: 1px solid #ccc;
    background-color: transparent;
    border-radius: 5px;
    outline: none;
    position: relative;
    z-index: 10;
  }
  form .form-box2 div textarea {
    width: 100%;
    min-height: 100px;
    padding: 10px;
    display: block;
    border: 1px solid #ccc;
    background-color: transparent;
    border-radius: 5px;
    outline: none;
    position: relative;
    z-index: 10;
    resize: vertical;
  }
  form .form-button {
    display: flex;
    justify-content: right;
    align-items: center;
    margin-top: 20px;
    gap: 20px;

    a {
      color: #9bf7ea;
      text-decoration: none;
    }
  }
  form div button {
    background-color: #9bf7ea;
    color: #000000;
    padding: 7px 20px;
    margin: 2px 0;
    border: 1px solid transparent;
    cursor: pointer;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 500;
  }
}
html.dark-theme #auth-container {
  background-color: #28292a;

  h4 {
    border-bottom: 1px solid #4c4d4e;
  }
}
#auth-container {
  width: 100%;
  height: 100%;
  background-color: #fff;

  h4 {
    padding: 10px;
    border-bottom: 1px solid #f8f8f8;
  }
}
html.dark-theme #pass-container {
  background-color: #28292a;

  h4 {
    color: white;
    border-bottom: 1px solid #4c4d4e;
  }
}
#pass-container {
  width: 100%;
  height: 100%;
  background-color: #fff;

  h4 {
    padding: 10px;
    border-bottom: 1px solid #f8f8f8;
  }
  h4 + p {
    padding: 10px;
    font-size: 14px;
    color: #7c7c7c;
  }
  form {
    padding: 0 20px;
  }
}
html.dark-theme #pass-container form .form-box {
  input {
    border: 1px solid #4c4d4e;
    color: white;
  }
  label {
    color: white;
  }
}
html.dark-theme #pass-container form {
  button:disabled {
    background-color: #9bf7ea;
    color: rgb(0, 0, 0);
  }
  div .show-password {
    color: white;
  }
  .btnCon {
    button {
      background-color: #9bf7ea;
      color: black;
    }

    button:hover {
      background-color: #00c8ac;
      color: rgb(0, 0, 0);
    }
    button:disabled:hover {
      background-color: #9bf7ea;
      color: rgb(0, 0, 0);
    }
  }
  .form-box .pass-inc {
    font-size: 13px;
    color: white;
  }
}

#pass-container form .form-box {
  position: relative;
  z-index: 10;
  margin: 20px 0;
}
#pass-container form .form-box input {
  width: 100%;
  padding: 7px 33px 7px 10px;
  display: block;
  border: 1px solid #ccc;
  background-color: transparent;
  border-radius: 5px;
  outline: none;
  position: relative;
  z-index: 10;
}
#pass-container form .form-box label {
  color: #7c7c7c;
  pointer-events: none;
  transform: translateY(-100%);
  cursor: text;
  z-index: 10;
}

#pass-container form button:disabled {
  cursor: not-allowed;
  opacity: 0.9;
  background-color: #28454e;
  color: white;
}
#pass-container form div .show-password {
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 41px;
  z-index: 20;
}
#pass-container form .form-box .pass-inc {
  font-size: 13px;
}
#pass-container form .btnCon {
  width: 80%;
  margin: 10px auto;

  button {
    background-color: #28454e;
    color: white;
    padding: 7px;
    margin: 2px 0;
    border: 1px solid transparent;
    cursor: pointer;
    width: 100%;
    border-radius: 20px;
  }

  form button:hover {
    background-color: #00c8ac;
    color: rgb(0, 0, 0);
  }
  form button:disabled {
    cursor: not-allowed;
    opacity: 0.8;
    background-color: #28454e;
  }
  button:disabled:hover {
    background-color: #28454e;
    cursor: not-allowed;
    opacity: 0.7;
    color: rgb(255, 255, 255);
  }
}

#pass-container form div .new_password-err,
#pass-container form div .password-err,
#pass-container form div .confirm_password-err {
  font-size: 13px;
  color: red;

  i {
    color: red;
  }
}
#pass-container form div .is-invalid {
  border: 1px solid red;
}
#pass-container form div .is-valid {
  border: 1px solid green;
}
/* Spinner */
#pass-container .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid white;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}

#pass-container .hidden {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* --- End of Settings Styles --- */
html.dark-theme .profile-dropdown {
  background-color: #28292a;

  .profile-header {
    border-bottom: 1px solid #4c4d4e;
  }
  .profile-info-details {
    color: white;
  }
  .profile-links {
    color: white;

    ul li {
      i {
        color: white;
      }

      a {
        text-decoration: none;
        color: white;
        padding: 8px 0;
        transition: color 0.2s;
      }
    }
  }
  .profile-links-footer {
    border-top: 1px solid #4c4d4e;

    li i {
      color: white;
    }
    li a {
      color: white;
    }
  }
  .profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #9bf7ea;
    object-fit: cover;
  }
  .bio-name {
    margin-top: 10px;
    font-size: 25px;
    font-weight: bold;
  }

  .bio {
    color: #555;
    font-size: 14px;
  }

  /* Buttons */
  .profile-btn {
    border: 1px solid #9bf7ea;
    a {
      text-decoration: none;
      color: #9bf7ea;
    }
  }
}
.profile-dropdown {
  contain: content;
  position: fixed;
  display: none;
  background-color: #fff;
  border-radius: 10px;
  width: 350px;
  top: 75px;
  right: 10px;
  z-index: 700;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.profile-header {
  padding: 10px;
  border-bottom: 1px solid #e0e3eb;
}
.profile-info-details {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.profile-links {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  padding: 10px;

  ul {
    padding-left: 20px;

    li {
      display: flex;
      gap: 20px;
      align-items: center;

      a {
        text-decoration: none;
        color: #28454e;
        padding: 8px 0;
        transition: color 0.2s;
      }
    }
  }
}
.profile-links-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-top: 1px solid #e0e3eb;

  li {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
    padding-left: 10px;
  }
  li a {
    text-decoration: none;
    font-weight: 500;
    text-decoration: none;
    color: #28454e;
    padding: 8px 0;
    transition: color 0.2s;
  }
}
.profile-pic {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 5px solid #9bf7ea;
  object-fit: cover;
  background: #e9ecef;
}
.bio-name {
  margin-top: 10px;
  font-size: 25px;
  font-weight: bold;

  span {
    overflow: hidden;
    display: -webkit-box;
    box-orient: vertical;
    -webkit-box-orient: vertical;
    line-clamp: 1;
    -webkit-line-clamp: 1;
  }
}

.bio {
  color: #555;
  font-size: 14px;
}

/* Buttons */
.profile-btn {
  display: block;
  margin-top: 20px;
  padding: 6px 15px;
  border: 1px solid #84e6d7;
  background-color: transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  width: 100%;
  color: #84e6d7;
  text-align: center;
}
.search-wrapper {
  display: flex;
  gap: 10px;

  .nrf {
    font-size: 40px;
    position: absolute;
    top: 60px;
    width: 100%;
    text-align: center;
    display: block;
  }
}
html.dark-theme .search-wrapper {
  .nrf {
    color: rgb(255, 255, 255);
  }
}
html.dark-theme .search-sidebar {
  background-color: #28292a;
  ul li a {
    color: white;
  }
  h4 {
    color: white;
    border-color: #4c4d4e;
  }
}
.search-sidebar {
  padding-bottom: 10px;
  position: sticky;
  contain: content;
  margin-top: 30px;
  margin-left: 20px;
  background-color: #fff;
  width: 30%;
  height: 100%;
  overflow-y: auto;
  border-radius: 5px;
  top: 80px;
  left: 75px;

  ul li {
    padding: 4px 10px;
    cursor: pointer;
    margin-left: 20px;
    position: relative;
    margin-bottom: 2px;
    list-style-type: none;

    a {
      text-decoration: none;
      color: black;
      text-decoration: none;
      display: flex;
      gap: 15px;
      align-items: center;
    }
  }
  h4 {
    padding: 10px;
    border-bottom: 1px solid #f8f8f8;
    margin-bottom: 10px;
  }
}
/* Profile Page Styles */
/* Profile Card Styles */
html.dark-theme .profile-card {
  background-color: #28292a;
}
.profile-card {
  background: #fff;
  border-radius: 5px;
  padding: 40px 20px;
  width: 95%;
  margin: 40px auto 0;
}
.edit-profile-card {
  padding: 20px;
  margin: 0 auto;
}
html.dark-theme .profile-avatar .avatar-form label img {
  box-shadow: 0 2px 8px rgba(254, 254, 254, 0.1);
}
.profile-avatar .avatar-form label img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #9bf7ea;
  background: #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.profile-avatar .avatar-cover {
  width: 100%;
  height: 350px;
}
.profile-avatar .avatar-cover label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  border: 3px solid #9bf7ea;
  background: #e9ecef;
}

.avatar-form {
  position: relative;
  height: 120px;
}
.avatar-uploadCover {
  border-radius: 50%;
  cursor: pointer;
  border: none;
  position: relative;

  i {
    position: absolute;
    padding: 10px;
    color: #ffffff;
    font-size: 18px;
    z-index: 1;
    background: rgb(166, 166, 166);
    border-radius: 50%;
    right: 15px;
    bottom: 15px;
  }
}
.avatar-upload {
  border-radius: 50%;
  cursor: pointer;
  border: none;
  position: relative;
  top: -100px;
  left: 40px;

  i {
    position: absolute;
    padding: 10px;
    color: #ffffff;
    font-size: 18px;
    z-index: 1;
    background: rgb(166, 166, 166);
    border-radius: 50%;
    right: 15px;
    bottom: 15px;
  }
}
html.dark-theme .profile-about-section {
  background-color: #28292a;
  border: 1px solid #4c4d4e;
  contain: content;

  h3 {
    background: #28292a;
    color: white;
    border-bottom: 1px solid #4c4d4e;
  }
  p {
    color: white;

    i {
      background-color: #4c4d4e;
    }
  }
}
.profile-about-section {
  width: 95%;
  margin: 20px auto;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: white;
}

.profile-about-section h3 {
  margin-top: 0;
  font-size: 18px;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  background-color: #f9f9f9;
}
.profile-about-section p {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 10px 10px 15px;

  i {
    color: #84e6d7;
    font-size: 20px;
    background-color: #f0f0f0;
    width: 40px;
    height: 40px;
    text-align: center;
    place-content: center;
    border-radius: 50%;
  }
}
html.dark-theme .profile-info {
  h2 {
    color: white;
  }
  span {
    color: white;
  }
}
.profile-info-2 {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.profile-info h2 span {
  width: 180px;
  border: 1px solid #ccc;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 8px;
  margin-right: 10px;
  color: #222;
  display: inline-block;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 1;
  -webkit-line-clamp: 1;
}
.profile-info > span {
  background-color: transparent;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid #ccc;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-left: 10px;

  small {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 50%;
    background-color: green;
  }
}

.profile-email {
  color: #666;
  font-size: 1rem;
  margin-bottom: 18px;
}

.edit-btn {
  background: #84e6d7;
  color: #fff;
  border: none;
  padding: 5px 15px;
  border-radius: 6px;
  /* font-size: 1rem; */
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.edit-btn a {
  text-decoration: none;
  color: #000;
}
.edit-btn:hover {
  background: #9bf7ea;
}
html.dark-theme .profile-post {
  background-color: #28292a;

  h2 {
    color: white;
    border-bottom: 1px solid #cccccc3c;
  }
  .p2p-table th {
    background-color: #28292a;
    color: white;
  }
  .p2p-table td {
    color: white;
  }
}
.profile-post {
  width: 95%;
  margin: 30px auto;
  background-color: #fff;
  border-radius: 5px;
  contain: content;

  h2 {
    padding: 10px;
    /* margin-bottom: 10px; */
    border-bottom: 1px solid #cccccc3c;
  }

  .p2p-table {
    border-radius: 0px;
    background: transparent;
  }
  .p2p-table th {
    background-color: #fff;
  }
  .p2p-table td p {
    width: 300px;
    overflow: hidden;
    display: -webkit-box;
    box-orient: vertical;
    -webkit-box-orient: vertical;
    line-clamp: 1;
    -webkit-line-clamp: 1;
  }
}
html.dark-theme .cart-slide-show {
  background-color: #28292a;
  color: white;
  p {
    color: #e3e3e3;
  }
}
.cart-slide-show {
  width: 95%;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 10px;

  p {
    color: #666;
    font-size: 0.9rem;
  }
}
.cart-hero-section {
  width: 95%;
  margin: 10px auto 0;
  border-radius: 5px;
  display: flex;
  gap: 30px;
  min-height: 90vh;
}

html.dark-theme .cart-table-wrapper {
  background-color: #28292a;

  .cart-title {
    color: white;
    border-bottom: 1px solid #4c4d4e;
  }
  .emtpy-cart {
    color: #ccc;
  }
  .cart-body {
    border-top: 1px solid #4c4d4e;
    color: white;
  }
  .discount-percent {
    background-color: #e0f9f67d;
  }
  .remove-btn:hover {
    background: #e0f9f67d;
  }
  .qty-btn {
    box-shadow: 0px 5px 10px 1px #5d5d5d2a;
  }

  .qty-input {
    color: white;
  }
  .normal-price {
    color: #fff;
  }
}
.cart-table-wrapper {
  background-color: #fff;
  border-radius: 6px;
  width: 100%;
  height: 100%;
}
.cart-title {
  font-size: 25px;
  font-weight: 600;
  color: #2d2e32;
  padding: 0 10px 3px;
  letter-spacing: 1px;
  border-bottom: 1px solid #ececec;
}
.emtpy-cart {
  text-align: center;
  color: #757575;
}
.cart-table {
  width: 100%;
  padding: 10px;
}

.cart-body:first-of-type {
  border-top: none !important;
  padding-top: 0px;
}

.cart-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  padding: 15px 0;
  margin-top: 10px;
}

.cart-product {
  display: flex;
  gap: 15px;
  align-items: center;
  width: 70%;
}

.cart-product-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
}

.cart-product-info {
  display: flex;
  flex-direction: column;

  p {
    overflow: hidden;
    display: -webkit-box;
    box-orient: vertical;
    -webkit-box-orient: vertical;
    line-clamp: 1;
    -webkit-line-clamp: 1;
  }
  small {
    color: #ccc;
    font-size: 12px;
    margin-top: 20px;
  }
}

.cart-product-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
}

.discounted-price {
  font-weight: bold;
  display: block;
  font-size: 18px;
  text-align: right;
}

.original-price {
  text-align: right;
  text-decoration: line-through;
  color: #888;
  font-size: 14px;
}

.normal-price {
  text-align: right;
  font-weight: bold;
  font-size: 18px;
  color: #2d2e32;
}

.discount-percent {
  color: #84e6d7;
  padding: 4px;
  place-content: center;
  border-radius: 3px;
  font-size: 13px;
  font-weight: bold;
  background-color: #e0f9f6fb;
}

.cart-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.remove-btn {
  border: none;
  background: none;
  color: #93f8eb;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: center;
}
.remove-btn:hover {
  background: #e0f9f6fb;
}

.quantity-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.qty-btn {
  background: #9bf7ea;
  border: none;
  border-radius: 5px;
  width: 30px;
  height: 30px;
  font-size: 1rem;
  place-content: center;
  color: #3a3a4d;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0px 5px 10px 1px #cccccc56;
}
.qty-btn:hover {
  background: #93f8eb;
}
.qty-input {
  width: 40px;
  text-align: center;
  border: none;
  background-color: transparent;
  border-radius: 5px;
  font-size: 1rem;
  padding: 3px 0;
  outline: none;
  pointer-events: none;
}

html.dark-theme .summary-details {
  background-color: #28292a;
  color: white;

  h2 {
    border-color: #4c4d4e;
  }
}
.summary-details {
  background: #ffffff;
  border-radius: 5px;
  width: 320px;
  position: sticky;
  top: 80px;
}
.summary-details h2 {
  font-size: 20px;
  padding: 6px 9px;
  font-weight: 600;
  margin-bottom: 18px;
  border-bottom: 1px solid #ececec;
}
.summary-row-wrap {
  padding: 0px 15px 15px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 1.08rem;
}
.summary-row.total {
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 12px;
}
.checkout-btn {
  width: 100%;
  display: block;
  margin-top: 10px;
  background: #9bf7ea;
  border: none;
  text-align: center;
  border-radius: 8px;
  padding: 10px 0;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(60, 60, 120, 0.1);
  text-decoration: none;
  color: black;
}
.checkout-btn:hover {
  background: #84e6d7;
  box-shadow: 0 4px 16px rgba(60, 60, 120, 0.16);
}

.top-nav-left {
  display: flex;
  gap: 20px;
}

.top-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #666;
  font-size: 18px;

  span {
    font-weight: 500;
    font-size: 13px;
    display: block;
    line-height: 1.2;
    width: 60%;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

html.dark-theme .page-title {
  color: #ffffff;
}
.page-title {
  font-size: 19px;
  font-weight: 500;
}

.order-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.left-column {
  flex: 2;
  width: 100%;
}

.right-column {
  flex: 1;
  width: 300px;
}

html.dark-theme .section{
  color: white;
  background-color: #28292a;
}
.section {
  background-color: #fff;
  border-radius: 8px;
  padding: 10px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

html.dark-theme .section-title{
  color: white;
  border-bottom: 1px solid #4c4d4e;
}
.section-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
  /* padding-bottom: 10px; */
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
}


.address-details,
.delivery-details {
  line-height: 1.8;
}
.address-details p + p {
  font-size: 13px;
}
.name {
  font-weight: 400;
  font-size: 16px;
}


.action-button {
  color: #9bf7ea;
  text-decoration: none;
  font-size: 14px;
}
html.dark-theme .order-summary{
  background-color: #28292a;
  color: white;
}

.order-summary {
  background-color: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 80px;
}

html.dark-theme .summary-item{
  border-bottom: 1px solid #4c4d4e;
}
.summary-item {
  display: flex;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 18px;
}

.confirm-btn {
  background-color: #9bf7ea;
  border: none;
  display: block;
  color: black;
  text-decoration: none;
  text-align: center;
  padding: 10px;
  border-radius: 4px;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}
.confirm-btn:disabled {
  background-color: #ccc;
  color: white;
}
html.dark-theme .terms{
  color: #ccc;
}
.terms {
  margin-top: 15px;
  font-size: 12px;
  color: #666;
  position: sticky;
  top: 340px;
  text-align: center;
}
