.btn-add-to-cart {
    background: #000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-family: 'unitedleague', Arial, sans-serif;
    max-height: 45px;
    font-size: 14px;
    padding-left: 30px;
    padding-right: 30px;
    margin-top: -5px;
}body{    background-color: #f0f0f5;}

.vtb-card__imgbox {
  position: relative;
  overflow: hidden;
}

.vtb-card__label {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #f58220; /* оранжевый как на vtb-league */
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  letter-spacing: 0.5px;
}.qty-btn {
    background: #fff;
    border: none;
    padding: 5px 10px;
    font-size: 18px;
    cursor: pointer;
}div.cont select {
    padding: 2px;
    border: 2px solid #000;
    border-radius: 5px;
}
div.cont {min-height:100px}
.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* контент и кнопки разъезжаются */
  height: 100%; /* растягивается по высоте родителя */
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition: box-shadow 0.3s;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-card__content {
  flex-grow: 1; /* растягивается */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.vtb-btn--primary:hover {
      background-color: #db701f;
    color: #000000;
    border-color: #000000;
    border: 3px solid #000000;
}
.vtb-btn--primary{
    border: 3px;
}
.vtb-qty {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #181616;
    border-radius:10px
}
.d1 {
    display: flex;
    gap: 10px;
    padding: 20px 0px;
    justify-content: space-between;
}
.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: box-shadow 0.3s;
  height: 100%;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-card__image {
  display: block;
  width: 100%;
  height: 250px;
  overflow: hidden;
  margin-bottom: 10px;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card__price {
  font-size: 18px;
  font-weight: 600;
  margin: 5px 0;
  color: #000;
}

.product-card__title {
  font-size: 15px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  margin: 4px 0;
  min-height: 40px;
}

.product-card__articul {
  font-size: 13px;
  color: #777;
  margin: 3px 0;
}

.product-card__descr {
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
}

.product-card__sizes {
  margin-bottom: 10px;
}

.product-card__sizes select {
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.product-card__buttons {
  margin-bottom: 10px;
}

.product-card__more {
  display: inline-block;
  background: #001087;
  color: #fff;
  padding: 8px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.product-card__buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.qty {
  display: flex;
  align-items: center;
}

.qty__btn {
  background: #eee;
  border: 1px solid #ccc;
  padding: 5px 10px;
  font-size: 16px;
  cursor: pointer;
}

.qty__input {
  width: 40px;
  text-align: center;
  border: 1px solid #ccc;
  height: 30px;
}

.product-card__cart-btn {
  background: #db701f;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.product-card__cart-btn:hover {
  background: #e07e2f;
}

/* сетка 4 в ряд, как в рефе */
.vtb-grid--cards{
  display:grid; gap:60px 40px;
  grid-template-columns:repeat(4,1fr);
  padding:100px 0px;
}
.vtb-btn--primary {
    background: #010070;
    color: #fff;
    border-color: #010070;
    width: 100%;
}
@media (max-width:1200px){.vtb-grid--cards{grid-template-columns:repeat(3,1fr)}}
@media (max-width:900px){ .vtb-grid--cards{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){ .vtb-grid--cards{grid-template-columns:1fr}.vtb-qty {
    display: inline-flex
;
    align-items: center;
    gap: 6px;
    background: #fff;
    width: 120px;
}}

/* карточка */
.vtb-card{ text-align:center; }

/* КОНТЕЙНЕР ПОД ФОТО — фиксированная высота/соотношение сторон */
.vtb-card__pic{ display:block; position:relative; margin-bottom:18px; }
.vtb-card__imgbox{
  position:relative; width:100%;
  padding-bottom:115.384%; /* как у тильды (~260/300) */
  background:#fff;
}
.vtb-card__imgbox img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* бейдж */
.vtb-card__badge{
  position:absolute; left:16px; top:12px;
  background:#f08a00; color:#fff; font-weight:700; font-size:12px;
  padding:6px 8px; border-radius:16px;
  font-family:"unitedleague",sans-serif; line-height:1.1; text-transform:uppercase;
}

/* цена и заголовок — как на рефе */
.vtb-card__price{
  color:#0a287a; font-weight:700; margin:14px 0 6px;
  font-family:"unitedleague",sans-serif; font-size:16px;
}
.vtb-card__title{
  display:block; margin:0 0 8px;
  color:#1a1f5e; text-decoration:none; text-transform:uppercase;
  font-weight:700; font-size:15px; line-height:1;
  font-family:"unitedleague",sans-serif;    min-height: 30px;
}
.vtb-card__title:hover{ text-decoration:underline }

/* описание — 2 строки, аккуратно */
.vtb-card__descr{
  font-size:12px; line-height:1.15; color:#000; opacity:.9;
  min-height:32px; max-width:300px; margin:0 auto;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}

/* кнопки и количество */
.vtb-card__actions{
  display:flex; align-items:center; justify-content:center;
  gap:14px; margin-top:16px; flex-wrap:wrap;
}
.vtb-btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:44px; padding:0 22px; font-weight:700; text-decoration:none; cursor:pointer;
  border:2px solid #111; border-radius:6px;
  font-family:"unitedleague",sans-serif;
}
.vtb-btn--primary{ background:#010070; color:#fff; border-color:#010070; }
.vtb-btn--cart{ background:#db701f; border-color:#111; color:#111; }
.vtb-btn--primary:hover{ filter:brightness(1.1) }
.vtb-btn--cart:hover{ box-shadow:0 0 16px rgba(0,0,0,.3) }

.vtb-qty{ display:inline-flex; align-items:center; gap:6px }
.vtb-qty__btn {
    width: 16px;
    height: 36px;
    border: 0;
    background: #fff;
    font-weight: 600;
    font-size: 20px;
}
.vtb-qty__input{ width:56px; height:36px; text-align:center; font-size:18px;border:0px }/* ✅ Мобильные правки */
@media (max-width: 560px) {
  html, body {
    overflow-x: hidden;
  }

  .vtb-grid--cards {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 10px;
  }

  .vtb-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .vtb-card__actions {
    flex-direction: column;
    gap: 10px;
  }

  .vtb-qty {
    justify-content: center;
    width: auto;
  }

  .vtb-btn--cart {
    width: 100%;
    max-width: 240px;
  }
}/* 📱 Исправление горизонтального скролла на мобилках */
@media (max-width: 560px) {
.vtb-qty {
    display: inline-flex
;
    align-items: center;
    gap: 6px;
    background: #fff;
    width: 120px!important;
}
  html, body {
    overflow-x: hidden;
  }

  .vtb-grid--cards {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 10px;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }

  .vtb-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .vtb-card * {
    max-width: 100%;
    box-sizing: border-box;
  }

  .vtb-card__imgbox img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
}/* 📱 Мобильный фикс карточек */
@media (max-width: 560px) {
  html, body {
    overflow-x: hidden;
  }

  .vtb-grid--cards {
    grid-template-columns: 1fr;
    padding: 10px;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }

  .vtb-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .d1 {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .vtb-qty {
    justify-content: center;
    width: 100%;
    max-width: 240px;
  }

  .vtb-btn--cart {
    width: 100%;
    max-width: 240px;
  }
}
@media (max-width: 560px) {
  html, body {
    max-width: 100vw;
    overflow-x: hidden !important;
  }

  .vtb-grid--cards, 
  .vtb-card,
  .vtb-card * {
    max-width: 100% !important;
    box-sizing: border-box;
  }
}