/* share-cart: рядок з URL + кнопка копіювання */
.sh-share-result-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.sh-share-result-row .sh-share-result-url { flex: 1 1 160px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--sh-ebony); }
.sh-share-copy { flex: 0 0 auto; padding: 8px 16px; border-radius: 999px; border: 0; background: var(--sh-ebony); color: var(--sh-floral); font-size: 12px; font-weight: 600; letter-spacing: .01em; text-transform: lowercase; cursor: pointer; transition: background .15s ease; }
.sh-share-copy:hover { background: var(--sh-ebony-dark); }
.sh-share-copy.is-copied { background: var(--sh-ebony-dark); color: var(--sh-floral); }

/* upsell: банер "вигідніше набором" у кошику */
.sh-cart-bundle-banner { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; padding: 14px 18px; border-radius: 16px; background: linear-gradient(90deg, var(--sh-ash-soft), var(--sh-floral)); border: 1px solid var(--sh-ash); text-decoration: none; color: var(--sh-ink); transition: border-color .15s ease; }
.sh-cart-bundle-banner:hover { border-color: var(--sh-ebony); }
.sh-cart-bundle-emoji { font-size: 22px; line-height: 1; }
.sh-cart-bundle-text { font-size: 14px; line-height: 1.4; }
.sh-cart-bundle-text strong { color: var(--sh-ebony-dark); }
.sh-cart-bundle-cta { margin-left: auto; font-size: 13px; font-weight: 800; color: var(--sh-ebony); white-space: nowrap; }

/* ============================================================
 * SMILE HUNTER — Cart page
 * Scoped під .sh-cart, щоб не зачіпати інші місця.
 * ============================================================ */

.sh-cart {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding-bottom: 16px;
}
@media (min-width: 1024px) {
	.sh-cart { padding-bottom: 24px; }
}
/* Cross-sell section — окрема .sh-cart, своя padding-bottom для відступу до футера */
.sh-cart.cross-sell { padding-bottom: 48px; }
@media (min-width: 1024px) { .sh-cart.cross-sell { padding-bottom: 80px; } }
.sh-cart *,
.sh-cart *::before,
.sh-cart *::after { box-sizing: border-box; }

.sh-cart .container {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto !important;
	padding: 0 12px;
}
@media (min-width: 700px)  { .sh-cart .container { padding: 0 20px; } }
@media (min-width: 1024px) { .sh-cart .container { padding: 0 40px; } }

/* ===== breadcrumb ===== */
.sh-cart .crumbs { padding: 14px 0 4px; font-size: 12px; color: var(--sh-muted); }
.sh-cart .crumbs a:hover { color: var(--sh-ink); }
.sh-cart .crumbs .sep { padding: 0 6px; opacity: .6; }
.sh-cart .crumbs .here { color: var(--sh-ink); font-weight: 600; }

/* ===== page header ===== */
.sh-cart h1 {
	font-size: 28px; font-weight: 800; letter-spacing: -0.025em;
	margin: 8px 0 4px;
}
@media (min-width: 1024px) { .sh-cart h1 { font-size: 40px; } }
.sh-cart .cart-meta { font-size: 13px; color: var(--sh-muted); margin-bottom: 20px; }
@media (min-width: 1024px) { .sh-cart .cart-meta { margin-bottom: 28px; } }

