/* Начало: карточка товара */
.dobro-product-card {
	position: relative;
	display: flex;
	flex: 0 0 376px;
	flex-direction: column;
	align-items: flex-start;
	gap: 15px;
	width: 376px;
	height: 601px;
	padding: 0;
	overflow: visible;
	background: #ffffff;
	border-radius: 45px;
	color: #000000;
	font-family: var(--dobro-font-base);
	box-sizing: border-box;
}

.dobro-product-card *,
.dobro-product-card *::before,
.dobro-product-card *::after {
	box-sizing: border-box;
}
/* Конец: карточка товара */

/* Начало: изображение товара */
.dobro-product-card__top {
	position: relative;
	flex: 0 0 282px;
	width: 100%;
	height: 282px;
	min-height: 282px;
	max-height: 282px;
	overflow: hidden;
	background: #ffffff;
	border-radius: 45px;
}

.dobro-product-card__image-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 282px;
	overflow: hidden;
	background: #ffffff;
	border-radius: 45px;
}

.dobro-product-card .dobro-product-card__image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 282px;
	object-fit: contain;
	object-position: center;
	transition: transform var(--dobro-transition);
}

.dobro-product-card__image-link:hover .dobro-product-card__image {
	transform: scale(1.015);
}
/* Конец: изображение товара */

/* Начало: избранное */
.dobro-product-card button.dobro-product-card__favorite,
.dobro-product-card button.dobro-product-card__favorite:focus {
	position: absolute;
	z-index: 3;
	top: 17px;
	right: 23px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 3px;
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: 0;
	border-radius: 50%;
	box-shadow: none;
	color: #242424;
	cursor: pointer;
	transition: background-color var(--dobro-transition), color var(--dobro-transition), transform var(--dobro-transition);
}

.dobro-product-card button.dobro-product-card__favorite:hover {
	background: #eeeeee;
	color: #ee0800;
}

.dobro-product-card button.dobro-product-card__favorite:active {
	background: #eeeeee;
	color: #ee0800;
	transform: scale(0.94);
}

.dobro-product-card button.dobro-product-card__favorite:focus-visible {
	outline: 2px solid #ee0800;
	outline-offset: 2px;
}

.dobro-product-card__favorite svg {
	display: block;
	width: 24px;
	height: 24px;
}

.dobro-product-card__favorite svg path {
	fill: transparent;
	transition: fill var(--dobro-transition), stroke var(--dobro-transition);
}

.dobro-product-card button.dobro-product-card__favorite.is-active,
.dobro-product-card button.dobro-product-card__favorite.is-active:focus,
.dobro-product-card button.dobro-product-card__favorite.is-active:hover {
	background: transparent;
	color: #ee0800;
}

.dobro-product-card button.dobro-product-card__favorite.is-active svg path {
	fill: currentColor;
}

.dobro-product-card button.dobro-product-card__favorite.is-loading,
.dobro-product-card button.dobro-product-card__favorite.is-loading:disabled {
	background: transparent;
	color: #ee0800;
	cursor: default;
	opacity: 1;
	pointer-events: none;
}

.dobro-product-card__favorite.is-loading svg {
	opacity: 0;
}

.dobro-product-card__favorite.is-loading::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 16px;
	content: "";
	border: 2px solid #eeeeee;
	border-top-color: #ee0800;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	animation: dobro-product-card-favorite-loader 650ms linear infinite;
}

.dobro-featured-product .dobro-featured-product__favorite.is-loading span {
	opacity: 0;
}

@keyframes dobro-product-card-favorite-loader {
	from {
		transform: translate(-50%, -50%) rotate(0deg);
	}

	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}
/* Конец: избранное */

/* Начало: содержимое карточки */
.dobro-product-card__body {
	position: relative;
	display: flex;
	flex: 0 0 304px;
    height: 304px;
	flex-direction: column;
	align-items: flex-start;
	gap: 15px;
	width: 100%;
	padding: 0;
}
/* Конец: содержимое карточки */

/* Начало: бейджи */
.dobro-product-card__badges {
	display: flex;
	flex: 0 0 23px;
	align-items: center;
	gap: 8.21px;
	width: 100%;
	height: 23px;
	min-height: 23px;
	margin: 0;
	padding: 0 15px;
}

