/* ==========================================================================
   הג'ונגל של חזי — WooCommerce (archive, product card, single, cart)
   ========================================================================== */

.hj-woo { padding-block: 20px 64px; }

/* ---------- Breadcrumb ---------- */
.hj-theme .woocommerce-breadcrumb {
	font-size: .9rem;
	color: var(--hj-muted);
	margin: 0 0 18px;
}
.hj-theme .woocommerce-breadcrumb a { color: var(--hj-muted); }
.hj-theme .woocommerce-breadcrumb a:hover { color: var(--hj-primary-strong); }
.hj-bc-sep { margin-inline: 8px; opacity: .6; }

/* ---------- Notices ---------- */
.hj-theme .woocommerce-message,
.hj-theme .woocommerce-info,
.hj-theme .woocommerce-error {
	border: 0;
	border-inline-start: 4px solid var(--hj-accent);
	background: var(--hj-soft-2);
	color: var(--hj-dark);
	border-radius: var(--hj-radius-sm);
	padding: 14px 20px;
	margin-bottom: 20px;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.hj-theme .woocommerce-message::before,
.hj-theme .woocommerce-info::before,
.hj-theme .woocommerce-error::before { display: none; }
.hj-theme .woocommerce-info { border-color: var(--hj-primary); background: var(--hj-soft); }
.hj-theme .woocommerce-error { border-color: #D63638; background: #FDF0F0; }
.hj-theme .woocommerce-message .button { order: 2; padding: 8px 18px; font-size: .9rem; }

/* ==========================================================================
   Archive
   ========================================================================== */
.hj-archive-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	background:
		radial-gradient(600px 300px at 100% 0%, rgba(25, 167, 224, .18), transparent 60%),
		var(--hj-soft);
	border-radius: var(--hj-radius-lg);
	padding: 32px 40px;
	margin-bottom: 20px;
	overflow: hidden;
}
.hj-archive-hero__title { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 900; margin: 0 0 6px; }
.hj-archive-hero .term-description,
.hj-archive-hero .page-description { color: var(--hj-muted); max-width: 640px; }
.hj-archive-hero .term-description p:last-child,
.hj-archive-hero .page-description p:last-child { margin-bottom: 0; }
.hj-archive-hero__img img { width: 180px; height: 140px; object-fit: cover; border-radius: var(--hj-radius); }
.hj-archive-hero__emoji { font-size: 84px; line-height: 1; flex: none; }
@media (max-width: 640px) {
	.hj-archive-hero { padding: 24px; }
	.hj-archive-hero__img, .hj-archive-hero__emoji { display: none; }
}

/* Sub-category chips */
.hj-chips {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 6px;
	margin-bottom: 20px;
	scrollbar-width: thin;
}
.hj-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid var(--hj-line);
	background: #fff;
	color: var(--hj-dark) !important;
	font-weight: 500;
	transition: .2s;
}
.hj-chip:hover { border-color: var(--hj-primary-strong); color: var(--hj-primary-strong) !important; }
.hj-chip__count {
	font-size: .75rem;
	background: var(--hj-soft);
	color: var(--hj-muted);
	padding: 1px 8px;
	border-radius: 999px;
}

/* Toolbar */
.hj-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 20px;
}
.hj-toolbar .woocommerce-notices-wrapper { flex-basis: 100%; }
.hj-toolbar .woocommerce-notices-wrapper:empty { display: none; }
.hj-theme .woocommerce-result-count { margin: 0; color: var(--hj-muted); font-size: .95rem; }
.hj-theme .woocommerce-ordering { margin: 0; }
.hj-theme .woocommerce-ordering select,
.hj-theme select {
	font-family: var(--hj-font);
	border: 1px solid var(--hj-line);
	border-radius: 999px;
	padding: 10px 16px 10px 40px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230F3444' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat left 16px center;
	appearance: none;
	color: var(--hj-dark);
	cursor: pointer;
}

