.text-primary {
  color: black !important;
}

.bg-primary {
  background-color: var(--color-primary) !important;
}

body {
  background-color: var(--color-background) !important;
  color: var(--color-dark-text);
  overflow-x: hidden !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.custom-header {
  background: var(--gradient-border-start);
  position: fixed;
  width: 100%;
  z-index: 999;
}

.custom-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 60px;
  height: 1px;
  background: white;
}

.top-navbar {
  padding: 10px 0;
}

.navbar-brand img,
.navbar-brand video {
  width: 42px;
}

.menu-navbar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
}

.menu-navbar ul {
  list-style: none;
}

.menu-navbar .nav-link {
  color: #fff;
  font-weight: 500;
  opacity: 0.8;
  text-decoration: none;
  transition: 0.3s;
}

.menu-navbar .nav-link:hover,
.menu-navbar .nav-link.active {
  opacity: 1;
}

.lang-modal {
    background: var(--color-secondary);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--color-primary);
}

.lang-card {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 14px;
    border-radius: 12px;

    background: var(--color-three);
    border: 1px solid var(--color-primary);

    color: white;
    font-weight: 500;
    cursor: pointer;

    transition: 0.2s;
}

.lang-card img {
    width: 22px;
}

.lang-card:hover {
    background: rgba(255,255,255,0.1);
}

.lang-card.active {
    background: var(--color-primary);
}

.country-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}


.menu-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0a0a5a;
    border-radius: 12px;
    padding: 18px;
    text-decoration: none;
    color: #fff;
    transition: 0.2s ease;
    text-align: center;
}

.menu-box i {
    font-size: 22px;
    color: #4da3ff;
}

.menu-box span {
    font-size: 13px;
}

.menu-box:hover {
    background: #11117a;
    transform: translateY(-2px);
}

.custom-container {
  padding-left: 15px;
  padding-right: 15px;
}

@media (max-width: 768px) {
  .custom-container {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 991.98px) {
  .custom-row {
    display: block;
  }

  .custom-row>div {
    width: 100% !important;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (min-width: 992px) {
  .custom-row {
    display: flex;
    flex-wrap: wrap;
  }
}

.nav-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-login {
  background: var(--color-secondary) !important;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  max-width: 180px;
}

.user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border);
  padding: 6px 10px;
  border-radius: 12px;
  color: white;
}

.user-btn img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.custom-dropdown {
  background: #0f172a;
  border-radius: 12px;
}

.menu-navbar {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 0;
}

.menu-navbar ul li {
  position: relative;
}

.menu-navbar .nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 500;
  opacity: 0.85;
  text-decoration: none;
  padding: 6px 4px;
  transition: 0.25s;
}

.menu-navbar .nav-link:hover {
  opacity: 1;
}

.menu-navbar .nav-link.active {
  opacity: 1;
  font-weight: 700;
}

.menu-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

.promo-card {
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;

  padding: 15px;
  border-radius: 10px;
  overflow: hidden;

  background: #0a0f5c;
  background-image: url('https://i.pinimg.com/736x/a2/b1/85/a2b18564425f2cd3465747a398d742f2.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 92, 0.40);
  z-index: 1;
}

.promo-content {
  margin-top: auto;
  position: relative;
  z-index: 2;
  color: #fff;

  display: flex;
  flex-direction: column;
}

@media (max-width: 991px) {
  .menu-navbar {
    display: none !important;
  }
}

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55px;
  background: var(--color-primary);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 15px 15px 0px 0px;
  padding: 0 10px;
  z-index: 1050;
}

.nav-link.mobile {
  flex: 1;
  text-align: center;
  color: #fff;
  font-size: 0.7rem;
}

.nav-link.mobile.active {
  color: var(--color-secondary);
}


.nav-spacer {
  flex: 1;
}

.center-btn {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 55px;
  height: 55px;
  background: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  font-size: 30px;
}

a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}


.swiper-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: hidden !important;
}

.dataTables_filter {
  margin-bottom: 15px;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .swiper-slide img {
    border-radius: 0;
  }
}

.promo-banner {
  padding: 2rem 0rem;
}

