/* בית התינוק – WooCommerce storefront (brand-matched, improved) */

.bht-store {
	--bht-pink: #ff57b2;
	--bht-teal: #34c1a3;
	--bht-yellow: #fcee21;
	--bht-ink: #141414;
	--bht-muted: #6b6b6b;
	--bht-soft: #f7f4f6;
	--bht-card: #ffffff;
	--bht-blush: #f88ca4;
	--bht-peach: #fedea7;
	--bht-radius: 18px;
	--bht-shadow: 0 10px 30px rgba(20, 20, 20, 0.08);
	--bht-shadow-hover: 0 16px 40px rgba(255, 87, 178, 0.18);
	--bht-max: 1200px;
	font-family: "Noto Sans Hebrew", "Segoe UI", Tahoma, sans-serif;
	color: var(--bht-ink);
}

.bht-store a {
	color: inherit;
	text-decoration: none;
}

/* ---------- Shop hero ---------- */
.bht-shop__hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 15% 20%, rgba(255, 87, 178, 0.28), transparent 45%),
		radial-gradient(circle at 85% 10%, rgba(52, 193, 163, 0.28), transparent 40%),
		radial-gradient(circle at 70% 90%, rgba(252, 238, 33, 0.35), transparent 45%),
		linear-gradient(135deg, #fff7fb 0%, #f3fffb 55%, #fffdf0 100%);
	border-bottom: 1px solid rgba(20, 20, 20, 0.05);
	margin-bottom: 2rem;
}

.bht-shop__hero-inner {
	max-width: var(--bht-max);
	margin: 0 auto;
	padding: 3.5rem 1.25rem 3rem;
	text-align: center;
}

.bht-shop__eyebrow {
	display: inline-block;
	margin: 0 0 0.75rem;
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
	background: rgba(255, 87, 178, 0.12);
	color: var(--bht-pink);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.bht-shop__title {
	margin: 0 0 0.75rem;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1.1;
	font-weight: 800;
	color: var(--bht-teal);
}

.bht-shop__subtitle {
	margin: 0 auto;
	max-width: 38rem;
	color: var(--bht-muted);
	font-size: 1.05rem;
	line-height: 1.6;
}

/* ---------- Shop layout ---------- */
.bht-shop__layout {
	max-width: var(--bht-max);
	margin: 0 auto 3.5rem;
	padding: 0 1.25rem;
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 2rem;
	align-items: start;
}

.bht-shop__sidebar {
	position: sticky;
	top: 1rem;
	display: grid;
	gap: 1rem;
}

.bht-widget,
.bht-shop__sidebar .widget {
	background: var(--bht-card);
	border: 1px solid rgba(20, 20, 20, 0.06);
	border-radius: var(--bht-radius);
	box-shadow: var(--bht-shadow);
	padding: 1.15rem 1.2rem;
}

.bht-shop__sidebar .widget + .widget {
	margin-top: 0;
}

.bht-shop__main .woocommerce-result-count {
	color: var(--bht-muted);
	font-size: 0.95rem;
}

.bht-shop__main::before {
	content: "";
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
}

.bht-shop__main .woocommerce-notices-wrapper,
.bht-shop__main .woocommerce-result-count,
.bht-shop__main .woocommerce-ordering {
	display: inline-block;
	vertical-align: middle;
}

.bht-shop__main .woocommerce-ordering {
	float: left;
}

.bht-shop__main .woocommerce-result-count {
	float: right;
}

.bht-shop__main ul.products {
	clear: both;
}

.bht-widget__title,
.bht-shop__sidebar .widget-title,
.bht-shop__sidebar .widgettitle {
	margin: 0 0 0.85rem;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--bht-ink);
}

.bht-shop__sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bht-shop__sidebar li {
	margin: 0;
	padding: 0.4rem 0;
	border-bottom: 1px solid rgba(20, 20, 20, 0.05);
	font-size: 0.95rem;
}

