#ocb-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999
}

#ocb-modal[aria-hidden='false'] {
	display: block
}

.ocb-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .5)
}

.ocb-dialog {
	position: relative;
	margin: 6vh auto;
	max-width: 420px;
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .2)
}

.ocb-close {
	position: absolute;
	right: 8px;
	top: 0px;
	border: 0;
	background-color: #0a80c6 !important;
	color:#fff !important;
	font-size: 20px
}

.ocb-form {
	display: flex;
	flex-direction: column;
	gap: 10px
}

.ocb-form input[type='tel'],
.ocb-form input[type='text'] {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 8px
}

.ocb-submit {
	padding: 10px 14px
}


/* === One Click Buy — кнопка фиксирована снизу карточки товара (flex-метод) === */

/* Обёртка карточки: превращаем в вертикальный флекс */
.wd-product .product-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* Внутреннее содержимое растягиваем */
.wd-product .product-wrapper > *:not(.ocb-one-click-btn) {
  flex: 0 0 auto;
}

/* Кнопка внизу карточки */
.ocb-one-click-btn {
  margin-top: auto; /* прижимает кнопку вниз */
  background-color: var(--btn-bgcolor, #243665);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 0;
  /*width: 100%;*/
  text-align: center;
  transition: all .25s ease;
  cursor: pointer;
  background-color: #0a80c6 !important;
  flex:inherit !important;
}

/* Hover эффект */
.ocb-one-click-btn:hover {
  background-color: #314da8 !important;
}

/* Общий стиль кнопки */
.ccb-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #229ED9;
  color: #fff !important;
  border-radius: 6px;
  font-weight: 600;
  padding: 10px 18px;
  transition: all 0.2s ease;
  order: 3; /* выталкивает кнопку вправо */
  margin-left: auto;
}

/* Ховер эффект */
.ccb-contact-button:hover {
  background-color: #1b8ec5;
  transform: translateY(-1px);
}

/* Контейнер с кнопками на продукте (WoodMart) */
form.cart {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

/* Убедимся, что все кнопки в одну линию */
form.cart .single_add_to_cart_button,
form.cart .wd-buy-now-btn,
form.cart .ccb-contact-button {
  flex-shrink: 0;
}



.ccb-contact-button {
  background-color: #0a80c6 !important;
  flex:inherit !important;
  color: #fff !important;
  border-radius: 6px;
  font-weight: 600;
}
.ccb-contact-button:hover {
  opacity: 0.85;
}


.wd-after-add-to-cart{
	display: none !important;
}