.promo-banner .container {
  background-color: var(--color-secondary) !important;
  border: 2px solid var(--color-dark-text);
  border-radius: 20px;
  padding: 1rem;
  max-width: 100%;
}

.promo-banner h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.promo-banner .sub-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 0.3rem;
}

.flashsale {
  background-color: rgb(233, 70, 70);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 15px;
}


.custom-container-badge {
  --tw-bg-opacity: 1;
  background-color: var(--color-secondary) !important;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMTkyMCAxMDAwIj48c3R5bGUgdHlwZT0idGV4dC9jc3MiPnBhdGh7b3BhY2l0eTouMTtjbGlwLXBhdGg6dXJsKCNjbGlwUGF0aCk7ZmlsbDp1cmwoI2xpbmVhckdyYWRpZW50KTt9PC9zdHlsZT48Y2xpcFBhdGggaWQ9ImNsaXBQYXRoIj48cmVjdCB3aWR0aD0iMTkyMCIgaGVpZ2h0PSIxMDAwIi8+PC9jbGlwUGF0aD48bGluZWFyR3JhZGllbnQgaWQ9ImxpbmVhckdyYWRpZW50IiB4MT0iMCUiIHkxPSIwJSIgeDI9IjkwJSIgeTI9IjAlIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9ImhzbCgwIDAlIDEwMCUvMSkiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9ImhzbCgwIDAlIDEwMCUvMCkiLz48L2xpbmVhckdyYWRpZW50PjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE5MjAsMTAwMClzY2FsZSgtMSwtMSkiPjxwYXRoIGQ9Ik0xMzg0LjUgMzQzLjJMMTkyLjcgMTUzNWwtMjEzLjUtM0wxMzgzIDEyOC4ybDEuNSAyMTV6Ii8+PHBhdGggZD0iTTE5MTkuNyA0NDguM0wxMzU5IDEwMDlsLTEwMC40LTEuNEwxOTE5IDM0Ny4xbC43IDEwMS4yeiIvPjxwYXRoIGQ9Ik0xMTc2LjcgNTE0LjNMNjE2IDEwNzVsLTEwMC40LTEuNEwxMTc2IDQxMy4xbC43IDEwMS4yeiIvPjxwYXRoIGQ9Ik02NDQuNyA0NTcuM0w4NCAxMDE4bC0xMDAuNC0xLjRMNjQ0IDM1Ni4xbC43IDEwMS4yeiIvPjxwYXRoIGQ9Ik0xMzg3LjcgNDQ4LjNMODI3IDEwMDlsLTEwMC40LTEuNEwxMzg3IDM0Ny4xbC43IDEwMS4yeiIvPjxwYXRoIGQ9Ik0xMjUwLjEgNDkzLjhsLTU0NSA1NDUtNTIuNyA0My42IDY0MS45LTY0MS45LTQ0LjIgNTMuM3oiLz48cGF0aCBkPSJNODkxLjEgNjM5LjFMLTc3OCAyMzA4LjNsLTI5OC45LTQuMkw4ODkgMzM4LjFsMi4xIDMwMXoiLz48cGF0aCBkPSJNMTg3MC40IDQxOS44TC0yOC44IDIzMTlsLTM0MC4xLTQuOEwxODY4IDc3LjNsMi40IDM0Mi41eiIvPjxwYXRoIGQ9Ik05MDguNCA0MzYuOEwtOTkwLjggMjMzNmwtMzQwLjEtNC44TDkwNiA5NC4zbDIuNCAzNDIuNXoiLz48cGF0aCBkPSJNMTYzMi40IDUxNS44TC0yNjYuOCAyNDE1bC0zNDAuMS00LjhMMTYzMCAxNzMuM2wyLjQgMzQyLjV6Ii8+PHBhdGggZD0iTTExNzYuMyA1NjcuMUwtMTQ0NS42IDMxODlsLTQ2OS41LTYuNkwxMTczIDk0LjNsMy4zIDQ3Mi44eiIvPjxwYXRoIGQ9Ik0xNDI3LjMgNTgwLjFMLTExOTQuNiAzMjAybC00NjkuNS02LjZMMTQyNCAxMDcuM2wzLjMgNDcyLjh6Ii8+PHBhdGggZD0iTTE2NDkuNSA4ODAuMkw0NTcuNyAyMDcybC0yMTMuNS0zTDE2NDggNjY1LjJsMS41IDIxNXoiLz48cGF0aCBkPSJNNjc1LjggNTIyLjJsLTI2MjEuOSAyNjIxLjktNDY5LjQtNi42TDY3Mi41IDQ5LjRsMy4zIDQ3Mi44eiIvPjxwYXRoIGQ9Ik0yNTk1LjkgNTIyLjJMLTI2IDMxNDQuMWwtNDY5LjUtNi42TDI1OTIuNiA0OS40bDMuMyA0NzIuOHoiLz48L2c+PC9zdmc+");
  background-repeat: repeat-x;
  background-position: top;
  background-size: clamp(60em, 100rem, 100em) auto, cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.custom-badge {
  display: flex;
  flex-direction: column;
  background-color: transparent;
  border-radius: 50px;
  color: white;
  font-family: Arial, sans-serif;
}

.badge-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-icon {
  background-color: #ff4d4d;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.badge-text {
  font-weight: bold;
  font-size: 1.25rem;
}

.badge-desc {
  margin-top: 4px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.badge-gradient {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100px;
  background: linear-gradient(to left, #d94646, #7f3f58, #3c3f5a, transparent);
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  z-index: 1;
}

.badge-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  padding: 15px;
  width: 100%;
  box-sizing: border-box;
  scroll-snap-type: x mandatory;
}

.badge-container::-webkit-scrollbar {
  display: none;
}

.badge-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.badge-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 200px;
  display: flex;
  align-items: center;
  background-color: var(--color-secondary) !important;
  border: 2px solid var(--color-border) !important;
  border-radius: 30px;
  padding: 10px 16px;
  color: #fff;
  font-weight: bold;
  font-family: Arial, sans-serif;
  font-size: 15px;
  flex-grow: 1;
  min-width: 200px;
  max-width: 250px;
  box-sizing: border-box;
  position: relative;
}

.badge-icon {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-size: 16px;
}

/* Specific colors for each badge */
.red .badge-icon {
  background-color: #d94646;
}

.orange .badge-icon {
  background-color: #f97316;
}

.teal .badge-icon {
  background-color: #14b8a6;
}

.blue .badge-icon {
  background-color: #3b82f6;
}

.yellow .badge-icon {
  background-color: #facc15;
}

@media (max-width: 768px) {
  .badge-container {
    flex-direction: row;
    align-items: center;
    padding: 8px;
  }
}

.card-container {
  width: 100%;
  max-width: 200px;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--color-primary) !important;
  border: 2px solid var(--color-border) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: white;
  display: block;
}