/* ===== progress card ===== */
.sh-cart .progress-card {
	background: var(--sh-ash-soft);
	border-radius: 16px;
	padding: 14px 18px;
	margin-bottom: 22px;
}
.sh-cart .progress-card.done { background: var(--sh-lion-soft); }
.sh-cart .progress-card p {
	font-size: 13px;
	color: var(--sh-ebony-dark);
	margin: 0 0 10px !important;
	line-height: 1.45;
}
.sh-cart .progress-card.done p { color: #6B4F2A; }
.sh-cart .progress-card p strong { font-weight: 800; color: var(--sh-ink); }
.sh-cart .progress-bar {
	height: 6px;
	background: rgba(254,250,241,.7);
	border-radius: 999px;
	overflow: hidden;
}
.sh-cart .progress-fill {
	height: 100%;
	background: var(--sh-ebony);
	border-radius: 999px;
	transition: width .35s ease;
}
.sh-cart .progress-card.done .progress-fill { background: var(--sh-lion); }

/* ===== grid ===== */
.sh-cart .cart-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}
@media (min-width: 1024px) {
	.sh-cart .cart-grid { grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
}

.sh-cart .cart-page { padding: 8px 0 56px; }
.sh-cart .cart-main { min-width: 0; }

/* ===== items ===== */
.sh-cart .cart-items {
	display: flex; flex-direction: column; gap: 12px;
}
.sh-cart .cart-item {
	background: white;
	border: 1px solid var(--sh-timber);
	border-radius: 18px;
	padding: 14px;
	display: grid;
	grid-template-columns: 84px 1fr;
	gap: 14px;
	transition: opacity .2s, transform .2s;
}
@media (min-width: 1024px) { .sh-cart .cart-item { padding: 18px; gap: 18px; grid-template-columns: 96px 1fr; } }
.sh-cart .cart-item.is-removing { opacity: 0; transform: scale(.96); }
.sh-cart .cart-item .photo {
	aspect-ratio: 1;
	border-radius: 12px;
	overflow: hidden;
	background: var(--sh-ash-soft);
	display: block;
	position: relative;
}
.sh-cart .cart-item .photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
}
.sh-cart .cart-item .info { display: flex; flex-direction: column; min-width: 0; }
.sh-cart .cart-item .row1 {
	display: flex; justify-content: space-between; align-items: flex-start;
	gap: 10px; margin-bottom: 8px;
}
.sh-cart .cart-item .name {
	font-size: 15px; font-weight: 700; line-height: 1.25;
	color: var(--sh-ink); display: inline-block;
}
@media (min-width: 1024px) { .sh-cart .cart-item .name { font-size: 16px; } }
.sh-cart .cart-item .name:hover { text-decoration: underline; }
.sh-cart .cart-item .variant { font-size: 12px; color: var(--sh-muted); margin-top: 2px; }
.sh-cart .cart-item .remove {
	background: transparent !important;
	border: 0 !important;
	color: var(--sh-muted) !important;
	width: 40px; height: 40px;   /* тач-таргет ≥40px (було 28) */
	border-radius: 50% !important;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
	transition: background .15s, color .15s;
	padding: 0 !important;
	text-decoration: none !important;
}
.sh-cart .cart-item .remove:hover {
	background: rgba(180,139,95,.12) !important;
	color: var(--sh-lion-dark) !important;
}
.sh-cart .cart-item .remove svg { width: 16px; height: 16px; }
.sh-cart .cart-item .row2 {
	display: flex; justify-content: space-between; align-items: center;
	gap: 14px; margin-top: auto;
}
.sh-cart .cart-item .subtotal {
	font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: var(--sh-ink);
	white-space: nowrap; text-align: right;
}
@media (min-width: 1024px) { .sh-cart .cart-item .subtotal { font-size: 20px; } }
.sh-cart .cart-item .subtotal .woocommerce-Price-amount,
.sh-cart .cart-item .subtotal bdi {
	font-size: inherit !important;
	font-weight: inherit !important;
	color: inherit !important;
}
/* перекреслена оригінальна ціна (компонент набору / розпродаж): <del>450</del> <ins>405</ins> */
.sh-cart .cart-item .subtotal del {
	font-size: 13px; font-weight: 600; color: var(--sh-muted);
	text-decoration: line-through; margin-right: 6px;
}
.sh-cart .cart-item .subtotal del .woocommerce-Price-amount,
.sh-cart .cart-item .subtotal del bdi { font-size: 13px !important; color: var(--sh-muted) !important; }
.sh-cart .cart-item .subtotal ins { text-decoration: none; }

