/* =========================================
   BSMS PRODUCT CARD SYSTEM
   ========================================= */

.bsms-product-grid {
	display: grid;
	grid-template-columns:
		repeat(var(--bsms-columns, 4), minmax(0, 1fr));
	gap: 18px;
	width: 100%;
}

.bsms-product-card {
	position: relative;
	overflow: hidden;
	background: #111;
	border: 2px solid #ff3b00;
	border-radius: 16px;
	box-shadow: 0 5px 16px rgba(0, 0, 0, 0.18);

	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.bsms-product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 9px 24px rgba(0, 0, 0, 0.28);
}

.bsms-product-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none !important;
}

.bsms-product-image-area {
	position: relative;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	height: 200px;

	padding: 12px;

	overflow: hidden;

	/* Clean neutral product canvas */
	background: #ffffff;
	
	border-bottom: 3px solid #ff6a00;
}

.bsms-product-image {
	display: block;

	width: 92% !important;
	height: 92% !important;

	max-width: 92% !important;
	max-height: 92% !important;

	margin: auto;

	object-fit: contain !important;
	object-position: center center;
}

.bsms-product-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;

	padding: 5px 9px;

	background: #111;
	border: 2px solid #ff6a00;
	border-radius: 999px;

	color: #ffd42a;

	font-size: 10px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0.4px;

	text-transform: uppercase;
}

.bsms-product-info {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;

	min-height: 195px;
	padding: 15px 14px 18px;

	background: #111;

	text-align: center;
}

.bsms-product-title {
	margin: 0 0 10px;

	color: #fff;

	font-size: 17px;
	font-weight: 900;
	line-height: 1.18;

	text-transform: uppercase;
}

.bsms-product-sku {
	margin-bottom: 10px;

	color: #ffd42a;

	font-size: 12px;
	font-weight: 800;
}

.bsms-product-price {
	margin-bottom: 7px;

	color: #fff;

	font-size: 22px;
	font-weight: 900;
}

.bsms-product-price del {
	margin-left: 4px;

	color: #777;

	font-size: 13px;
}

.bsms-product-price ins {
	text-decoration: none;
}

.bsms-product-savings {
	margin-bottom: 10px;

	color: #ffd42a;

	font-size: 12px;
	font-weight: 900;
}

.bsms-product-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	margin-top: auto;
	padding: 11px 18px;

	background: linear-gradient(
		135deg,
		#ff3b00,
		#ff7900
	);

	border-radius: 999px;

	color: #fff;

	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.35px;

	text-transform: uppercase;
}

.bsms-product-card:hover .bsms-product-button {
	background: linear-gradient(
		135deg,
		#ff7800,
		#ffb000
	);
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1024px) {

	.bsms-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* =========================================
   SMALL TABLET
   ========================================= */

@media (max-width: 768px) {

	.bsms-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.bsms-product-image-area {
		height: 175px;
	}
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 480px) {

	.bsms-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.bsms-product-image-area {
		height: 135px;
		padding: 7px;
	}

	.bsms-product-info {
		min-height: 170px;
		padding: 11px 8px 12px;
	}

	.bsms-product-title {
		font-size: 13px;
	}

	.bsms-product-sku {
		font-size: 10px;
	}

	.bsms-product-price {
		font-size: 18px;
	}

	.bsms-product-button {
		padding: 8px 10px;
		font-size: 10px;
	}
}

/* =========================================
   BSMS CARD ACTION AREA
   ========================================= */

.bsms-product-card {
	display: flex;
	flex-direction: column;
}

.bsms-product-card-link {
	display: flex;
	flex: 1;
	flex-direction: column;

	color: inherit;
	text-decoration: none !important;
}

.bsms-product-info {
	flex: 1;
}

.bsms-product-actions {
	display: flex;
	align-items: center;
	justify-content: center;

	padding: 0 12px 16px;

	background: #111;
}

.bsms-product-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	margin: 0;

	padding: 11px 18px;

	border: 0;
	border-radius: 999px;

	background: linear-gradient(
		135deg,
		#ff3b00,
		#ff7900
	);

	color: #fff !important;

	font-size: 12px;
	font-weight: 900;
	line-height: 1;

	letter-spacing: 0.35px;

	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase;

	cursor: pointer;
}

.bsms-product-button:hover {
	background: linear-gradient(
		135deg,
		#ff7800,
		#ffb000
	);

	color: #fff !important;
}

.bsms-section {
	width: 100%;
	padding: 42px 0;
}

.bsms-section-header {
	margin-bottom: 24px;
	text-align: center;
}

.bsms-section-title {
	margin: 0 0 8px;

	color: #111;

	font-size: clamp(26px, 4vw, 40px);
	font-weight: 900;
	line-height: 1.05;

	text-transform: uppercase;
}

.bsms-section-title span {
	color: #ff5a00;
}

.bsms-section-subtitle {
	max-width: 700px;
	margin: 0 auto;

	color: #555;

	font-size: 16px;
	line-height: 1.5;
}