/* ===== Мінікошик у шапці ===== */
.wmc-cart-wrapper .wmc-content.sf-mc {
	width: 24rem;
	max-height: 95vh;
	height: auto;
	overflow-y: auto;
	padding: 1.6rem 1.4rem 1.4rem;
	background: #fff;
	border-radius: 0.8rem;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .15);
	text-align: left;
	box-sizing: border-box;
	left: -5rem;
}

.wmc-cart-wrapper.shortcode-wrapper li {
    display: inline-flex;
    max-width: 100%;
    width: 100%;
}

.wmc-cart-wrapper:not(.is-sf-open) .wmc-content {
	display: none !important;
}

/* тримаємо відкритим під час AJAX-оновлення */
.wmc-cart-wrapper.is-sf-open .wmc-content {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
}

.sf-mc__head {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	margin-bottom: 1.2rem;
}
.sf-mc__title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #32A951;
}
.sf-mc__count {
	font-size: 1.1rem;
	font-weight: 600;
	color: #626262;
}
.sf-mc__subtitle {
	margin: 0 0 1rem;
	font-size: 1.1rem;
	font-weight: 600;
	color: #221E1B;
}

.wmc-cart-wrapper .sf-mc ul.sf-mc__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.sf-mc__item {
	display: flex;
	gap: 1rem;
	margin-bottom: 1rem;
	padding: 1rem;
	background: #F6FFF8;
	border-radius: 0.8rem;
	transition: opacity .2s;
}
.sf-mc__item.is-loading {
	opacity: .5;
	pointer-events: none;
}
.sf-mc__image {
	flex: 0 0 4rem;
}
.sf-mc__image img {
	display: block;
	width: 4rem;
	height: auto;
}
.sf-mc__info {
	flex: 1;
	min-width: 0;
}
.sf-mc__name {
	display: block;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.25;
	color: #221E1B;
	text-transform: uppercase;
	text-decoration: none;
	justify-content: flex-start !important;
}
.sf-mc__variation,
.sf-mc__requires {
	margin-top: 0.15rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: #989898;
	text-transform: uppercase;
}
.sf-mc__price {
	margin-top: 0.8rem;
	font-size: 1.15rem;
	font-weight: 600;
	color: #32A951;
}
.sf-mc__price-incl {
	font-size: 0.95rem;
	color: #989898;
}

.sf-mc__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 0.9rem;
}
.sf-mc__qty {
	display: flex;
	align-items: center;
	width: 9rem;
	height: 2.6rem;
	border: 2px solid #32A951;
	border-radius: 0.5rem;
	overflow: hidden;
}
.sf-mc__qty-btn {
	flex: 0 0 2.6rem;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 1.5rem;
	line-height: 1;
	color: #221E1B;
	cursor: pointer;
}
.sf-mc__qty-btn:disabled {
	opacity: .3;
	cursor: default;
}
.sf-mc__qty-input {
	flex: 1;
	width: 100%;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: center;
	font-size: 1.2rem;
	color: #221E1B;
}
.wmc-cart-wrapper .sf-mc__remove {
	display: block;
	width: 1.6rem;
	color: transparent;
}
.sf-mc__remove img {
	display: block;
	width: 100%;
	height: auto;
}

.sf-mc__summary {
	margin: 1.4rem 0 1rem;
}
.sf-mc__summary-title {
	margin: 0 0 1rem;
	font-size: 1.15rem;
	font-weight: 600;
	color: #221E1B;
}
.sf-mc__total {
	font-size: 1.4rem;
	font-weight: 600;
	color: #32A951;
}
.sf-mc__tax {
	margin-top: 0.4rem;
	font-size: 1rem;
	font-weight: 600;
	color: #989898;
}

.wmc-cart-wrapper .sf-mc ul.sf-card__meta {
	list-style: none;
	margin: 0 0 1.4rem;
	padding: 0;
}
.sf-mc .sf-card__meta li {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #221E1B;
}
.sf-mc .sf-icon-check::before {
	content: "\2714";
	font-size: 0.95rem;
}

.sf-mc__buttons {
	display: flex;
	gap: 1rem;
}
.wmc-cart-wrapper .sf-mc__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.1rem;
	border: 2px solid #32A951;
	border-radius: 0.5rem;
	font-size: 1rem;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}
.wmc-cart-wrapper .sf-mc__btn--primary {
	background: #32A951;
	color: #fff;
}
.wmc-cart-wrapper .sf-mc__btn--outline {
	flex: 1;
	background: #fff;
	color: #221E1B;
}

.sf-mc__empty {
	margin: 0;
	font-size: 1.05rem;
	color: #626262;
}

.sf-mc__qty-input {
    border: none !important;
}












@media (max-width: 767px) { 


.wmc-cart-wrapper .wmc-content.sf-mc {
    width: auto;
    min-width: 250px;
    max-height: 95vh;
    height: auto;
    overflow-y: auto;
    padding: 1.6rem 1.4rem 1.4rem;
    background: #fff;
    border-radius: 0.8rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .15);
    text-align: left;
    box-sizing: border-box;
    left: -50px;
}

.sf-mc__head {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 1.2rem;
}

.sf-mc__title {
    font-size: 16px;
    font-weight: 700;
    color: #32A951;
}
.sf-mc__count {
    font-size: 14px;
    font-weight: 600;
    color: #626262;
}

.sf-mc__subtitle {
    margin: 0 0 1rem;
    font-size: 14px;
    font-weight: 600;
    color: #221E1B;
}

.sf-mc__image {
    flex: 0 0 4rem;
    min-width: 60px;
}

.sf-mc__image img {
    display: block;
    width: 60px;
    height: auto;
}

.sf-mc__name {
    display: block;
    font-size: 14px;
}

.sf-mc__variation, .sf-mc__requires {
    margin-top: 0.15rem;
    font-size: 10px;
}

.sf-mc__price {
    margin-top: 0.8rem;
    font-size: 16px;
    font-weight: 600;
    color: #32A951;
}

.sf-mc__qty {
    display: flex;
    align-items: center;
    width: 68px;
    height: 30px;
    border: 2px solid #32A951;
    border-radius: 5px;
    overflow: hidden;
}

.sf-mc__qty-btn {
    flex: 0 0 20px;
    height: 100%;
    font-size: 14px;
}

.sf-mc__qty-input {
	font-size: 16px;
}

.wmc-cart-wrapper .sf-mc__remove {
    display: block;
    width: 20px;
    color: transparent;
}

.sf-mc__summary-title {
    margin: 0 0 1rem;
    font-size: 12px;
    font-weight: 600;
    color: #221E1B;
}

.sf-mc__total {
    font-size: 16px;
    font-weight: 600;
    color: #32A951;
}

.sf-mc__tax {
    margin-top: 0;
    font-size: 12px;
    font-weight: 600;
    color: #989898;
}

.sf-mc .sf-card__meta li {
	font-size: 10px;
}

.wmc-cart-wrapper .sf-mc__btn {
	font-size: 14px;
}

.sf-mc__empty {
    margin: 0;
    font-size: 10px;
    color: #626262;
}














}