/* Empty state */
.hj-empty {
	text-align: center;
	padding: 56px 20px;
	background: var(--hj-soft);
	border-radius: var(--hj-radius-lg);
}
.hj-empty__emoji { font-size: 64px; display: block; margin-bottom: 8px; }
.hj-empty .woocommerce-info { display: block; background: none; border: 0; text-align: center; font-size: 1.1rem; }

/* ==========================================================================
   Product grid + card
   ========================================================================== */
.hj-theme ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}
.hj-theme ul.products::before,
.hj-theme ul.products::after { display: none; }
.hj-theme ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hj-theme ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hj-theme ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1024px) { .hj-theme ul.products, .hj-theme ul.products[class*="columns-"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .hj-theme ul.products, .hj-theme ul.products[class*="columns-"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* Home rails: horizontal scroll on mobile */
@media (max-width: 720px) {
	.hj-rail ul.products,
	.hj-rail ul.products[class*="columns-"] {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 8px;
		margin-inline: -20px;
		padding-inline: 20px;
		scrollbar-width: none;
	}
	.hj-rail ul.products::-webkit-scrollbar { display: none; }
	.hj-rail ul.products > li { flex: 0 0 62%; scroll-snap-align: start; }
}

.hj-theme ul.products li.product.hj-card {
	width: auto;
	margin: 0;
	float: none;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--hj-line);
	border-radius: var(--hj-radius);
	overflow: hidden;
	position: relative;
	transition: box-shadow .25s, transform .25s, border-color .25s;
}
.hj-theme ul.products li.product.hj-card:hover {
	box-shadow: var(--hj-shadow-lg);
	transform: translateY(-3px);
	border-color: transparent;
}

.hj-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1;
	background: var(--hj-soft);
	overflow: hidden;
}
.hj-theme .hj-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 14px;
	margin: 0 !important;
	mix-blend-mode: multiply;
	transition: transform .4s;
}
.hj-card:hover .hj-card__media img { transform: scale(1.05); }

.hj-theme span.onsale {
	position: absolute;
	top: 12px;
	inset-inline-start: 12px;
	inset-inline-end: auto;
	left: auto;
	z-index: 2;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--hj-sale-strong);
	color: #fff;
	font-weight: 700;
	font-size: .85rem;
	line-height: 1.5;
}

.hj-card__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
	padding: 14px 16px 16px;
}
.hj-card__meta { font-size: .8rem; color: var(--hj-muted); font-weight: 500; }
.hj-theme .hj-card__title {
	font-size: 1rem !important;
	font-weight: 500;
	line-height: 1.4;
	padding: 0 !important;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.8em;
}
.hj-card__title a { color: var(--hj-dark) !important; }
.hj-card__title a:hover { color: var(--hj-primary-strong) !important; }

.hj-theme ul.products li.product .star-rating { font-size: .8rem; margin: 2px 0; }
.hj-theme .star-rating span::before,
.hj-theme .star-rating::before { color: #F5B301; }

.hj-theme ul.products li.product .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	margin: 4px 0 10px;
	color: var(--hj-dark);
	font-size: 1.2rem;
	font-weight: 900;
}
.hj-theme .price del { color: var(--hj-muted); font-weight: 400; font-size: .85em; opacity: 1; order: 2; }
.hj-theme .price ins { text-decoration: none; color: var(--hj-sale-strong); }

