.fm-urun-detay,
.fm-urun-detay * {
	box-sizing: border-box;
}

.fm-urun-detay {
	width: min(1320px, calc(100% - 36px));
	margin: 32px auto 64px;
	font-family: "Poppins", sans-serif;
	color: #2c2c2c;
}

.fm-urun-detay__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #6b7280;
	margin-bottom: 28px;
}

.fm-urun-detay__crumbs a {
	color: var(--fm-color-accent);
	text-decoration: none;
}

.fm-urun-detay__crumbs a:hover {
	text-decoration: underline;
}

.fm-urun-detay__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 48px;
	align-items: flex-start;
}

.fm-urun-detay__gallery {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.fm-urun-detay__main {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fm-urun-detay__main--square {
	aspect-ratio: 1 / 1;
}

.fm-urun-detay__main img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.fm-urun-detay__slider {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}

.fm-urun-detay__thumbs {
	display: flex;
	flex-wrap: nowrap;
	gap: 12px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	flex: 1;
	min-width: 0;
}

.fm-urun-detay__thumbs::-webkit-scrollbar {
	display: none;
}

.fm-urun-detay__nav {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	padding: 0 !important;
	background: #e5e7eb !important;
	border: none !important;
	border-radius: 50% !important;
	color: #4b5563 !important;
	cursor: pointer;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: none !important;
	transition: background .15s ease, color .15s ease;
	line-height: 0 !important;
}

.fm-urun-detay__nav:hover,
.fm-urun-detay__nav:focus {
	background: #d1d5db !important;
	color: #1f2933 !important;
	outline: none !important;
}

.fm-urun-detay__nav svg {
	width: 22px;
	height: 22px;
	display: block;
}

.fm-urun-detay__thumb {
	padding: 0 !important;
	background: #fff !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 8px !important;
	overflow: hidden;
	cursor: pointer;
	flex: 0 0 calc((100% - 36px) / 4);
	max-width: 160px;
	aspect-ratio: 1 / 1;
	transition: border-color .2s ease, box-shadow .2s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .04) !important;
	outline: none !important;
}

.fm-urun-detay__thumb img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center;
	display: block;
}

.fm-urun-detay__thumb {
	position: relative;
}

.fm-urun-detay__thumb:hover {
	border-color: #cbd5e1 !important;
}

.fm-urun-detay__thumb.is-active,
.fm-urun-detay__thumb:focus,
.fm-urun-detay__thumb:focus-visible {
	border-color: var(--fm-color-accent) !important;
	box-shadow: 0 0 0 1px var(--fm-color-accent) inset !important;
	outline: none !important;
}

