
* {
  box-sizing: border-box;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body.dark-theme {
  background-color: #111;
  color: #eee;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}
.bg-age {
  background-image: url('../images/bg_image.jpg');
}
.bg-password {
  background-image: url('../images/bg_image.jpg');
}
.bg-main {
  background-image: url('../images/bg_image.jpg');
}
.bg-reject {
  background-image: url('../images/bg_image.jpg');
}

.filter-bar {
  position: sticky;
  top: 0;
  background: #1a1a1a;
  padding: 1em;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.active-filter {
  background-color: #444;
  border: 1px solid #00ff88;
  color: white;
}

.logo {
  height: 40px;
  margin-right: 1em;
}
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  flex: 1;
  justify-content: center;
}

button, .dropbtn {
  background-color: #444;
  color: #eee;
  padding: 0.5em 1em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
button:hover, .dropbtn:hover {
  background-color: #666;
}

.dropdown {
  position: relative;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  background: #1a1a1a;
  padding: 0.5em;
  border: 1px solid #333;
  border-radius: 4px;
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown-content label {
  display: block;
  font-size: 0.9em;
  margin-bottom: 0.3em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5em;
  padding: 2em;
}

.product {
  background: #1c1c1c;
  padding: 1em;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
  border: 1px solid #333;
}
.product:hover {
  transform: scale(1.02);
  border-color: #555;
}
.product img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}
.product-title {
  font-size: 1.1em;
  font-weight: bold;
  margin: 0.5em 0 0.2em;
}
.product-options {
  font-size: 0.9em;
  color: #bbb;
}
.product-description {
  font-size: 0.9em;
  margin: 0.5em 0;
}
.product-price {
  font-size: 0.95em;
  margin: 0.2em 0;
}
.product-price .icon {
  margin-right: 0.3em;
}

.product-popup {
  position: fixed;
  top: 0; right: 0;
  width: 420px;
  max-width: 100%;
  height: 100%;
  background: #222;
  padding: 2em;
  overflow-y: auto;
  z-index: 200;
  box-shadow: -4px 0 10px rgba(0,0,0,0.5);
}

#popup-close {
  position: absolute;
  top: 1em;
  right: 1em;
  background: none;
  color: limegreen;
  font-size: 1.5em;
  border: none;
  cursor: pointer;
}

.dropdown-content {
  display: block;
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  transition: all 0.3s ease;
  position: absolute;
  top: 100%;
  background: #1a1a1a;
  padding: 0.5em;
  border: 1px solid #333;
  border-radius: 4px;
}
.dropdown:hover .dropdown-content {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.full-screen {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}
.center-box {
  background: rgba(0,0,0,0.6);
  padding: 2em;
  border-radius: 10px;
  text-align: center;
}

.filter-buttons button.active,
.filter-buttons .dropbtn.active {
  background-color: #00cc66;
  color: #fff;
}

#password-input {
  background: #ccc;
  border: 1px solid #888;
  padding: 0.5em;
  font-size: 1em;
  border-radius: 6px;
  width: 100%;
  max-width: 300px;
}

.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease;
  width: 200%;
}

.slider-track > * {
  /*flex: 1 0 100%;*/
  max-width: 100%;
  border-radius: 8px;
}

.slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.slider-arrow {
  background-color: rgba(0,0,0,0.6);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: white;
  border: none;
  font-size: 18px;
  cursor: pointer;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 1em;
}

.slider-dots span {
  width: 10px;
  height: 10px;
  background-color: #888;
  border-radius: 50%;
  margin: 0 4px;
  display: inline-block;
  transition: background-color 0.3s;
}

.slider-dots .active {
  background-color: #00cc66;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease;
  width: 200%;
}

.slider-track > * {
  /*flex: 1 0 100%;*/
  /*object-fit: cover;*/
  /*aspect-ratio: 2 / 3;*/
  max-height: 60vh;
  border-radius: 8px;
}

.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.slider-dots span {
  width: 10px;
  height: 10px;
  background-color: #888;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.slider-dots .active {
  background-color: #00cc66;
}
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.pagination_ {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prev_next_btn,
.pagination_sp {
    padding: 0.4rem 0.75rem;
    background-color: #333;
    color: #eee;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.prev_next_btn:hover,
.pagination_sp:hover {
    background-color: #555;
}

.pagination_sp_active {
    background-color: #00cc66;
    color: #fff;
    pointer-events: none;
}
.btn-view-products {
    display: inline-block;
    background-color: #007bff;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-view-products:hover {
    background-color: #0056b3;
}
.swiper {
    width: 100%;
    max-width: 400px;
    height: 300px;
    margin: 1rem auto;
    border-radius: 10px;
    overflow: hidden;
}

.swiper-slide img,
.swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

.popup-header h2 {
    margin-top: 0;
}

.swiper-button-next, .swiper-button-prev{
    color:white !important;
}
.swiper-pagination-bullet-active{
    background:white!important;
}