.hj-card__actions { margin-top: auto; }
.hj-theme ul.products li.product .button {
	width: 100%;
	margin: 0;
	padding: 11px 16px;
	font-size: .95rem;
	background: var(--hj-soft);
	color: var(--hj-dark);
}
.hj-theme ul.products li.product .button:hover { background: var(--hj-primary-strong); color: #fff; }
.hj-theme ul.products li.product .button.loading { opacity: .6; }
.hj-theme ul.products li.product .button.added { background: var(--hj-accent-strong); color: #fff; }
.hj-theme ul.products li.product .added_to_cart {
	display: block;
	text-align: center;
	font-size: .85rem;
	font-weight: 700;
	padding-top: 8px;
}

/* Pagination */
.hj-theme nav.woocommerce-pagination ul {
	display: flex;
	justify-content: center;
	gap: 6px;
	border: 0;
}
.hj-theme nav.woocommerce-pagination ul li { border: 0; }
.hj-theme nav.woocommerce-pagination ul li a,
.hj-theme nav.woocommerce-pagination ul li span {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--hj-soft);
	color: var(--hj-dark);
	font-weight: 700;
	padding: 0;
}
.hj-theme nav.woocommerce-pagination ul li span.current,
.hj-theme nav.woocommerce-pagination ul li a:hover { background: var(--hj-primary-strong); color: #fff; }

/* ==========================================================================
   Single product
   ========================================================================== */
.hj-theme.single-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 24px 48px;
	align-items: start;
	position: relative;
}
.hj-theme.single-product div.product > .onsale { top: 16px; inset-inline-start: 16px; }
.hj-theme.single-product div.product .woocommerce-product-gallery,
.hj-theme.single-product div.product .summary {
	width: auto !important;
	float: none !important;
	margin: 0;
}
.hj-theme.single-product div.product .woocommerce-tabs,
.hj-theme.single-product div.product .related,
.hj-theme.single-product div.product .upsells { grid-column: 1 / -1; }

@media (max-width: 860px) {
	.hj-theme.single-product div.product { grid-template-columns: 1fr; }
}

/* Gallery */
.hj-theme .woocommerce-product-gallery {
	position: sticky;
	top: calc(var(--hj-header-h) + 60px);
}
.hj-theme .woocommerce-product-gallery__wrapper,
.hj-theme .woocommerce-product-gallery .flex-viewport {
	background: var(--hj-soft);
	border-radius: var(--hj-radius-lg);
	overflow: hidden;
}
.hj-theme .woocommerce-product-gallery__image img { mix-blend-mode: multiply; }
.hj-theme .woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	gap: 10px;
	margin-top: 12px !important;
}
.hj-theme .woocommerce-product-gallery .flex-control-thumbs li {
	width: 76px !important;
	float: none !important;
	border-radius: var(--hj-radius-sm);
	overflow: hidden;
	background: var(--hj-soft);
	border: 2px solid transparent;
}
.hj-theme .woocommerce-product-gallery .flex-control-thumbs img { opacity: .7; }
.hj-theme .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.hj-theme .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; }
.hj-theme .woocommerce-product-gallery__trigger {
	inset-inline-end: 16px;
	left: auto;
	right: auto;
	top: 16px;
	background: #fff;
	border-radius: 50%;
	box-shadow: var(--hj-shadow);
}
@media (max-width: 860px) { .hj-theme .woocommerce-product-gallery { position: relative; top: 0; } }

/* Summary */
.hj-theme .summary .product_title {
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	font-weight: 900;
	margin-bottom: 8px;
}
.hj-theme .summary .woocommerce-product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.hj-theme .summary .price {
	font-size: 2rem !important;
	font-weight: 900;
	color: var(--hj-dark) !important;
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 16px;
}
.hj-theme .summary .woocommerce-product-details__short-description {
	color: var(--hj-muted);
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--hj-line);
}
.hj-theme .summary .stock {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
	color: var(--hj-accent-strong) !important;
}
.hj-theme .summary .stock::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent);
}
.hj-theme .summary .stock.out-of-stock { color: #D63638 !important; }

/* Variations */
.hj-theme .summary table.variations { border: 0; margin-bottom: 12px; }
.hj-theme .summary table.variations th,
.hj-theme .summary table.variations td { display: block; padding: 0; border: 0; background: none; text-align: right; }
.hj-theme .summary table.variations th.label { font-weight: 700; color: var(--hj-dark); padding-bottom: 6px; }
.hj-theme .summary table.variations td.value { padding-bottom: 14px; }
.hj-theme .summary table.variations select { width: 100%; max-width: 360px; border-radius: var(--hj-radius-sm); }
.hj-theme .summary .reset_variations { font-size: .85rem; margin-inline-start: 10px; }
.hj-theme .single_variation_wrap .woocommerce-variation-price .price { font-size: 1.6rem !important; }

/* Add to cart row */
.hj-theme .summary form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: stretch;
	margin-bottom: 20px;
}
.hj-theme .summary form.cart.variations_form { display: block; }
.hj-theme .summary .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; }
.hj-theme .summary .single_add_to_cart_button {
	flex: 1;
	min-width: 200px;
	padding: 16px 32px !important;
	font-size: 1.15rem !important;
	background: var(--hj-sale-strong) !important;
	border-radius: 999px !important;
}
.hj-theme .summary .single_add_to_cart_button:hover { background: var(--hj-dark) !important; }
.hj-theme .summary .single_add_to_cart_button.disabled { opacity: .5; }

