@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  padding: 0;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
  list-style-type: none;
}

:root {
  --color-primary: #744f00;
  --color-danger: #ff7782;
  --color-success: #41f1b6;
  --color-warning: #ffbb55;
  --color-white: #fff;
  --color-info-dark: #7d8da1;
  --color-info-light: #dce1eb;
  --color-dark: #363949;
  --color-light: rgba(132, 139, 200, 0.18);
  --color-primary-variant: #111e88;
  --color-dark-variant: #677483;
  --color-background: #f6f6f9;

  --card-border-radius: 2rem;
  --border-radius-1: 0.4rem;
  --border-radius-2: 0.8rem;
  --border-radius-3: 1.2rem;

  --card-padding: 1.8rem;
  --padding-1: 1.2rem;

  --box-shadow: 0 2rem 3rem var(--color-light);
}

.dark-theme-variables {
  --color-background: #181a1e;
  --color-white: #202528;
  --color-dark: #edeffd;
  --color-dark-variant: #a3bdcc;
  --color-light: rgba(0, 0, 0, 0.4);
  --box-shadow: 0 2rem 3rem var(--color-light);
}

.btn-danger {
  background-color: var(--color-danger);
  color: #fff;
}

body {
  background: var(--color-background);
  font-size: 0.88rem;
  color: var(--color-dark);
}

