#cafe-booking-app {
	font-family: inherit;
	max-width: 1000px;
	margin: 0 auto;
}

/* نوار انتخاب تاریخ */
.cb-date-scroller {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 10px 4px 16px;
	margin-bottom: 20px;
	border-bottom: 1px solid #e2e2e2;
}
.cb-day-chip {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 10px 14px;
	border: 1px solid #ddd;
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	font-size: 13px;
	color: #444;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.cb-day-chip:hover {
	background: #f3e6dd;
	border-color: #c9a48a;
	color: #2c1810;
	transform: translateY(-1px);
}
.cb-day-chip:active { transform: translateY(0); }
.cb-day-chip .cb-day-weekday { font-weight: 600; }
.cb-date-loading { color: #888; font-size: 13px; padding: 10px 4px; }
.cb-day-chip.cb-active {
	background: #2c1810;
	color: #fff;
	border-color: #2c1810;
}
.cb-day-chip.cb-active:hover {
	background: #43261a;
	border-color: #43261a;
	color: #fff;
}

/* گرید میزها */
.cb-tables-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
}
.cb-table-card {
	border: 1px solid #e2e2e2;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
}
.cb-table-img { width: 100%; aspect-ratio: 1/1; background: #f2f2f2; }
.cb-table-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cb-no-img { display: flex; align-items: center; justify-content: center; height: 100%; color: #999; font-size: 13px; }
.cb-table-number { padding: 10px 12px 4px; font-weight: 700; }
.cb-reserve-btn {
	margin: 8px 12px 12px;
	padding: 9px;
	border: none;
	border-radius: 8px;
	background: #2c1810;
	color: #fff;
	cursor: pointer;
	font-size: 14px;
}
.cb-reserve-btn:hover { background: #40241a; }

/* پنل ساعت‌ها زیر هر میز */
.cb-slots-panel {
	padding: 0 12px 12px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 6px;
}
.cb-slot-btn {
	padding: 8px 4px;
	border-radius: 6px;
	border: 1px solid #ccc;
	background: #fff;
	cursor: pointer;
	font-size: 13px;
}
.cb-slot-btn.cb-slot-available:hover { background: #f2ede7; border-color: #2c1810; }
.cb-slot-btn.cb-slot-taken {
	background: #f2f2f2;
	color: #aaa;
	cursor: not-allowed;
	text-decoration: line-through;
}

/* مودال فرم رزرو */
.cb-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	padding: 16px;
}
.cb-modal {
	background: #fff;
	border-radius: 12px;
	padding: 24px;
	max-width: 420px;
	width: 100%;
	position: relative;
	max-height: 90vh;
	overflow-y: auto;
}
.cb-modal-close {
	position: absolute;
	top: 10px;
	left: 14px;
	background: none;
	border: none;
	font-size: 22px;
	cursor: pointer;
	color: #666;
}
.cb-modal input[type="text"], .cb-modal input[type="tel"] {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 8px;
	margin-bottom: 12px;
	box-sizing: border-box;
	font-size: 14px;
}
.cb-modal .cb-submit-btn {
	width: 100%;
	padding: 11px;
	border: none;
	border-radius: 8px;
	background: #2c1810;
	color: #fff;
	font-size: 15px;
	cursor: pointer;
}
.cb-payment-box {
	background: #fbf7f2;
	border: 1px dashed #c9a97a;
	border-radius: 8px;
	padding: 14px;
	font-size: 14px;
	line-height: 2;
}
.cb-error-box {
	background: #fdeaea;
	color: #a30000;
	padding: 10px;
	border-radius: 8px;
	font-size: 13px;
	margin-bottom: 10px;
}
