.ob-instock-widget {
	padding: 0;
}

.ob-instock-widget h3 {
	font-family: "Manrope", Sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #232323;
	margin: 0 0 20px 0;
	padding-bottom: 10px;
	border-bottom: 1px solid #E2E2E2;
}

.ob-instock-card {
	overflow: hidden;
}

.ob-instock-card + .ob-instock-card {
	margin-top: 24px;
}

.ob-instock-card-image {
	position: relative;
	width: 100%;
	height: 220px;
	overflow: hidden;
}

.ob-instock-card-image-link {
	display: block;
	width: 100%;
	height: 100%;
}

/*
 * Scoped to .ob-instock-card so this beats WooCommerce's ".woocommerce img { height: auto }",
 * which has equal specificity and loads after this file. Without the extra class the image
 * renders at its intrinsic height and overflows the fixed-height frame instead of cropping.
 */
.ob-instock-card .ob-instock-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ob-instock-card:hover .ob-instock-card-image img {
	transform: scale(1.05);
}

.ob-instock-card-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: "Manrope", Sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #232323;
	background: rgba(255, 255, 255, 0.93);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	padding: 5px 10px;
}

.ob-instock-card-badge::before {
	content: '';
	display: block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #5a8a5c;
}

.ob-instock-card-body {
	padding: 18px 0 0;
}

.ob-instock-card-body h4 {
	font-family: "Baskervville", Sans-serif;
	font-size: 20px;
	font-weight: 400;
	color: #232323;
	margin: 0 0 12px 0;
	line-height: 1.3;
}

.ob-instock-card-body h4 a {
	color: inherit;
	text-decoration: none;
}

.ob-instock-card-body h4 a:hover,
.ob-instock-card-body h4 a:focus-visible {
	text-decoration: underline;
}

.ob-instock-card-specs {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2px 10px;
	font-family: "Manrope", Sans-serif;
	font-size: 13px;
	font-weight: 300;
	line-height: 1.7;
	color: #232323;
	margin-bottom: 16px;
}

.ob-instock-card-specs dt {
	color: #232323;
	font-weight: 300;
}

.ob-instock-card-specs dd {
	color: #232323;
	font-weight: 300;
	margin: 0;
}

.ob-instock-card-price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding-top: 14px;
	border-top: 1px solid #E2E2E2;
}

.ob-instock-card-price .ob-price-current {
	font-family: "Manrope", Sans-serif;
	font-size: 18px;
	font-weight: 400;
	color: #232323;
}

.ob-instock-card-price .ob-price-was {
	font-family: "Manrope", Sans-serif;
	font-size: 14px;
	font-weight: 300;
	color: #aaa;
	text-decoration: line-through;
}

.ob-instock-card-price .ob-price-save {
	font-family: "Manrope", Sans-serif;
	font-size: 11px;
	font-weight: 600;
	color: #BFA760;
	letter-spacing: 0.3px;
	margin-left: auto;
}

.ob-instock-card-note {
	font-family: "Manrope", Sans-serif;
	font-size: 12px;
	font-weight: 300;
	color: #777;
	margin: 10px 0 0;
}

.ob-instock-add-to-cart {
	display: block;
	width: 100%;
	margin-top: 16px;
	padding: 12px 20px;
	font-family: "Manrope", Sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #F5F5F5;
	background-color: #565656;
	border: 1px solid #232323;
	border-radius: 0;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease;
	box-sizing: border-box;
}

.ob-instock-add-to-cart:hover {
	background-color: #232323;
	color: #F5F5F5;
}
