/* Scoped additions; preserve the theme's gallery, swatches and variation prices. */
.woocommerce div.product .sk-telegram-order,
.sk-telegram-buybar .sk-telegram-order {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--brown, #352318);
  color: var(--cream-text, #fef5e8);
  font-family: var(--font-body, 'Raleway', Arial, sans-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: break-word;
}
.woocommerce div.product .sk-telegram-order:hover,
.sk-telegram-buybar .sk-telegram-order:hover {
  background: #241811;
  color: var(--cream-text, #fef5e8);
}
.sk-telegram-order:focus-visible {
  outline: 3px solid #647e8f;
  outline-offset: 4px;
}
.woocommerce div.product form.cart .sk-telegram-variation-wrap,
.woocommerce div.product form.cart .sk-telegram-variation-buttons {
  display: block !important;
}
.woocommerce div.product form.cart .sk-telegram-order {
  float: none;
  opacity: 1;
}
.sk-telegram-order-note {
  clear: both;
  max-width: 48em;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--brown-70, rgba(53, 35, 24, .7));
}
.sk-telegram-buybar[hidden] { display: none !important; }
.sk-telegram-buybar .sk-buybar__price {
  flex: 1 1 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  font-size: 18px;
  line-height: 1.15;
}
.sk-telegram-buybar .sk-telegram-order--sticky {
  flex: 0 1 61%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 13px;
  font-size: 13px;
}
@media (max-width: 767px) {
  .woocommerce div.product form.cart .sk-telegram-order { width: 100%; }
  .woocommerce div.product form.cart .variations select { min-width: 0; width: 100%; }
  .sk-telegram-buybar { gap: 10px; }
  body.sk-buybar-visible { scroll-padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .sk-telegram-buybar { transition: none; }
}
