.fg-section {
	--fg-border: #e6e8ec;
	--fg-surface: #ffffff;
	--fg-surface-alt: #f7f8fa;
	--fg-text: #1c1f24;
	--fg-muted: #6b7280;
	--fg-accent: #16a34a;
	--fg-accent-soft: #ecfdf3;
	--fg-radius: 14px;
	margin-top: 1.5rem;
	padding: 1.1rem 1.15rem 1.25rem;
	border: 1px solid var(--fg-border);
	border-radius: var(--fg-radius);
	background: var(--fg-surface);
}

.fg-section__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: .9rem;
}

.fg-section__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--fg-text);
}

.fg-section__sub {
	margin: .2rem 0 0;
	font-size: .85rem;
	color: var(--fg-muted);
}

.fg-section__counter {
	display: flex;
	align-items: center;
	gap: .4rem;
	flex: 0 0 auto;
}

.fg-counter-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.2rem;
	height: 2.2rem;
	padding: 0 .5rem;
	border-radius: 999px;
	background: var(--fg-accent-soft);
	color: var(--fg-accent);
	font-weight: 700;
	font-size: .9rem;
}

.fg-counter-text {
	font-size: .8rem;
	color: var(--fg-muted);
}

.fg-status {
	display: flex;
	align-items: center;
	gap: .55rem;
	padding: .65rem .85rem;
	border-radius: 10px;
	background: var(--fg-surface-alt);
	font-size: .88rem;
	color: var(--fg-text);
	margin-bottom: .95rem;
}

.fg-status--ok {
	background: var(--fg-accent-soft);
	color: #14532d;
}

.fg-status svg {
	flex: 0 0 auto;
	color: var(--fg-accent);
}

.fg-progress {
	position: relative;
	height: 7px;
	border-radius: 999px;
	background: #e9ebef;
	overflow: hidden;
	margin-top: .5rem;
	width: 100%;
}

.fg-progress__bar {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #22c55e, #16a34a);
	transition: width .35s ease;
}

.fg-status__text {
	width: 100%;
}

.fg-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: .8rem;
}

.fg-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 0;
	border: 1px solid var(--fg-border);
	border-radius: 12px;
	background: var(--fg-surface);
	overflow: hidden;
	cursor: pointer;
	text-align: left;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.fg-card:hover {
	border-color: #cbd2dc;
	box-shadow: 0 6px 18px rgba(15, 23, 42, .07);
	transform: translateY(-2px);
}

.fg-card__media {
	position: relative;
	display: block;
	padding-bottom: 100%;
	background: #ffffff;
	overflow: hidden;
}

.fg-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	object-fit: contain;
	padding: .35rem;
	background: #ffffff;
}

.fg-card__body {
	display: flex;
	flex-direction: column;
	gap: .3rem;
	padding: .55rem .6rem .7rem;
}

.fg-card__name {
	font-size: .82rem;
	line-height: 1.28;
	color: var(--fg-text);
	min-height: 2.1em;
}

.fg-card__price {
	display: flex;
	align-items: baseline;
	gap: .4rem;
}

.fg-card__price del {
	font-size: .78rem;
	color: var(--fg-muted);
}

.fg-card__price strong {
	font-size: .85rem;
	color: var(--fg-accent);
}

.fg-card__check {
	position: absolute;
	top: .4rem;
	right: .4rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 999px;
	background: var(--fg-accent);
	color: #fff;
}

.fg-card__lock {
	position: absolute;
	inset: auto 0 0 0;
	padding: .25rem .35rem;
	background: rgba(28, 31, 36, .72);
	color: #fff;
	font-size: .68rem;
	text-align: center;
	letter-spacing: .01em;
}

.fg-card.is-selected {
	border-color: var(--fg-accent);
	box-shadow: 0 0 0 1px var(--fg-accent) inset;
}

.fg-card.is-locked {
	opacity: .45;
	filter: grayscale(.75);
	cursor: not-allowed;
	pointer-events: none;
}

.fg-card.is-locked:hover {
	transform: none;
	box-shadow: none;
	border-color: var(--fg-border);
}

.fg-hint {
	margin: .85rem 0 0;
	font-size: .8rem;
	color: var(--fg-muted);
}

