.shop-sk-oneclick {
  font-family: inherit;
  color: inherit;
}
.js-sk-oneclick-open {
    width: 100%;
    font-weight: 700;
    margin-top: 5px;
}
.shop-sk-oneclick__control label div.s-checkbox{
  margin: 0 0px 10px 0px!important;
}
.shop-sk-oneclick__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
}
.shop-sk-oneclick__name {
  margin: 10px 0;
}
.shop-sk-oneclick__control {
  margin: 10px 0;
}

.shop-sk-oneclick__text {
  margin: 0 0 16px;
  line-height: 1.45;
}

.shop-sk-oneclick__text._center { text-align: center; }

.shop-sk-oneclick__form { margin-top: 8px; }

/* Cart */
.shop-sk-oneclick-cart { margin: 10px 0 16px; }

.shop-sk-oneclick-cart__table { width: 100%; }

.shop-sk-oneclick-cart__item {
  display: grid;
  grid-template-columns: 84px 1fr 120px 140px 140px;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #ececec;
}

.shop-sk-oneclick-cart__item._title {
  font-weight: 600;
  color: #666;
}

.shop-sk-oneclick-cart__img img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 4px; }

.shop-sk-oneclick-cart__name { font-size: 14px; }
.shop-sk-oneclick-cart__price,
.shop-sk-oneclick-cart__count,
.shop-sk-oneclick-cart__total { font-size: 14px; white-space: nowrap; }

.shop-sk-oneclick-cart__error {
  display: none;
  margin-top: 8px;
  color: #b00020;
  font-size: 13px;
}