.card-image-overlay {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.card-image-overlay img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  display: block;
}

.card-container:hover .card-image-overlay img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(to top,
      color-mix(in srgb, var(--color-primary) 55%, black) 0%,
      color-mix(in srgb, var(--color-primary) 40%, transparent) 40%,
      color-mix(in srgb, var(--color-primary) 20%, transparent) 80%);

  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay-logo {
  width: 120px !important;
  height: 120px !important;
  object-fit: contain;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.card-container:hover .card-overlay {
  opacity: 1;
}

.card-container:hover .overlay-logo {
  transform: scale(1);
}

.card-title {
  padding: 10px;
  font-size: 14px;
  font-weight: bold;
  background-color: var(--color-primary) !important;
}

.card-container-custom {
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.custom-card-container {
  background-color: var(--color-primary) !important;
  flex: 1 1 calc(25% - 30px);
  min-width: 200px;
  box-sizing: border-box;
  color: white;
}

.custom-card-flashsale {
  display: block;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  color: white;
  padding: 15px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.custom-card-flashsale::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* lapisan hitam 40% */
  border-radius: 10px;
  z-index: -1;
  /* supaya layer ada di bawah text */
}

.card-image {
  position: relative;
  flex-shrink: 0;
}

.card-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}

.discount-badge {
  position: absolute;
  bottom: 5px;
  left: 5px;
  background: red;
  padding: 3px 6px;
  font-size: 12px;
  border-radius: 4px;
}

.card-info {
  display: flex;
  flex-direction: column;
}

.card-title {
  font-weight: bold;
  font-size: 14px;
}

.card-subtitle {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 5px;
}

.price-old {
  font-size: 12px;
  text-decoration: line-through;
  opacity: 0.7;
}

.price-new {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: bold;
  color: #e72113;
}

input[type="radio"] {
  display: none;
}


@keyframes shine {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.bg-gradient-to-r {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

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

.border-2 {
  border-width: 2px;
  border-style: solid;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.product-list>div {
  display: flex;
}

.product-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid var(--color-border) !important;
  border-radius: 12px;
  transition: all 0.3s ease;
  background-color: white;
  overflow: hidden;
  padding: 0;
  text-align: center;
  color: #000;
  min-height: 140px;
}


.product-content {
  padding: 12px;
  flex: 1;
}

.product-prices {
  background-color: var(--color-secondary) !important;
  width: 100%;
  padding: 12px 0;
  color: white;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: clamp(0.6rem, 1vw, 0.7rem);
  font-weight: 500;
  color: white;
}

.flag-icon {
  display: inline-block;
  height: auto;
  border-radius: 2px;
}


.product-content img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  margin-bottom: 8px;
}

.product-name {
  font-size: clamp(0.6rem, 1vw, 0.7rem);
  display: block;
  margin-bottom: 0.5rem;
  color: black;
}

input[type="radio"]:checked+.product-card {
  border: 2px solid var(--color-border) !important;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
  transform: scale(1.02);
  transition: all 0.2s ease;
}


.payment-card {
  background-color: var(--color-secondary) !important;
  border: 2px solid var(--color-border) !important;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.payment-card img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
  padding: 5px;
}

input[type="radio"]:checked+.payment-card {
  transform: scale(1.03);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border-color: white;
}

.btn-custom {
  background-color: var(--color-secondary) !important;
  border: 2px solid var(--color-border) !important;
  color: white;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--color-border) !important;
}


.tracking-box {
  position: relative;
  background-color: var(--color-primary) !important;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  color: white;
  max-width: 520px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);

  border: 4px solid var(--color-border) !important;
  background-clip: padding-box;
  background-image:
    linear-gradient(var(--color-secondary), var(--color-secondary)),
    linear-gradient(45deg, var(--gradient-border-start), var(--gradient-border-end));
  background-origin: padding-box, border-box;
  background-repeat: no-repeat;

  overflow: hidden;
}