/* ===== qty ===== */
.sh-cart .qty {
	display: inline-flex; align-items: center; flex: 0 0 auto;
	background: var(--sh-floral);
	border: 1.5px solid var(--sh-timber);
	border-radius: 999px;
	padding: 2px;
	height: 36px;
}
/* Компонент набору — кількість фіксована (без степера) */
.sh-cart .qty.qty-locked {
	border: 0;
	background: transparent;
	padding: 0 2px;
	height: 36px;
	font-size: 13px;
	font-weight: 700;
	color: var(--sh-muted);
	font-family: 'Montserrat', sans-serif;
	justify-content: flex-start;
}
.sh-cart .qty button {
	background: transparent !important;
	border: 0 !important;
	width: 32px; height: 32px;   /* компактніше: степер не тулиться до ціни */
	border-radius: 50% !important;
	font-size: 16px; font-weight: 600;
	color: var(--sh-ink);
	display: flex; align-items: center; justify-content: center;
	padding: 0 !important;
	font-family: 'Montserrat', sans-serif;
	cursor: pointer;
}
.sh-cart .qty button:hover { background: var(--sh-ash-soft) !important; }
.sh-cart .qty input {
	width: 26px !important;
	min-width: 0 !important;
	text-align: center !important;
	border: 0 !important; background: transparent !important;
	font-size: 13px !important; font-weight: 700 !important;
	color: var(--sh-ink) !important;
	padding: 0 !important; margin: 0 !important;
	font-family: 'Montserrat', sans-serif !important;
	-moz-appearance: textfield !important;
}
.sh-cart .qty input::-webkit-outer-spin-button,
.sh-cart .qty input::-webkit-inner-spin-button {
	-webkit-appearance: none !important;
	margin: 0 !important;
}

/* ===== smile section ===== */
.sh-cart .smile-section {
	background: var(--sh-lion-soft);
	border-radius: 18px;
	padding: 18px 20px;
	margin-top: 18px;
}
.sh-cart .smile-section h3 {
	font-size: 16px; font-weight: 800;
	color: #6B4F2A;
	margin: 0 0 4px !important;
	display: flex; align-items: center; gap: 8px;
}
.sh-cart .smile-section h3::before {
	content: '⭐';
	font-size: 14px;
}
.sh-cart .smile-section .lead {
	font-size: 13px; color: #6B4F2A;
	margin: 0 0 14px !important;
	line-height: 1.45;
}
.sh-cart .smile-section .lead strong { font-weight: 800; }
/* інфо-варіант (списання — на checkout): нотатка замість контролів */
.sh-cart .smile-section--info .lead { margin-bottom: 8px !important; }
.sh-cart .smile-section .smile-note { margin: 0; font-size: 12.5px; line-height: 1.45; color: #6B4F2A; }
.sh-cart .smile-controls {
	display: flex; gap: 8px;
	flex-wrap: wrap;
}
.sh-cart .smile-input-wrap {
	flex: 1; min-width: 130px;
	background: white;
	border-radius: 999px;
	border: 1.5px solid var(--sh-lion);
	padding: 0 16px;
	display: flex; align-items: center; gap: 6px;
	height: 42px;
	box-sizing: border-box;
}
.sh-cart .smile-input-wrap input {
	flex: 1;
	border: 0 !important; background: transparent !important;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 14px !important; font-weight: 700 !important;
	color: var(--sh-ink) !important;
	outline: none !important;
	min-width: 0;
	padding: 0 !important;
}
.sh-cart .smile-input-wrap input::placeholder { color: var(--sh-muted); font-weight: 500; }
.sh-cart .smile-input-wrap .max { font-size: 11px; color: var(--sh-muted); white-space: nowrap; }
.sh-cart .smile-btn-all {
	background: white !important;
	border: 1.5px solid var(--sh-lion) !important;
	color: var(--sh-lion-dark) !important;
	padding: 0 18px !important;
	height: 42px;
	border-radius: 999px !important;
	font-size: 12px !important; font-weight: 700 !important;
	font-family: 'Montserrat', sans-serif !important;
	white-space: nowrap;
	text-transform: lowercase !important;
	cursor: pointer;
	transition: all .15s;
}
.sh-cart .smile-btn-all:hover { background: var(--sh-lion) !important; color: var(--sh-ink) !important; } /* white на lion = 3.09:1; ink = 5.5:1 */
.sh-cart .smile-btn-apply {
	background: var(--sh-lion) !important;
	color: var(--sh-ink) !important; /* white на lion = 3.09:1; ink = 5.5:1 */
	border: 0 !important;
	padding: 0 22px !important;
	height: 42px;
	border-radius: 999px !important;
	font-size: 13px !important; font-weight: 700 !important;
	font-family: 'Montserrat', sans-serif !important;
	white-space: nowrap;
	text-transform: lowercase !important;
	cursor: pointer;
	transition: background .15s;
}
.sh-cart .smile-btn-apply:hover { background: var(--sh-lion-dark) !important; }

/* ===== share cart — кнопка з плагіна share-cart-for-woocommerce =====
 * Плагін рендерить #share-cart-btn з англійським текстом і дефолтними стилями.
 * Переписуємо selector на наш брендовий look.
 *
 * Дубль-кнопка: якщо плагінний hook все-таки добавив кнопку у дефолтну
 * позицію (наприклад через pre_option фільтр запізнився) — приховуємо ВСІ
 * за замовчуванням, видимими лишаються тільки ті що всередині нашої секції.
 */
html body #share-cart-btn,
html body #share-cart-url { display: none !important; }
html body .sh-share-cart-section #share-cart-btn,
html body .sh-share-cart-section #share-cart-url {
	display: inline-flex !important;
}
html body .sh-share-cart-section #share-cart-url {
	display: block !important;
}

