body {
  background-image: url("../images/mine-king.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  height: 100%;
}

.dropdown-toggle::after {
  content: none;
}

.custom-shadow {
  box-shadow: 5px 5px 25px 19px #000000;
}

.product_id {
  color: gray;
  font-size: 15px;
}

.badge.bg-warning.text-dark {
  position: absolute;
  top: 10px;
  right: 5px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 1rem;
  box-shadow: 2px 2px 15px 9px #000000;
}

.badge-banner {
  top: 80%;
  border-radius: 15px;
  font-size: 0.7rem;
}

.navbar-brand {
  font-family: 'Times New Roman', Times, serif;
  font-size: 30px;
  cursor: pointer;
  padding-top: var(--bs-navbar-brand-padding-y);
  padding-bottom: var(--bs-navbar-brand-padding-y);
  margin-right: var(--bs-navbar-brand-margin-end);
  text-decoration: none;
  white-space: nowrap;
}

.language-switcher {
  font-family: 'Times New Roman', Times, serif;
  }

  .lang-btn {
  background-color: #fff;
  color: #000;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  }

  .lang-dropdown {
  display: none; /* Скрыт по умолчанию */
  position: absolute;
  background-color: var(--bs-body-bg);
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 5px;
  }

  .lang-dropdown li a {
  color: rgb(255, 255, 255);
  padding: 2px 16px;
  text-decoration: none;
  display: block;
  }

  .lang-dropdown li a:hover {
  background-color: rgb(43, 48, 53);
  border-radius: 5px;
  }

  .language-switcher:hover .lang-dropdown {
  display: block; /* Показать при наведении */
  }

@property --gallery-rotation {
    syntax: "<number>";
    initial-value: 0;
    inherits: true;
}
@keyframes gallery-rotation {
    to { --gallery-rotation: 1 } 
}
#gallery {
    --rotate-direction: 1;
    --rotate-duration: 20s;
    --item-size: 95%;
    --item-transition-duration: 0.5s; 
    width: min(80vmin, 500px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: grid;
    animation: gallery-rotation var(--rotate-duration) linear infinite;
    container-type: inline-size;
    isolation: isolate;
    margin: 20px auto;
}
#gallery div {
    box-sizing: border-box;
    grid-area: 1 / 1;
    width: calc(var(--item-size) / (1 + (1 / sin(180deg / var(--count)))));
    aspect-ratio: 1/1;
    box-shadow: 0 1cqw 2cqw rgba(0,0,0,0.2), 0 1.5cqw 2.5cqw rgba(0,0,0,0.1);
    border-radius: 50%;
    border: calc(5cqi / var(--count)) solid #559abf;
    object-fit: cover;
    offset-path: border-box;
    offset-anchor: top center;
    offset-distance: calc((100% * (var(--index) / var(--count) + var(--gallery-rotation, 0))) * var(--rotate-direction));
    transform: rotate(calc(-360deg * var(--rotate-direction) * (var(--index) / var(--count) + var(--gallery-rotation, 0))));
    z-index: 0;
    transition: width var(--item-transition-duration), filter var(--item-transition-duration), box-shadow var(--item-transition-duration), z-index 0s calc(var(--item-transition-duration) * var(--transition-delay-z, 1));
}            