.tracking-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://www.transparenttextures.com/patterns/cubes.png') repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.tracking-box h2 {
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.3;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.tracking-box h2 span {
  color: var(--color-secondary) !important;
  font-weight: 900;
}

.tracking-input {
  margin: 0 auto 25px auto;
  max-width: 100%;
  position: relative;
  z-index: 1;
  border-radius: 8px;
}

.tracking-input input.form-control {
  font-size: 1.1rem;
  padding: 12px 13px;
  border-radius: 8px;
  border: none;
  box-shadow: none;
}

.tracking-input input.form-control:focus {
  outline: none;
}

.btn-gradient {
  background: linear-gradient(130deg, var(--color-secondary), var(--color-primary)) !important;
  border: none;
  font-weight: 700;
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: opacity 0.3s ease, box-shadow 0.4s ease;
  position: relative;
  z-index: 1;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 6px var(--color-primary), 0 0 20px var(--color-secondary);
  }

  50% {
    box-shadow: 0 0 12px var(--color-primary), 0 0 30px var(--color-secondary);
  }

  100% {
    box-shadow: 0 0 6px var(--color-primary), 0 0 20px var(--color-secondary);
  }
}

.btn-gradient:hover,
.btn-gradient:focus {
  opacity: 1;
  animation: glow 2s infinite alternate;
  outline: none;
}