html body .sh-share-cart-section #share-cart-btn {
	display: inline-flex !important;
	align-items: center; gap: 8px;
	background: transparent !important;
	border: 1.5px solid var(--sh-ink) !important;
	color: var(--sh-ink) !important;
	padding: 11px 22px !important;
	border-radius: 999px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	font-family: 'Montserrat', sans-serif !important;
	text-transform: lowercase !important;
	letter-spacing: 0.01em !important;
	cursor: pointer;
	margin: 18px 0 !important;
	transition: all .15s ease !important;
	box-shadow: none !important;
}
html body #share-cart-btn:hover,
html body #share-cart-btn:focus {
	background: var(--sh-ink) !important;
	color: var(--sh-floral) !important;
	border-color: var(--sh-ink) !important;
}
html body #share-cart-btn:disabled {
	opacity: .6;
	cursor: wait;
}

/* Output блок (#share-cart-url) — наш брендовий стиль після copy */
html body #share-cart-url {
	margin: 12px 0 18px !important;
	padding: 0 !important;
	background: transparent !important;
}
html body #share-cart-url:empty { display: none !important; }
html body #share-cart-url .sh-share-result {
	background: var(--sh-ash-soft) !important;
	border: 1px solid var(--sh-timber);
	border-radius: 14px;
	padding: 12px 16px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 13px;
}
html body #share-cart-url .sh-share-result-title {
	color: var(--sh-ebony-dark);
	font-weight: 600;
}
html body #share-cart-url .sh-share-result-url {
	color: var(--sh-ink) !important;
	font-size: 12px;
	word-break: break-all;
	text-decoration: none !important;
	font-family: 'Montserrat', monospace, sans-serif;
	text-transform: none !important;
}
html body #share-cart-url .sh-share-result-url:hover {
	color: var(--sh-ebony) !important;
	text-decoration: underline !important;
}
/* Кнопка «копіювати» — форсуємо бренд (низькоспецифічна .sh-share-copy інакше
 * пробивається стилями woodmart/плагіна: UPPERCASE + чужий зелений).
 * Обидва стани СУЦІЛЬНІ й контрастні до світлого ash-soft бокса — щоб
 * «скопійовано» не зливалось (раніше ash-на-ash-soft = світле на світлому). */
html body #share-cart-url .sh-share-copy {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--sh-ebony) !important;
	color: var(--sh-floral) !important;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.01em !important;
	text-transform: lowercase !important;
	line-height: 1.2 !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background .15s ease, color .15s ease !important;
}
html body #share-cart-url .sh-share-copy:hover,
html body #share-cart-url .sh-share-copy:focus {
	background: var(--sh-ebony-dark) !important;
	color: var(--sh-floral) !important;
}
/* стан «скопійовано» — темно-зелений (НЕ світлий), читається на ash-soft боксі */
html body #share-cart-url .sh-share-copy.is-copied {
	background: var(--sh-ebony-dark) !important;
	color: var(--sh-floral) !important;
}