html {
  /* user-select: none; */
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

.modal {
  content: "";
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: -100%;
  background-color: rgba(0, 0, 0, 0.2);
  box-shadow: var(--box-shadow);
  animation: modalBox 300ms ease forwards;
}

.modal-box {
  background: var(--color-white);
  border-radius: 20px;
}

.modal-box .modal-header {
  padding: 20px;
  border-bottom: 2px solid;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-box .modal-body {
  padding: 20px;
}

.wrapper {
  width: 100%;
  height: 100vh;
}

.wrapper-gradient {
  background: linear-gradient(90deg, #e2e2e2, #744f00);
}

.wrapper-centered {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  position: relative;
  width: 850px;
  height: 550px;
  background: #fff;
  margin: 20px;
  border-radius: 30px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.container h1 {
  font-size: 36px;
  margin: -10px 0;
}

.container p {
  font-size: 14.5px;
  margin: 15px 0;
}

form {
  width: 100%;
}

.box {
  position: absolute;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: #fff;
  display: flex;
  align-items: center;
  color: #333;
  padding: 40px;
  z-index: 1;
  transition:
    0.6s ease-in-out 1.2s,
    visibility 0s 1s;
  text-align: center;
}

.container.active .box {
  right: 50%;
}

.box.form-register {
  visibility: hidden;
}

.container.active .box.form-register {
  visibility: visible;
}

.form-group {
  position: relative;
  margin: 30px 0;
}

.form-group .form-control {
  width: 100%;
  padding: 13px 50px 13px 20px;
  background-color: #eee;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.form-group .form-control::placeholder {
  color: #888;
  font-weight: 400;
}

.form-group i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

.forget-password {
  margin: -15px 0 15px;
}

.bg-danger {
  background-color: rgb(166, 0, 0);
  border: 2px solid rgb(118, 0, 0);
}

.bg-success {
  background-color: rgb(24, 141, 0);
  border: 2px solid rgb(0, 95, 5);
}

.forget-password a {
  font-size: 14.5px;
  color: #333;
}

.btn {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-success {
  background-color: rgb(19, 126, 0);
}

.toggle-box {
  position: absolute;
  width: 100%;
  height: 100%;
}

.toggle-box::before {
  content: "";
  position: absolute;
  left: -250%;
  width: 300%;
  height: 100%;
  background: var(--color-primary);
  border-radius: 150px;
  z-index: 2;
  transition: 1.8s ease-in-out;
}

.container.active .toggle-box::before {
  left: 50%;
}

.toggle-panel {
  position: absolute;
  width: 50%;
  height: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transform: 0.6s ease-in-out;
}

.toggle-panel p {
  color: #fff;
}

.toggle-panel.toggle-left {
  left: 0;
  transition-delay: 1.2s;
}

.container.active .toggle-panel.toggle-left {
  left: -50%;
  transition-delay: 0.6s;
}

.toggle-panel.toggle-right {
  right: -50%;
  transition-delay: 0.6s;
}

.container.active .toggle-panel.toggle-right {
  right: 0;
  transition-delay: 1.2s;
}

.toggle-panel p {
  margin-bottom: 20px;
}

.toggle-panel .btn {
  width: 160px;
  height: 46px;
  background: transparent;
  border: 2px solid #fff;
  box-shadow: none;
  color: #fff;
}

.toggle-panel img {
  width: 100px;
}

.toggle-panel h1 {
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
}

.social-icons a {
  display: inline-flex;
  padding: 10px;
  border: 2px solid #ccc;
  font-size: 24px;
  color: #333;
  margin: 0 8px;
}

.img-logo {
  display: block;
  width: 100%;
}

h1 {
  font-weight: 800;
  font-size: 1.8rem;
}

h2 {
  font-size: 1.4rem;
}

h3 {
  font-size: 0.87rem;
}

h4 {
  font-size: 0.8rem;
}

h5 {
  font-size: 0.77rem;
}

small {
  font-size: 0.75rem;
}

.profile-photo {
  width: 2.8rem;
  height: 2.6rem;
  border-radius: 50%;
  overflow: hidden;
}

.text-muted {
  color: var(--color-info-dark);
}

p {
  color: var(--color-dark-variant);
}

b {
  color: var(--color-dark);
}

.primary {
  color: var(--color-primary);
}

.success {
  color: var(--color-success);
}

.warning {
  color: var(--color-warning);
}

aside {
  height: 100vh;
}

aside .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.4rem;
}

aside .logo {
  display: flex;
  gap: 0.8rem;
}

aside .close {
  display: none;
}

aside .logo img {
  width: 2rem;
  height: 2rem;
}

aside .sidebar {
  display: flex;
  flex-direction: column;
  height: 86vh;
  position: relative;
  top: 3rem;
}

aside h3 {
  font-weight: 500;
}

aside .sidebar a {
  display: flex;
  color: var(--color-info-dark);
  margin-left: 2rem;
  gap: 1rem;
  align-items: center;
  position: relative;
  height: 3.7rem;
  transition: all 300ms ease;
}

aside .sidebar a i {
  font-size: 1.6rem;
  transition: all 300ms ease;
}

aside .sidebar a:last-child {
  position: absolute;
  bottom: 2rem;
}

aside .sidebar a.active {
  background-color: var(--color-light);
  color: var(--color-primary);
  margin-left: 0;
}

aside .sidebar a.active:before {
  content: "";
  width: 6px;
  height: 100%;
  background-color: var(--color-primary);
}

aside .sidebar a.active i {
  color: var(--color-primary);
  margin-left: calc(1rem - 6px);
}

aside .sidebar a:hover {
  color: var(--color-primary);
}

aside .sidebar a:hover i {
  margin-left: 1rem;
}

.container-fluid {
  display: grid;
  width: 96%;
  margin: 0 auto;
  gap: 1.8rem;
  grid-template-columns: 14rem auto 23rem;
}

aside .sidebar .message-count {
  background: var(--color-danger);
  color: var(--color-white);
  padding: 2px 10px;
  font-size: 11px;
  border-radius: var(--border-radius-1);
}

main {
  margin-top: 1.4rem;
}

main .date {
  display: inline-block;
  background: var(--color-light);
  border-radius: var(--border-radius-1);
  margin-top: 1rem;
  padding: 0.5rem 1.6rem;
}

main .date input[type="date"] {
  background: transparent;
  color: var(--color-dark);
  border: none;
}

main .insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

main .insights > div {
  background: var(--color-white);
  padding: var(--card-padding);
  border-radius: var(--card-border-radius);
  margin-top: 1rem;
  box-shadow: var(--box-shadow);
  transition: all 300ms ease;
}

main .insights > div:hover {
  box-shadow: none;
}

main .insights > div i {
  background: var(--color-primary);
  padding: 0.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

main .insights > div.expenses i {
  background: var(--color-danger);
}

main .insights > div.income i {
  background: var(--color-success);
}

main .insights > div .middle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

main .insights h3 {
  margin: 1rem 0 0.6rem;
  font-size: 1rem;
}

main .insights .progress {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin-left: 20px;
}

main .insights svg {
  width: 7rem;
  height: 7rem;
}

main .insights svg circle {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 14;
  stroke-linecap: round;
  transform: translate(5px, 5px);
  stroke-dasharray: 110;
  stroke-dashoffset: 92;
}

main .insights .sales svg circle {
  stroke-dashoffset: -30;
  stroke-dasharray: 200;
}

main .insights .expenses svg circle {
  stroke-dashoffset: 20;
  stroke-dasharray: 80;
}

main .insights .income svg circle {
  stroke-dashoffset: 35;
  stroke-dasharray: 110;
}

main .insights .progress .number {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

main .insights small {
  margin-top: 1.3rem;
  display: block;
}

main .recent-orders .table-recent-orders {
  margin-top: 2rem;
  background-color: var(--color-white);
  box-shadow: var(--box-shadow);
  padding: 20px;
  border-radius: var(--card-border-radius);
}

main .recent-orders h2 {
  margin-bottom: 0.8rem;
}

main .recent-orders table {
  width: 100%;
  text-align: center;
  box-shadow: var(--box-shadow);
  transform: all 300ms ease;
}

main .recent-orders a {
  text-align: center;
  display: block;
  margin: 1rem auto;
  color: var(--color-primary);
}

.right {
  margin-top: 1.4rem;
  width: 80%;
}

.right .top {
  display: flex;
  justify-content: end;
  gap: 2rem;
}

.right .top button {
  display: none;
}

.right .theme-toggler {
  background: var(--color-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 1.6rem;
  width: 4.2rem;
  cursor: pointer;
  border-radius: var(--border-radius-1);
}

.right .theme-toggler i {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.right .theme-toggler i.active {
  background: var(--color-primary);
  color: white;
  border-radius: var(--border-radius-1);
}

/* Customer */

.navbar-footer .theme-toggler {
  background: var(--color-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 1.6rem;
  width: 4.2rem;
  cursor: pointer;
  border-radius: var(--border-radius-1);
}

.navbar-footer .theme-toggler i {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-footer .theme-toggler i.active {
  background: var(--color-primary);
  color: white;
  border-radius: var(--border-radius-1);
}

.right .top .profile {
  display: flex;
  gap: 2rem;
  text-align: right;
}

.right .recent-updates {
  margin-top: 1rem;
}

.right .recent-updates h2 {
  margin-bottom: 0.8rem;
}

.right .recent-updates .updates {
  background: var(--color-white);
  padding: var(--card-padding);
  border-radius: var(--card-border-radius);
  box-shadow: var(--box-shadow);
  transition: all 300ms ease;
}

.right .recent-updates .updates:hover {
  box-shadow: none;
}

.right .updates .update .message {
  display: flex;
  flex-direction: column;
}

.danger {
  color: var(--color-danger);
}

table,
th,
td {
  border: 1px solid;
  border-collapse: collapse;
  padding: 10px 10px;
}

table tbody td:last-child {
  display: flex;
  gap: 5px;
  border: 0;
}

.right .sales-analytics {
  margin-top: 2rem;
}

.right .sales-analytics h2 {
  margin-bottom: 0.8rem;
}

.right .sales-analytics .item {
  background: var(--color-white);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.7rem;
  padding: 1.4rem var(--card-padding);
  border-radius: var(--border-radius-3);
  box-shadow: var(--box-shadow);
  transition: all 300ms ease;
}

.right .sales-analytics .item:hover {
  box-shadow: none;
}

.right .sales-analytics .item .right {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin: 0;
  width: 100%;
}

.right .sales-analytics .item .icon {
  padding: 0.6rem;
  color: var(--color-white);
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
}

.right .sales-analytics .item.offline .icon {
  background: var(--color-danger);
}

.right .sales-analytics .item.customers .icon {
  background: var(--color-success);
}

.right .sales-analytics .add-product {
  background: transparent;
  border: 2px dashed var(--color-primary);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.right .sales-analytics .add-product div {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.right .sales-analytics .add-product div h3 {
  font-weight: 600;
}

.boxMessage {
  padding: 20px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  background-color: #ddd;
}

/* Customer Style */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-white);
  box-shadow: var(--box-shadow);
  border-radius: 20px;
  padding: 15px 20px;
}

.navbar .navbar-footer {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar-footer .customer-mode {
  background-color: var(--color-dark);
  display: flex;
  gap: 10px;
  border-radius: 5px;
  padding: 10px;
}

.navbar-rounded {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.navbar .navbar-nav {
  display: flex;
  font-size: 16px;
}

.navbar .navbar-nav .list-nav {
  display: flex;
  gap: 20px;
  font-weight: 700;
}

.navbar-rounded {
  padding: 20px;
}

.wrapper-mode {
  background-color: var(--color-background);
}

.navbar .navbar-logo {
  display: flex;
}

.navbar .navbar-logo img {
  width: 50px;
}

.navbar .navbar-footer img {
  width: 50px;
  border-radius: 50%;
}

.netizen-review {
  margin-top: 20px;
}

.netizen-review .list-reviewer {
  display: flex;
  margin-top: 20px;
  gap: 20px;
}

.list-reviewer .reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-white);
  box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 20px;
}

.reviewer .member-profile {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5px;
}

.reviewer .member-comment p {
  text-align: right;
  font-weight: 700;
}

.list-reviewer .reviewer .member-profile img {
  width: 50px;
  border-radius: 10px;
}

header {
  padding: 20px;
  margin-top: 10px;
  background-color: var(--color-white);
  box-shadow: var(--box-shadow);
  border-radius: 20px;
  font-weight: 700;
  overflow: hidden;
  display: flex;
  align-items: center; /* Tengah vertikal */
  justify-content: center;
  white-space: nowrap;
  position: relative;
}

header .category-list {
  width: max-content;
  display: flex;
  gap: 50px;
  will-change: transform;
}

.footer {
  position: fixed;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: var(--color-white);
  padding: 20px;
  box-shadow: 5px 10px 30px 10px #8888;
}

.footer .footer-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.footer .footer-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--color-dark);
}

.customer-dashboard {
  padding: 200px 100px;
}

.product-scroll .product-list {
  position: relative;
  display: flex;
  height: 25vw;
  width: 100% !important;
  overflow: hidden;
}

.product-scroll .product-list .box-product {
  animation: scrollInfinite 5s linear infinite;
  animation-delay: calc(5s / 5 * (5 - var(--i)) * -1);
  position: absolute;
  height: inherit;
  width: 18vw;
  left: 100%;
}

@keyframes scrollInfinite {
  to {
    left: -8vw;
  }
}

.recently-viewed .product-list {
  display: grid;
  grid-template-columns: repeat(10, auto);
  gap: 20px;
  width: max-content;
  margin-top: 20px;
}

.our-menu .product-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  width: max-content;
  margin-top: 20px;
}

.box-product {
  background-color: var(--color-white);
  width: 250px;
  position: relative;
  border-radius: 20px;
  box-shadow: var(--box-shadow);
  transition: 0.3s;
}

.box-product:hover {
  scale: 1.05;
}

.box-product .product-top {
  height: 50%;
}

.box-product .product-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 5px 10px 10px 0px #8888;
  user-select: none;
}

.box-product .product-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.box-product .product-button {
  position: absolute;
  right: 20px;
  width: 50px;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.box-product .product-button button {
  border-radius: 50%;
  transition: 0.3s;
}

.box-product .product-button button:hover {
  scale: 1.05;
}

.our-menu {
  margin-top: 20px;
}

.our-menu .form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 100%;
}

.our-menu .form-container .search-product {
  background-color: black;
  padding: 10px;
  border-radius: 30px;
  display: flex;
  align-items: center;
}

.form-container .search-product .submit {
  font-size: 20px;
  cursor: pointer;
  color: white;
  background: none;
  border: none;
}

.form-container .search-product .form-control {
  width: 0;
  font-size: 16px;
  border: none;
  background: transparent;
  outline: none;
  transition: 1s;
}

.actived {
  background: white;
}

.actived .submit {
  color: black;
  float: right;
}

.actived .form-control {
  width: 100%;
  padding: 0 20px;
  color: #fff;
}

::placeholder {
  color: rgba(0, 0, 0, 0.252);
}

.modal-product {
  content: "";
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: -100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  animation: showProduct 300ms ease-in forwards;
}

.modal-product .modal-box {
  width: 1000px;
  position: relative;
}

#view-order .modal-box .modal-body {
  position: relative;
}

.modal-product .modal-header #closeModalBox {
  cursor: pointer;
}

.modal-product .modal-box .product-category {
  display: grid;
  grid-template-columns: 50% 50%;
}

.modal-product .modal-box .checkout-btn {
  padding: 20px;
  display: block;
  border-top: 2px solid;
  background-color: var(--color-white);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.modal-box .product-category .product-img {
  object-fit: cover;
  width: 450px;
}

.modal-box .product-category .product-img img {
  width: 450px;
  border-radius: 20px;
  border: 5px solid var(--color-dark);
  border-style: dashed;
}

.modal-box .product-category .description-product {
  display: flex;
  flex-direction: column;
}

.product-category .description-product .product-price {
  margin-bottom: 10px;
  color: #744f00;
}

.product-category .description-product .product-star {
  margin-bottom: 10px;
}

.product-category .description-product .product-desc {
  font-size: 16px;
  font-weight: 700;
  word-break: break-all;
}

.product-category .description-product .product-checkout {
  display: flex;
  flex-direction: column;
}

.order-list .getProduct {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #eee;
  gap: 15px;
}

.order-list .getProduct .form-control {
  width: 100%;
  padding: 13px 50px 13px 20px;
  background-color: #eee;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.order-list .getProduct .img_product img {
  width: 80px;
  height: auto;
  display: block;
}

.getProduct .detail-product .nama-product,
.getProduct .price-product .total-price {
  margin: 0;
  font-size: 1rem;
}

.order-list .getProduct .detail-product {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-list .getProduct .price-product h3 {
  font-size: 20px;
}

.order-tab .modal-body .order-list {
  overflow-y: auto;
  height: 200px;
}

.open-modal-btn .total-branch {
  transform: translate(20px, -25px);
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: rgb(209, 0, 0);
  color: #ffff;
  position: absolute;
}

.getProduct .setQuantity {
  border: 1px solid;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  min-width: 100px;
  box-shadow: 0 5px 10px rgba(132, 139, 200, 0.18);
}

.getProduct .setQuantity span {
  width: 100%;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
}

.getProduct .setQuantity span.value {
  border-right: 2px solid rgba(0, 0, 0, 0.2);
  border-left: 2px solid rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.order-tab .modal-body .order-grant-total {
  position: sticky;
  z-index: 10;
  right: 0;
  left: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.remove-product {
  cursor: pointer;
}

.modal-body .customer-detail {
  position: absolute;
  bottom: 60px;
  right: 20px;
  left: 20px;
  background-color: #fff;
}

.customer-detail .payButton.disabled {
  background-color: #999;
  cursor: not-allowed;
}

.pagination,
.links {
  display: flex;
  align-items: center;
}

.pagination {
  border-radius: 12px;
  column-gap: 12px;
}

.pagination .button,
.pagination .pagination-link {
  height: 30px;
  width: 30px;
  font-size: 16px;
  border-radius: 6px;
}

.pagination .button:disabled {
  background-color: var(--color-background);
  color: #ddd;
  pointer-events: none;
}

.pagination .pagination-link {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f2f2f2;
  font-weight: 500;
  cursor: pointer;
}

.pagination .links {
  column-gap: 12px;
}

.button:hover,
.pagination-link:hover {
  background: var(--color-primary);
  color: #ffff;
}

.pagination-link.active {
  background: var(--color-primary);
  color: #fff;
}

.button i {
  pointer-events: none;
}

@media screen and (max-width: 1200px) {
  .container-fluid {
    width: 94%;
    grid-template-columns: 7rem auto 23rem;
  }

  .our-menu .product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: max-content;
    margin-top: 20px;
  }

  aside .logo h2 {
    display: none;
  }

  aside .sidebar h3 {
    display: none;
  }

  aside .sidebar a {
    width: 5.6rem;
  }

  aside .sidebar a:last-child {
    position: relative;
    margin-top: 1.8rem;
  }

  main .insights {
    grid-template-columns: 1fr;
    gap: 0;
  }

  main .recent-orders {
    position: absolute;
    width: 94%;
    left: 50%;
    transform: translateX(-50%);
    margin: 2rem 0 0 8.8rem;
  }
}

@keyframes modalBox {
  to {
    bottom: 0;
  }
}

@media screen and (max-width: 768px) {
  .container-fluid {
    width: 100%;
    grid-template-columns: 1fr;
  }
  aside {
    position: fixed;
    left: -100%;
    background: var(--color-white);
    width: 18rem;
    z-index: 3;
    box-shadow: 1rem 3rem 4rem var(--color-light);
    height: 100vh;
    padding-right: var(--card-padding);
    display: none;
    animation: showMenu 400ms ease forwards;
  }
  

  @keyframes showMenu {
    to {
      left: 0;
    }
  }

  aside .logo {
    margin-left: 1rem;
  }

  aside .logo h2 {
    display: inline;
  }

  aside .sidebar h3 {
    display: inline;
  }

  aside .sidebar a {
    width: 100%;
    height: 3.4rem;
  }

  aside .sidebar a:last-child {
    position: absolute;
    bottom: 5rem;
  }

  aside .close {
    display: inline-block;
    cursor: pointer;
    font-size: 16px;
  }

  main {
    margin-top: 8rem;
    padding: 0 1rem;
  }

  main .recent-orders {
    position: relative;
    margin: 3rem 0 0 0;
    width: 100%;
  }

  .right {
    width: 94%;
    margin: 0 auto 4rem;
  }

  .right .top {
    position: fixed;
    top: 0;
    left: 0;
    align-items: center;
    padding: 0 0.8rem;
    height: 4.6rem;
    background: var(--color-white);
    width: 100%;
    margin: 0;
    z-index: 2;
    box-shadow: 0 1rem 1rem var(--color-light);
  }

  .right .top .theme-toggler {
    width: 4.4rem;
    position: absolute;
    left: 66%;
  }

  .right .profile .info {
    display: none;
  }

  .right .top button {
    display: inline-block;
    background: transparent;
    cursor: pointer;
    border: none;
    color: var(--color-dark);
    position: absolute;
    left: 1rem;
  }

  .right .top button i {
    font-size: 2rem;
  }
  .our-menu .product-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    width: max-content;
    margin-top: 20px;
  }
  
  .wrapper .navbar-rounded {
    width: auto;
  }

  .wrapper .navbar-rounded .navbar .navbar-nav {
    display: none;
  }

  .netizen-review .list-reviewer {
    display: flex;
    flex-direction: column;
  }

  .product-scroll .product-list {
    height: 100vw;
    width: auto;
    display: flex;
  }

  .product-scroll .product-list .box-product {
    height: inherit;
    left: 350vw;
    width: 100%;
  }
}

@keyframes showProduct {
  to {
    bottom: 0;
  }
}

@keyframes spin {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.order-item {
  animation: fadeIn 0.5s ease-out;
}