@media (max-width: 576px) {
  .tracking-box {
    max-width: 90vw;
    padding: 30px 20px;
  }

  .tracking-box h2 {
    font-size: 1.4rem;
  }

  .tracking-input input.form-control {
    font-size: 1rem;
  }

  .btn-gradient {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

.table-container {
  background-color: var(--color-secondary) !important;
  border: 2px solid var(--color-border) !important;
  border-radius: 12px;
  padding: 20px 25px 30px;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.table-container .card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 12px;
}

.table-container .card-header h3 {
  font-weight: 700;
  color: white;
  letter-spacing: 0.03em;
}

.table-container .card-header p {
  color: white;
  font-size: 0.95rem;
}

table.dataTable thead th {
  background-color: var(--color-primary) !important;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--color-border) !important;
  padding: 12px 15px;
}

table.dataTable tbody td {
  background-color: var(--color-secondary) !important;
  color: #f0f4ff;
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-border) !important;
}

table.dataTable tbody tr:hover {
  background-color: var(--color-secondary) !important;
  color: #1a1a1a;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.table-bordered {
  background-color: #ffffff !important;
  color: #333333;
  border: 1px solid var(--color-border) !important;
}

.table-bordered thead th {
  background-color: #f8f9fa;
  color: #212529;
  font-weight: 700;
  border-bottom: 2px solid #adb5bd;
}

.table-bordered tbody td {
  background-color: #ffffff;
  color: #212529;
  border: 1px solid var(--color-border) !important;
}

.table-bordered tbody tr:hover {
  background-color: var(--color-background) !important;
  color: var(--color-secondary) !important;
  transition: background-color 0.3s ease;
}

.badge-available {
  background-color: #28a745;
  color: white;
  padding: 6px 14px;
  border-radius: 15px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 1px 6px rgba(40, 167, 69, 0.5);
  display: inline-block;
  min-width: 80px;
  text-align: center;
}

.badge-unavailable {
  background-color: #dc3545;
  color: white;
  padding: 6px 14px;
  border-radius: 15px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 1px 6px rgba(220, 53, 69, 0.5);
  display: inline-block;
  min-width: 80px;
  text-align: center;
}

#productsTable_filter {
  margin-bottom: 20px !important;
}

.custom-list .list-group-item {
  background-color: rgba(255, 255, 255, 0.1);
  /* transparan */
  border: none;
  color: white;
  font-size: 16px;
  padding: 10px 15px;
  border-radius: 10px;
  margin-bottom: 8px;
  transition: background-color 0.3s ease;
}

.custom-list .list-group-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.custom-list strong {
  min-width: 90px;
  display: inline-block;
}

.menu-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  background-color: var(--color-background) !important;
  border: 2px solid var(--color-border) !important;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
}