.dobro-product-card__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 23px;
	min-height: 23px;
	padding: 0 10px;
	border-radius: 32.86px;
	color: #ffffff;
	font-family: var(--dobro-font-base);
	font-size: 10px;
	font-weight: 700;
	line-height: 12px;
	white-space: nowrap;
}

.dobro-product-card__badge--favorite {
	box-sizing: border-box;
	flex: none;
	width: 68px;
	border: 1px solid #ee0800;
	background: transparent;
	color: #ee0800;
}

.dobro-product-card__badge--bestseller {
	min-width: 80px;
	background: #ff7b00;
}

.dobro-product-card__badge--week {
	min-width: 85px;
	background: #08563b;
}

.dobro-product-card__badge--discount {
	background: #ee0800;
}
/* Конец: бейджи */

/* Начало: цена */
.dobro-product-card__price-row {
	display: flex;
	flex: 0 0 28px;
	align-items: baseline;
	gap: 10px;
	width: 100%;
	height: 28px;
	min-height: 28px;
	margin: 0;
	padding: 0 15px;
}

.dobro-product-card__price {
	color: #000000;
	font-family: var(--dobro-font-display);
	font-size: 40px;
	font-style: normal;
	font-weight: 700;
	line-height: 28px;
	white-space: nowrap;
}

.dobro-product-card__price .woocommerce-Price-amount {
	color: inherit;
}

.dobro-product-card__regular-price {
	position: relative;
	display: block;
	color: #ee0800;
	font-family: "Bebas Neue Pro", var(--dobro-font-display);
	font-size: 22px;
	font-weight: 600;
	line-height: 26px;
	text-decoration: none;
	white-space: nowrap;
}

.dobro-product-card__regular-price .woocommerce-Price-amount,
.dobro-product-card__regular-price bdi {
	color: inherit;
	font: inherit;
	line-height: inherit;
}

.dobro-product-card__regular-price::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	height: 2px;
	border-radius: 1px;
	background: #ee0800;
	transform: translateY(-50%);
}
/* Конец: цена */

/* Начало: название товара */
.dobro-product-card__title {
	display: -webkit-box;
	flex: 0 0 39px;
	width: 100%;
	height: 39px;
	min-height: 39px;
	margin: 0;
	padding: 0 15px;
	overflow: hidden;
	color: #000000;
	font-family: var(--dobro-font-base);
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: 20px;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	transition: color var(--dobro-transition);
}

.dobro-product-card__title:hover {
	color: #ff7b00;
}

.dobro-product-card__title:focus-visible {
	outline: 2px solid #ff7b00;
	outline-offset: 2px;
}
/* Конец: название товара */

/* Начало: параметры товара */
.dobro-product-card__variation-options {
	position: relative;
	z-index: 5;
	display: flex;
	flex: 0 0 23px;
	flex-direction: row;
	align-items: flex-start;
	gap: 8.21px;
	width: 100%;
	height: 23px;
	margin: -20px 0 0;
	padding: 0 15px;
}

.dobro-product-card__weight {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-width: 59px;
	height: 23px;
	padding: 0 10px;
	background: #ff7b00;
	border-radius: 32.86px;
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	line-height: 12px;
	white-space: nowrap;
}

.dobro-product-card__variation-group {
	position: relative;
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	height: 23px;
	margin: 0;
	line-height: 0;
}

.dobro-product-card__variation-values {
	display: flex;
	align-items: center;
	gap: 8.21px;
}

.dobro-product-card .dobro-product-card__variation-group--buttons .dobro-product-card__variation-value,
.dobro-product-card .dobro-product-card__variation-group--buttons .dobro-product-card__variation-value:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 59px;
	height: 23px;
	padding: 0 10px;
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: 1px solid #bdbdbd;
	border-radius: 32.86px;
	box-shadow: none;
	color: #bdbdbd;
	font-family: var(--dobro-font-base);
	font-size: 10px;
	font-weight: 700;
	line-height: 12px;
	white-space: nowrap;
	cursor: pointer;
}