/* ===== summary ===== */
.sh-cart .cart-summary {
	background: white;
	border: 1px solid var(--sh-timber);
	border-radius: 20px;
	padding: 22px;
}
@media (min-width: 1024px) {
	.sh-cart .cart-summary {
	padding: 28px;
	position: sticky;
	top: 24px; /* шапка не fixed — 24px як у галереї товару, більше ходу для sticky */
	/* власний композиторний шар проти тремтіння на трекпад-скролі.
	 * САМЕ translateZ, НЕ will-change: у Safari will-change на sticky
	 * навпаки провокує мерехтіння. */
	transform: translateZ(0);
}

/* залогінений адмін: fixed-смуга WP (32px) перекривала б блок */
body.admin-bar .sh-cart .cart-summary { top: 56px; }

}
.sh-cart .cart-summary h3 {
	font-size: 18px; font-weight: 800;
	margin: 0 0 18px !important;
	letter-spacing: -0.01em;
}
.sh-cart .summary-row {
	display: flex; justify-content: space-between; align-items: baseline;
	padding: 9px 0;
	font-size: 14px;
}
.sh-cart .summary-row .muted { color: var(--sh-muted); font-size: 12px; max-width: 50%; text-align: right; line-height: 1.4; }
.sh-cart .summary-row.discount { color: var(--sh-lion-dark); font-weight: 600; }

.sh-cart .summary-row .woocommerce-Price-amount,
.sh-cart .summary-row bdi { font-size: inherit !important; color: inherit !important; font-weight: inherit !important; }

.sh-cart .summary-total {
	display: flex; justify-content: space-between; align-items: baseline;
	padding: 16px 0;
	border-top: 1px solid var(--sh-line);
	border-bottom: 1px solid var(--sh-line);
	margin: 10px 0 18px;
}
.sh-cart .summary-total .label { font-size: 14px; font-weight: 700; }
.sh-cart .summary-total .amount {
	font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: var(--sh-ink);
}
.sh-cart .summary-total .amount .woocommerce-Price-amount,
.sh-cart .summary-total .amount bdi {
	font-size: inherit !important; font-weight: inherit !important; color: inherit !important;
}

.sh-cart .summary-bonus {
	background: var(--sh-lion-soft);
	color: #6B4F2A;
	border-radius: 12px;
	padding: 10px 14px;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 16px;
	display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px;
}
.sh-cart .summary-bonus::before { content: '⭐'; flex-shrink: 0; }
.sh-cart .summary-bonus-note {
	flex-basis: 100%;
	margin-left: 22px; /* align with text після emoji + gap */
	font-size: 10px;
	font-weight: 500;
	color: #6B4F2A; /* було #8B6A3F + opacity .85 на lion-soft = ~2.85:1; темніший без opacity = ~5.4:1 */
	letter-spacing: 0.02em;
}

.sh-cart .btn-checkout {
	width: 100%;
	background: var(--sh-ebony) !important;
	color: var(--sh-floral) !important;
	border: 0 !important;
	padding: 14px 24px !important;
	border-radius: 999px !important;
	font-size: 14px !important; font-weight: 700 !important;
	font-family: 'Montserrat', sans-serif !important;
	text-transform: lowercase !important;
	text-decoration: none !important;
	display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px;
	cursor: pointer;
	transition: background .15s, transform .18s ease, box-shadow .18s ease;
	box-shadow: 0 2px 6px rgba(101, 112, 96, .15);
	box-sizing: border-box;
}
.sh-cart .btn-checkout:hover {
	background: var(--sh-ebony-dark) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(101, 112, 96, .28);
}
.sh-cart .btn-checkout::after { content: '→'; transition: transform .15s; }
.sh-cart .btn-checkout:hover::after { transform: translateX(2px); }

