/* WebAmbalaj — mağaza tarafı modülleri (slider, vitrin, SSS, popup, formlar) */

.wapm {
	margin: 0 0 2.2rem;
}

.wapm-baslik {
	margin: 0 0 1rem;
	font-size: 1.45rem;
	line-height: 1.25;
}

.wapm-izgara {
	display: grid;
	gap: 1.1rem;
}

.wapm-izgara-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wapm-izgara-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wapm-izgara-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wapm-dugme {
	display: inline-block;
	padding: 0.65em 1.4em;
	border: 0;
	border-radius: 8px;
	background: #141a24;
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.wapm-dugme:hover,
.wapm-dugme:focus {
	background: #ffc72c;
	color: #141a24;
}

/* ---- duyuru şeridi ---- */

.wapm-serit {
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
	line-height: 1.4;
	text-align: center;
}

.wapm-serit p {
	margin: 0;
}

.wapm-serit a {
	color: inherit;
	text-decoration: underline;
}

/* ---- slider ---- */

.wapm-slider {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
}

.wapm-slaytlar {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.wapm-slaytlar::-webkit-scrollbar {
	display: none;
}

.wapm-slayt {
	position: relative;
	display: block;
	flex: 0 0 100%;
	scroll-snap-align: start;
	color: #fff;
	text-decoration: none;
}

.wapm-slayt img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: cover;
}

.wapm-slayt-yazi {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
	padding: 3rem 2rem 1.6rem;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.66));
}

.wapm-slayt-yazi strong {
	font-size: clamp(1.2rem, 3vw, 2rem);
	line-height: 1.15;
}

.wapm-slayt-yazi em {
	font-style: normal;
	opacity: 0.92;
}

.wapm-slayt-yazi b {
	margin-top: 0.4rem;
	padding: 0.5em 1.2em;
	border-radius: 8px;
	background: #ffc72c;
	color: #141a24;
}

.wapm-ok {
	position: absolute;
	top: 50%;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: #141a24;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
}

.wapm-ok-geri {
	left: 12px;
}

.wapm-ok-ileri {
	right: 12px;
}

/* ---- story ---- */

.wapm-story {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	padding-bottom: 0.4rem;
}

.wapm-story-oge {
	display: flex;
	flex: 0 0 84px;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	color: inherit;
	font-size: 0.8rem;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

.wapm-story-halka {
	display: block;
	width: 76px;
	height: 76px;
	padding: 3px;
	border: 2px solid #ffc72c;
	border-radius: 50%;
}

.wapm-story-halka img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

/* ---- bilgi kutuları, sayaçlar ---- */

.wapm-bilgi-kutu {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	padding: 1rem;
	border: 1px solid #e6e9ee;
	border-radius: 12px;
	background: #fff;
}

.wapm-bilgi-kutu .dashicons {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	color: #141a24;
	font-size: 34px;
}

.wapm-bilgi-kutu strong,
.wapm-bilgi-kutu small {
	display: block;
	line-height: 1.3;
}

.wapm-bilgi-kutu small {
	color: #5d6675;
}

.wapm-sayac {
	padding: 1.3rem 1rem;
	border-radius: 12px;
	background: #141a24;
	color: #fff;
	text-align: center;
}

.wapm-sayac strong {
	display: block;
	color: #ffc72c;
	font-size: 2rem;
	line-height: 1.1;
}

/* ---- kartlar: hizmet, katalog ---- */

.wapm-kart {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #e6e9ee;
	border-radius: 12px;
	background: #fff;
	color: inherit;
	text-decoration: none;
}

.wapm-kart img {
	display: block;
	width: 100%;
	height: 190px;
	object-fit: cover;
}

.wapm-kart-govde {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding: 1rem;
}

.wapm-kart-govde span {
	color: #5d6675;
	font-size: 0.92rem;
	line-height: 1.45;
}

a.wapm-kart:hover,
a.wapm-kart:focus {
	border-color: #141a24;
}

/* ---- müşteri yorumları ---- */

.wapm-yorum {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	margin: 0;
	padding: 1.2rem;
	border: 1px solid #e6e9ee;
	border-radius: 12px;
	background: #fff;
}

.wapm-yorum blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 0.96rem;
	line-height: 1.55;
}

.wapm-yorum figcaption {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-top: auto;
}