.dobro-product-card .dobro-product-card__variation-group--buttons .dobro-product-card__variation-value.is-active {
	background: #ff7b00;
	border-color: #ff7b00;
	color: #ffffff;
}

.dobro-product-card .dobro-product-card__variation-group--buttons .dobro-product-card__variation-value:hover:not(:disabled) {
	background: #ff7b00;
	border-color: #ff7b00;
	color: #ffffff;
}

.dobro-product-card .dobro-product-card__variation-group--buttons .dobro-product-card__variation-value:active:not(:disabled) {
	transform: scale(0.96);
}

.dobro-product-card .dobro-product-card__variation-group--buttons .dobro-product-card__variation-value:disabled {
	background: #eeeeee;
	border-color: #eeeeee;
	color: #bdbdbd;
	cursor: default;
	opacity: 1;
}
/* Конец: параметры товара */

/* Начало: кнопка выпадающего параметра */
.dobro-product-card button.dobro-product-card__variation-trigger,
.dobro-product-card button.dobro-product-card__variation-trigger:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: auto;
	height: 23px;
	padding: 0 10px;
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: 1px solid #bdbdbd;
	border-radius: 32.86px;
	box-shadow: none;
	color: #bdbdbd;
	font-family: var(--dobro-font-base);
	font-size: 10px;
	font-weight: 700;
	line-height: 12px;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--dobro-transition), border-color var(--dobro-transition), color var(--dobro-transition);
}

.dobro-product-card button.dobro-product-card__variation-trigger:hover,
.dobro-product-card__variation-group--select.is-open button.dobro-product-card__variation-trigger {
	background: #ffffff;
	border-color: #242424;
	color: #242424;
}

.dobro-product-card button.dobro-product-card__variation-trigger:active {
	background: #eeeeee;
	border-color: #242424;
	color: #242424;
}

/* Начало: выбранный параметр товара */
.dobro-product-card button.dobro-product-card__variation-trigger.is-selected,
.dobro-product-card button.dobro-product-card__variation-trigger.is-selected:focus,
.dobro-product-card button.dobro-product-card__variation-trigger.is-selected:hover,
.dobro-product-card__variation-group--select.is-open button.dobro-product-card__variation-trigger.is-selected {
	background: #ee0800;
	border-color: #ee0800;
	color: #ffffff;
}

.dobro-product-card button.dobro-product-card__variation-trigger.is-selected:active {
	background: #d90700;
	border-color: #d90700;
	color: #ffffff;
}
/* Конец: выбранный параметр товара */

.dobro-product-card button.dobro-product-card__variation-trigger:focus-visible {
	outline: 2px solid #ff7b00;
	outline-offset: 2px;
}

.dobro-product-card__variation-trigger svg {
	position: relative;
	top: 1px;
	display: block;
	flex: 0 0 10px;
	width: 10px;
	height: 6px;
	transition: transform var(--dobro-transition);
}

.dobro-product-card__variation-group--select.is-open .dobro-product-card__variation-trigger svg {
	transform: rotate(180deg);
}
/* Конец: кнопка выпадающего параметра */

/* Начало: список значений параметра */
.dobro-product-card__variation-menu {
	position: absolute;
	z-index: 20;
	top: calc(100% + 6px);
	left: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	width: max-content;
	min-width: 100%;
	max-width: 160px;
	max-height: 180px;
	padding: 6px;
	overflow-x: hidden;
	overflow-y: auto;
	visibility: hidden;
	background: #ffffff;
	border: 1px solid #eeeeee;
	border-radius: 12px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
	opacity: 0;
	pointer-events: none;
	transform: translateY(-4px);
	transition: visibility var(--dobro-transition), opacity var(--dobro-transition), transform var(--dobro-transition);
}

