/* Packages (bundles) ------------------------------------------------------ */

/* Product page: what the package contains. */
.nw-bundle {
	margin: 22px 0 6px;
	padding: 18px 20px;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	background-color: #f8fafc;
}

.nw-bundle-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 800;
	color: #0f172a;
}

.nw-bundle-title i {
	color: #d97706;
}

.nw-bundle-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nw-bundle-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-size: 14px;
	color: #334155;
}

.nw-bundle-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #0f172a;
	text-decoration: none;
}

.nw-bundle-link:hover .nw-bundle-name {
	color: #d97706;
}

.nw-bundle-link i {
	font-size: 12px;
	color: #16a34a;
}

.nw-bundle-price {
	font-size: 13px;
	font-weight: 700;
	color: #64748b;
	white-space: nowrap;
}

.nw-bundle-save {
	margin: 14px 0 0;
	padding-top: 12px;
	border-top: 1px dashed #cbd5e1;
	font-size: 13px;
	color: #475569;
}

.nw-bundle-save strong {
	color: #b45309;
}

.nw-bundle-cart-note {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #64748b;
}

/* Packages grid (shortcode). */
.nw-bundles {
	display: grid;
	gap: 24px;
	margin: 0;
}

.nw-bundles--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nw-bundles--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nw-bundles--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nw-bundle-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	border-radius: 22px;
	background-color: #ffffff;
	box-shadow: 0 18px 40px -32px rgba(15, 23, 42, 0.45);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.nw-bundle-card:hover {
	transform: translateY(-4px);
	border-color: #fcd34d;
	box-shadow: 0 26px 50px -30px rgba(15, 23, 42, 0.4);
}

.nw-bundle-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background-color: #0f172a;
}

.nw-bundle-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.nw-bundle-card:hover .nw-bundle-media img {
	transform: scale(1.04);
}

.nw-bundle-count {
	position: absolute;
	top: 14px;
	inset-inline-start: 14px;
	padding: 5px 12px;
	border-radius: 999px;
	background-color: rgba(15, 23, 42, 0.82);
	font-size: 12px;
	font-weight: 700;
	color: #ffffff;
	backdrop-filter: blur(4px);
}

.nw-bundle-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
}

.nw-bundle-heading {
	margin: 0;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.5;
}

.nw-bundle-heading a {
	color: #0f172a;
	text-decoration: none;
}

.nw-bundle-heading a:hover {
	color: #b45309;
}

.nw-bundle-mini {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nw-bundle-mini li {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	font-size: 13px;
	line-height: 1.7;
	color: #475569;
}

.nw-bundle-mini i {
	margin-top: 5px;
	font-size: 10px;
	color: #16a34a;
}

.nw-bundle-foot {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid #eef2f7;
}

.nw-bundle-amount {
	font-size: 17px;
	font-weight: 800;
	color: #0f172a;
}

.nw-bundle-amount .woocommerce-price-suffix,
.nw-bundle-amount small {
	display: none;
}

.nw-bundle-was {
	font-size: 13px;
	color: #94a3b8;
	text-decoration: line-through;
}

.nw-bundle-btn {
	margin-inline-start: auto;
	padding: 9px 18px;
	border-radius: 999px;
	background-image: linear-gradient(135deg, #f59e0b, #d97706);
	font-size: 13px;
	font-weight: 800;
	color: #ffffff;
	text-decoration: none;
	white-space: nowrap;
	transition: filter 0.2s ease, transform 0.2s ease;
}

.nw-bundle-btn:hover {
	filter: brightness(1.06);
	transform: translateY(-1px);
	color: #ffffff;
}

@media (max-width: 1024px) {
	.nw-bundles--3,
	.nw-bundles--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.nw-bundles--2,
	.nw-bundles--3,
	.nw-bundles--4 {
		grid-template-columns: minmax(0, 1fr);
	}
}
