/* ==========================================================================
   Deercoffe — "Na prezent" (template-na-prezent.php)
   Loaded only on is_page_template('template-na-prezent.php'). Reuses .home-*
   layout primitives (home.css) and shared .btn variants (style.css) for
   spacing/containers/buttons and adds page-specific pieces here.
   ========================================================================== */

.deercoffe-na-prezent {
	font-family: var(--deercoffe-font-body);
	color: var(--deercoffe-color-text);
	font-size: 15px;
}

.deercoffe-na-prezent h1,
.deercoffe-na-prezent h2,
.deercoffe-na-prezent h3 {
	font-family: var(--deercoffe-font-heading);
	font-weight: 400;
	color: var(--deercoffe-color-text);
	margin: 0;
}

/* Hero ---------------------------------------------------------------- */

.np-hero {
	padding: 100px 0;
}

.np-hero-split {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.np-hero-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 28px;
	flex: 0 1 56%;
	max-width: 677px;
}

.np-hero-copy h1 {
	font-size: 60px;
	letter-spacing: 3.6px;
}

.np-hero-copy p {
	font-size: 18px;
	color: var(--deercoffe-color-muted);
	max-width: 560px;
}

.np-hero-collage {
	position: relative;
	flex: 0 1 44%;
	max-width: 542px;
	aspect-ratio: 542 / 415;
	overflow: visible;
}

.np-hero-collage-img {
	position: absolute;
	width: 54%;
	height: 100%;
	max-width: none;
	-o-object-fit: contain;
	   object-fit: contain;
}

.np-hero-collage-img-1 {
	left: 15%;
	top: -19%;
}

.np-hero-collage-img-2 {
	left: 58%;
	top: -19%;
}

.np-hero-collage-img-3 {
	left: 42%;
	top: 14%;
}

.np-hero-collage-img-4 {
	left: 0;
	top: 14%;
}

/* Gotowe zestawy jako produkty w sklepie -------------------------------- */

.np-section-head p {
	color: var(--deercoffe-color-muted);
	max-width: 430px;
}

.np-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.np-empty {
	grid-column: 1 / -1;
	color: var(--deercoffe-color-muted);
}

.gift-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--deercoffe-color-cream);
}

.gift-card-media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 292 / 189;
	background: var(--deercoffe-color-bg);
	overflow: hidden;
}

.gift-card-media img {
	max-width: 65%;
	max-height: 95%;
	-o-object-fit: contain;
	   object-fit: contain;
}

.gift-card-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 18px;
	padding: 0 18px 20px;
}

.gift-card-title {
	display: block;
	font-family: var(--deercoffe-font-heading);
	font-size: 21px;
	letter-spacing: 0.84px;
	color: var(--deercoffe-color-text);
	text-decoration: none;
}

.gift-card-title:hover {
	color: var(--deercoffe-color-primary);
}

.gift-card-desc {
	font-size: 13px;
	line-height: 1.5;
	color: var(--deercoffe-color-muted);
	margin: 0;
}

.gift-card-price {
	font-family: var(--deercoffe-font-heading);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.6px;
	margin-top: auto;
}

.gift-card-actions {
	display: flex;
	gap: 10px;
}

.gift-card-btn {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 10px;
	font-family: var(--deercoffe-font-body);
	font-size: 13px;
	letter-spacing: 0.4px;
	text-decoration: none !important;
	border: 1px solid transparent;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gift-card-btn-outline {
	background: #fff;
	color: var(--deercoffe-color-text) !important;
	border-color: var(--deercoffe-color-cream);
}

.gift-card-btn-outline:hover {
	background: var(--deercoffe-color-bg);
}

.gift-card-btn-primary {
	background: var(--deercoffe-color-primary);
	color: #fff !important;
}

.gift-card-btn-primary:hover {
	background: var(--deercoffe-color-primary-dark);
}

/* Potrzebujesz czegoś bardziej osobistego? ------------------------------ */

.np-cta {
	position: relative;
	overflow: hidden;
	background: var(--deercoffe-color-primary);
	padding: 90px 0;
}

.np-cta-dots {
	position: absolute;
	inset: 0 61.11% 0 0;
	background-image: url('../img/na-prezent/cta-dots-desktop.svg');
	background-repeat: no-repeat;
	background-position: left center;
	background-size: cover;
	pointer-events: none;
}

.np-cta-content {
	position: relative;
	max-width: 470px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	text-align: center;
}

.np-cta-content h2 {
	font-size: 34px;
	color: #fff;
}

.np-cta-content p {
	font-size: 14px;
	color: var(--deercoffe-color-cream-light);
}

/* Responsive ------------------------------------------------------------------ */

@media (max-width: 1180px) {
	.np-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 780px) {
	.np-hero-split {
		flex-direction: column;
		align-items: stretch;
		gap: 60px;
	}

	.np-hero-copy {
		flex: 0 1 auto;
		max-width: none;
	}

	.np-hero-copy .btn {
		width: 100%;
	}

	.np-hero-collage {
		flex: 0 1 auto;
		max-width: 342px;
		aspect-ratio: 342 / 246;
		margin: 0 auto;
	}
}

@media (max-width: 640px) {
	.np-hero {
		padding: 75px 0;
	}

	.np-hero-copy h1 {
		font-size: 34px;
		letter-spacing: 0;
	}

	.np-hero-copy p {
		font-size: 15px;
	}

	.np-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.np-cta {
		padding: 60px 0 150px;
	}

	.np-cta-dots {
		inset: 66.05% 0 0 0;
		background-image: url('../img/na-prezent/cta-dots-mobile.svg');
		background-position: bottom center;
	}
}