.sh-cart .payment-methods {
	display: flex; gap: 6px;
	justify-content: center; align-items: center;
	flex-wrap: wrap;
	margin-top: 14px;
}
.sh-cart .payment-methods .pm {
	background: var(--sh-ash-soft);
	color: var(--sh-ebony-dark);
	border-radius: 8px;
	padding: 6px 10px;
	font-size: 10px; font-weight: 700;
	letter-spacing: 0.04em;
}
.sh-cart .preserve-case { text-transform: none !important; }

/* ===== empty cart ===== */
.sh-cart .cart-empty::before,
.sh-cart .cart-empty::after,
.sh-cart.sh-cart-empty-wrap .cart-empty::before,
.sh-cart.sh-cart-empty-wrap .cart-empty::after {
	display: none !important;
	content: none !important;
	background: none !important;
}
.sh-cart.sh-cart-empty-wrap { padding-bottom: 80px; }
@media (min-width: 1024px) { .sh-cart.sh-cart-empty-wrap { padding-bottom: 120px; } }

.sh-cart .cart-empty {
	background: white;
	border: 1px solid var(--sh-timber);
	border-radius: 24px;
	padding: 40px 24px 36px;
	text-align: center;
	max-width: 560px;
	margin: 32px auto 0;
}
@media (min-width: 1024px) {
	.sh-cart .cart-empty {
		padding: 56px 40px 48px;
		margin-top: 48px;
	}
}
.sh-cart .cart-empty-icon {
	width: 72px; height: 72px;
	margin: 0 auto 20px;
	background: var(--sh-ash-soft);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--sh-ebony);
}
.sh-cart .cart-empty-icon svg { width: 36px; height: 36px; }
.sh-cart .cart-empty h1 {
	font-size: 26px !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em;
	margin: 0 0 10px !important;
	color: var(--sh-ink);
	text-transform: lowercase !important;
}
@media (min-width: 1024px) { .sh-cart .cart-empty h1 { font-size: 34px !important; } }
.sh-cart .cart-empty p {
	font-size: 14px;
	color: var(--sh-muted);
	line-height: 1.5;
	margin: 0 auto 24px !important;
	max-width: 420px;
}
.sh-cart .cart-empty .btn-checkout {
	display: inline-flex !important;
	width: auto !important;
	max-width: 280px;
	margin: 0 auto;
	padding: 14px 36px !important;
}
.sh-cart .cart-empty-cats {
	display: flex;
	gap: 18px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--sh-line);
}
.sh-cart .cart-empty-cats a {
	font-size: 13px !important;
	font-weight: 600 !important;
	color: var(--sh-muted) !important;
	text-decoration: none !important;
	border-bottom: 0 !important;
	padding: 0 !important;
	transition: color .15s, font-weight .12s;
}
.sh-cart .cart-empty-cats a:hover {
	color: var(--sh-ink) !important;
	font-weight: 700 !important;
}

