 * {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  /* touch-action: none; */
}
/* filter */
/* FILTER BAR */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0;
  background: #181820;
  border-radius: 18px;
  padding: 18px 18px 0 18px;
  box-shadow: 0 3px 32px #ffe16b11;
  width: 88%;
  flex-direction: column;
}
.filter-bar .filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.filter-bar-wrap .second-row {
  margin: 10px 0;
}
.filter-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 6px;
  flex: 1;
  min-width: 180px;
}
.filter-group:last-child {
  margin-bottom: unset;
}
.filter-group .title {
  margin-bottom: 15px;
}

.filter-group label {
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 8px;
  color: #fff;
}

.filter-group .sub {
  color: #999;
  font-size: 13px;
  font-weight: 400;
}
.slide-outer {
  width: 100%; 
}
.slider-wrap {
  position: relative;
  height: 35px;
  user-select: none;
}
.thumb-value {
  position: absolute;
  top: -5px;
  font-size: 15px;
  color: #ff70a6;
  font-weight: bold;
  pointer-events: none;
  z-index: 5;
  top: 88%;
}
.slider-track,
.slider-range {
  position: absolute;
  height: 10px;
  border-radius: 8px;
  top: 50%;
  transform: translateY(-50%);
}
.slider-track {
  width: 100%;
  background: #36363f;
  z-index: 0;
}
.slider-range {
  background: linear-gradient(135deg, #ff70a6 0%, #ff007f 55%, #ffb7c5 100%);
  box-shadow: 0 0 15px 2px #ffb7c5;
  z-index: 1;
}
.slider-thumb {
  position: absolute;
  top: 50%;
  width:  15px;
  height: 15px;
  background: #fff;
  border: 4px solid #ff70a6;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 3;
  cursor: grab;
  touch-action: none;
}

/*  */

.btn-group {
  display: flex;
  gap: 7px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.btn-group button {
  padding: 7px 18px;
  border: 2px solid #484848;
  background: transparent;
  color: #fff;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.16s, color 0.18s, border 0.18s;
  margin-bottom: 7px;
  min-width: 115px;
  flex: 1 1 44%;
}

.btn-group button.active {
  background: linear-gradient(135deg, #ff70a6 0%, #ff007f 55%, #ffb7c5 100%);
  color: #fff;
  border-color: #ff007f;
  font-weight: bold;
}
/* cup-btn */
/* .btn-cup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px 12px;
}
.btn-cup > button:nth-child(1) { grid-column: 1; grid-row: 1; }
.btn-cup > button:nth-child(2) { grid-column: 2; grid-row: 1; }
.btn-cup .row-2 { grid-column: 1 / 3; grid-row: 2; display: flex; gap: 12px; }
.btn-cup .row-2 button { flex: 1 1 0; }
.btn-cup button {
  padding: 14px 0;
  font-size: 18px;
  border-radius: 5px;
  background: #181820;
  border: 2px solid #484848;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  width: 100%;
}
.btn-cup button {
  padding: 7px 18px;
  font-size: 14px;
  border-radius: 5px;
  background: #181820;
  border: 2px solid #484848;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  width: 100%;
} */
  .btn-group-cup {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));;
  width: 100%;
  justify-items: center;
  }
.btn-group-cup button{
  aspect-ratio: 1 / 1;
  width: 48px;
  border-radius: 50%;
  font-size: 1rem;
  min-width: 0;
  min-height: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #181820;
  border: 2px solid #484848;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  box-sizing: border-box;
}

#tags-list.tags-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(36px, auto);
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 16px;
  width: 100%;
}

.tag-btn {
  padding: 7px 13px;
  border: 2px solid #484848;
  background: #181820;
  color: #fff;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.16s, color 0.18s, border 0.18s;
}

.tag-btn.active {
  background: linear-gradient(135deg, #ff70a6 0%, #ff007f 55%, #ffb7c5 100%);
  color: #fff;
  border-color: #ff007f;
  font-weight: bold;
  box-shadow: 0 2px 14px #ff007f44;
}
.productCard-mainPic {
  cursor: pointer;
}
.model-info {
  background: rgba(20,20,20,0.86); /* subtle glass dark effect */
  border-radius: 12px;
  padding: 12px 10px 8px 10px;
  margin: 12px 0 0 0;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.17);
  display: flex;
  align-items: center;
}
.model-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.model-details .main-desc {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.model-id {
  font-weight: bold;
  font-size: 18px;
  color: #ff43bf;
  margin-right: 5px;
  text-shadow: 0 1px 3px #dc358a;
}
.model-name {
  font-weight: bold;
  font-size: 16px;
  color: #fff;   /* white text for contrast */
  text-shadow: 0 1px 3px #000;
}

.short-desc {
  display: flex;
  flex-direction: column;
  align-items: self-start;
  color: #c8c2c2;
}
.short-desc .model-cup {
  color: #fd11ec;
  margin-bottom: 8px;
  text-shadow: 0 1px 3px #ff0383;
  
}
.model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  flex-direction: column;
}

.model-tags .tag {
  background: linear-gradient(135deg, #ff70a6 0%, #ff007f 55%, #ffb7c5 100%);
  color: #fff;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 2px 6px 0 rgba(0,0,0,0.18);
  text-shadow: 0 1px 2px #0004;
  letter-spacing: 0.5px;
}
.book-now-btn {
  display: block;
  margin: 12px auto 0;
  width: 80%;
  background: #ff007f; color: #fff;
  font-weight: bold;
  text-align: center;
  border-radius: 8px;
  padding: 8px 0;
  text-decoration: none;
  transition: all .2s;
  opacity: 0;
  pointer-events: none;
}
.card-standard:hover .book-now-btn {
  opacity: 1;
  pointer-events: auto;
}
/* Responsive for tablet */
@media (max-width: 900px) {
  .contentBox .title h1 {
    font-size: 1.6rem;
    margin: 0 0 10px 0;
    padding: 0;
    text-align: center;
  }
  .filter-bar {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    width: 96vw;
    padding: 6vw 2vw;
    min-width: unset;
    border-radius: 12px;
    max-width: 99vw;
    max-height: 90vw;
    display: none;
    margin: unset;
  }
  .filter-bar.active {
    display: flex;
  }
  #toggle-filter-btn {
    display: block;
    width: 100%;
    margin: 8px 0 18px 0;
    padding: 12px 0;
    font-size: 1.2rem;
    background: #ff007f;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 2px 8px #ffb7c545;
    cursor: pointer;
  }
  .filter-bar-wrap {
    overflow: auto;
  }
  .filter-row {
    flex-direction: column;
    gap: unset;
    width: 100%;
  }
  .filter-bar-wrap .second-row {
    margin: 30px 0;
  }
  .filter-group {
    min-width: 0;
    flex: 1 1 100%;
    width: 100%;
    margin-bottom: 3px;
  }
  .filter-group .title {
    margin-top: 10px;
  }
  .btn-group {
    flex-wrap: wrap;
    gap: 7px;
    width: 100%;
  }
  .btn-group button {
    width: 65%;
  }

  .btn-cup {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
    gap: 0.7em;
    width: 100%;
    justify-items: center;
  }
  .btn-cup button {
    aspect-ratio: 1 / 1;
    min-width: 60px;  /* or 56px, try what looks good */
    min-height: 60px;
    border-radius: 50%;
    font-size: 1rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #181820;
    border: 2px solid #484848;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    box-sizing: border-box;
    width: 60%;
  }

  .slide-outer {
    width: 85vw;
    max-width: 92vw;
    margin: 0 auto;  
  }
  #tags-list.tags-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
    margin-bottom: 12px;
  }
  
}
