/* Fikoshop WhatsApp sipariş */
.thcs-wa-wrap { margin: 14px 0 6px; }
.thcs-wa-wrap.is-cart { margin-top: 12px; }
.thcs-wa-btn {
	align-items: center;
	background: #25d366;
	border: 0;
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(37, 211, 102, .28);
	color: #fff !important;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	gap: 10px;
	justify-content: center;
	line-height: 1.2;
	min-height: 52px;
	padding: 12px 22px;
	text-decoration: none !important;
	transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
	width: 100%;
}
.thcs-wa-btn:hover, .thcs-wa-btn:focus-visible { background: #1ebe5a; box-shadow: 0 8px 22px rgba(37, 211, 102, .38); transform: translateY(-1px); }
.thcs-wa-btn svg { flex: 0 0 auto; height: 22px; width: 22px; }
.thcs-wa-btn.is-small { border-radius: 9px; box-shadow: none; font-size: 13px; margin-top: 8px; min-height: 38px; padding: 8px 12px; }
.thcs-wa-btn.is-small svg { height: 17px; width: 17px; }
.thcs-wa-btn.is-block { margin-top: 6px; }
.thcs-wa-hint { color: #6b7280; display: block; font-size: 12px; margin-top: 6px; text-align: center; }

.thcs-wa-open { overflow: hidden; }
.thcs-wa-modal { inset: 0; position: fixed; z-index: 100000; }
.thcs-wa-modal[hidden] { display: none; }
.thcs-wa-backdrop { background: rgba(17, 17, 17, .55); inset: 0; position: absolute; }
.thcs-wa-dialog {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
	box-sizing: border-box;
	color: #1d1b19;
	left: 50%;
	max-height: calc(100vh - 32px);
	max-width: 440px;
	overflow: auto;
	padding: 20px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 28px);
}
.thcs-wa-x { background: none; border: 0; color: #888; cursor: pointer; font-size: 26px; line-height: 1; position: absolute; right: 12px; top: 10px; }
.thcs-wa-head { align-items: center; display: flex; gap: 12px; margin-bottom: 14px; padding-right: 24px; }
.thcs-wa-badge { align-items: center; background: #25d366; border-radius: 12px; color: #fff; display: flex; flex: 0 0 42px; height: 42px; justify-content: center; }
.thcs-wa-head strong { display: block; font-size: 17px; }
.thcs-wa-head small { color: #6b7280; display: block; font-size: 13px; margin-top: 2px; }
.thcs-wa-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.thcs-wa-grid label { color: #4b5563; display: flex; flex-direction: column; font-size: 12.5px; font-weight: 600; gap: 5px; margin: 0; }
.thcs-wa-grid label span { color: #9ca3af; font-weight: 400; }
.thcs-wa-grid .is-wide, .thcs-wa-grid .thcs-wa-qty-row { grid-column: 1 / -1; }
.thcs-wa-grid input, .thcs-wa-grid select, .thcs-wa-grid textarea {
	background: #f6f6f4;
	border: 1px solid #e5e2dd;
	border-radius: 10px;
	box-sizing: border-box;
	color: #1d1b19;
	font: inherit;
	font-size: 15px;
	font-weight: 400;
	margin: 0;
	min-height: 44px;
	padding: 8px 11px;
	width: 100%;
}
.thcs-wa-grid textarea { min-height: 64px; resize: vertical; }
.thcs-wa-grid input:focus, .thcs-wa-grid select:focus, .thcs-wa-grid textarea:focus { background: #fff; border-color: #25d366; box-shadow: 0 0 0 3px rgba(37, 211, 102, .18); outline: 0; }
.thcs-wa-total { font-size: 14px; font-weight: 700; margin: 12px 0 4px; min-height: 1em; }
.thcs-wa-foot { color: #6b7280; font-size: 11.5px; margin: 10px 0 0; text-align: center; }

.thcs-wa-sticky { display: none; }
@media (max-width: 767px) {
	.thcs-wa-sticky {
		background: #fff;
		bottom: 0;
		box-shadow: 0 -6px 20px rgba(0, 0, 0, .1);
		display: flex;
		gap: 8px;
		left: 0;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
		position: fixed;
		right: 0;
		z-index: 9990;
	}
	.thcs-wa-sticky a, .thcs-wa-sticky button {
		align-items: center;
		border: 0;
		border-radius: 11px;
		cursor: pointer;
		display: flex;
		flex: 1;
		font-family: inherit;
		font-size: 14px;
		font-weight: 700;
		gap: 7px;
		justify-content: center;
		min-height: 46px;
		text-decoration: none;
	}
	.thcs-wa-sticky .is-call { background: #f1f0ee; color: #1d1b19; flex: 0 0 34%; }
	.thcs-wa-sticky .is-wa { background: #25d366; color: #fff; }
	body:has(.thcs-wa-sticky) { padding-bottom: 64px; }
	.thcs-wa-grid { grid-template-columns: 1fr; }
}