.menu-btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.menu-btn.active {
  background-color: white;
  color: var(--color-dark-text, #003366);
  border-color: var(--color-dark-text, #003366);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
}

.menu-btn i {
  font-size: 18px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.custom-list .list-group-item span {
  overflow-wrap: anywhere;
  white-space: normal;
}

.loader {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-border) !important;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.circle-container {
  position: absolute;
  transform: translateY(-10vh);
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  mix-blend-mode: screen;
  background-image: radial-gradient(var(--color-particle),
      var(--color-particle) 10%,
      rgba(57, 100, 171, 0) 56%);
  animation: fade-frames 200ms infinite, scale-frames 2s infinite;
}


.message {
  position: absolute;
  right: 20px;
  bottom: 10px;
  color: white;
  font-family: "Josefin Slab", serif;
  line-height: 27px;
  font-size: 18px;
  text-align: right;
  pointer-events: none;
  animation: message-frames 1.5s ease 5s forwards;
  opacity: 0;
}

@keyframes message-frames {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.particle-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.circle-container {
  position: absolute;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background-color: transparent;
  padding: 6px;
  flex-direction: column;
  /* biar isi jadi vertikal */
  align-items: center;
  /* rata tengah */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float img {
  width: 45px;
  height: 45px;
  display: block;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

.wa-text {
  display: inline-block;
  background-color: var(--color-secondary) !important;
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  margin-top: 4px;
  text-align: center;
  border: 2px solid var(--color-border) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 80px;
    right: 15px;
  }

  .whatsapp-float img {
    width: 60px;
    height: 60px;
  }
}

.flashsale-wrapper {
  display: inline-block;
}

.flashsale-box {
  background: var(--color-secondary);
  padding: 10px 80px 10px 16px;
  position: relative;
  clip-path: polygon(0% 0%, 100% 0%, calc(100% - 40px) 100%, 0% 100%);
}

.flashsale-text {
  color: var(--custom-text-primary, #fff);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 14px;
}

@media (min-width: 768px) {
  .flashsale-text {
    font-size: 18px;
  }
}

.flashsale-icon {
  position: absolute;
  right: 18px;
  top: -px;
  width: 53px;
  height: 53px;
}

.flashsale-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 768px) {
  .flashsale-icon {
    width: 55px;
    height: 55px;
    top: -10px;
    right: 15px;
  }
}

.progress-slash {
  height: 25px;
}

.bar {
  height: 100%;
  padding-top: 6px;
}

:root {
  --slash: 20px;
  --gap: 25px;
}

.bar-light {
  background: var(--color-primary) !important;
  width: 50%;
  clip-path: polygon(0% 0%, 100% 0%, calc(100% - var(--slash)) 100%, 0% 100%);
}

.bar-primary {
  background: var(--color-secondary);
  width: 25%;
  clip-path: polygon(var(--slash) 0%, 100% 0%, calc(100% - var(--slash)) 100%, 0% 100%);
}

.bar+.bar {
  margin-left: calc(-1 * (var(--slash) - var(--gap)));
}

.bar-primary:hover {
  transform: scaleX(1.05);
}

@media (min-width: 768px) {
  .bar-light {
    width: 100%;
  }
}

.time-box {
  background: #ff2d2d;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  height: 26px;
  min-width: 28px;
}

@media (max-width: 768px) {
  .time-box {
    padding: 3px 6px;
    font-size: 11px;
    height: 22px;
    min-width: 24px;
  }

  #flashsale span {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .time-box {
    padding: 2px 5px;
    font-size: 10px;
    height: 20px;
    min-width: 22px;
    border-radius: 5px;
  }

  #flashsale {
    gap: 3px !important;
  }

  #flashsale span {
    font-size: 10px;
  }
}

.top-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  flex: 1;
  scrollbar-width: none;
}

.category-tabs button {
  flex: 0 0 auto;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tabs button {
  background: var(--color-secondary);
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  font-weight: bold;
}

.category-tabs button.active {
  background: var(--color-primary);
}

.search-box {
  flex-shrink: 0;
  width: 260px;
  background: var(--color-secondary);
  border-radius: 25px;
  padding: 8px 13px;
  display: flex;
  align-items: center;
  width: 300px;
  cursor: pointer;
  font-size: 14px;
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  width: 100%;
}

.search-box i {
  color: #aaa;
  font-size: 20px;
  border-radius: 9999px;
  background: var(--color-primary);
  padding: 8px 15px;
}

.badge-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.badge-icon {
  color: #ff3b3b;
}


.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: start;
  padding-top: 100px;
  z-index: 999;
}

.search-modal.active {
  display: flex;
}

.search-modal-content {
  background: #0f172a;
  padding: 15px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
}

.search-input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  outline: none;
}

@media (max-width: 768px) {
  .top-header {
    flex-direction: row;
  }

  .search-box {
    width: 140px;
    padding: 8px 12px;
  }
}

.category-section {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  height: 0;
  overflow: hidden;
}

.category-section.show {
  opacity: 1;
  transform: translateY(0);
  height: auto;
}

.custom-search-dialog {
  max-width: 1300px;
  width: 95%;
  margin: 40px auto;
}

.custom-search-modal {
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;/
}

.search-header {
  padding: 20px 24px;
  flex-shrink: 0;
}

.search-input-wrapper {
  padding: 0 24px;
  flex-shrink: 0;
}

.search-empty {
  margin-top: 60px;
}

.search-results {
  overflow-y: auto;
  flex: 1;
  padding: 20px;

  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) transparent;
}

.search-results::-webkit-scrollbar {
  width: 6px;
}

.search-results::-webkit-scrollbar-track {
  background: transparent;
}

