.product-card {
  position: relative;
  display: block;
  box-shadow: rgba(0, 0, 0, 0.3) 5px 5px 20px;
  border-radius: 10px;
  height: 250px;
  overflow: hidden;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.product-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow: rgba(0, 0, 0, 0.4) 10px 10px 30px;
}

.product-card div {
  width: 100%;
  height: auto;
  padding-top: 56.25%;
  background-size: cover;
  background-position: center;
  border-radius: 3px;
  position: relative;
}

.product-card>div:nth-child(1),
.product-card>div:nth-child(2) {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
}

.product-card>div:nth-child(1) {
  background-size: 100% 100%;
}

.product-card>div:nth-child(2) {
  background: rgba(0, 0, 0, 0.3);
}

.product-card>div:nth-child(2)>span:nth-child(1),
.product-card>div:nth-child(2)>span:nth-child(2),
.product-card>div:nth-child(2)>span:nth-child(3) {
  line-height: 23px;
  padding: 3px 10px;
  color: #FFF;
  border-radius: 2px;
  position: absolute;
  right: 10px;
}

.product-card>div:nth-child(2)>span:nth-child(1) {
  background: #3fb358;
  top: 10px;
}

.product-card>div:nth-child(2)>span:nth-child(2) {
  background: #4196da;
  top: 45px;
}

.product-card>div:nth-child(2)>span:nth-child(3) {
  /*background: #fa6b6b;*/
  top: 80px;
}

