/*
Template Name: Velzon - Admin & Dashboard Template
Author: Themesbrand
Website: https://themesbrand.com/
Contact: support@themesbrand.com
File: Custom Css File
*/
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter/woff/Inter_18pt-Regular.woff2') format('woff2'),
       url('/assets/fonts/inter/woff/Inter_18pt-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter/woff/Inter_18pt-Medium.woff2') format('woff2'),
       url('/assets/fonts/inter/woff/Inter_18pt-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter/woff/Inter_18pt-Bold.woff2') format('woff2'),
       url('/assets/fonts/inter/woff/Inter_18pt-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

* {
  font-family: 'Inter', sans-serif !important;
}

/* TRUNCATE */
.text-truncate-one-lines {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    white-space: normal;
}

.text-truncate-three-lines {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    white-space: normal;
}

.text-truncate-2-product {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;

  line-height: 1.3em;
  min-height: calc(1.3em * 2); /* ⬅️ KUNCI TINGGI 2 BARIS */
}


/* BUTTON */
.btn-soft-success-cus {
    color: #0ab39c;
    background-color: rgba(15, 157, 122, 0.12);
    border-bottom: 3px solid #0ab39c;
    border-radius: 8px;
    padding: 4px 16px;
    font-weight: 500;
    transition: background-color 0.2s, transform 0.1s;
}
.btn-soft-success-cus:hover {
    background-color: rgba(15, 157, 122, 0.2);
    transform: translateY(-1px);
    color: #0ab39c;
}

.btn-soft-primary-cus {
    color: #405189;
    background-color: rgba(64, 81, 137, 0.12);
    border-bottom: 3px solid #405189;
    border-radius: 8px;
    padding: 4px 16px;
    font-weight: 500;
    transition: background-color 0.2s, transform 0.1s;
}
.btn-soft-primary-cus:hover {
    background-color: rgba(64, 81, 137, 0.2);
    transform: translateY(-1px);
    color: #405189;
}

.btn-soft-secondary-cus {
    color: #635BFF;
    background-color: rgba(99, 91, 255, 0.12);
    border-bottom: 3px solid #635BFF;
    border-radius: 8px;
    padding: 4px 16px;
    font-weight: 500;
    transition: background-color 0.2s, transform 0.1s;
}
.btn-soft-secondary-cus:hover {
    background-color: rgba(99, 91, 255, 0.2);
    transform: translateY(-1px);
    color: #635BFF;
}

.btn-soft-info-cus {
    color: #299cdb;
    background-color: rgba(13, 202, 240, 0.12);
    border-bottom: 3px solid #299cdb;
    border-radius: 8px;
    padding: 4px 16px;
    font-weight: 500;
    transition: background-color 0.2s, transform 0.1s;
}
.btn-soft-info-cus:hover {
    background-color: rgba(13, 202, 240, 0.2);
    transform: translateY(-1px);
    color: #299cdb;
}

.btn-soft-danger-cus {
    color: #F06548;
    background-color: rgba(240, 101, 72, 0.12);
    border-bottom: 3px solid #F06548;
    border-radius: 8px;
    padding: 4px 16px;
    font-weight: 500;
    transition: background-color 0.2s, transform 0.1s;
}
.btn-soft-danger-cus:hover {
    background-color: rgba(240, 101, 72, 0.2);
    transform: translateY(-1px);
    color: #F06548;
}

.btn-soft-warning-cus {
    color: #F7B84B;
    background-color: rgba(247, 184, 75, 0.12);
    border-bottom: 3px solid #F7B84B;
    border-radius: 8px;
    padding: 4px 16px;
    font-weight: 500;
    transition: background-color 0.2s, transform 0.1s;
}
.btn-soft-warning-cus:hover {
    background-color: rgba(247, 184, 75, 0.2);
    transform: translateY(-1px);
    color: #F7B84B;
}

/* side */
.btn-side-soft-secondary-cus {
    color: #635BFF;
    background-color: rgba(99, 91, 255, 0.12);
    border-left: 3px solid #635BFF;
    border-radius: 8px;
    padding: 4px 16px;
    font-weight: 500;
    transition: background-color 0.2s, transform 0.1s;
}
.btn-side-soft-secondary-cus:hover {
    background-color: rgba(99, 91, 255, 0.2);
    transform: translateY(-1px);
    color: #635BFF;
}

/* CURSOR */
.no-pointer {
  cursor: default;
}


/* MARGIN */
.container-layout {
  @media (min-width: 1024.1px) {
    max-width: 90%;
  }
}

.container-layout-buyer {
  @media (min-width: 1024.1px) {
    max-width: 90%;
  }
  @media (max-width: 1024.1px) {
    max-width: 100%;
  }
}

.min-height-layout {
  min-height: calc(100vh - 192px);
}

/* STICKY */
.sticky-top-cus {
    position: sticky;
    top: 0px;
    /* sesuaikan tinggi header promo */
    z-index: 1020;
}

.sticky-top-lay {
    position: sticky;
    top: 70px;
    z-index: 1020;
    @media (min-width: 768.1px) {
      position: sticky;
      top: 0px;
      /* sesuaikan tinggi header promo */
      z-index: 1020;
    }
}

/* PROFILE WIDTH BG CUSTOM */
.profile-wid-bg-cus {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  height: 320px;
}
@media (max-width: 575.98px) {
  .profile-wid-bg-cus {
    height: 445px;
  }
}
.profile-wid-bg-cus::before {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  opacity: 0.5;
  background: #405189;
  background: -webkit-gradient(linear, right bottom, right top, from(#171e32), to(#405189));
  background: linear-gradient(to top, #171e32, #405189);
}
.profile-wid-bg-cus .profile-wid-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.h-banner-cus {
  height: 200px
  @media (max-width: 1399.98px) {
      height: 100%;
  }
}
