/**
 * COMMON VALUE --------------------------------------------------------------------------------------------------------
 */

html {
  --border-radius-xs: 12px;
  --border-radius-sm: 16px;
  --border-radius-md: 20px;
  --border-radius-lg: 24px;
}


/**
 * SETTINGS ------------------------------------------------------------------------------------------------------------
 */

[data-bs-theme="dark"] .form-select option {
  background-color: var(--bs-dark);
  color: var(--bs-body-color);
}


/**
 * GRID ----------------------------------------------------------------------------------------------------------------
 */

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  padding-right: 8px;
  padding-left: 8px;
}

.row {
  margin-right: -8px;
  margin-left: -8px;
}

.row>* {
  padding-right: 8px;
  padding-left: 8px;
}

@media (max-width: 575.98px) {
  .row>* {
    padding-right: 8px;
    padding-left: 8px;
  }
}


/* CUSTOM COL */

.col-xl-2-4 {
  flex: 0 0 auto;
  width: 20%;
}

@media (max-width: 1199.98px) {
  .col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
  }
}

@media (max-width: 991.98px) {
  .col-md-2-4 {
    flex: 0 0 auto;
    width: 33.33%;
  }
}

@media (max-width: 767.98px) {
  .col-sm-2-4 {
    flex: 0 0 auto;
    width: 33.33%;
  }
}

@media (max-width: 575.98px) {
  .col-2-4 {
    flex: 0 0 auto;
    width: 50%;
  }
}


/**
 * COMPONENT -----------------------------------------------------------------------------------------------------------
 */

.form-check-input:checked {
  --bs-text-opacity: 1;
  background-color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity));
  border-color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity));
}

.form-check-input:focus {
  border-color: rgba(var(--bs-danger-rgb), 1);
  box-shadow: 0 0 0 .25rem rgb(209 0 0 / 25%);
}

.alert-danger,
.alert-success {
  --bs-alert-border-color: none;
}

.popover {
  --bs-popover-max-width: 350px;
  --bs-popover-font-size: 15px;
  --bs-popover-header-bg: var(--bs-tertiary-bg);
  --bs-popover-bg: var(--secondary-bg-color);
  box-shadow: 0 12px 28px 0 var(--shadow-2), 0 2px 4px 0 var(--shadow-1), inset 0 0 0 1px var(--shadow-inset);
}

.popover-header {
  padding: 8px 12px;
}

.popover-body {
  padding: 10px 12px;
}

.pagination {
  --bs-pagination-bg: var(--secondary-bg-color);
}

.toast {
  border-radius: var(--border-radius-md);
}


/**
 * HEADER --------------------------------------------------------------------------------------------------------------
 */

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}


/**
 * HR ------------------------------------------------------------------------------------------------------------------
 */

hr {
  opacity: 0.2;
  margin: 12px 0;
}


/**
 * SPACE ---------------------------------------------------------------------------------------------------------------
 */

.fa-fw {
  width: 22px;
}

.mt-12px {
  margin-top: 12px !important;
}

.mb-12px {
  margin-bottom: 12px !important;
}

.me-12px {
  margin-right: 12px !important;
}

.ms-12px {
  margin-left: 12px !important;
}

.mt-16px {
  margin-top: 16px !important;
}

.mb-16px {
  margin-bottom: 16px !important;
}

.mt-20px {
  margin-top: 20px !important;
}

.mb-20px {
  margin-bottom: 20px !important;
}

.mt-12-16 {
  margin-top: 16px !important;
}

.mb-12-16 {
  margin-bottom: 16px !important;
}

.pt-12px {
  padding-top: 12px !important;
}

.pb-12px {
  padding-bottom: 12px !important;
}

.pt-16px {
  padding-top: 16px !important;
}

.pb-16px {
  padding-bottom: 16px !important;
}

.ps-12px {
  padding-left: 12px !important;
}

.ps-16px {
  padding-left: 16px !important;
}

.pe-16px {
  padding-right: 16px !important;
}

@media (max-width: 575.98px) {
  .mt-12-16 {
    margin-top: 12px !important;
  }

  .mb-12-16 {
    margin-bottom: 12px !important;
  }
}


/**
 * LINK ----------------------------------------------------------------------------------------------------------------
 */

a {
  text-decoration: none;
}


/**
 * TABLE ---------------------------------------------------------------------------------------------------------------
 */

.table {
  --bs-table-bg: var(--secondary-bg-color);
}


/**
 * DROPDOWN ------------------------------------------------------------------------------------------------------------
 */

.dropdown-menu {
  font-size: 15px;
  border-radius: var(--border-radius-sm);
  background-color: var(--dropdown-menu-bg-color);
  border-color: transparent;
  box-shadow: 0 12px 28px 0 var(--shadow-2), 0 2px 4px 0 var(--shadow-1), inset 0 0 0 1px var(--shadow-inset);
  padding: 8px 10px;
}

.dropdown-menu .active .bi {
  display: block !important;
}

.dropdown-toggle::after {
  vertical-align: .2em;
}

