/*Vars*/
:root {
  --sl-panel-background-color: #ffffff;
  /* Example color */
}

.no-scroll {
  overflow: hidden;
  touch-action: none;
  height: 100vh;
  /* prevents layout jumping on mobile, especially iOS */
}

/* Reset ul */
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Reset a */
a {
  text-decoration: none;
  color: inherit;
}

/* Optional: add smooth hover for links */
a:hover {
  opacity: 0.8;
}

/* Reset for li spacing if needed */
li {
  margin: 0;
  padding: 0;
}

.bbold {
  font-weight: bold;
}

.red {
  color: #f44954;
}

/*ID*/
#open-drawer-categories .icon {
  transform: rotate(-90deg);
}

/*END IDS*/
.clickable {
  cursor: pointer;
}

.tag-filters {
  display: flex;
  flex-direction: column;
  font-family: var(--font-body-family);
}

.tag-filters-desktop {
  gap: .8rem;
}

.is-ios .tag-filters-mobile {
  /*height: calc(var(--vh, 1vh) * 65);*/
  height: 65dvh;

}

.tag-filters-mobile {
  margin-top: 10px;
  height: 75dvh;
  /* 75% of actual viewport height */
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  /* iOS fix */
}

.tagsheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.equalsize>* {
  flex: 10;
}

.flexColumn {
  display: flex;
  flex-direction: column;
}

.flexRow {
  display: flex;
  flex-direction: row;
}

.flexStart {
  align-items: flex-start;
}

.flexEnd {
  align-items: flex-end;
}

.flexCenter {
  align-items: center;
}

.flexSpaceBetween {
  justify-content: space-between;
}

.flexSpaceAround {
  justify-content: space-around;
}

.flexSpaceEvenly {
  justify-content: space-evenly;
}

.uppercase {
  text-transform: uppercase;
}

.nav-btn-clear {
  background-color: rgba(var(--color-background-tertiary), .6);
  padding: 5px 10px;
  display: flex;
  width: fit-content;
  justify-content: space-between;
  gap: 7px;
}

.fullWidth {
  width: 100%;
}

.ijoxitag {
  cursor: pointer;
}

.ijoxitag-active {
  background-color: rgba(var(--color-foreground), .04);
  color: rgb(var(--color-foreground) 19, 19, 19);
  font-weight: bold;
}

.ijoxi-icon-button {
  display: flex;
  justify-content: center;
  align-items: anchor-center;
  gap: 0.8em;
}

.close-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  /* optional: controls spacing between icon and text */
}

.close-button .icon {
  transform: rotate(90deg);
  display: block;
}

.mobilefilters {
  margin-top: 20px;
  /*position: relative;*/
}

.drawer-categories::part(panel),
.drawer-footer,
.mobilefilters-content {
  background-color: #fff;
}

.drawer-categorie-footer {
  padding: 1.6rem 2.4rem;
  position: absolute;
  bottom: 0;
  width: -webkit-fill-available;
}

.mobilefilters-content-header {
  width: fit-content;
  margin-top: 30px;
  display: flex;
  align-items: anchor-center;
}

.mobilefilters-content-header>span {
  font-weight: 500;
}

.ijoxitag-mobile {
  padding: 15px 20px;
}

.ijoxi-sort-select {
  color: rgb(var(--color-foreground-secondary));
  border: none;
  height: 3.2rem;
  min-height: 0;
  padding: 0;
  padding-right: 3.2rem;
  text-align: right;
  width: 100%;
  font-family: var(--font-body-family);
  font-style: var(--font-body-style);
  font-weight: var(--font-body-weight);
}

.ijoxi-sort-select:focus-visible,
.ijoxi-sort-select:focus {
  outline: none;
  box-shadow: none;
}

/*Reposnsive Secction*/
/* Base: hide everything by default if using these classes */
.ijoximobile,
.ijoxitablet,
.ijoxidesktop {
  display: none;
}

/* Mobile: up to 767px */
@media (max-width: 767px) {
  .ijoximobile {
    display: block;
  }

  .ijoxi-icon-button {
    display: flex !important;
  }
}

/* Tablet: 768px to 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  .ijoxitablet {
    display: block;
  }

  .ijoxi-icon-button {
    display: flex !important;
  }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
  .ijoxidesktop {
    display: block;
  }

  .ijoxi-icon-button {
    display: flex !important;
  }
}