/* Quantity */
.hj-theme .quantity {
	display: inline-flex !important;
	align-items: center;
	border: 1px solid var(--hj-line);
	border-radius: 999px;
	background: #fff;
	overflow: hidden;
}
.hj-theme .quantity .qty {
	width: 48px;
	height: 48px;
	border: 0;
	text-align: center;
	font: 700 1.05rem var(--hj-font);
	color: var(--hj-dark);
	background: transparent;
	-moz-appearance: textfield;
	padding: 0;
}
.hj-theme .quantity .qty::-webkit-inner-spin-button,
.hj-theme .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.hj-qty-btn {
	width: 42px;
	height: 48px;
	border: 0;
	background: transparent;
	color: var(--hj-dark);
	font-size: 1.3rem;
	cursor: pointer;
	transition: background .2s;
	padding: 0;
	line-height: 1;
}
.hj-qty-btn:hover { background: var(--hj-soft); }

/* Trust list */
.hj-trust {
	list-style: none;
	margin: 0 0 20px;
	padding: 16px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	background: var(--hj-soft-2);
	border-radius: var(--hj-radius);
	font-size: .92rem;
	color: var(--hj-dark);
}
.hj-trust li { display: flex; align-items: center; gap: 10px; }
.hj-trust .hj-icon { color: var(--hj-accent); }
@media (max-width: 480px) { .hj-trust { grid-template-columns: 1fr; } }

.hj-theme .product_meta {
	font-size: .88rem;
	color: var(--hj-muted);
	display: grid;
	gap: 4px;
}
.hj-theme .product_meta a { color: var(--hj-muted); text-decoration: underline; text-underline-offset: 3px; }

/* Tabs */
.hj-theme .woocommerce-tabs { margin-top: 32px; }
.hj-theme .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 6px;
	padding: 0 !important;
	margin: 0 0 20px !important;
	border-bottom: 2px solid var(--hj-line);
	overflow-x: auto;
}
.hj-theme .woocommerce-tabs ul.tabs::before,
.hj-theme .woocommerce-tabs ul.tabs::after,
.hj-theme .woocommerce-tabs ul.tabs li::before,
.hj-theme .woocommerce-tabs ul.tabs li::after { display: none !important; }
.hj-theme .woocommerce-tabs ul.tabs li {
	background: none !important;
	border: 0 !important;
	margin: 0 0 -2px !important;
	padding: 0 !important;
	border-radius: 0 !important;
}
.hj-theme .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 12px 20px !important;
	font-weight: 700;
	color: var(--hj-muted) !important;
	border-bottom: 3px solid transparent;
	white-space: nowrap;
}
.hj-theme .woocommerce-tabs ul.tabs li.active a { color: var(--hj-dark) !important; border-color: var(--hj-primary); }
.hj-theme .woocommerce-tabs .panel { color: var(--hj-text); max-width: 900px; }
.hj-theme .woocommerce-tabs .panel > h2:first-child { display: none; }
.hj-theme table.shop_attributes { border: 0; }
.hj-theme table.shop_attributes th,
.hj-theme table.shop_attributes td {
	border: 0;
	border-bottom: 1px solid var(--hj-line);
	padding: 12px;
	text-align: right;
	font-style: normal;
}
.hj-theme table.shop_attributes th { width: 30%; color: var(--hj-dark); background: var(--hj-soft); }

