.template-customizer-misc {
  display: none !important;
}

.error-input {
  border: 1px solid #ea5455 !important;
}
.swal2-container {
  z-index: 1800;
}

.two-line {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.one-line {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

/* NEW */

.responsive-img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-top {
  object-fit: cover;
  height: 202px;
}

.photo-profile {
  justify-content: center;
  display: flex;
  margin-top: -2rem;
}

.img-object-fit {
  object-fit: cover;
}
.mt--5-rem {
  margin-top: -5rem;
}

.mt-2-5-rem {
  margin-top: -2.5rem;
}

.mt-1-rem {
  margin-top: -1rem;
}

.p-0-7 {
  padding: 0.7rem !important;
}

.pb-15 {
  padding-bottom: 15rem;
}

.py-6 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.mt-0-6 {
  margin-top: 0.6rem;
}

.mr-0-5 {
  margin-right: 0.5rem;
}

/* Modal Overlay (Background) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: flex-end; /* Align modal to the bottom */
  z-index: 9999;
}

/* Modal Content */
.modal-bottom {
  width: 100%;
  max-width: 375px;
  background: #fff;
  border-radius: 15px 15px 0 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  animation: slideUp 0.3s forwards;
  display: flex;
  flex-direction: column;
}

.modal-bottom.small {
  height: 30vh; /* Adjust height as needed */
}

.modal-bottom.medium {
  height: 70vh; /* Adjust height as needed */
}

.modal-bottom.full {
  height: 85vh; /* Adjust height as needed */
}

@media (max-width: 768px) {
  .modal-bottom {
    max-width: 100%;
  }
}

/* Modal Body (Scrollable) */
.modal-body {
  padding: 20px !important;
  overflow-y: auto;
  flex: 1; /* Makes the body take available space */
}
/* Animation for Sliding Up */
@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Back Button Style */

.wrapper {
  position: fixed;
  top: 0;
  left: calc(50% - 187px);
  width: 375px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  z-index: 1000;
}

.back-button,
.cart-shop-button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
}

.search-container {
  flex: 1;
  margin: 0 10px;
  display: flex;
  align-items: center;
  position: relative;
}

.search-bar {
  width: 100%;
  height: 40px;
  padding: 0 10px;
  border-radius: 20px;
  outline: none;
}

.header-button-top {
  position: fixed;
  top: 20px;
  z-index: 1000;
}
.bar-total-bottom {
  width: 375px;
  position: fixed;
  bottom: 0px;
  z-index: 1000;
}
.head-category-bar {
  height: 3rem;
  top: 68px;
  left: calc(50% - 187px);
  background-color: #fff;
  width: 375px;
}
div:where(.swal2-container).swal2-center > .swal2-popup {
  margin-left: -1rem;
}
div:where(.swal2-container) div:where(.swal2-popup) {
  width: 21em !important;
}

.image-container {
  position: relative;
  width: 375px;
  height: 100%;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shadow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  z-index: unset;
}
/* .error-page {
  width: "375px";
} */
@media (max-width: 768px) {
  /* .error-page {
    width: "100%";
  } */
  .image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }
  .bar-total-bottom {
    width: 100%;
  }

  .head-category-bar {
    width: 100%;
    left: 0;
  }
  div:where(.swal2-container).swal2-center > .swal2-popup {
    margin-left: unset;
  }
}

.bg-card {
  background-color: #fff !important;
}

.divider-vertical {
  width: 2px;
  height: 40px;
  background-color: #ddd;
}

.divider-horizontal {
  width: 25px;
  height: 2px;
  background-color: #ddd;
}

.divider-vertical-dark {
  width: 2.5px;
  height: 14px;
  background-color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
}

/* scroll */

div.scrollmenu {
  overflow: auto;
  white-space: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

div.scrollmenu a {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 14px;
  text-decoration: none;
}

div.scrollmenu a:hover {
  background-color: #777;
}

/* Tab Container */
.tab-container {
  display: flex;
  gap: 0.2rem;
  overflow-x: auto; /* Enable horizontal scrolling */
  padding-bottom: 10px;
  white-space: nowrap;
  /* overflow: scroll;  */
  scrollbar-width: none;
}

/* Tab Styling */
.tab {
  font-size: 14px;
  color: #aaa;
  cursor: pointer;
  position: relative;
  padding-bottom: 5px;
  flex-shrink: 0; /* Prevent tabs from shrinking */
  background-color: transparent !important;
}

/* Active Tab Styling */
.tab.active {
  color: #3a324a;
  font-weight: bold;
}

/* Underline for Active Tab */
.tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #3a324a;
  border-radius: 2px;
}

.tab button.active {
  font-weight: bold;
  background-color: transparent !important;
}

.tab button.active:hover {
  color: #4b4b4b !important;
  background-color: transparent !important;
  border-color: #4b4b4b !important;
}

/* Scrollbar Styling (optional) */
.tab-container::-webkit-scrollbar {
  display: none !important;
}

.overflow-y-auto {
  overflow-y: auto;
}

.jc-beetween {
  justify-content: space-between !important;
}

button.jc-beetween.active {
  transform: unset !important;
  border: 1px #000 solid !important;
  color: #000 !important;
}

.badge-cart {
  transform: translate(-68%, -25%) !important;
  font-size: 10px !important;
}

.shadow-bottom {
  box-shadow: 0 0.25rem 0.25rem rgba(165, 163, 174, 0.3) !important;
}

.dashed-line {
  border-bottom: 1px dashed #ddd;
}

.h-100vh {
  height: 100vh !important;
}

.border-bottom-space {
  border-bottom: 5px solid #ededed !important;
}

.lh-2 {
  line-height: 2rem;
}

.line-spacing-2 {
  letter-spacing: 2px;
}

.wh-auto {
  width: auto !important;
  height: auto !important;
}

.grayscale {
  filter: grayscale(100%);
}

.text-transparent {
  color: red !important;
}