.wapm-yorum-foto {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.wapm-yorum figcaption strong,
.wapm-yorum figcaption small {
	display: block;
	line-height: 1.3;
}

.wapm-yorum figcaption small {
	color: #5d6675;
}

/* ---- SSS ---- */

.wapm-soru {
	border-bottom: 1px solid #e6e9ee;
}

.wapm-soru summary {
	padding: 0.9rem 0;
	font-weight: 700;
	cursor: pointer;
}

.wapm-soru > div {
	padding: 0 0 1rem;
	color: #3c4554;
	line-height: 1.6;
}

/* ---- video ---- */

.wapm-video {
	margin: 0;
}

.wapm-video-cerceve {
	position: relative;
	overflow: hidden;
	padding-top: 56.25%;
	border-radius: 12px;
	background: #000;
}

.wapm-video-cerceve iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.wapm-video figcaption {
	margin-top: 0.5rem;
	font-weight: 600;
}

/* ---- fiyat tablosu ---- */

.wapm-fiyat {
	padding: 1.5rem 1.2rem;
	border: 1px solid #e6e9ee;
	border-radius: 12px;
	background: #fff;
	text-align: center;
}

.wapm-fiyat-one {
	border: 2px solid #ffc72c;
	box-shadow: 0 10px 28px rgba(20, 26, 36, 0.1);
}

.wapm-fiyat h3 {
	margin: 0 0 0.4rem;
	font-size: 1.15rem;
}

.wapm-fiyat-tutar {
	margin: 0 0 0.8rem;
	font-size: 1.7rem;
	font-weight: 800;
}

.wapm-fiyat ul {
	margin: 0 0 1.1rem;
	padding: 0;
	list-style: none;
}

.wapm-fiyat li {
	padding: 0.4rem 0;
	border-bottom: 1px dashed #e6e9ee;
}

/* ---- banner ---- */

.wapm-bannerlar {
	display: flex;
	flex-wrap: wrap;
	gap: 1.1rem;
}

.wapm-banner {
	display: block;
	flex: 1 1 100%;
	overflow: hidden;
	border-radius: 12px;
}

.wapm-banner-yarim {
	flex: 1 1 calc(50% - 0.55rem);
}

.wapm-banner-ucte {
	flex: 1 1 calc(33.333% - 0.75rem);
}

.wapm-banner img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---- vitrin ---- */

.wapm-vitrin-ust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
	margin-bottom: 1rem;
}

.wapm-vitrin-ust .wapm-baslik {
	margin: 0;
}

.wapm-geri-sayim {
	padding: 0.35em 0.9em;
	border-radius: 999px;
	background: #141a24;
	color: #ffc72c;
	font-size: 0.9rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* ---- sosyal, iletişim ---- */

.wapm-sosyal {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.8rem 0 0;
}

.wapm-sosyal a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #141a24;
	color: #fff;
	text-decoration: none;
}

.wapm-sosyal a:hover,
.wapm-sosyal a:focus {
	background: #ffc72c;
	color: #141a24;
}

.wapm-iletisim {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	gap: 1.5rem;
	align-items: start;
}

.wapm-iletisim-bilgi p {
	margin: 0 0 0.9rem;
}

.wapm-iletisim-bilgi p strong {
	display: block;
	color: #5d6675;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wapm-harita iframe {
	display: block;
	width: 100%;
	height: 360px;
	border: 0;
	border-radius: 12px;
}

/* ---- popup, çerez bandı, sabit düğmeler ---- */

.wapm-popup {
	position: fixed;
	inset: 0;
	z-index: 99990;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	background: rgba(15, 20, 28, 0.6);
}

.wapm-popup[hidden],
.wapm-cerez[hidden] {
	display: none;
}