/* Reviews */
.hj-theme #reviews .commentlist { padding: 0; }
.hj-theme #reviews .comment_container { background: var(--hj-soft); border-radius: var(--hj-radius); padding: 16px; }
.hj-theme #reviews .comment-text { border: 0 !important; margin: 0 !important; padding: 0 !important; }
.hj-theme #reviews img.avatar { display: none; }
.hj-theme #review_form textarea,
.hj-theme #review_form input[type="text"],
.hj-theme #review_form input[type="email"] {
	width: 100%;
	border: 1px solid var(--hj-line);
	border-radius: var(--hj-radius-sm);
	padding: 12px;
	font-family: var(--hj-font);
}

/* Related / upsells */
.hj-theme .related > h2,
.hj-theme .upsells > h2,
.hj-theme .cross-sells > h2 {
	font-size: 1.7rem;
	font-weight: 900;
	margin: 48px 0 20px;
}

/* Sticky buy bar (mobile) */
.hj-sticky-buy {
	position: fixed;
	bottom: 0;
	inset-inline: 0;
	z-index: 95;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	background: #fff;
	box-shadow: 0 -6px 24px rgba(15, 52, 68, .12);
	transform: translateY(110%);
	transition: transform .3s;
}
.hj-sticky-buy.is-visible { transform: none; }
.hj-sticky-buy__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hj-sticky-buy__title { font-size: .85rem; color: var(--hj-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hj-sticky-buy__price { font-weight: 900; color: var(--hj-dark); }
.hj-sticky-buy__price del { display: none; }
.hj-sticky-buy__price ins { text-decoration: none; color: var(--hj-sale-strong); }
@media (min-width: 861px) { .hj-sticky-buy { display: none !important; } }
body.single-product .hj-wa-float { bottom: 90px; }
@media (min-width: 861px) { body.single-product .hj-wa-float { bottom: 20px; } }

/* ==========================================================================
   Cart
   ========================================================================== */

/* Free-shipping bar */
.hj-ship-bar {
	background: var(--hj-soft);
	border-radius: var(--hj-radius);
	padding: 16px 20px;
	margin-bottom: 24px;
}
.hj-ship-bar[hidden] { display: none; }
.hj-ship-bar__text {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	font-weight: 500;
	color: var(--hj-dark);
}
.hj-ship-bar__text .hj-icon { color: var(--hj-primary); }
.hj-ship-bar__text .amount { color: var(--hj-sale-strong); font-weight: 900; }
.hj-ship-bar__track { height: 10px; background: #fff; border-radius: 999px; overflow: hidden; }
.hj-ship-bar__track span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--hj-accent), var(--hj-primary));
	border-radius: 999px;
	transition: width .5s ease;
	margin-inline-start: 0;
}
.hj-ship-bar.is-done { background: var(--hj-soft-2); }
.hj-ship-bar.is-done .hj-icon { color: var(--hj-accent); }

/* Classic cart layout: table + totals side by side */
.hj-theme .woocommerce-cart .woocommerce,
.hj-theme.woocommerce-cart .site-main .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 0 32px;
	align-items: start;
}
.hj-theme.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
.hj-theme.woocommerce-cart .woocommerce > .hj-page-title,
.hj-theme.woocommerce-cart .woocommerce > .hj-ship-bar,
.hj-theme.woocommerce-cart .woocommerce > .wc-empty-cart-message,
.hj-theme.woocommerce-cart .woocommerce > .return-to-shop,
.hj-theme.woocommerce-cart .woocommerce > .cart-empty { grid-column: 1 / -1; }
.hj-theme.woocommerce-cart .cart-collaterals {
	grid-column: 2;
	grid-row: span 3;
	width: auto;
	position: sticky;
	top: calc(var(--hj-header-h) + 60px);
}
.hj-theme.woocommerce-cart .cart-collaterals .cross-sells {
	position: static;
}
@media (max-width: 960px) {
	.hj-theme.woocommerce-cart .site-main .woocommerce { grid-template-columns: 1fr; }
	.hj-theme.woocommerce-cart .cart-collaterals { grid-column: 1; position: static; }
}