.search-results::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 10px;
  transition: background 0.2s;
}

.search-results:hover::-webkit-scrollbar-thumb {
  background: var(--color-primary);
}


.search-empty {
  margin-top: 100px;
  color: #9ca3af;
}

.search-empty i {
  font-size: 27px;
  background: var(--color-primary);
  padding: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .custom-search-dialog {
    max-width: 95%;
    margin: 20px auto;
  }

  .search-empty {
    margin-top: 60px;
  }

  .card-title {
    font-size: 0.75rem;
  }
}

@media (max-width: 576px) {
  .flashsale-box {
    padding: 10px 65px 10px 10px;
  }

  .flashsale-icon {
    right: 18px;
    top: -7px;
    width: 43px;
    height: 43px;
  }

  .flashsale-text {
    font-size: 12px;
  }
}

.hero-card {
  background: var(--color-primary);
  border-radius: 16px;
  color: #fff;
}

.hero-title {
  font-weight: 700;
  font-size: 24px;
}

.hero-desc {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
  font-weight: 500;
}

.hero-img {
  max-height: 280px;
}

.feature-card {
  background: var(--color-three);
  padding: 16px;
  border-radius: 12px;
  color: #fff;
  height: 100%;
  transition: 0.3s;
  align-items: center;
  gap: 2px;
}

.feature-card:hover {
  transform: translateY(-3px);
}

.feature-card:hover .feature-main-shape {
  animation-duration: 1.8s;
}

.feature-card h6 {
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--color-primary);  
}

.feature-card p {
  font-size: 13px;
  margin: 0;
  opacity: 0.9;
}

.icon {
  width: 68px;
  min-width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.feature-icon-svg {
  width: 46px;
  height: 46px;
  overflow: visible;
}

.feature-main-shape {
  transform-origin: center;
  animation: featureFloat 2.8s ease-in-out infinite;
  filter: drop-shadow(0 8px 10px rgba(8, 16, 50, 0.18));
}

.feature-play-shape {
  transform-origin: center;
  animation: featureSlideX 1.8s ease-in-out infinite;
  filter: drop-shadow(0 8px 10px rgba(8, 16, 50, 0.18));
}

.feature-gear-updown,
.feature-gear-sideways {
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 8px 10px rgba(8, 16, 50, 0.18));
}

.feature-gear-updown {
  animation: featureGearUpDown 3s ease-in-out infinite;
}

.feature-gear-sideways {
  animation: featureGearSideways 3.2s ease-in-out infinite;
}

.feature-orbit {
  transform-origin: center;
  animation: featureOrbit 4.4s linear infinite;
}

.feature-orbit-delay {
  animation-delay: -2.2s;
}

.feature-pulse-ring {
  transform-origin: center;
  animation: featurePulse 2.6s ease-in-out infinite;
}

.feature-spark {
  animation: featureBlink 1.6s ease-in-out infinite;
}

.feature-spark-right {
  animation-delay: 0.8s;
}


@keyframes featureFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-3px) scale(1.03);
  }
}

@keyframes featureOrbit {
  0% {
    transform: rotate(0deg) translateX(1.5px) rotate(0deg);
  }

  100% {
    transform: rotate(360deg) translateX(1.5px) rotate(-360deg);
  }
}

@keyframes featurePulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.94);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes featureBlink {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleX(0.9);
  }

  50% {
    opacity: 1;
    transform: scaleX(1.1);
  }
}

@keyframes featureSlideX {
  0%,
  100% {
    transform: translateX(-3px);
  }

  50% {
    transform: translateX(3px);
  }
}

@keyframes featureGearUpDown {
  0%,
  100% {
    transform: translateY(2px) rotate(0deg);
  }

  50% {
    transform: translateY(-3px) rotate(180deg);
  }
}

@keyframes featureGearSideways {
  0%,
  100% {
    transform: translateX(-3px) rotate(0deg);
  }

  50% {
    transform: translateX(3px) rotate(180deg);
  }
}