.wapm-popup-kutu {
	position: relative;
	overflow: auto;
	width: 100%;
	max-width: 520px;
	max-height: 90vh;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.wapm-popup-kutu img {
	display: block;
	width: 100%;
	height: auto;
}

.wapm-popup-govde {
	padding: 1.4rem 1.5rem 1.6rem;
}

.wapm-popup-govde h2 {
	margin: 0 0 0.6rem;
	font-size: 1.3rem;
}

.wapm-popup-kapat {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #141a24;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.wapm-cerez {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	left: 1rem;
	z-index: 99980;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
	max-width: 760px;
	margin: 0 auto;
	padding: 0.9rem 1.1rem;
	border-radius: 12px;
	background: #141a24;
	color: #fff;
	font-size: 0.9rem;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.wapm-cerez a {
	color: #ffc72c;
}

.wapm-cerez .wapm-dugme {
	background: #ffc72c;
	color: #141a24;
}

.wapm-wa {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 99970;
	padding: 0.7em 1.1em;
	border-radius: 999px;
	background: #1fa855;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.wapm-wa:hover,
.wapm-wa:focus {
	background: #178a45;
	color: #fff;
}

.wapm-cubuk {
	display: none;
}

/* ---- müşteri formları ---- */

.wapm-formlar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 1rem 0;
}

.wapm-form {
	flex: 1 1 100%;
	border: 1px solid #e6e9ee;
	border-radius: 10px;
	background: #fff;
}

.wapm-form > summary {
	padding: 0.75rem 1rem;
	font-weight: 700;
	cursor: pointer;
}

.wapm-form form,
.wapm-form-acik {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.7rem 0.9rem;
	padding: 0 1rem 1rem;
}

.wapm-form-acik {
	padding: 0;
}

.wapm-form label,
.wapm-form-acik label {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	font-size: 0.86rem;
	font-weight: 600;
}

.wapm-tam {
	grid-column: 1 / -1;
}

.wapm-form input[type="text"],
.wapm-form input[type="email"],
.wapm-form input[type="tel"],
.wapm-form input[type="date"],
.wapm-form select,
.wapm-form textarea,
.wapm-form-acik input[type="text"],
.wapm-form-acik input[type="email"],
.wapm-form-acik input[type="tel"],
.wapm-form-acik input[type="date"],
.wapm-form-acik select,
.wapm-form-acik textarea {
	width: 100%;
	padding: 0.55em 0.7em;
	border: 1px solid #cfd5de;
	border-radius: 8px;
	font: inherit;
	font-weight: 400;
}

.wapm-onay-satir {
	flex-direction: row !important;
	align-items: flex-start;
	gap: 0.5rem !important;
	font-weight: 400 !important;
}

.wapm-tuzak {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.wapm-mesaj-kutu {
	margin: 1rem 0;
	padding: 0.8rem 1rem;
	border-radius: 10px;
	background: #e8f6ee;
	color: #14532d;
	font-weight: 600;
}

.wapm-mesaj-hata {
	background: #fdeceb;
	color: #8c1d18;
}

.wapm-talep-durum {
	margin: 1rem 0;
	padding: 0.9rem 1rem;
	border-left: 4px solid #ffc72c;
	border-radius: 8px;
	background: #fff8e1;
}

.wapm-talep-durum p {
	margin: 0.2rem 0 0;
}

.wapm-bulten {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	align-items: center;
}

.wapm-bulten input[type="email"] {
	flex: 1 1 220px;
	padding: 0.6em 0.8em;
	border: 1px solid #cfd5de;
	border-radius: 8px;
	font: inherit;
}

.wapm-bulten .wapm-onay-satir {
	flex: 1 1 100%;
	display: flex;
	font-size: 0.85rem;
}

.wapm-yazisma {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin: 1rem 0;
}

.wapm-yazi {
	max-width: 82%;
	padding: 0.7rem 0.9rem;
	border-radius: 12px;
	background: #f1f3f6;
}

.wapm-yazi-yonetici {
	align-self: flex-end;
	background: #141a24;
	color: #fff;
}

.wapm-yazi small {
	display: block;
	margin-bottom: 0.2rem;
	opacity: 0.7;
}

.wapm-sozlesme-not {
	font-size: 0.86rem;
}

@media (max-width: 900px) {
	.wapm-izgara-3,
	.wapm-izgara-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wapm-iletisim {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 600px) {
	.wapm-izgara-2,
	.wapm-izgara-3 {
		grid-template-columns: minmax(0, 1fr);
	}

	.wapm-banner-yarim,
	.wapm-banner-ucte {
		flex: 1 1 100%;
	}

	.wapm-form form,
	.wapm-form-acik {
		grid-template-columns: minmax(0, 1fr);
	}

	.wapm-slayt-yazi {
		padding: 2rem 1rem 1rem;
	}

	.wapm-ok {
		display: none;
	}

	.wapm-cubuk {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 99960;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.8rem;
		padding: 0.6rem 0.9rem;
		border-top: 1px solid #e6e9ee;
		background: #fff;
		box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08);
	}

	.wapm-cubuk-fiyat {
		font-weight: 800;
	}

	body.wapm-cubuk-var {
		padding-bottom: 64px;
	}

	body.wapm-cubuk-var .wapm-wa {
		bottom: 76px;
	}
}

.wapm-kvkk {
	margin: 0;
	color: #5d6675;
	font-size: 0.8rem;
	line-height: 1.4;
}
