/**
 * Smart Elementor Addons — Product Grid
 * Author: Tenbit Solutions (https://tenbitsol.com)
 *
 * NOTE: Colors, fonts, spacing, columns, etc. are all injected inline by
 * Elementor via each widget instance's controls. This file only holds the
 * structural rules needed for the grid/card/button to function and look
 * sane with zero configuration.
 */

.sea-product-grid-wrap {
	width: 100%;
}

.sea-product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 24px;
	row-gap: 24px;
	width: 100%;
}

/* ---------------------------------------------------------------
   Card
   --------------------------------------------------------------- */
.sea-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 6px;
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
}

.sea-card-image {
	position: relative;
	display: block;
	width: 100%;
	height: 320px;
	overflow: hidden;
	background: #f4f5f7;
}

.sea-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.sea-card:hover .sea-card-image img {
	transform: scale(1.03);
}

.sea-card-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 4px 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	border-radius: 3px;
	line-height: 1.4;
}

.sea-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-align: center;
	padding: 20px 20px 24px;
}

.sea-card-title {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
	line-height: 1.4;
}

.sea-card-title a {
	color: inherit;
	text-decoration: none;
}

.sea-card-rating {
	margin: 0 auto 8px;
}

.sea-card-price {
	margin: 0 0 16px;
	font-size: 14px;
}

.sea-card-price del {
	opacity: .65;
	font-weight: 400;
	margin-right: 6px;
}

.sea-card-price ins {
	text-decoration: none;
}

.sea-card-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 8px auto 0;
	padding: 12px 22px;
	background: #132a63;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}

.sea-card-button:hover {
	background: #1e3f8f;
	color: #ffffff;
}

.sea-card-button.loading {
	opacity: .6;
	pointer-events: none;
}

.sea-no-products {
	text-align: center;
	padding: 40px 0;
	opacity: .7;
}

/* ---------------------------------------------------------------
   Pagination
   --------------------------------------------------------------- */
.sea-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin: 32px auto 0;
	text-align: center;
}

.sea-pagination-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 8px;
	border-radius: 4px;
	background: #f0f1f4;
	color: #2d2d2d;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	transition: background-color .2s ease, color .2s ease;
}

.sea-pagination-link:hover,
.sea-pagination-link.is-active {
	background: #132a63;
	color: #ffffff;
}

.sea-pagination-dots {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 34px;
	color: #8a8a8a;
	font-weight: 600;
	user-select: none;
}

.sea-pagination-prev,
.sea-pagination-next {
	font-size: 15px;
}

/* ---------------------------------------------------------------
   Responsive fallback (only applies if columns control isn't set,
   e.g. very old cached CSS) — Elementor's own responsive control
   normally overrides this per-breakpoint.
   --------------------------------------------------------------- */
@media (max-width: 1024px) {
	.sea-product-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.sea-product-grid {
		grid-template-columns: repeat(1, 1fr);
	}
}
