/* для дополнительных товаров */

.mv-block-cards {
  display: flex;
  gap: 15px;
}

.mv-item-card {
  border: 1px solid #e6eaeb;
  display: grid;
  grid: ;
  grid-template-rows: repeat(6, 1fr);
  padding: 5px;
  min-width: 155px;
  position: relative;
}

.mv-card-img {
  grid-row: 2/6;
  height: 100%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  overflow: hidden;
}

.mv-title {
  text-align: center;
}

.mv-price {
  text-align: right;
}

.mv-napolnenie {
  margin-bottom: 15px;
}

.mv-wrapper * {
  font-family: Manrope, sans-serif;
  box-sizing: border-box;
}

.mv-item-card.mv-active {
/*background-color: #e8eeee;*/
  border: 2px solid #009cc412;
  /*box-shadow: 3px 3px;*/
  box-shadow: inset 4px 4px 7px rgb(231, 234, 233), 0px 0px 11px rgb(196, 138, 138);
  transform: scale(0.95);
}
/*для мини слайдера*/
#test {
  display: flex;
  width: 300%;
  height: 100%;
  white-space: nowrap;
  position: relative;
}
.mv-wrapper * {
  font-family: Manrope, sans-serif;
  box-sizing: border-box;
}
.mv-but-sl{
    width: 20px;
  height: 20px;
  border-left:2px solid #000;
  border-top:2px solid #000;
   position: absolute;
   top:60px;
   z-index: 9;
   cursor: pointer;
}
.mv-prev{
 transform:rotate(-45deg);   
left:5px;
}
.mv-next{
 transform:rotate(135deg);   
 right:5px;
}
.mv-img-item {
  background-position: center;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
}
[data-mv-counter="2"] #test{
    transform: translateX(0%);
}
[data-mv-counter="1"] #test{
    transform: translateX(-33.30%);
}
[data-mv-counter="0"] #test{
    transform: translateX(-66.6%);
}
/*попап*/

/* Inline таблица стилей #33 | https://aintnobetter.com/catalogue/tproduct/408419878422-for-guest-40h70 */

.mv-popap-content {
  width: 80vw;
  height: 60vh;
  display: flex;

  gap: 10px;
  flex-direction: column;
}
@media(min-width:560px){
.mv-popap-content {
  width: 80vw;
  height: 200px;

  gap: 10px;
   flex-direction: row;
}
   .mv-pop-img {
       background-size: contain;  
   }

}

.mv-pop-img {
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  cursor: pointer;
}
.mv-popap-title {
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
  font-size: 42px;
    font-family: Manrope, sans-serif;
    flex-direction: column;
}
.mv-close {
  color: #fff;
  display: flex;
  margin-left: auto;
  width: fit-content;
  font-size: 36px;
  cursor: pointer;
}


.mv-b-inp,
.mv-card-title input{
      display: none;
}
.mv-active .mv-card-title input{
    display: initial;
    width: 140px;
}


.mv-item-card {
  position: relative;
}
.mv-item-card {
  background-color: white;
}

.mv-b-inp {
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 45%;
  height: 100%;
  justify-content: space-between;
  z-index: -1;
  
}

.input-pfoto {
  flex: 1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  z-index: 99999999999;
  background-color: white;
}

.mv-active .mv-b-inp{
    transition: all .3s cubic-bezier(.08,.82,.17,1);
  left: 100%;
}
/*радиокружки*/
.mv-option {
  width: 100%;
  height: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: absolute;
  padding: 0;
  margin: 0;
}
.input-pfoto:has(input:checked) {
  border: 1px solid #827f7f;
}
[data-mv-item="0"].mv-active .mv-card-img {
  grid-row: 2/5;
}

[data-mv-item="0"].mv-active .mv-card-title {
  grid-row: 5/7;
}