.bht-shop__sidebar li:last-child {
	border-bottom: 0;
}

.bht-shop__sidebar a:hover {
	color: var(--bht-pink);
}

.bht-shop__sidebar .count {
	opacity: 0.55;
	font-size: 0.85em;
}

/* ---------- Toolbar / sorting ---------- */
.bht-shop__main .woocommerce-result-count,
.bht-shop__main .woocommerce-ordering {
	margin-bottom: 1.25rem;
}

.bht-shop__main .woocommerce-ordering select {
	border: 1px solid rgba(20, 20, 20, 0.12);
	border-radius: 12px;
	padding: 0.55rem 0.9rem;
	background: #fff;
	font: inherit;
}

/* ---------- Product grid ---------- */
.bht-store ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.35rem;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
	width: 100%;
}

.bht-store ul.products::before,
.bht-store ul.products::after {
	display: none !important;
}

.bht-store ul.products li.product {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 0 1.1rem;
	background: var(--bht-card);
	border-radius: var(--bht-radius);
	box-shadow: var(--bht-shadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	position: relative;
	text-align: center;
}

.bht-store ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: var(--bht-shadow-hover);
}

.bht-store ul.products li.product a img,
.bht-store ul.products li.product img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 0;
	margin: 0;
	background: var(--bht-soft);
	transition: transform 0.35s ease;
}

.bht-store ul.products li.product:hover img {
	transform: scale(1.03);
}

.bht-store ul.products li.product .woocommerce-loop-product__title,
.bht-store ul.products li.product h2 {
	font-size: 1rem !important;
	font-weight: 700;
	line-height: 1.35;
	margin: 0.9rem 0.9rem 0.35rem;
	color: var(--bht-ink);
	min-height: 2.7em;
}

.bht-store ul.products li.product .price {
	display: block;
	margin: 0.25rem 0.9rem 0.75rem;
	color: var(--bht-blush);
	font-weight: 800;
	font-size: 1.05rem;
}

.bht-store ul.products li.product .price del {
	opacity: 0.55;
	font-weight: 500;
	color: var(--bht-muted);
	margin-inline-start: 0.35rem;
}

.bht-store ul.products li.product .price ins {
	text-decoration: none;
	color: #e11d48;
}

.bht-store ul.products li.product .button,
.bht-store ul.products li.product .added_to_cart {
	margin: auto 0.9rem 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-height: 42px;
	padding: 0.65rem 1.1rem;
	border-radius: 14px;
	border: 0;
	background: var(--bht-pink);
	color: #fff !important;
	font-weight: 700;
	letter-spacing: 0.02em;
	box-shadow: 0 6px 16px rgba(255, 87, 178, 0.28);
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.bht-store ul.products li.product .button:hover,
.bht-store ul.products li.product .added_to_cart:hover {
	background: var(--bht-yellow);
	color: var(--bht-ink) !important;
	transform: translateY(-1px);
}

.bht-store ul.products li.product .onsale,
.bht-store span.onsale {
	position: absolute;
	top: 12px;
	inset-inline-start: 12px;
	z-index: 2;
	min-height: auto;
	min-width: auto;
	line-height: 1;
	padding: 0.4rem 0.7rem;
	border-radius: 999px;
	background: var(--bht-pink);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 800;
	box-shadow: 0 4px 12px rgba(255, 87, 178, 0.35);
}

/* ---------- Pagination ---------- */
.bht-store .woocommerce-pagination ul {
	border: 0;
	display: flex;
	justify-content: center;
	gap: 0.4rem;
	flex-wrap: wrap;
}

.bht-store .woocommerce-pagination ul li {
	border: 0;
	margin: 0;
}

.bht-store .woocommerce-pagination ul li a,
.bht-store .woocommerce-pagination ul li span {
	border: 0 !important;
	border-radius: 12px;
	min-width: 42px;
	min-height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	box-shadow: var(--bht-shadow);
	font-weight: 700;
}

.bht-store .woocommerce-pagination ul li span.current,
.bht-store .woocommerce-pagination ul li a:hover {
	background: var(--bht-pink);
	color: #fff;
}

/* ---------- Single product ---------- */
.bht-store.single-product .site-main,
.bht-store.single-product #content {
	max-width: none;
}