.dropdown-item.active,
.dropdown-item:active {
  color: var(--bs-dropdown-link-color);
  background-color: var(--bs-tertiary-bg);
  border-radius: var(--border-radius-sm);
}

.dropdown-item {
  margin: 2px 0;
  padding: 4px 12px;
}


/*
 * MODAL ---------------------------------------------------------------------------------------------------------------
 */

.modal-backdrop.show {
  opacity: .75;
}

.modal-content {
  border-radius: var(--border-radius-lg);
  border: none;
}


/*.modal-content .btn-close {*/


/*  background: transparent;*/


/*  color: var(--primary-text);*/


/*  font-size: 20px;*/


/*  display: flex;*/


/*}*/

.modal-content .btn-close:focus {
  box-shadow: none;
}

.modal-content .modal-header .modal-title,
.modal-content .modal-sub-title {
  font-weight: 400;
  font-size: 18px;
}

.modal-content .modal-header {
  border-bottom: 1px solid transparent;
  padding: 12px 16px;
}

.modal-content .modal-footer {
  border-top: 1px solid transparent;
  padding: 16px;
}

.modal-footer>* {
  margin: 0;
}

#confirmModal .modal-dialog {
  width: 380px;
}

#confirmModal .modal-content .modal-footer {
  border-top: var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);
}

#confirmModal .modal-dialog .modal-content .modal-footer a {
  padding-top: 12px;
  padding-bottom: 12px;
  text-decoration: none;
}


/**
 * NAV -----------------------------------------------------------------------------------------------------------------
 */

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: #dc3545 !important;
}

.nav-underline .nav-link:focus,
.nav-underline .nav-link:hover {
  border-bottom-color: #dc3545;
}

.border-bot-shadow {
  box-shadow: 0 1px 5px 0 rgb(0 0 0 / 40%);
}

.border-bot-solid {
  border-bottom: 1px solid var(--line-border-color);
}

nav .key-search {
  font-size: 12px;
  padding: 2px 6px;
  border-radius: var(--border-radius-md);
  font-weight: 500;
}

nav.navbar {
  --bs-navbar-nav-link-padding-x: 0.65rem
}

nav.navbar sup {
  top: -0.75em;
  right: 2px;
}

nav.navbar .badge {
  --bs-badge-padding-x: 0.55em;
}

nav.navbar .bi {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  fill: currentcolor;
  display: inline-flex;
}

nav.navbar #search-product {
  display: none;
}

nav ul.dropdown-menu .item .item-name {
  display: inline-block;
  font-size: 16px;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.dropdown-item:focus,
.dropdown-item:hover {
  color: #dc3545;
  border-radius: var(--border-radius-sm);
}


/**
 * SUB NAV -------------------------------------------------------------------------------------------------------------
 */

.fixed-top-sub-nav {
  position: fixed;
  top: 56px;
  right: 0;
  left: 0;
  z-index: 1000;
  background-color: var(--secondary-bg-color);
  box-shadow: 0 1px 5px 0 rgb(0 0 0 / 40%);
}

.fix-sub-nav {
  margin-top: 56px;
}

.sub-nav .nav-link {
  padding-top: 15px;
  padding-bottom: 15px;
}

.sub-nav .nav-underline .nav-link.active,
.nav-underline .show>.nav-link {
  font-weight: 500;
}

.sub-nav .col>div {
  border-bottom: 1px solid var(--line-border-color);
}

.sub-nav.fixed-top-sub-nav .col>div {
  border-bottom: 1px solid transparent;
}


/*
 * SIDEBAR -------------------------------------------------------------------------------------------------------------
 */

.sidebar {
  width: 280px;
  margin-top: 100px;
}

.sidebar>ul {
  padding: 12px;
  border-radius: var(--border-radius-md);
  margin-bottom: 16px;
  background-color: var(--secondary-bg-color);
}

.sidebar>ul>li>a {
  padding: 5px 5px 5px 12px;
  font-weight: 500;
  color: var(--bs-emphasis-color);
  background-color: transparent;
  width: 100%;
  display: inline-flex;
  align-items: center;
  border-radius: var(--border-radius-md);
  height: 36px;
  cursor: pointer;
}

.sidebar>ul li a:hover,
.sidebar>ul li a:focus {
  color: rgba(var(--bs-emphasis-color-rgb), .85);
  background-color: var(--bs-tertiary-bg);
}

.sidebar>ul li a>div {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.sidebar>ul li a>div>div {
  display: flex;
  align-items: center;
}

.sidebar>ul li a>div .badge-number {
  background-color: var(--bs-tertiary-bg);
  font-size: 14px;
  min-width: 28px;
  height: 28px;
  justify-content: center;
  border-radius: 20px;
  padding: 4px 6px;
}

.sidebar>ul li a:hover .badge-number {
  background-color: var(--badge-number-background-color);
}

.sidebar>ul li a.active .badge-number {
  background-color: var(--badge-number-background-color);
}

.sidebar .fa-fw {
  text-align: left !important;
}


/*
 * LINK ----------------------------------------------------------------------------------------------------------------
 */

.page-link {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity));
}


/*
 * PAGINATION ----------------------------------------------------------------------------------------------------------
 */

