html {  
  font-size: 16px;
}


.product-cards-anchor {
  width: 1px;
  height: 1px;
  /* background-color: aqua; */
  margin-top: -90px;
  position: absolute;
  z-index: 0;
  right: 0;
}

.product-cards {
  padding-inline: clamp(0.63rem, 0rem + 3.13vw, 3.75rem);
  /*padding-inline: 40px;*/
  padding-block-start: 10px;
  padding-block-end: 20px;
  width: 100%;
  display: grid;
  background-color: #34b1c4;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: clamp(0.63rem, 0.56rem + 0.31vw, 0.94rem);
}



.product-card__item {
  display: flex;
  gap: 10px;
  /*max-width: 300px;*/
  justify-content: start;
  flex-direction: column;
  /*align-items: center;*/
  border-radius: 20px;
  /*border: 1px solid #000;*/
  background-color: #fff;
  padding-inline: 10px;
  padding-block: 10px;
  /*background-color: #ff0;*/
  text-decoration: none;
  -webkit-box-shadow: 3px 3px 4px 0px rgba(91, 98, 103, 0.2);
  -moz-box-shadow: 3px 3px 4px 0px rgba(91, 98, 103, 0.2);
  box-shadow: 3px 3px 4px 0px rgba(91, 98, 103, 0.2);
}

.product-card__item:hover .product-card__item-title, 
.product-card__item:focus .product-card__item-title, 
.product-card__item:hover .product-card__item-price,
.product-card__item:focus .product-card__item-price {
  text-decoration: none;  
}

.product-card__item:hover .product-card__item-title, .product-card__item:focus .product-card__item-title {
  color: #ea6449; 
}

.product-card__item:hover .product-card__item-price, .product-card__item:focus .product-card__item-price {
  background-color: #ea6449; 
}

.product-card__item:hover, .product-card__item:focus {
  -webkit-box-shadow: 7px 7px 8px 0px rgba(91, 98, 103, 0.5);
  -moz-box-shadow: 7px 7px 8px 0px rgba(91, 98, 103, 0.5);
  box-shadow: 7px 7px 8px 0px rgba(91, 98, 103, 0.5);
  text-decoration: none;
}

.product-card__item-photo {
  width: 100%;
  max-width: 243px;
  margin: 0 auto 0;
  /*height: 100px;*/
  /*background-color: #4f0;*/
}