@media (max-width: 768px) {
  .overlay-logo {
    width: 80px !important;
    height: 80px !important;
  }

  .hero-title {
    font-size: 18px;
  }

  .icon {
    width: 58px;
    min-width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .feature-icon-svg {
    width: 40px;
    height: 40px;
  }
}

footer {
  background-color: var(--color-background) !important;
}


.ml-card {
    background: var(--color-primary);
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
    position: relative;
    max-height: 340px;
}

.ml-banner {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.ml-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ml-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 20%, var(--color-primary) 100%);
}

.ml-content {
    padding: 20px;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.ml-title {
    font-weight: 700;
    margin-bottom: 3px;
}

.ml-subtitle {
    opacity: 0.7;
    margin-bottom: 15px;
}

.ml-desc {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.ml-more {
    color: #4da3ff;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 15px;
}

.ml-thumb {
    width: 140px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.ml-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ml-right {
  position: relative;
    top: -50px;
}

.ml-badges span {
    background: var(--color-primary);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .ml-banner {
        height: 180px;
    }

    .ml-thumb {
        width: 110px;
    }

    .ml-content {
        margin-top: -40px;
    }

    .ml-title {
        font-size: 18px;
    }
}

.ml-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.ml-content > div:first-child {
    flex: 1;
    min-width: 0;
}

.ml-content > div:last-child {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .ml-content {
        flex-direction: row !important; 
    }

    .ml-content > div:first-child {
        width: 65%;
    }

    .ml-content > div:last-child {
        width: 35%;
        text-align: right;
    }

    .ml-thumb {
        width: 100px;
    }
}

.rating-card {
    background: var(--color-primary);
    border-radius: 18px;
    padding: 20px;
    color: #fff;
}

.rating-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
}

.rating-header i {
    font-size: 18px;
    opacity: 0.8;
}

.rating-summary {
    gap: 12px;
    margin: 15px 0 5px;
}

.rating-summary .big-star {
    font-size: 42px;
    color: gold;
}

.rating-number {
    font-size: 48px;
    font-weight: 700;
}

.rating-subtext {
    font-size: 13px;
    opacity: 0.8;
}

.review {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 2px solid #3a2bff;
}

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

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-content {
    flex-grow: 1;
}

.review-name {
    font-size: 13px;
    opacity: 0.9;
}

.review-date {
    font-size: 12px;
    opacity: 0.6;
}

.review-stars {
    color: gold;
    font-size: 14px;
    margin-top: 4px;
}

.rating-summary {
    margin: 15px 0 5px;
}

.rating-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-main .big-star {
    font-size: 42px;
    color: gold;
}

.rating-number {
    font-size: 48px;
    font-weight: 700 !important;
}

.rating-subtext {
    font-size: 13px;
    font-weight: 700 !important;
}

.empty-review {
    text-align: center;
    padding: 30px 10px;
    opacity: 0.8;
}

.empty-review i {
    font-size: 48px;
    margin-bottom: 10px;
    display: block;
    color: gold;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-card {
    background: #0b0f5c;
    border-radius: 16px;
    padding: 20px;
    color: #fff;
}

/* Header */
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.order-title {
    font-size: 18px;
    font-weight: 600;
}

.order-subtitle {
    font-size: 13px;
    opacity: 0.7;
}

/* Help icon */
.order-help {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Body */
.order-body {
    margin-top: 10px;
}

/* Label */
.form-label-custom {
    font-size: 13px;
    margin-bottom: 6px;
    display: block;
    color: rgba(255,255,255,0.8);
}

/* Input */
.custom-input {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 10px;
    color: #fff;
    padding: 10px 12px;
}

.custom-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.custom-input:focus {
    border-color: #fff;
    box-shadow: none;
    background: transparent;
    color: #fff;
}

/* Hint text */
.order-hint {
    margin-top: 12px;
    font-size: 12px;
    opacity: 0.7;
}

.animated-icon {
    animation: floatIcon 2.5s ease-in-out infinite;
}

/* Rotate animation */
.rotate-icon {
    animation: rotateIcon 5s linear infinite;
}

/* Pulse animation */
.pulse-icon {
    animation: pulseIcon 1.5s ease-in-out infinite;
}

@keyframes floatIcon {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes rotateIcon {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: .7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}