#pagination {
  margin-bottom: 60px;
}

.page-link {
  border-radius: var(--border-radius-xs) !important;
}

.page-item .page-link {
  height: 38px;
  width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 3px !important;
}

.page-item:last-child .page-link {
  margin-right: 0 !important;
}

.active>.page-link,
.page-link.active {
  background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity, 1)) !important;
  border-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity, 1)) !important;
}

.active>.page-link:hover {
  color: #fff;
}

a.page-link:hover {
  color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity, 1));
  background-color: var(--bs-pagination-hover-bg);
  border-color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity, 1));
}


/**
 * FOOTER --------------------------------------------------------------------------------------------------------------
 */

#footer {
  padding-top: 50px;
  padding-bottom: 50px;
}

#footer h6 {
  margin-bottom: 10px;
  font-size: 20px;
}

#footer .info ul,
#footer .social ul {
  padding: 0;
  margin-bottom: 0;
}

#footer .info ul li,
#footer .social ul li {
  list-style: none;
  padding: 2px 0;
}

#footer .best-seller ul {
  padding-left: 18px;
  margin-bottom: 0;
}

#footer .best-seller ul li {
  padding: 2px 0;
}

#footer .social ul li a i {
  font-size: 24px;
}

@media (max-width: 575.98px) {

  #footer .best-seller,
  #footer .social {
    display: none;
  }
}


/**
 * SPINNER -------------------------------------------------------------------------------------------------------------
 */

.loader-container {
  position: fixed;
  float: left;
  top: 0;
  width: 100%;
  height: 100%;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999999;
}

.loader-container .loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: auto;
}

.loader-container .loader .spinner-color {
  color: #198754;
}


/**
 * COVER ---------------------------------------------------------------------------------------------------------------
 */

#cover {
  padding: 100px 0 20px;
}

#cover .title {
  font-family: "Noto Sans", "AdihausDIN", "Helvetica", Arial, sans-serif !important;
  font-size: 40px;
  font-style: italic;
  text-transform: uppercase;
}

#cover .title .large-title {
  font-size: 68px;
}

#cover .title .title-quantity {
  font-size: 16px;
  font-style: normal;
  color: #767677;
  font-weight: 300;
}

#cover .title-description {
  max-width: 1000px;
}

#cover .title-description p {
  margin-bottom: 12px;
}


/* RESPONSIVE */

@media (max-width: 575.98px) {
  #cover {
    padding: 68px 0 0;
  }

  #cover .title {
    font-size: 22px;
  }

  #cover .title .large-title {
    font-size: 36px;
  }
}


/**
 * TITLE ---------------------------------------------------------------------------------------------------------------
 */

.title-sm {
  padding: 0 20px;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 16px;
}


/*
* SCROLL --------------------------------------------------------------------------------------------------------------
*/

#page-top::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px var(--secondary-bg-color);
  background-color: var(--secondary-bg-color);
  border-radius: 4px;
}

#page-top::-webkit-scrollbar {
  width: 8px;
  background-color: var(--secondary-bg-color);
}

#page-top::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb-color);
  border-radius: 4px;
}


/**
 * BUTTON --------------------------------------------------------------------------------------------------------------
 */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 50px;
  height: 38px;
  padding: 0 14px;
}

.btn-medium {
  height: 42px;
  padding: 0 16px;
}

.btn-medium.bs-icon {
  padding: 0 16px 0 10px;
}

.btn-large {
  height: 46px;
  padding: 0 20px;
}

.btn-large.bs-icon {
  padding: 0 20px 0 14px;
}


/* BUTTON CIRCLE */

.btn-circle {
  width: 40px !important;
  height: 40px !important;
  background-color: var(--btn-circle-background-color);
  border-radius: 50%;
  transition: .3s;
  position: relative;
  display: inline-block;
}

.btn-circle i {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.2s;
}

.btn-circle:hover {
  box-shadow: 0 0 0 4px var(--shadow-button);
}

.btn-circle.btn-circle-sm {
  width: 36px !important;
  height: 36px !important;
}

.btn-circle.btn-circle-lg {
  width: 46px !important;
  height: 46px !important;
}

.btn-scroll-to-top {
  position: fixed;
  right: 16px;
  bottom: 20px;
  display: none;
  width: 46px;
  height: 46px;
  text-align: center;
  color: var(--secondary-text);
  background-color: var(--bs-body-bg);
  border: 2px solid var(--secondary-border-color);
  line-height: 42px;
  border-radius: 24px;
  font-size: 25px;
}

.btn-scroll-to-top:hover {
  color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity, 1)) !important;
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
  border-color: transparent;
}


/* RESPONSIVE */

@media (max-width: 575.98px) {
  .btn-large {
    padding: 0 16px;
  }
}


/**
 * UTILS ---------------------------------------------------------------------------------------------------------------
 */

.w-60 {
  max-width: 680px;
  width: 100% !important;
  margin: 0 auto;
}


/* RESPONSIVE */

@media (max-width: 575.98px) {
  .w-60 {
    width: 100% !important;
  }
}