.dobro-product-card__variation-group--select.is-open .dobro-product-card__variation-menu {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.dobro-product-card .dobro-product-card__variation-menu .dobro-product-card__variation-value,
.dobro-product-card .dobro-product-card__variation-menu .dobro-product-card__variation-value:focus {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 30px;
	padding: 6px 9px;
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	color: #242424;
	font-family: var(--dobro-font-base);
	font-size: 11px;
	font-weight: 600;
	line-height: 14px;
	text-align: left;
	cursor: pointer;
}

.dobro-product-card .dobro-product-card__variation-menu .dobro-product-card__variation-value:hover:not(:disabled) {
	background: #eeeeee;
	color: #242424;
}

.dobro-product-card .dobro-product-card__variation-menu .dobro-product-card__variation-value.is-active,
.dobro-product-card .dobro-product-card__variation-menu .dobro-product-card__variation-value.is-active:hover,
.dobro-product-card .dobro-product-card__variation-menu .dobro-product-card__variation-value.is-active:focus {
	background: #ee0800;
	color: #ffffff;
}

.dobro-product-card .dobro-product-card__variation-menu .dobro-product-card__variation-value:disabled {
	background: transparent;
	color: #bdbdbd;
	cursor: default;
	opacity: 1;
}

.dobro-product-card .dobro-product-card__variation-menu .dobro-product-card__variation-value:focus-visible {
	outline: 1px solid #ff7b00;
	outline-offset: -1px;
}
/* Конец: список значений параметра */

/* Начало: управление покупкой */
.dobro-product-card__purchase {
	display: grid;
	flex: 0 0 151px;
	grid-template-columns: 185px 108px;
	grid-template-rows: 60px 60px;
	grid-template-areas:
		"quantity ratings"
		"cart ratings";
	column-gap: 40px;
	row-gap: 16px;
	width: 100%;
	height: 151px;
	margin: 0;
	padding: 0 15px 15px;
}

.dobro-product-card__purchase-row {
	display: contents;
}
/* Конец: управление покупкой */

/* Начало: количество товара */
.dobro-product-card__quantity {
	grid-area: quantity;
	display: grid;
	grid-template-columns: 60px 12px 60px;
	align-items: center;
	justify-content: start;
	gap: 26px;
	width: 184px;
	height: 60px;
}

.dobro-product-card button.dobro-product-card__qty-button,
.dobro-product-card button.dobro-product-card__qty-button:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	padding: 0;
	appearance: none;
	-webkit-appearance: none;
	background: #eeeeee;
	border: 0;
	border-radius: 40px;
	box-shadow: none;
	color: #242424;
	font-family: var(--dobro-font-base);
	font-size: 28px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	transition: background-color var(--dobro-transition), color var(--dobro-transition), transform var(--dobro-transition);
}

.dobro-product-card button.dobro-product-card__qty-button--minus,
.dobro-product-card button.dobro-product-card__qty-button--minus:focus,
.dobro-product-card button.dobro-product-card__qty-button--plus,
.dobro-product-card button.dobro-product-card__qty-button--plus:focus {
	background: #eeeeee;
	color: #242424;
}

.dobro-product-card button.dobro-product-card__qty-button--minus:hover:not(:disabled),
.dobro-product-card button.dobro-product-card__qty-button--minus:active:not(:disabled),
.dobro-product-card button.dobro-product-card__qty-button--plus:hover:not(:disabled),
.dobro-product-card button.dobro-product-card__qty-button--plus:active:not(:disabled) {
	background: #ee0800;
	color: #ffffff;
}

.dobro-product-card button.dobro-product-card__qty-button:active:not(:disabled) {
	transform: scale(0.94);
}

.dobro-product-card button.dobro-product-card__qty-button:focus-visible {
	outline: 2px solid #ee0800;
	outline-offset: 3px;
}

.dobro-product-card button.dobro-product-card__qty-button:disabled,
.dobro-product-card button.dobro-product-card__qty-button:disabled:hover,
.dobro-product-card button.dobro-product-card__qty-button:disabled:focus {
	background: #eeeeee;
	color: #bdbdbd;
	cursor: default;
	transform: none;
}

.dobro-product-card__qty-value {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 12px;
	height: 60px;
	color: #242424;
	font-family: var(--dobro-font-base);
	font-size: 24px;
	font-weight: 500;
	line-height: 16px;
	text-align: center;
}
/* Конец: количество товара */

