/* Kişiselleştirme modülü. Marka rengi #37AA36. */
.ks-kap { clear: both; }
.ks-blok { margin: 24px 0; }
.ks-baslik { font-size: 18px; font-weight: 700; margin: 0 0 12px; color: #222; }
.ks-raf { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.ks-kart { flex: 0 0 180px; scroll-snap-align: start; border: 1px solid #e6e6e6; border-radius: 8px; padding: 10px; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.ks-resim img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; display: block; }
.ks-ad { font-size: 13px; line-height: 1.3; color: #333; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 51px; }
.ks-ad:hover { color: #37AA36; }
.ks-fiyat { font-weight: 700; color: #222; font-size: 14px; margin-top: auto; }
.ks-fiyat s { color: #999; font-weight: 400; font-size: 12px; }
.ks-dugme { display: inline-block; text-align: center; border: 1px solid #37AA36; background: #fff; color: #37AA36; border-radius: 6px; padding: 7px 10px; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; }
.ks-dugme:hover { background: #37AA36; color: #fff; }
.ks-dugme-ana { background: #37AA36; color: #fff; }
.ks-dugme-ana:hover { background: #2e8f2d; }
.ks-dugme:disabled { opacity: .6; cursor: default; }
.ks-not { background: #f1f9f1; border-left: 3px solid #37AA36; padding: 10px 12px; margin: 12px 0; font-size: 14px; }

.ks-paket-ic { border: 1px solid #e6e6e6; border-radius: 8px; padding: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.ks-paket-urunler { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ks-paket-urun { display: grid; grid-template-columns: auto 72px; grid-template-rows: auto auto auto; column-gap: 8px; align-items: start; width: 180px; font-weight: 400; cursor: pointer; margin: 0; }
.ks-paket-urun input { grid-row: 1 / 4; margin-top: 4px; }
.ks-paket-urun img { width: 72px; height: 72px; object-fit: contain; }
.ks-paket-urun .ks-ad { grid-column: 2 / 3; min-height: 0; -webkit-line-clamp: 2; }
.ks-paket-urun .ks-fiyat { grid-column: 2 / 3; }
.ks-arti { font-size: 22px; color: #999; }
.ks-paket-toplam { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

.ks-perde { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.ks-pencere { position: relative; background: #fff; border-radius: 12px; max-width: 420px; width: 100%; padding: 28px 24px 20px; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); max-height: 92vh; overflow-y: auto; }
.ks-pencere-cark { max-width: 760px; display: flex; gap: 24px; align-items: center; }
.ks-pencere h2 { font-size: 21px; margin: 0 0 8px; color: #222; }
.ks-pencere p { font-size: 14px; color: #444; margin: 0 0 12px; }
.ks-kapat { position: absolute; top: 6px; right: 10px; background: none; border: 0; font-size: 28px; line-height: 1; color: #888; cursor: pointer; }
.ks-form input[type=email], .ks-form input[type=tel] { width: 100%; border: 1px solid #ccc; border-radius: 6px; padding: 10px 12px; font-size: 15px; margin-bottom: 10px; }
.ks-onay { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; font-weight: 400; color: #555; margin: 0 0 12px; line-height: 1.4; }
.ks-onay input { margin-top: 2px; flex: 0 0 auto; }
.ks-form .ks-dugme { width: 100%; padding: 11px; font-size: 15px; }
.ks-hata { color: #b00020; font-size: 13px; margin: 8px 0 0; min-height: 1em; }
.ks-kod { font-size: 26px !important; font-weight: 700; letter-spacing: 2px; color: #37AA36 !important; user-select: all; }
.ks-form-alan { flex: 1 1 auto; }

.ks-cark { position: relative; flex: 0 0 300px; width: 300px; max-width: 100%; }
.ks-cark-svg { width: 100%; height: auto; display: block; transition: transform 4s cubic-bezier(.17, .67, .2, 1); border-radius: 50%; box-shadow: 0 0 0 6px #37AA36; }
.ks-ok { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 26px solid #222; z-index: 2; }
.ks-d1 { fill: #37AA36; }
.ks-d2 { fill: #eaf6ea; }
.ks-t1, .ks-t2 { font-size: 13px; font-weight: 700; font-family: inherit; }
.ks-t1 { fill: #fff; }
.ks-t2 { fill: #1f6b1e; }

@media (max-width: 640px) {
	.ks-kart { flex-basis: 150px; }
	.ks-pencere-cark { flex-direction: column; gap: 12px; }
	.ks-cark { flex-basis: auto; width: 240px; }
	.ks-paket-toplam { width: 100%; }
	.ks-paket-toplam .ks-dugme { width: 100%; }
}