/* Cart table */
.hj-theme table.shop_table {
	border: 1px solid var(--hj-line);
	border-radius: var(--hj-radius);
	border-collapse: separate;
	overflow: hidden;
	background: #fff;
	margin: 0 0 24px;
}
.hj-theme table.shop_table th {
	background: var(--hj-soft);
	color: var(--hj-dark);
	font-weight: 700;
	padding: 14px 16px;
	text-align: right;
	border: 0;
}
.hj-theme table.shop_table td {
	padding: 16px;
	border: 0;
	border-top: 1px solid var(--hj-line);
	vertical-align: middle;
	text-align: right;
	background: #fff;
}
.hj-theme table.cart td.product-thumbnail img {
	width: 84px;
	border-radius: var(--hj-radius-sm);
	background: var(--hj-soft);
	mix-blend-mode: multiply;
}
.hj-theme table.cart td.product-name a { color: var(--hj-dark); font-weight: 700; }
.hj-theme table.cart td.product-name a:hover { color: var(--hj-primary-strong); }
.hj-theme table.cart td.product-subtotal { font-weight: 900; color: var(--hj-dark); }
.hj-theme table.cart a.remove {
	width: 32px;
	height: 32px;
	line-height: 30px;
	border-radius: 50%;
	background: var(--hj-soft);
	color: var(--hj-muted) !important;
	font-size: 1.3rem;
	font-weight: 400;
	text-align: center;
	transition: .2s;
}
.hj-theme table.cart a.remove:hover { background: #FDE4E4; color: #D63638 !important; }

/* Coupon + update row */
.hj-theme table.cart td.actions { background: var(--hj-soft); }
.hj-theme table.cart td.actions .coupon { display: flex; gap: 8px; flex-wrap: wrap; }
.hj-theme table.cart td.actions .coupon .input-text {
	width: 200px;
	border: 1px solid var(--hj-line);
	border-radius: 999px;
	padding: 10px 16px;
	font-family: var(--hj-font);
	background: #fff;
}
.hj-theme table.cart td.actions > .button {
	float: left;
	background: #fff;
	color: var(--hj-dark);
	border-color: var(--hj-line);
}
.hj-theme table.cart td.actions > .button:disabled { opacity: .5; cursor: default; transform: none; box-shadow: none; }

/* Mobile cart: stacked cards */
@media (max-width: 768px) {
	.hj-theme table.shop_table_responsive thead { display: none; }
	.hj-theme table.shop_table_responsive tr.cart_item {
		display: grid;
		grid-template-columns: 84px 1fr auto;
		grid-template-areas:
			"thumb name remove"
			"thumb price price"
			"thumb qty subtotal";
		gap: 4px 12px;
		padding: 14px;
		border-top: 1px solid var(--hj-line);
	}
	.hj-theme table.shop_table_responsive tr.cart_item td {
		display: block;
		padding: 0;
		border: 0;
		text-align: right !important;
	}
	.hj-theme table.shop_table_responsive tr.cart_item td::before { display: none; }
	.hj-theme table.cart tr.cart_item td.product-thumbnail { display: block !important; grid-area: thumb; }
	.hj-theme table.cart tr.cart_item td.product-name { grid-area: name; }
	.hj-theme table.cart tr.cart_item td.product-remove { grid-area: remove; }
	.hj-theme table.cart tr.cart_item td.product-price { grid-area: price; color: var(--hj-muted); font-size: .9rem; }
	.hj-theme table.cart tr.cart_item td.product-quantity { grid-area: qty; }
	.hj-theme table.cart tr.cart_item td.product-subtotal { grid-area: subtotal; align-self: center; }
	.hj-theme table.cart .quantity .qty { width: 36px; height: 38px; }
	.hj-theme table.cart .hj-qty-btn { width: 34px; height: 38px; }
	.hj-theme table.cart td.actions { display: block; }
	.hj-theme table.cart td.actions .coupon { margin-bottom: 10px; }
	.hj-theme table.cart td.actions .coupon .input-text { flex: 1; width: auto; }
	.hj-theme table.cart td.actions > .button { float: none; width: 100%; }
}

/* Totals box */
.hj-theme .cart_totals {
	width: 100% !important;
	float: none !important;
	background: #fff;
	border: 1px solid var(--hj-line);
	border-radius: var(--hj-radius-lg);
	padding: 24px;
	box-shadow: var(--hj-shadow);
	margin-bottom: 20px;
}
.hj-theme .cart_totals h2 { font-size: 1.4rem; font-weight: 900; }
.hj-theme .cart_totals table.shop_table { border: 0; border-radius: 0; margin-bottom: 16px; }
.hj-theme .cart_totals table.shop_table th { background: none; padding: 12px 0; font-weight: 500; width: 40%; }
.hj-theme .cart_totals table.shop_table td { padding: 12px 0; }
.hj-theme .cart_totals .order-total th,
.hj-theme .cart_totals .order-total td { font-size: 1.25rem; font-weight: 900; color: var(--hj-dark); }
.hj-theme .cart_totals .woocommerce-shipping-methods { list-style: none; padding: 0; margin: 0; }
.hj-theme .cart_totals .woocommerce-shipping-methods li { display: flex; gap: 6px; align-items: center; margin-bottom: 4px; }
.hj-theme .wc-proceed-to-checkout { padding: 0; }
.hj-theme .wc-proceed-to-checkout .checkout-button {
	display: flex !important;
	width: 100%;
	padding: 17px !important;
	font-size: 1.15rem !important;
	background: var(--hj-sale-strong) !important;
	margin-bottom: 0 !important;
}
.hj-theme .wc-proceed-to-checkout .checkout-button:hover { background: var(--hj-dark) !important; }
.hj-theme .cart-collaterals .hj-trust { grid-template-columns: 1fr; margin-top: 0; }

/* Empty cart */
.hj-theme .cart-empty.woocommerce-info,
.hj-theme .wc-empty-cart-message .cart-empty {
	display: block;
	text-align: center;
	padding: 48px 20px 8px;
	font-size: 1.2rem;
	background: var(--hj-soft);
	border: 0;
	border-radius: var(--hj-radius-lg) var(--hj-radius-lg) 0 0;
	margin: 0;
}
.hj-theme .cart-empty.woocommerce-info::before {
	content: "🛒";
	display: block !important;
	position: static;
	font-size: 56px;
	margin-bottom: 8px;
}
.hj-theme .return-to-shop {
	text-align: center;
	background: var(--hj-soft);
	padding: 8px 20px 48px;
	border-radius: 0 0 var(--hj-radius-lg) var(--hj-radius-lg);
	margin: 0;
}

/* Block-based cart (WooCommerce Cart block) — light touch */
.hj-theme .wp-block-woocommerce-cart { font-family: var(--hj-font); }
.hj-theme .wc-block-cart-items { border-radius: var(--hj-radius); }
.hj-theme .wc-block-components-product-name { color: var(--hj-dark); font-weight: 700; }
.hj-theme .wc-block-cart__submit-button { background: var(--hj-sale-strong) !important; border-radius: 999px !important; }
.hj-theme .wc-block-components-sidebar .wc-block-components-panel,
.hj-theme .wp-block-woocommerce-cart-totals-block {
	background: #fff;
	border: 1px solid var(--hj-line);
	border-radius: var(--hj-radius-lg);
	padding: 8px 20px 20px;
	box-shadow: var(--hj-shadow);
}
.hj-theme .wc-block-components-quantity-selector { border-radius: 999px !important; }

/* Forms (checkout / account) — base polish */
.hj-theme .woocommerce form .form-row input.input-text,
.hj-theme .woocommerce form .form-row textarea {
	border: 1px solid var(--hj-line);
	border-radius: var(--hj-radius-sm);
	padding: 12px 14px;
	font-family: var(--hj-font);
	background: #fff;
}
.hj-theme .woocommerce form .form-row input.input-text:focus,
.hj-theme .woocommerce form .form-row textarea:focus { border-color: var(--hj-primary); outline: 0; box-shadow: 0 0 0 3px rgba(25, 167, 224, .15); }

/* Sold-individually products: no +/- buttons around a hidden input */
.hj-theme .quantity:has(input[type="hidden"]) { border: 0; }
.hj-theme .quantity:has(input[type="hidden"]) .hj-qty-btn { display: none; }
