/* VelaKiss v1.1.16 — sticky purchase bar and refined attributes */
.vk-buy-panel table.variations {
  margin-bottom: 22px !important;
}

.vk-buy-panel table.variations tr {
  box-sizing: border-box;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid var(--vk-line);
  background: rgba(255,255,255,.24);
}

.vk-buy-panel table.variations th.label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 11px !important;
}

.vk-buy-panel table.variations th.label:after {
  content: "SELECT";
  color: #7a8589;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: .14em;
}

.vk-buy-panel table.variations select {
  height: 58px;
  padding-left: 18px;
  border-color: rgba(20,36,43,.26);
  background-color: var(--vk-paper);
  font-size: 14px;
}

.vk-buy-panel table.variations select:hover {
  border-color: rgba(20,36,43,.58);
}

.vk-buy-panel table.variations .reset_variations {
  margin-top: 10px;
}

.vk-sticky-cart {
  position: fixed;
  z-index: 80;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 82px;
  padding: 10px clamp(24px, 4vw, 72px);
  border-top: 1px solid rgba(255,255,255,.13);
  background: rgba(15,25,29,.97);
  color: #fff;
  box-shadow: 0 -12px 32px rgba(15,25,29,.12);
  backdrop-filter: blur(12px);
}

.vk-has-sticky-cart {
  padding-bottom: 82px;
}

.vk-sticky-product {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.vk-sticky-image {
  width: 50px;
  height: 58px;
  object-fit: cover;
  object-position: center 25%;
  background: var(--vk-ice);
}

.vk-sticky-product > div {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: clamp(22px, 4vw, 70px);
  align-items: center;
  min-width: 0;
}

.vk-sticky-product strong {
  display: block;
  max-width: min(47vw, 680px);
  overflow: hidden;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vk-sticky-price,
.vk-sticky-price .price,
.vk-sticky-price ins,
.vk-sticky-price del {
  color: #fff !important;
  font: normal 18px/1 Georgia, "Times New Roman", serif !important;
  text-decoration-thickness: 1px;
}

.vk-sticky-actions {
  display: grid;
  grid-template-columns: 92px minmax(180px, 230px);
  gap: 10px;
  flex: 0 0 auto;
}

.vk-sticky-actions label {
  position: relative;
  display: block;
}

.vk-sticky-actions label span {
  position: absolute;
  top: 5px;
  left: 12px;
  color: rgba(255,255,255,.55);
  font-size: 7px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.vk-sticky-qty {
  width: 100%;
  height: 52px;
  padding: 13px 10px 0;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 0;
  background: transparent;
  color: #fff;
  text-align: center;
}

.vk-sticky-button {
  height: 52px;
  padding: 0 24px;
  border: 1px solid #fff;
  border-radius: 0;
  background: #fff;
  color: var(--vk-ink);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .2s, color .2s, opacity .2s;
}

.vk-sticky-button:hover {
  background: transparent;
  color: #fff;
}

.vk-sticky-button.is-disabled {
  opacity: .72;
}

@media (max-width: 1000px) {
  .vk-sticky-cart {
    gap: 18px;
    padding-inline: 22px;
  }
  .vk-sticky-product > div {
    display: block;
  }
  .vk-sticky-price {
    display: block;
    margin-top: 6px;
  }
  .vk-sticky-actions {
    grid-template-columns: 78px minmax(150px, 190px);
  }
}

@media (max-width: 800px) {
  .vk-buy-panel table.variations tr {
    padding: 13px;
  }
  .vk-buy-panel table.variations select {
    height: 54px;
  }
  .vk-sticky-cart {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 106px;
    padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  }
  .vk-has-sticky-cart {
    padding-bottom: calc(106px + env(safe-area-inset-bottom));
  }
  .vk-sticky-image {
    width: 42px;
    height: 50px;
  }
  .vk-sticky-product {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
  }
  .vk-sticky-product strong {
    max-width: 39vw;
    font-size: 9px;
  }
  .vk-sticky-price,
  .vk-sticky-price .price,
  .vk-sticky-price ins,
  .vk-sticky-price del {
    font-size: 14px !important;
  }
  .vk-sticky-actions {
    grid-template-columns: 62px minmax(118px, 150px);
    gap: 7px;
  }
  .vk-sticky-qty,
  .vk-sticky-button {
    height: 48px;
  }
  .vk-sticky-button {
    padding-inline: 12px;
    font-size: 9px;
  }
}

@media (max-width: 430px) {
  .vk-sticky-cart {
    grid-template-columns: 1fr;
    gap: 7px;
    min-height: 126px;
  }
  .vk-has-sticky-cart {
    padding-bottom: calc(126px + env(safe-area-inset-bottom));
  }
  .vk-sticky-product {
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .vk-sticky-image {
    width: 34px;
    height: 38px;
  }
  .vk-sticky-product > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .vk-sticky-product strong {
    max-width: 57vw;
  }
  .vk-sticky-price {
    flex: 0 0 auto;
    margin-top: 0;
  }
  .vk-sticky-actions {
    grid-template-columns: 62px minmax(0, 1fr);
  }
}