.product-card__item-tags {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.product-card__item-tag {
  display: flex;  
  border-radius: 5px;
  background-color: #e25f1f;
  font-size: clamp(0.6875rem, 0.6625rem + 0.125vw, 0.8125rem);
  font-weight: 500;
  padding-inline: 5px;
  padding-block-start: 2px;
  padding-block-end: 2px;
  line-height: 1;
  color: #fff;
}

.product-card__item-tag_red {
  background-color: #f00;
}

.product-card__item-tag_green {
  background-color: #169b1c
}

.product-card__item-tag_orange {
  background-color: #e25f1f
}

.product-card__item-tag_rose {
  background-color: #f02291
}

.product-card__item-tag_advent {
  background-color: #012f51;
}

.product-card__item-tag_violet {
  background-color: #8e39b2;
}

.product-card__item-tag_burgundy {
  background-color: #91051c;
}

.product-card__item-tag_alice {
  padding-inline-end: 26px;
  /*padding-block-start: 4px;*/
  /*padding-block-end: 3px;*/
  /*border-radius: 10px;*/
  background-image: url(../images/alice-select-but-icon-sm.png), linear-gradient(90deg, rgba(104,57,207,1) 20%, rgba(36,4,106,1) 100%); 
  background-position: right center; background-repeat: no-repeat;
}

.product-card__item-title {
  font-size: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
  /*font-size: 16px;*/
  line-height: 1.2;
  font-weight: 500;
  /*padding-inline: 8px;*/
  color: #000;
  text-align: left;
  flex-grow: 1;
  /*background-color: #763;*/
}

.product-card__item-price {
  /*font-size: 20px;*/
  
  color: #000;
  gap:  7px;
  display: inline-flex;
  /*display: none;*/
  background-color: #34b1c4;
  /*margin-inline-start: 5px;*/
  border-radius: 10px;
  padding-inline: 5px;
  /*padding-block-start: 2px;*/
  /*padding-block-end: 0;*/
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  /*justify-self: flex-end;*/  
  /*background-color: #723;  */
}

.product-card__item-price-cur {
  font-size: 20px;
  font-weight: 600;
  /*background-color: #ff0;*/
  /*text-decoration: line-through;*/
}

.product-card__item-price-old {
  font-size: 15px;
  font-weight: 400;
  /*line-height: 1.5;*/
  padding-top: 3px;
  opacity: 0.8;
  /*background-color: #f40;*/
  text-decoration: line-through;
}

.product-page-title {
  padding-inline: clamp(0.625rem, 0.375rem + 1.25vw, 1.875rem);
  padding-block-start: clamp(0.875rem, 0.675rem + 1vw, 1.875rem);
  background-color: #34b1c4;
  width: 100%;
}

.product-page-title-main {
  margin: 0;
  padding: 0;
  line-height: 1.2;
  color: #fff;
  font-weight: 500;
  font-size: clamp(1.25rem, 0.95rem + 1.5vw, 2.75rem);
}

.product-page-title-sub {
  margin: 0;
  color: #fff;
  font-weight: 500;
  padding: 0;
  font-size: clamp(1.0625rem, 0.975rem + 0.4375vw, 1.5rem);
}


.product-filter-wrapper {
  width: 100%;
  background-color: #34b1c4;
}

.product-filter {
  display: none;
  padding-inline: clamp(0.94rem, 0.63rem + 1.56vw, 2.5rem);
  padding-block-start: clamp(0.13rem, -0.04rem + 0.81vw, 0.94rem);
  padding-block-end: clamp(0.25rem, 0.11rem + 0.69vw, 0.94rem);
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 0;
  /*background-color: #34b1c4;*/
  /*background-color: #f00;*/
}

.product-cards-message {
  width: 100%;
  background-color: #34b1c4;
}


.filter-result {
    display: none;
    width: 100%;
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
    text-decoration: underline;
    font-size: clamp(0.94rem, 0.83rem + 0.56vw, 1.5rem);
}


/*.product-page-size-flag {
  display: none;
  width: 1px;
  height: 1px;
}*/

/*.filter-result--1 {
  margin: 0;
  margin-top: 0 !important;
  padding: 10px 0 10px 0;
}*/

.filter-nothing--1 {
  margin: 0;
  margin-top: 0 !important;
  padding: 10px 0 10px 0;
  color: #a21506 !important;
}


.product-main-filter-newyear-buts {
  display: flex;
  padding-block-start: 20px;
  padding-block-end: 20px;
  gap: clamp(0.63rem, 0.5rem + 0.63vw, 1.25rem);
  width: 100%;
  justify-content: center;
  margin: 0 auto 0;
  padding-inline: clamp(0.63rem, 0rem + 3.13vw, 3.75rem); 
}

.product-main-filter-newyear-buts__but {
  display: flex;
  width: 100%;
  max-width: 370px;
  outline: none;
  line-height: 1.2;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  text-align: center;
  background-color: #fff;
  border-radius: 10px;
  padding-inline: 10px;
  padding-block: 10px;
  color: #000;
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
}

.product-main-filter-newyear-buts__but:hover, .product-main-filter-newyear-buts__but:focus {
  background-color: #f4a63d;
  text-decoration: none;
  color: #000;
}


.product-main-filter-newyear-buts__but_newyear {
  /*background-color: #3ff;*/
}

.product-main-filter-newyear-buts__but_notactive, .product-main-filter-newyear-buts__but_notactive:focus {
  background-color: #95dfea;
  pointer-events: none;
  cursor: default;
}


.product-newyear-filter-wrapper {
  display: none;
  width: 100%;
}

.product-newyear-filter {  
  display: flex;
  flex-wrap: wrap;
  padding-block-start: clamp(0.13rem, -0.04rem + 0.81vw, 0.94rem);
  padding-block-end: clamp(0.25rem, 0.11rem + 0.69vw, 0.94rem);
  justify-content: center;
  gap: clamp(0.31rem, 0.25rem + 0.31vw, 0.63rem);  
  padding-inline: clamp(0.63rem, 0rem + 3.13vw, 3.75rem);
}

.product-main-filter__button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
  border-radius: 6px;
  padding-inline: clamp(0.19rem, 0.15rem + 0.19vw, 0.38rem);
  padding-block: clamp(0.19rem, 0.16rem + 0.13vw, 0.31rem) clamp(0.13rem, 0.1rem + 0.13vw, 0.25rem);
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(0.625rem, 0.575rem + 0.25vw, 0.875rem);
  transition: all 0.5s ease;
}

.product-main-filter__button:focus {
  text-decoration: none;
  color: #000;
}

.product-main-filter__button:hover, .product-main-filter__button_active {
  background-color: #9efa4c !important;  
  color: #000;
  text-decoration: none;
}




@media (width <= 1300px) {
  .product-cards {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }
}

@media (width <= 991px) {
  .product-cards {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .product-filter {
    /*padding-block-start: 15px;
    padding-block-end: 10px;*/
  }
}

@media (width <= 800px) {
  .product-cards {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }
}

@media (width <= 700px) {
  .product-cards {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

@media (width <= 600px) {
  .product-cards {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .product-main-filter-newyear-buts__but {
    padding-block: 5px;
  }
}

/*@media (width <= 380px) {
  .product-card__item-tag_alice {
    max-width: 105px;
  }
}*/


@media (width <= 340px) {
  .product-cards {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .product-card__item-photo {
    max-width: 200px;
  }
}