.product-card>div:nth-child(2) p {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: block;
  line-height: 20px;
  padding: 5px 10px;
  color: #FFF;
  background: rgba(0, 0, 0, 0.67);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.product-card:hover>div:nth-child(2) {
  background: rgba(0, 0, 0, 0);
}

.product-card:hover>div:nth-child(2) p {
  overflow: visible;
  white-space: normal;
}

@media (max-width: 991.99px) {
  .product-card {
    height: 150px;
  }
}

.product-block {
  position: relative;
  margin: -30px;
  margin-bottom: 30px;
  border-bottom: 1px solid RGB(227, 228, 232);
  background: linear-gradient(to bottom, #6a9bb1 0%, #60acae 44%, #8ba7c3 100%);
  border-radius: 1px;
  color: #FFF;
  overflow: hidden;
}

.product-block .product-bg {
  position: absolute;
  height: calc(100% + 20px);
  width: calc(100% + 20px);
  background-size: 100% auto;
  left: -10px;
  top: -10px;
  filter: blur(4px);
}

.product-block .product-content {
  position: relative;
  background: rgba(0, 0, 0, 0.45);
  padding: 40px 15px;
}

.product-block .product-content h2 {
  font-size: 30px;
  display: block;
  width: calc(100% - 200px);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.product-block .product-content span b {
  line-height: 23px;
  padding: 3px 10px;
  color: RGB(255, 255, 255);
  border-radius: 2px;
}

.product-block .product-content span .price {
  background: #3fb358;
  margin-right: 10px;
}

.product-block .product-content span .count {
  background: #4196da;
}

.product-block .product-content button {
  position: absolute;
  right: 15px;
  top: 40px;
  height: 65px;
  width: 190px;
  font-size: 18px;
  background: rgba(65, 150, 218, 0.58);
}

.buy-product-key-info {
  margin: 15px 0 0 0;
  padding: 15px;
  /*background: #fbfbfb;*/
  border: 1px solid #DDD;
  border-radius: 2px;
}

.buy-product-key-info p:last-child {
  margin: 0;
}

/* Основной контейнер карточки товара */
.product-card-detailed {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Блок изображения */
.product-card-detailed__image {
  flex: 1 1 300px;
  max-width: 300px;
}

.product-card-detailed__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/*.product-card-detailed__image {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: initial;
}

.product-card-detailed__image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #ccc;
}*/

.product-card-detailed__image a img {
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.product-card-detailed__image a:hover img {
  transform: scale(1.05);
}

.product-card-detailed__info {
  flex: 2 1 400px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card-detailed__title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.product-card-detailed__id {
  font-size: 15px;
  font-weight: bold;
  color: #5c5c5c;
}

.product-card-detailed__price,
.product-card-detailed__stock {
  font-size: 18px;
  color: #555;
}

.product-card-detailed__confirm {
  font-size: 15px;
  color: #bf3f3f;
  margin-bottom: 0;
}

.product-card-detailed__li {
  font-size: 12px;
  color: #bf3f3f;
}

.product-card-detailed__buy-btn {
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 16px;
  background: #3fb358;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.product-card-detailed__buy-btn:hover {
  background: #349b4a;
}

.product-card-detailed__conf-btn {
  padding: 10px 20px;
  font-size: 16px;
  background: #3fb358;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.product-card-detailed__conf-btn:hover {
  background: #349b4a;
}

.product-card-detailed__conf-second-btn {
  padding: 10px 20px;
  font-size: 16px;
  background: #a70d0d;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.product-card-detailed__conf-second-btn:hover {
  background: #e01616
}

.product-card-detailed__dispute-btn {
  padding: 10px 20px;
  font-size: 16px;
  background: #dd7c22;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.product-card-detailed__dispute-btn:hover {
  background: #f19f52;
}

.product-card-detailed__dispute-cancel-btn {
  padding: 10px 20px;
  font-size: 16px;
  background: #85807c;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.product-card-detailed__dispute-cancel-btn:hover {
  background: #aca7a3;
}

/* Блок описания товара */
.product-card-detailed__description {
  flex: 1 1 100%;
  margin-top: 20px;
}

.product-card-detailed__description h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.product-card-detailed__description p {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

/* Блок категорий */
.categories-block {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
}

.categories-block__header {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #3b3c3e;
}

.categories-block__list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-block__item {
  margin-bottom: 5px;
}

.categories-block__item a {
  text-decoration: none;
  color: #007bff;
  font-size: 14px;
}

.categories-block__item.active a {
  font-weight: bold;
  color: #000;
}

.category-list ul {
  display: none;
  margin-left: 15px;
  list-style: none;
}

.category-list li {
  cursor: pointer;
  margin-bottom: 5px;
}

.category-list .active>ul {
  display: block;
}

.category-list a {
  text-decoration: none;
  color: #333;
}

.category-list li.active>a {
  font-weight: bold;
  color: #8ecd2d;
}

label.form-label {
  position: static !important;
  font-size: 1em !important;
}

.d-none {
  display: none;
}

#fileInfo {
  font-size: 14px;
  margin-top: 15px;
}

#imagePreview img {
  width: auto !important;
  max-width: 200px;
  max-height: 150px;
  border: 1px solid #ddd;
  padding: 5px;
  border-radius: 5px;
}

.form-group {
  margin-bottom: 20px;
}

.btnns {
  cursor: pointer;
  padding: 10px 20px;
  /*background-color: #AD6F3B;*/
  background: linear-gradient(180deg, #8fa927 17.5%, #1e2505 100%);
  box-shadow: rgba(205, 205, 205, 0.2) -0.5px -0.5px inset, rgba(205, 205, 205, 0.2) 6px 6px 20px inset, rgba(205, 205, 205, 0.7) 0.5px 0.5px inset;
  color: #fff;
  border: 2px solid #90c52947;
  border-radius: 15px;
  font-size: 14px;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btnns:hover {
  background-color: #addb519c;
  transform: scale(1.05);
}

.seller-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-top: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.message-button {
  display: inline-block;
  margin-top: 5px;
  padding: 5px 10px;
  background-color: #56782a;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
}

.message-button:hover {
  background-color: #265409;
  text-decoration: underline;
}

.product-seller-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}

.product-card-with-seller {
  display: flex;
  align-items: flex-start;
}

.product-card-with-seller .product-seller-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}

.product-card-with-seller .seller-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 5px;
}

.btn-reviews {
  background: orange;
  cursor: pointer;
  font-weight: 500 !important;
  font-family: inherit;
  border-radius: 12px;
  border: unset;
  white-space: nowrap;
}

.btn-reviews:hover {
  background: rgb(233, 188, 104);
}

#smiley-btn {
  position: absolute;
  right: 135px;
  /* top: 50%;
  transform: translateY(-50%);*/
  cursor: pointer;
  font-size: 24px;
  z-index: 10;
  opacity: 40%;
  background: none;
  border: none;
}

.smiley-picker {
  position: absolute;
  bottom: 40px;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  background-color: white;
  border: 1px solid #ccc;
  padding: 10px;
  width: 200px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.smiley-picker.hidden {
  display: none;
}

.smiley-picker span {
  font-size: 24px;
  margin: 5px;
  cursor: pointer;
}

.product-card-detailed__comment {
  margin-top: 20px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.product-card-detailed__comment h3 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #333;
}

.comment-list {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 15px;
  border-top: 1px solid #e0e0e0;
  padding-top: 15px;
}

.comment-placeholder {
  text-align: center;
  color: #888;
  font-size: 14px;
  padding: 10px 0;
}

.comment-placeholder p {
  text-align: center;
  color: #888;
  font-size: 14px;
  padding: 10px 0;
}

.comment-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  position: relative;
}

.comment-avatar {
  width: 50px;
  height: 50px;
  margin-right: 15px;
  border-radius: 50%;
  overflow: hidden;
}

.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-content {
  flex: 1;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 10px 15px;
  position: relative;
}

.comment-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

.comment-username {
  font-weight: bold;
  color: #333;
  display: block;
  margin-bottom: 5px;
}

.comment-text {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

.comment-delete {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: #ff5b5b;
  font-size: 18px;
  cursor: pointer;
}

.comment-delete:hover {
  color: #ff0000;
}

.comment-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.comment-textarea {
  flex: 1;
  min-height: 40px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  resize: none;
}

.btn-submit {
  background: #4196da;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 8px 20px;
  cursor: pointer;
}

.btn-submit:hover {
  background: #357ab8;
}

/*NEW-----------------------------------------------------------------------------------*/
.menu-toggle {
  display: none;
}

.menu-togglemain {
  display: none;
}

/*.goods_menu {
  width: 25em;
}*/

.sidebar_left_mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background: rgb(47 52 18 / 83%);
  z-index: 999;
  padding: 30px;
  box-shadow: 0 25px 65px rgba(224, 221, 240, .45);
  transition: transform 0.3s ease;
  transform: translateX(-100%);
}

.menu_mobile {
  display: none;
  position: fixed;
  top: 0;
  left: calc(100% - 250px);
  width: 250px;
  height: 100%;
  background: rgb(47 52 18 / 83%);
  z-index: 999;
  padding: 30px;
  box-shadow: 0 25px 65px rgba(224, 221, 240, .45);
  transition: transform 0.3s ease;
  transform: translateX(-100%);
}

@media (max-width: 980px) {
  .product-card div {
    padding-top: 36.25%;
  }

  .menu-toggle {
    display: block;
    position: fixed;
    top: 50%;
    left: 0;
    width: 40px;
    height: 40px;
    z-index: 1000;
    cursor: pointer;
    transform: translateY(-50%);
    background-color: rgba(50, 50, 50, 0.9);
    border-radius: 0 10px 10px 0;
    padding: 6px 0px 0px 7px;
  }

  .menu-togglemain {
    display: block;
    position: fixed;
    top: 50%;
    left: calc(100% - 40px);
    width: 40px;
    height: 40px;
    z-index: 1000;
    cursor: pointer;
    transform: translateY(-50%);
    background-color: rgba(50, 50, 50, 0.9);
    border-radius: 10px 0 0 10px;
    padding: 6px 0px 0px 7px;
  }

  .menu-togglemain .close-icon {
    width: 22px;
    height: 22px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .bgclr-red {
    background-color: red;
    border-radius: 0 10px 10px 0;
  }

  .bgclr-green {
    background-color: red;
    border-radius: 10px 0 0 10px;
  }

  .sidebar_left {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background: rgb(47 52 18 / 83%);
    z-index: 999;
    padding: 30px;
    box-shadow: 0 25px 65px rgba(224, 221, 240, .45);
    transition: transform 0.3s ease;
    transform: translateX(-100%);
  }

  .sidebar_left_mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background: rgb(47 52 18 / 83%);
    z-index: 999;
    padding: 30px;
    box-shadow: 0 25px 65px rgba(224, 221, 240, .45);
    transition: transform 0.3s ease;
    transform: translateX(-100%);
  }

  .menu {
    display: none;
    position: fixed;
    top: 0;
    left: calc(100% - 250px);
    width: 250px;
    height: 100%;
    background: rgb(47 52 18 / 83%);
    z-index: 999;
    padding: 30px;
    box-shadow: 0 25px 65px rgba(224, 221, 240, .45);
    transition: transform 0.3s ease;
    transform: translateX(-100%);
  }

  .menu_mobile {
    display: none;
    position: fixed;
    top: 0;
    left: calc(100% - 250px);
    width: 250px;
    height: 100%;
    background: rgb(47 52 18 / 83%);
    z-index: 999;
    padding: 30px;
    box-shadow: 0 25px 65px rgba(224, 221, 240, .45);
    transition: transform 0.3s ease;
    transform: translateX(-100%);
  }

  .sidebar_left.active {
    transform: translateX(0);
    display: block;
  }

  .sidebar_left_mobile.active {
    transform: translateX(0);
    display: block;
  }

  .menu.active {
    transform: translateX(0);
    display: block;
  }

  .menu_mobile.active {
    transform: translateX(0);
    display: block;
  }

  .sidebar_left a {
    margin-bottom: 2px;
    padding: 2px 2px;
  }

  .sidebar_left_mobile a {
    margin-bottom: 2px;
    padding: 2px 2px;
  }

  .vertical-navigation li a {
    line-height: 20px;
    padding: 1px 1px;
    padding-right: 1px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    text-transform: lowercase;
    border-radius: 50px;
    background: #3d3d3d;
    color: #828282;
    transition: 0.2s;
    align-items: center;
    justify-content: space-between;
  }

  .vertical-navigation li.active a {
    color: white;
    font-weight: 600;
    padding: 1px 1px 1px 1px;
    background: #494949;
  }

  .btn_add_goods {
    font-size: 12px;
  }

  .btn_add_goods:hover {
    color: #f0b27f;
    font-size: 12px;
  }

  .btns_blocked {
    display: block;
  }
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px auto;
  width: 100%;
}

#pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  width: 100%;
  position: relative;
}

.pagination a {
  display: inline-block;
  padding: 10px 15px;
  font-size: 16px;
  color: #8ba53f;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background-color: #8ba53f;
  color: #fff;
  border-color: #8ba53f;
}

#goods_market {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#goods_market .col-lg-4 {
  flex: 1 1 calc(33.333% - 20px);
  box-sizing: border-box;
}

@media (max-width: 991.99px) {
  #goods_market .col-lg-4 {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 576px) {
  #goods_market .col-lg-4 {
    flex: 1 1 100%;
    max-width: 100%;
  }
}



/*# sourceMappingURL=primary.css.map */