/* ===== cross-sell ===== */
.sh-cart.cross-sell { padding: 16px 0 16px; }
@media (min-width: 1024px) { .sh-cart.cross-sell { padding: 24px 0 32px; } }
.sh-cart.cross-sell h2 {
	font-size: 22px; font-weight: 800; letter-spacing: -0.025em;
	margin: 0 0 6px;
}
@media (min-width: 1024px) { .sh-cart.cross-sell h2 { font-size: 30px; } }
.sh-cart.cross-sell .sh-crosssell-lead {
	font-size: 14px;
	color: var(--sh-muted);
	margin: 0 0 20px;
	max-width: 52ch;
	line-height: 1.5;
}
.sh-cart.cross-sell .grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
@media (min-width: 768px) { .sh-cart.cross-sell .grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.sh-cart.cross-sell .pcard {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: var(--sh-ink);
}
.sh-cart.cross-sell .pcard-media {
	display: block;
	text-decoration: none;
}
.sh-cart.cross-sell .pcard .img-wrap {
	aspect-ratio: 3/4;
	border-radius: 16px;
	overflow: hidden;
	background: var(--sh-ash-soft);
	margin-bottom: 12px;
}
.sh-cart.cross-sell .pcard .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.sh-cart.cross-sell .pcard .name {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 2px;
	line-height: 1.3;
	color: var(--sh-ink) !important;
	text-decoration: none !important;
}
.sh-cart.cross-sell .pcard .name:hover { color: var(--sh-ebony) !important; }
.sh-cart.cross-sell .pcard .price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.sh-cart.cross-sell .pcard .price { font-size: 15px; font-weight: 700; }
.sh-cart.cross-sell .pcard .price .woocommerce-Price-amount,
.sh-cart.cross-sell .pcard .price bdi {
	font-size: inherit !important; font-weight: inherit !important; color: inherit !important;
}

/* Button — стиль як на category cards, але повна ширина і нижчий padding */
.sh-cart.cross-sell .pcard-btn {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--sh-ebony) !important;
	color: var(--sh-floral) !important;
	padding: 11px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	text-transform: lowercase;
	letter-spacing: 0.01em;
	transition: background .15s ease;
	border: 0;
	width: 100%;
	box-sizing: border-box;
}
.sh-cart.cross-sell .pcard-btn:hover { background: var(--sh-ebony-dark) !important; }
.sh-cart.cross-sell .pcard-btn.is-disabled {
	background: var(--sh-timber) !important;
	color: var(--sh-muted) !important;
	pointer-events: none;
	cursor: not-allowed;
}
/* WC AJAX add-to-cart за замовч. показує "переглянути кошик" link після додавання — ховаємо */
.sh-cart.cross-sell .pcard-btn.added + .added_to_cart { display: none !important; }

/* позначка «у складі набору» під компонентом набору */
.sh-cart .sh-in-bundle, .sh-checkout .sh-in-bundle {
	font-size: 11.5px; font-weight: 600; color: var(--sh-ebony);
	margin-top: 4px; letter-spacing: .01em;
}

/* ---- апсел угорі кошика «спробуйте в новому форматі» (банка 60 чищень) ----
   класи лишились історичні (.sh-flavor-*), бо на них зав'язаний softRefresh у cart-actions.js */
.sh-flavor-upsell {
	display: flex; align-items: center; gap: 14px;
	margin: 0 0 20px; padding: 10px 14px 10px 10px;
	border-radius: 16px;
	background: linear-gradient(90deg, var(--sh-ash-soft), var(--sh-floral));
	border: 1px solid var(--sh-ash);
}
.sh-flavor-upsell-media { flex-shrink: 0; width: 54px; height: 54px; border-radius: 12px; overflow: hidden; background: #fff; }
.sh-flavor-upsell-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-flavor-upsell-info { flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sh-flavor-upsell-eyebrow { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--sh-muted); }
.sh-flavor-upsell-name { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; font-weight: 700; color: var(--sh-ink); text-decoration: none; }
.sh-flavor-upsell-name:hover { color: var(--sh-ebony); }
.sh-flavor-upsell-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; color: var(--sh-muted); background: #fff; border: 1px solid var(--sh-timber); border-radius: 20px; padding: 2px 9px 2px 7px; }
.sh-flavor-upsell-badge.is-format { padding: 2px 9px; } /* без крапки-смаку — симетричні відступи */
.sh-flavor-upsell-price { font-size: 15px; font-weight: 800; color: var(--sh-ink); white-space: nowrap; }
.sh-flavor-upsell-price del { color: var(--sh-muted); font-weight: 500; margin-right: 4px; }
.sh-flavor-upsell-add { flex-shrink: 0; padding: 10px 18px; border-radius: 30px; background: var(--sh-ebony); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .15s ease; }
.sh-flavor-upsell-add:hover { background: var(--sh-ebony-dark); color: #fff; }
@media (max-width: 560px) {
	.sh-flavor-upsell { flex-wrap: wrap; }
	.sh-flavor-upsell-info { flex-basis: calc(100% - 68px); }
	.sh-flavor-upsell-price { order: 3; }
	.sh-flavor-upsell-add { order: 4; margin-left: auto; }
}