/* Counter */
.shop-sk-oneclick-counter { display: inline-flex; align-items: center; border: 1px solid #e0e0e0; border-radius: 6px; overflow: hidden; }
.shop-sk-oneclick-counter__control { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 32px; color: #333; text-decoration: none;}
.shop-sk-oneclick-counter__input { width: 48px; height: 32px; border: 0; text-align: center; font-size: 14px; outline: none; }

/* Final */
.shop-sk-oneclick-final { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0 12px; flex-wrap: wrap; }
.shop-sk-oneclick-final__coupon { font-size: 13px; }
.shop-sk-oneclick-final__coupon._show-coupon .shop-sk-oneclick-final__coupon-block { display: inline-block; }
.shop-sk-oneclick-final__coupon-block { display: none; margin-left: 8px; }
.shop-sk-oneclick-final__coupon-input { height: 32px; padding: 0 10px; border: 1px solid #e0e0e0; border-radius: 6px; }

.shop-sk-oneclick-final__discount { display: none; font-size: 14px; color: #0a7a3d; }
.shop-sk-oneclick-final__discount._show { display: inline-block; }

/* Form fields */
.shop-sk-oneclick__form-block { margin-top: 8px; }

.wa-field { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 8px 0; align-items: center; }
.wa-name { font-size: 13px; color: #666; }
.wa-value input[type="text"],
.wa-value input[type="email"],
.wa-value input[type="tel"],
.wa-value textarea,
.wa-value .js-select {
  width: 100%;
  max-width: 420px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
}
.wa-value textarea { min-height: 80px; padding: 10px 12px; }

.wa-field._error .wa-value input,
.wa-field._error .wa-value textarea { border-color: #b00020; }
.wa-error-msg { display: block; margin-top: 6px; color: #b00020; font-size: 12px; }

.shop-sk-oneclick-form__error {
  display: none;
  margin: 10px 0 0;
  color: #b00020;
  font-size: 13px;
}

.shop-sk-oneclick-total { margin: 14px 0; font-size: 16px; font-weight: 600; }

.shop-sk-oneclick__pole_submit .shop-sk-oneclick__control { display: flex; align-items: center; gap: 10px; justify-content: center;}
.shop-sk-oneclick__submit {
  display: inline-block;
  height: 40px;
  padding: 0 18px;
  background: #008060;
  color: #fff;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
}
.shop-sk-oneclick__submit:hover { background: #006c51; }

.shop-sk-oneclick__preloader-form { display: none; }
.shop-sk-oneclick__preloader-form._show { display: inline-block; }

/* Responsive */
@media (max-width: 768px) {
  .shop-sk-oneclick-cart__item { grid-template-columns: 64px 1fr 90px 110px 110px; gap: 8px; }
  .wa-field { grid-template-columns: 1fr; }
}


/* Minimal, compact modal + form overrides */
.oneclick-modal { display: none; position: fixed; inset: 0; z-index: 10000; align-items: center; justify-content: center; padding: 16px; }
.oneclick-modal._open { display: flex; }
.oneclick-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.oneclick-modal__dialog {
  position: relative; z-index: 1;
  width: 92vw; max-width: 360px;
  margin: 0; 
  background: #fff; border-radius: 12px; padding: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
  max-height: 84vh; overflow: auto;
}
.oneclick-modal__close { position: absolute; top: 8px; right: 10px; background: transparent; border: 0; font-size: 20px; cursor: pointer; color: #888; }
.oneclick-modal__close:hover { color: #333; }

/* Make cart line compact; hide header row and per-item sums to reduce noise */
.shop-sk-oneclick-cart { margin: 6px 0 10px; }
.shop-sk-oneclick-cart__item { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #f0f0f0; flex-wrap: nowrap; }
.shop-sk-oneclick-cart__item._title { display: none !important; }
.shop-sk-oneclick-cart__img img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.shop-sk-oneclick-cart__name { font-size: 13px; line-height: 1.3; flex: 1 1 auto; min-width: 0; }
.shop-sk-oneclick-cart__name .shop-sk-oneclick-cart__full-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-sk-oneclick-cart__price, .shop-sk-oneclick-cart__total { display: none !important; }
.shop-sk-oneclick-cart__count { margin-left: 4px; }

/* Counter – small pill */
.shop-sk-oneclick-counter { border: 1px solid #e6e6e6; border-radius: 999px; background: #fafafa; height: 28px; }
.shop-sk-oneclick-counter__control { width: 28px; height: 28px; color: #333; }
.shop-sk-oneclick-counter__input { width: 40px; height: 28px; background: transparent; border: 0; text-align: center; font-size: 14px; }

/* Coupon/discount */
.shop-sk-oneclick-final { gap: 6px; margin: 6px 0 8px; }
.shop-sk-oneclick-final__coupon-input { height: 30px; padding: 0 10px; border: 1px solid #e6e6e6; border-radius: 6px; }
.shop-sk-oneclick-final__discount { font-size: 13px; color: #0a7a3d; }

/* Fields – stacked compact */
.shop-sk-oneclick__form-block { margin-top: 6px; }
.wa-field { display: block; padding: 6px 0; }
.wa-name { font-size: 12px; color: #666; margin-bottom: 6px; }
.wa-value input[type="text"], .wa-value input[type="email"], .wa-value input[type="tel"], .wa-value textarea, .wa-value .js-select { width: 100%; height: 36px; padding: 0 12px; border: 1px solid #e6e6e6; border-radius: 8px; font-size: 14px; }
.wa-value textarea { min-height: 80px; padding: 10px 12px; }

.shop-sk-oneclick-total { margin: 10px 0; font-size: 15px; font-weight: 600; }
.shop-sk-oneclick__pole_submit .shop-sk-oneclick__control { display: flex; align-items: center; gap: 8px; }
.shop-sk-oneclick__submit { height: 38px; padding: 0 14px; background: #0a7a3d; color: #fff; border: 0; border-radius: 8px; font-size: 14px; min-width: 200px;font-weight: 800;}
.shop-sk-oneclick__submit:hover { background: #086534; }

@media (max-width: 480px) {
  .oneclick-modal__dialog { width: 94vw; padding: 12px; border-radius: 10px; }
  .shop-sk-oneclick__title { font-size: 16px; }
}

/* Counter icons → text */
.shop-sk-oneclick-counter__control i { display: none !important; }
.shop-sk-oneclick-counter__control_left::after { content: "−"; font-weight: 700; font-size: 16px; line-height: 1; }
.shop-sk-oneclick-counter__control_right::after { content: "+"; font-weight: 700; font-size: 16px; line-height: 1; }