/* Начало: вкусовые характеристики */
.dobro-product-card__ratings {
	grid-area: ratings;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14.79px;
	width: 108px;
	height: 125.57px;
}

.dobro-product-card__rating {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	width: 108px;
	height: 32px;
}

.dobro-product-card__rating-label {
	height: 10px;
	color: #9e9e9e;
	font-family: var(--dobro-font-base);
	font-size: 14px;
	font-weight: 600;
	line-height: 10px;
	white-space: nowrap;
}

.dobro-product-card__rating-dots {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 102px;
	height: 14px;
}

.dobro-product-card__rating-dot {
	display: block;
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	background: #eeeeee;
	border-radius: 50%;
}

.dobro-product-card__rating-dot.is-active {
	background: #ff7b00;
}
/* Конец: вкусовые характеристики */

/* Начало: кнопка корзины */
.dobro-product-card button.dobro-product-card__add-to-cart,
.dobro-product-card button.dobro-product-card__add-to-cart:focus {
	grid-area: cart;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 185px;
	height: 60px;
	margin: 0;
	padding: 0 25px;
	appearance: none;
	-webkit-appearance: none;
	background: #ffa100;
	border: 0;
	border-radius: 40px;
	box-shadow: none;
	color: #ffffff;
	font-family: var(--dobro-font-base);
	font-size: 14px;
	font-weight: 600;
	line-height: 16px;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--dobro-transition), transform var(--dobro-transition), opacity var(--dobro-transition);
}

.dobro-product-card button.dobro-product-card__add-to-cart:hover:not(:disabled) {
	background: #ee0800;
	color: #ffffff;
}

.dobro-product-card button.dobro-product-card__add-to-cart:active:not(:disabled) {
	background: #d90700;
	color: #ffffff;
	transform: scale(0.98);
}

.dobro-product-card button.dobro-product-card__add-to-cart:focus-visible {
	outline: 2px solid #ff7b00;
	outline-offset: 3px;
}

.dobro-product-card button.dobro-product-card__add-to-cart.is-loading {
	gap: 8px;
	background: #ffa100;
	color: #ffffff;
	cursor: wait;
	opacity: 1;
}

.dobro-product-card button.dobro-product-card__add-to-cart.is-loading::before {
	content: "";
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	border: 3px solid rgba(255, 255, 255, 0.45);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: dobro-product-card-cart-spin 0.7s linear infinite;
}

.dobro-product-card button.dobro-product-card__add-to-cart.is-added {
	background: #ee0800;
	color: #ffffff;
	cursor: default;
	animation: dobro-product-card-cart-added 0.35s ease-out both;
}

.dobro-product-card button.dobro-product-card__add-to-cart.is-error {
	background: #ee0800;
	color: #ffffff;
	cursor: default;
}

.dobro-product-card button.dobro-product-card__add-to-cart:disabled:not(.is-loading):not(.is-added):not(.is-error),
.dobro-product-card button.dobro-product-card__add-to-cart:disabled:not(.is-loading):not(.is-added):not(.is-error):hover,
.dobro-product-card button.dobro-product-card__add-to-cart:disabled:not(.is-loading):not(.is-added):not(.is-error):focus {
	background: #eeeeee;
	color: #9e9e9e;
	cursor: default;
	opacity: 1;
	transform: none;
}

.dobro-product-card button.dobro-product-card__add-to-cart.is-out-of-stock:disabled,
.dobro-product-card button.dobro-product-card__add-to-cart.is-cart-limit:disabled {
	box-sizing: border-box;
	border: 2px solid #ee0800;
}

@keyframes dobro-product-card-cart-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes dobro-product-card-cart-added {
	0% {
		transform: scale(0.97);
	}

	55% {
		transform: scale(1.035);
	}

	100% {
		transform: scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.dobro-product-card button.dobro-product-card__add-to-cart.is-loading::before,
	.dobro-product-card button.dobro-product-card__add-to-cart.is-added {
		animation: none;
	}
}
/* Конец: кнопка корзины */

/* Начало: недоступный товар */
.dobro-product-card.is-unavailable .dobro-product-card__price {
	opacity: 0.55;
}
/* Конец: недоступный товар */