.bht-product {
	max-width: var(--bht-max);
	margin: 0 auto;
	padding: 2rem 1.25rem 1rem;
}

.bht-product__grid::after {
	content: "";
	display: table;
	clear: both;
}

.bht-store div.product {
	position: relative;
}

.bht-store div.product .woocommerce-breadcrumb {
	max-width: var(--bht-max);
	margin: 1.25rem auto 0;
	padding: 0 1.25rem;
	color: var(--bht-muted);
	font-size: 0.9rem;
}

.bht-store div.product .woocommerce-breadcrumb a:hover {
	color: var(--bht-pink);
}

.bht-store div.product .product_title {
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	line-height: 1.2;
	font-weight: 800;
	color: var(--bht-ink);
	margin: 0 0 0.75rem;
}

.bht-store div.product p.price {
	font-size: 1.55rem;
	font-weight: 800;
	color: var(--bht-ink);
	margin: 0 0 1rem;
}

.bht-store div.product p.price ins {
	color: #e11d48;
	text-decoration: none;
}

.bht-store div.product .woocommerce-product-details__short-description {
	color: var(--bht-muted);
	line-height: 1.7;
	margin-bottom: 1.25rem;
}

.bht-store div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.bht-store div.product form.cart .quantity .qty {
	width: 4.5rem;
	min-height: 48px;
	border: 1px solid rgba(20, 20, 20, 0.12);
	border-radius: 12px;
	text-align: center;
	font: inherit;
	font-weight: 700;
	background: var(--bht-soft);
}

.bht-store div.product form.cart .single_add_to_cart_button,
.bht-store button.button.alt,
.bht-store a.button.alt,
.bht-store .button.alt {
	min-height: 48px;
	padding: 0.8rem 1.6rem;
	border: 0;
	border-radius: 14px;
	background: #2b1e9b;
	color: #fff !important;
	font-weight: 800;
	letter-spacing: 0.02em;
	box-shadow: 0 8px 20px rgba(43, 30, 155, 0.25);
	transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.bht-store div.product form.cart .single_add_to_cart_button:hover,
.bht-store button.button.alt:hover,
.bht-store a.button.alt:hover {
	background: var(--bht-pink);
	color: #fff !important;
	transform: translateY(-1px);
}

.bht-store div.product .product_meta {
	padding-top: 1rem;
	border-top: 1px solid rgba(20, 20, 20, 0.08);
	color: var(--bht-muted);
	font-size: 0.92rem;
	display: grid;
	gap: 0.35rem;
}

.bht-store div.product .product_meta a:hover {
	color: var(--bht-teal);
}

/* Gallery */
.bht-store div.product div.images {
	margin-bottom: 0;
}

.bht-store div.product div.images .woocommerce-product-gallery__wrapper,
.bht-store div.product div.images .flex-viewport {
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid #f0f0f0;
	background: #fff;
}

.bht-store div.product div.images .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.55rem;
	margin-top: 0.75rem;
}

.bht-store div.product div.images .flex-control-thumbs li {
	width: auto !important;
	margin: 0 !important;
}

.bht-store div.product div.images .flex-control-thumbs img {
	border-radius: 10px;
	border: 1px solid #f0f0f0;
	opacity: 1;
}

.bht-store div.product div.images .flex-control-thumbs img.flex-active,
.bht-store div.product div.images .flex-control-thumbs img:hover {
	border-color: var(--bht-pink);
}

/* Force gallery visible if JS delayed */
.bht-store .woocommerce-product-gallery {
	opacity: 1 !important;
}

/* Summary column spacing via Woo defaults + our wrapper */
.bht-store div.product div.summary {
	margin-bottom: 0;
}

