/* Лендинг раздела «Подарки» — адаптив */
.gifts-landing {
	--gifts-text: #1a1a1a;
	--gifts-muted: #666;
	--gifts-line: #e5e5e5;
	--gifts-bg: #f3f3f3;
	--gifts-green: #2b392c;
	font-family: "Roboto Condensed", sans-serif;
	color: var(--gifts-text);
	padding: 0 0 48px;
}

.gifts-landing__inner {
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.gifts-landing .bbreadcrumb {
	margin: 0 0 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #d5d7d5;
}

.gifts-landing .bbreadcrumb .wrap {
	font-size: 0;
}

/* Hero */
.gifts-hero {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 32px 40px;
	align-items: center;
	padding: 8px 0 0;
	border-bottom: 0;
	overflow: hidden;
}

.gifts-hero__title {
	margin: 0 0 8px;
	font-size: clamp(36px, 5vw, 80px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #111;
}

.gifts-hero__subtitle {
	margin: 0 0 16px;
	font-size: clamp(22px, 3vw, 44px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #111;
}

.gifts-hero__desc {
	margin: 0;
	max-width: 420px;
	font-size: 18px;
	line-height: 1.45;
	font-weight: 400;
	color: var(--gifts-muted);
	text-transform: none;
}

.gifts-hero__text {
	padding: 24px 24px 88px;
	position: relative;
	z-index: 1;
}

.gifts-hero__media {
	margin: 0;
	overflow: hidden;
	box-sizing: border-box;
}

.gifts-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gifts-hero__media--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 14px;
	text-transform: uppercase;
}

/* Features */
.gifts-features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px 20px;
	padding: 20px 24px;
	list-style: none;
	margin: 0;
	border-bottom: 1px solid var(--gifts-line);
}

.gifts-features--overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	margin: 0;
	padding: 14px 20px;
	border-radius: 10px;
	border-bottom: 0;
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.gifts-features--3 {
	position: static;
	grid-template-columns: repeat(3, 1fr);
	margin: 28px auto;
	padding: 28px;
	border-bottom: 0;
	background: transparent;
	border-radius: 10px;
	backdrop-filter: none;
	background: #ececec;
}

.gifts-features__item {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	text-align: left;
	gap: 12px;
	min-width: 0;
}

.gifts-features__icon {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gifts-green);
	border: 1px solid #cbc9c9;
	background: #ececec;
	border-radius: 50%;
	box-sizing: border-box;
}

.gifts-features__icon svg {
	width: 22px;
	height: 22px;
	display: block;
}

.gifts-features__text {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #222;
	max-width: none;
}

.gifts-features--3 .gifts-features__text {
	font-size: 13px;
	max-width: none;
}

/* Categories */
.gifts-section-title {
	margin: 40px 0 22px;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: center;
	color: #111;
}

.gifts-cats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
}

.gifts-cats__item {
	margin: 0;
	border-radius: 10px;
    overflow: hidden;
}

.gifts-cats__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
	background: var(--gifts-bg);
	transition: background 0.2s ease, transform 0.2s ease;
}

.gifts-cats__link:hover {
	background: #ebebeb;
	transform: translateY(-2px);
}

.gifts-cats__pic {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #e8e8e8;
}

.gifts-cats__pic img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gifts-cats__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 14px 12px 16px;
	text-align: center;
	flex: 1;
}

.gifts-cats__name {
	display: block;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #111;
}

.gifts-cats__count {
	display: block;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
	color: #333;
}

/* Popular */
.gifts-popular-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 28px 0 22px;
	padding-top: 8px;
	border-top: 1px solid var(--gifts-line);
}

.gifts-popular-head .gifts-section-title {
	margin: 0;
	text-align: left;
}

.gifts-popular-head__all {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--gifts-green);
	white-space: nowrap;
}

.gifts-popular-head__all:hover {
	text-decoration: underline;
}

.gifts-products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gifts-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--gifts-line);
	height: 100%;
	box-sizing: border-box;
	border-radius: 10px;
}

.gifts-card__pic {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f7f7f7;
	border-radius: 10px;
	text-decoration: none;
}

.gifts-card__pic img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gifts-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px 14px 16px;
	flex: 1;
}

.gifts-card__name {
	display: block;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	color: #222;
	text-decoration: none;
	text-transform: none;
}

.gifts-card__name:hover {
	color: var(--gifts-green);
}

.gifts-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
}

.gifts-card__price {
	font-size: 16px;
	font-weight: 700;
	color: #111;
}

.gifts-card__cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--gifts-green);
	color: #fff;
	text-decoration: none;
	flex-shrink: 0;
	transition: background 0.15s ease, transform 0.15s ease;
}

.gifts-card__cart:hover {
	background: #1e2822;
	transform: scale(1.05);
}

.gifts-card__cart svg {
	width: 18px;
	height: 18px;
	display: block;
}

.gifts-empty {
	padding: 24px;
	text-align: center;
	color: #888;
	font-size: 14px;
}

/* Mobile */
@media screen and (max-width: 992px) {

	.gifts-hero__title {
		font-size: clamp(36px, 5vw, 54px);
	}
	
	.gifts-hero__subtitle {
		font-size: clamp(22px, 3vw, 32px);
	}
	
	.gifts-hero__desc {
		font-size: 15px;
	}

	.gifts-hero {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.gifts-hero__text {
		padding: 20px 16px 24px;
		order: 1;
	}

	.gifts-hero__media {
		order: 1;
		max-width: none;
		width: 100%;
		margin: 0;
		padding-bottom: 0;
	}

	.gifts-features--overlay {
		position: relative;
		grid-template-columns: repeat(2, 1fr);
		gap: 14px 12px;
		border-radius: 10px;
	}

	.gifts-features--3 {
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 24px;
	}

	.gifts-cats,
	.gifts-products {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 560px) {
	.gifts-landing__inner {
		padding: 0 12px;
	}

	.gifts-hero__text {
		padding: 16px 12px 20px;
	}

	.gifts-features--overlay {
		order: 2;
		padding: 12px;
		gap: 12px;
	}

	.gifts-features__icon {
		width: 40px;
		height: 40px;
	}

	.gifts-features__icon svg {
		width: 20px;
		height: 20px;
	}

	.gifts-features__text {
		font-size: 11px;
	}

	.gifts-section-title {
		font-size: 18px;
		margin: 28px 0 16px;
	}

	.gifts-popular-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.gifts-cats,
	.gifts-products {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.gifts-cats__body {
		padding: 10px 8px 12px;
		gap: 2px;
	}

	.gifts-cats__name {
		font-size: 11px;
	}

	.gifts-cats__count {
		font-size: 11px;
	}

	.gifts-card__name {
		font-size: 13px;
	}

	.gifts-card__price {
		font-size: 14px;
	}

	.gifts-card__cart {
		width: 36px;
		height: 36px;
	}
}