@media (max-width: 575px) {
	.fg-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.fg-order-gifts {
	margin: 1rem 0;
	padding: .9rem 1rem;
	border: 1px solid #e6e8ec;
	border-radius: 12px;
	background: #f7fdf9;
}

.fg-order-gifts__title {
	margin: 0 0 .6rem;
	font-size: .95rem;
	font-weight: 700;
	color: #14532d;
}

.fg-order-gifts__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: .45rem;
}

.fg-order-gifts__item {
	display: flex;
	align-items: center;
	gap: .6rem;
}

.fg-order-gifts__thumb {
	width: 40px;
	height: 40px;
	flex: 0 0 auto;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

.fg-order-gifts__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.fg-order-gifts__name {
	flex: 1 1 auto;
	font-size: .88rem;
	color: #1c1f24;
}

.fg-order-gifts__badge {
	flex: 0 0 auto;
	padding: .15rem .5rem;
	border-radius: 999px;
	background: #dcfce7;
	color: #166534;
	font-size: .72rem;
	font-weight: 600;
}

.fg-section--home {
	margin: 1.25rem 0 1.75rem;
	background: linear-gradient(180deg, var(--fg-section-bg, #f7faff) 0%, #ffffff 55%);
	border: 1px solid var(--fg-border);
	border-radius: var(--fg-radius);
}

.fg-home__tools {
	display: flex;
	align-items: center;
	gap: .75rem;
	flex: 0 0 auto;
}

.fg-home__link {
	flex: 0 0 auto;
	font-size: .82rem;
	font-weight: 600;
	color: var(--fg-accent);
	text-decoration: none;
	white-space: nowrap;
}

.fg-home__link:hover {
	text-decoration: underline;
}

/* Kaydırma rayı: masaüstünde 5, mobilde 2 kart yan yana, sağdan sola kaydırılır. */
.fg-rail__track {
	gap: .8rem;
	scroll-snap-type: x proximity;
}

.fg-rail__track > .fg-card {
	flex: 0 0 calc((100% - 3.2rem) / 5);
	width: calc((100% - 3.2rem) / 5);
	scroll-snap-align: start;
	height: auto;
	margin: 0;
}

@media (max-width: 991.98px) {
	.fg-rail__track > .fg-card {
		flex-basis: calc((100% - 2.4rem) / 4);
		width: calc((100% - 2.4rem) / 4);
	}
}

@media (max-width: 767.98px) {
	.fg-rail__track > .fg-card {
		flex-basis: calc((100% - 1.6rem) / 3);
		width: calc((100% - 1.6rem) / 3);
	}
}

@media (max-width: 575.98px) {
	.fg-rail__track > .fg-card {
		flex-basis: calc((100% - .8rem) / 2);
		width: calc((100% - .8rem) / 2);
	}
}

a.fg-card {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.fg-card--static:hover {
	transform: none;
	box-shadow: none;
	border-color: var(--fg-border);
}

.fg-card__media > a {
	display: block;
	width: 100%;
	height: 100%;
}

.fg-card__gift-badge {
	position: absolute;
	top: .4rem;
	left: .4rem;
	padding: .12rem .5rem;
	border-radius: 999px;
	background: var(--fg-accent);
	color: #fff;
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .02em;
}

.fg-cko-gift {
	background: #f6fdf8;
	border-radius: 8px;
}

.fg-cko-free {
	color: #16a34a;
	font-weight: 700;
}

.fg-pdp-card {
	display: flex;
	align-items: center;
	gap: .7rem;
	margin: .6rem 0 .9rem;
	padding: .7rem .85rem;
	border: 1px solid #d8f0e0;
	border-left: 3px solid #16a34a;
	border-radius: 12px;
	background: #f6fdf8;
}

.fg-pdp-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	flex: 0 0 auto;
	border-radius: 999px;
	background: #dcfce7;
	color: #16a34a;
}

.fg-pdp-card__body {
	display: flex;
	flex-direction: column;
	gap: .05rem;
	flex: 1 1 auto;
	min-width: 0;
}

.fg-pdp-card__label {
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #16a34a;
}

.fg-pdp-card__text {
	font-size: .86rem;
	line-height: 1.3;
	color: #1c1f24;
}

.fg-pdp-card__cta {
	flex: 0 0 auto;
	padding: .4rem .8rem;
	border-radius: 8px;
	background: #16a34a;
	color: #fff;
	font-size: .8rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.fg-pdp-card__cta:hover {
	background: #15803d;
	color: #fff;
}

@media (max-width: 480px) {
	.fg-pdp-card__cta {
		padding: .35rem .6rem;
		font-size: .75rem;
	}
}