.fm-urun-detay__info {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fm-urun-detay__eyebrow {
	margin: 0;
	font-size: 13px;
	letter-spacing: .4px;
	text-transform: uppercase;
	color: var(--fm-color-accent);
	font-weight: 600;
}

.fm-urun-detay__title {
	margin: 0;
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 600;
	color: #1f2933;
	line-height: 1.25;
}

.fm-urun-detay__price-row {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	padding: 16px 0;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

.fm-urun-detay__discount {
	background: var(--fm-color-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 3px;
}

.fm-urun-detay__price {
	font-size: 28px;
	font-weight: 700;
	color: #1f2933;
}

.fm-urun-detay__old {
	font-size: 16px;
	color: #9ca3af;
}

.fm-urun-detay__meta {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	color: #4b5563;
}

.fm-urun-detay__meta span {
	color: #6b7280;
}

.fm-urun-detay__meta strong {
	color: #1f2933;
	font-weight: 600;
}

.fm-urun-detay__meta .is-instock {
	color: #16a34a;
}

.fm-urun-detay__meta .is-outofstock {
	color: #dc2626;
}

.fm-urun-detay__actions {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 8px;
}

.fm-urun-detay__qty {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: none;
	padding: 0;
	overflow: visible;
}

.fm-urun-detay__qty button {
	width: 32px !important;
	height: 32px !important;
	min-width: 32px;
	padding: 0 !important;
	background: #f3f4f6 !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 4px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #4b5563 !important;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	box-shadow: none !important;
	text-shadow: none !important;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.fm-urun-detay__qty button:hover,
.fm-urun-detay__qty button:focus,
.fm-urun-detay__qty button:active {
	background: #e5e7eb !important;
	color: #1f2933 !important;
	border-color: #d1d5db !important;
	outline: none !important;
	box-shadow: none !important;
}

.fm-urun-detay__qty input[type="number"] {
	width: 44px !important;
	min-width: 0 !important;
	max-width: 44px !important;
	height: 32px !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 4px !important;
	text-align: center !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #1f2933 !important;
	background: #fff !important;
	-moz-appearance: textfield;
	padding: 0 !important;
	box-shadow: none !important;
	flex: 0 0 auto !important;
}

.fm-urun-detay__qty input[type="number"]:focus {
	outline: none !important;
	border-color: #d1d5db !important;
	box-shadow: none !important;
}

.fm-urun-detay__qty input::-webkit-outer-spin-button,
.fm-urun-detay__qty input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.fm-urun-detay__cart-btn,
.fm-urun-detay__wa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 42px;
	padding: 0 22px !important;
	border: none !important;
	border-radius: 999px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: .5px;
	text-transform: uppercase;
	cursor: pointer;
	font-family: inherit;
	text-decoration: none;
	transition: filter .15s ease;
	box-shadow: none !important;
	text-shadow: none !important;
	line-height: 1;
}

.fm-urun-detay__cart-btn {
	background: var(--fm-color-accent) !important;
	color: #fff !important;
}

.fm-urun-detay__wa-btn {
	background: #22c55e !important;
	color: #fff !important;
}

.fm-urun-detay__wa-btn svg {
	width: 18px;
	height: 18px;
}

.fm-urun-detay__cart-btn:hover,
.fm-urun-detay__wa-btn:hover {
	filter: brightness(.92);
}

.fm-urun-detay__short {
	font-size: 14px;
	color: #4b5563;
	line-height: 1.6;
}

.fm-urun-detay__features {
	list-style: none;
	margin: 8px 0 0;
	padding: 16px 18px;
	background: #f6f7f8;
	border-radius: 6px;
	display: grid;
	gap: 8px;
}

.fm-urun-detay__features li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13.5px;
	color: #374151;
}

.fm-urun-detay__features li svg {
	width: 22px;
	height: 22px;
	color: var(--fm-color-accent);
	flex-shrink: 0;
}

.fm-urun-detay__desc {
	margin-top: 56px;
	padding-top: 36px;
	border-top: 1px solid #eee;
	max-width: 1040px;
}

.fm-urun-detay__desc h2 {
	margin: 0 0 22px;
	font-size: 24px;
	font-weight: 700;
	color: #1f2933;
	line-height: 1.25;
}

.fm-urun-detay__desc h3 {
	margin: 30px 0 12px;
	padding-left: 14px;
	border-left: 3px solid var(--fm-color-accent);
	font-size: 18px;
	font-weight: 700;
	color: #1f2933;
	line-height: 1.35;
}

.fm-urun-detay__desc p {
	max-width: 980px;
	margin: 0 0 16px;
	font-size: 15.5px;
	line-height: 1.85;
	color: #4b5563;
}

.fm-urun-detay__desc p + p {
	margin-top: 10px;
}

.fm-related,
.fm-related * {
	box-sizing: border-box;
}

.fm-related {
	width: min(1320px, calc(100% - 36px));
	margin: 48px auto 64px;
	font-family: "Poppins", sans-serif;
}

.fm-related__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 22px;
}

.fm-related__head h2 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: #1f2933;
	letter-spacing: .2px;
}

.fm-related__all {
	font-size: 13px;
	color: var(--fm-color-accent);
	text-decoration: none;
	font-weight: 600;
}

.fm-related__all:hover {
	text-decoration: underline;
}

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

.fm-related__card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 6px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.fm-related__media {
	position: relative;
	aspect-ratio: 16 / 11;
	overflow: hidden;
	background: #f6f7f8;
}

.fm-related__media--square {
	aspect-ratio: 1 / 1;
	background: #fff;
}

.fm-related__img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center;
	transition: opacity .3s ease;
	display: block;
}

.fm-related__img--hover {
	opacity: 0;
}

.fm-related__card:hover .fm-related__img--base {
	opacity: 0;
}

.fm-related__card:hover .fm-related__img--hover {
	opacity: 1;
}

.fm-related__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px 16px 16px;
}

.fm-related__title {
	margin: 0;
	font-size: 13.5px;
	font-weight: 500;
	color: #1f2933;
	min-height: 36px;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.fm-related__price {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.fm-related__price strong {
	font-size: 15px;
	font-weight: 700;
	color: #1f2933;
}

.fm-related__price del {
	font-size: 12px;
	color: #9ca3af;
}

.fm-related__btn {
	margin-top: 4px;
	padding: 10px 14px !important;
	background: var(--fm-color-accent) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 4px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	cursor: pointer;
	font-family: inherit;
	box-shadow: none !important;
	text-shadow: none !important;
	transition: background .15s ease;
}

.fm-related__btn:hover {
	background: #2c2c2c !important;
	color: #fff !important;
}

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

@media (max-width: 520px) {
	.fm-related__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 900px) {
	.fm-urun-detay__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}