@media (min-width: 769px) {
	.bht-store div.product div.images {
		width: 48%;
	}

	.bht-store div.product div.summary {
		width: 48%;
	}
}

/* Tabs / related */
.bht-store .woocommerce-tabs {
	max-width: var(--bht-max);
	margin: 0 auto 2rem;
	padding: 0 1.25rem;
	clear: both;
}

.bht-store .woocommerce-tabs ul.tabs {
	padding: 0;
	margin: 0 0 1rem;
	border: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	background: transparent;
}

.bht-store .woocommerce-tabs ul.tabs::before {
	display: none;
}

.bht-store .woocommerce-tabs ul.tabs li {
	border: 0;
	background: var(--bht-soft);
	border-radius: 999px;
	margin: 0;
	padding: 0;
}

.bht-store .woocommerce-tabs ul.tabs li a {
	padding: 0.65rem 1.1rem;
	font-weight: 700;
}

.bht-store .woocommerce-tabs ul.tabs li.active {
	background: var(--bht-teal);
}

.bht-store .woocommerce-tabs ul.tabs li.active a {
	color: #fff;
}

.bht-store .woocommerce-tabs .panel {
	background: #fff;
	border-radius: var(--bht-radius);
	box-shadow: var(--bht-shadow);
	padding: 1.35rem 1.4rem;
	margin: 0;
	border: 1px solid rgba(20, 20, 20, 0.05);
}

.bht-store .related.products,
.bht-store .upsells.products {
	max-width: var(--bht-max);
	margin: 0 auto 3rem;
	padding: 2rem 1.25rem;
	clear: both;
	background:
		radial-gradient(circle at 10% 20%, rgba(255, 87, 178, 0.08), transparent 40%),
		radial-gradient(circle at 90% 80%, rgba(52, 193, 163, 0.1), transparent 40%),
		var(--bht-soft);
	border-radius: 24px;
}

.bht-store .related.products > h2,
.bht-store .upsells.products > h2 {
	text-align: center;
	font-size: clamp(1.4rem, 2.5vw, 2rem);
	font-weight: 800;
	color: var(--bht-teal);
	margin: 0 0 1.25rem;
}

/* Notices */
.bht-store .woocommerce-message,
.bht-store .woocommerce-info,
.bht-store .woocommerce-error {
	border-radius: 14px;
	border-top: 0;
	border-inline-start: 4px solid var(--bht-teal);
	box-shadow: var(--bht-shadow);
}

.bht-store .woocommerce-message {
	border-inline-start-color: var(--bht-pink);
}

/* Cart / checkout soft polish */
.bht-store.woocommerce-cart .cart_totals,
.bht-store.woocommerce-checkout #order_review {
	background: #fff;
	border-radius: var(--bht-radius);
	box-shadow: var(--bht-shadow);
	padding: 1.25rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.bht-shop__layout {
		grid-template-columns: 220px 1fr;
		gap: 1.25rem;
	}

	.bht-store ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.bht-shop__hero-inner {
		padding: 2.4rem 1rem 2rem;
	}

	.bht-shop__layout {
		grid-template-columns: 1fr;
	}

	.bht-shop__sidebar {
		position: static;
		grid-template-columns: 1fr;
	}

	.bht-store ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.85rem;
	}

	.bht-store ul.products li.product .woocommerce-loop-product__title,
	.bht-store ul.products li.product h2 {
		font-size: 0.9rem !important;
		min-height: 0;
		margin: 0.7rem 0.65rem 0.25rem;
	}

	.bht-store ul.products li.product .price {
		margin: 0.2rem 0.65rem 0.55rem;
		font-size: 0.95rem;
	}

	.bht-store ul.products li.product .button,
	.bht-store ul.products li.product .added_to_cart {
		margin: auto 0.65rem 0;
		width: calc(100% - 1.3rem);
		font-size: 0.85rem;
	}

	.bht-product {
		padding-top: 1rem;
	}
}
