/* Hide radio buttons */
.rate > input {
    display: none;
}

.rate {
    display: inline-block;
    border: 0;
}

.rate > label {
    float: right;
}

/* Showing the stars */
.rate > label::before {
    display: inline-block;
    font-size: 1.2rem;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: "\f005";
    margin: 0;
    padding: 0.3rem .2rem;
    cursor: pointer;
}

/* Half star */
.rate .half::before {
    content: "\f089";
    position: absolute;
    padding-right: 0;
}

/* Click and hover */
input:checked ~ label, label:hover ~ label {
    color: #ffb503;
}

/* Hover hightlight */
input:checked + label:hover, input:checked ~ label:hover, input:checked ~ label:hover ~ label,
label:hover ~ input:checked ~ label {
    color: #cc9000;
}

.rating-star i {
    color: #ffb503;
}

/* Product Gallery */
ul.thumb {
    margin: 0 auto;
    padding: 0;
    float: left;
}

ul.thumb li {
    list-style: none;
    margin: 10px;
}

ul.thumb li img {
    width: 80px;
    height: 80px;
    border: 1px solid grey;
}

#global-loader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#global-loader .spinner {
  position: relative;
  width: 70px;
  height: 70px;
  border: 6px solid rgba(204, 204, 204, 0.5); /* #ccc с прозрачностью 0.5 */
  border-top-color: rgba(0, 123, 255, 0.7);   /* #007bff с прозрачностью 0.7 */
  border-radius: 50%;
  animation: spin-left 0.7s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner-logo {
  position: absolute;
  width: 60px;
  height: 60px;
  z-index: 2;
  pointer-events: none;
  animation: spin-right 2s linear infinite; !important;
  opacity: 0.3; /* чуть менее прозрачный логотип */
}

/* Анимация спиннера по часовой */
@keyframes spin-right {
  to { transform: rotate(360deg); }
}

/* Анимация логотипа против часовой */
@keyframes spin-left {
  to { transform: rotate(-360deg); }
}
